Skip to content
v2.273.0

AuthorizerConfigurationProperty Struct ​

Example ​

ts
// 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 authorizerConfigurationProperty: bedrockagentcore.CfnGateway.AuthorizerConfigurationProperty = {
  customJwtAuthorizer: {
    discoveryUrl: 'discoveryUrl',

    // the properties below are optional
    advertisedScopeMapping: {
      advertisedScopeMappingKey: 'advertisedScopeMapping',
    },
    allowedAudience: ['allowedAudience'],
    allowedClients: ['allowedClients'],
    allowedScopes: ['allowedScopes'],
    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',
      },
    },
  },
};

Properties ​

customJwtAuthorizerIResolvable | CfnGateway.CustomJWTAuthorizerConfigurationPropertycustom_jwt_authorizertyping.Union[IResolvable, CustomJWTAuthorizerConfigurationProperty]customJwtAuthorizerIResolvableCustomJwtAuthorizerIResolvableCustomJwtAuthorizerinterface{}required#
The authorizer configuration for the gateway.