CustomJwtAuthorizer
- class aws_cdk.aws_bedrock_agentcore_alpha.CustomJwtAuthorizer(*, discovery_url, allowed_audience=None, allowed_clients=None)
Bases:
object(experimental) Custom JWT authorizer configuration implementation.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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 custom_jwt_authorizer = bedrock_agentcore_alpha.CustomJwtAuthorizer( discovery_url="discoveryUrl", # the properties below are optional allowed_audience=["allowedAudience"], allowed_clients=["allowedClients"] )
- Parameters:
discovery_url (
str) – (experimental) This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens. Pattern: .+/.well-known/openid-configuration Required: Yesallowed_audience (
Optional[Sequence[str]]) – (experimental) Represents individual audience values that are validated in the incoming JWT token validation process. Default: - No audience validationallowed_clients (
Optional[Sequence[str]]) – (experimental) Represents individual client IDs that are validated in the incoming JWT token validation process. Default: - No client ID validation
- Stability:
experimental
Attributes
- authorizer_type
(experimental) The authorizer type.
- Stability:
experimental