interface CustomJWTAuthorizerConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnRuntime_CustomJWTAuthorizerConfigurationProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnRuntime » CustomJWTAuthorizerConfigurationProperty |
Configuration for custom JWT authorizer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const customJWTAuthorizerConfigurationProperty: bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty = {
discoveryUrl: 'discoveryUrl',
// the properties below are optional
allowedAudience: ['allowedAudience'],
allowedClients: ['allowedClients'],
allowedScopes: ['allowedScopes'],
customClaims: [{
authorizingClaimMatchValue: {
claimMatchOperator: 'claimMatchOperator',
claimMatchValue: {
matchValueString: 'matchValueString',
matchValueStringList: ['matchValueStringList'],
},
},
inboundTokenClaimName: 'inboundTokenClaimName',
inboundTokenClaimValueType: 'inboundTokenClaimValueType',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| discovery | string | The configuration authorization. |
| allowed | string[] | Represents inbound authorization configuration options used to authenticate incoming requests. |
| allowed | string[] | Represents individual client IDs that are validated in the incoming JWT token validation process. |
| allowed | string[] | List of allowed scopes. |
| custom | IResolvable | (IResolvable | Custom)[] | List of required custom claims. |
discoveryUrl
Type:
string
The configuration authorization.
allowedAudience?
Type:
string[]
(optional)
Represents inbound authorization configuration options used to authenticate incoming requests.
allowedClients?
Type:
string[]
(optional)
Represents individual client IDs that are validated in the incoming JWT token validation process.
allowedScopes?
Type:
string[]
(optional)
List of allowed scopes.
customClaims?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
List of required custom claims.

.NET
Go
Java
Python
TypeScript