Skip to content
v2.278.0

IamAuthorizer Class ​

AWS IAM authorizer configuration implementation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const iamAuthorizer = new bedrock_agentcore_alpha.IamAuthorizer();
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

iam_authorizer = bedrock_agentcore_alpha.IamAuthorizer()
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.agentcore.alpha.*;

IamAuthorizer iamAuthorizer = new IamAuthorizer();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var iamAuthorizer = new IamAuthorizer();
go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

iamAuthorizer := bedrock_agentcore_alpha.NewIamAuthorizer()

Initializer ​

ts
new IamAuthorizer()
python
IamAuthorizer()
java
new IamAuthorizer()
csharp
new IamAuthorizer()
go
NewIamAuthorizer()

Properties ​

authorizerTypeGatewayAuthorizerTypeauthorizer_typeGatewayAuthorizerTypeauthorizerTypeGatewayAuthorizerTypeAuthorizerTypeGatewayAuthorizerTypeAuthorizerTypeGatewayAuthorizerType #
The authorizer type.