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'],
allowedWorkloadConfiguration: {
hostingEnvironments: [{
arn: 'arn',
}],
workloadIdentities: ['workloadIdentities'],
},
customClaims: [{
authorizingClaimMatchValue: {
claimMatchOperator: 'claimMatchOperator',
claimMatchValue: {
matchValueString: 'matchValueString',
matchValueStringList: ['matchValueStringList'],
},
},
inboundTokenClaimName: 'inboundTokenClaimName',
inboundTokenClaimValueType: 'inboundTokenClaimValueType',
}],
privateEndpoint: {
managedVpcResource: {
endpointIpAddressType: 'endpointIpAddressType',
subnetIds: ['subnetIds'],
vpcIdentifier: 'vpcIdentifier',
// the properties below are optional
routingDomain: 'routingDomain',
securityGroupIds: ['securityGroupIds'],
tags: {
tagsKey: 'tags',
},
},
selfManagedLatticeResource: {
resourceConfigurationIdentifier: 'resourceConfigurationIdentifier',
},
},
privateEndpointOverrides: [{
domain: 'domain',
privateEndpoint: {
managedVpcResource: {
endpointIpAddressType: 'endpointIpAddressType',
subnetIds: ['subnetIds'],
vpcIdentifier: 'vpcIdentifier',
// the properties below are optional
routingDomain: 'routingDomain',
securityGroupIds: ['securityGroupIds'],
tags: {
tagsKey: 'tags',
},
},
selfManagedLatticeResource: {
resourceConfigurationIdentifier: 'resourceConfigurationIdentifier',
},
},
}],
};
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. |
| allowed | IResolvable | Allowed | Allow-list of upstream workloads permitted to reach this resource via the workload identity chain. |
| custom | IResolvable | (IResolvable | Custom)[] | List of required custom claims. |
| private | IResolvable | Private | Private endpoint configuration. |
| private | IResolvable | (IResolvable | Private)[] | List of private endpoint overrides. |
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.
allowedWorkloadConfiguration?
Type:
IResolvable | Allowed
(optional)
Allow-list of upstream workloads permitted to reach this resource via the workload identity chain.
When set, the data plane enforces that the introspected workload chain's caller matches one of the configured hosting environments or workload identities; absent means no chain enforcement.
customClaims?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
List of required custom claims.
privateEndpoint?
Type:
IResolvable | Private
(optional)
Private endpoint configuration.
Exactly one of SelfManagedLatticeResource or ManagedVpcResource must be specified.
privateEndpointOverrides?
Type:
IResolvable | (IResolvable | Private)[]
(optional)
List of private endpoint overrides.

.NET
Go
Java
Python
TypeScript