GatewayOAuth2IdentityBinding
- class aws_cdk.aws_bedrockagentcore.GatewayOAuth2IdentityBinding(*, provider_arn, scopes, secret_arn, custom_parameters=None)
Bases:
objectProvider ARN, secret ARN, and OAuth scopes for wiring a Token Vault OAuth2 identity into a gateway target.
- Parameters:
provider_arn (
str) – OAuth2 credential provider ARN.scopes (
Sequence[str]) – OAuth scopes to request when invoking through the gateway.secret_arn (
str) – Secrets Manager secret ARN for OAuth2 client credentials.custom_parameters (
Optional[Mapping[str,str]]) – Optional custom parameters for the OAuth flow. Default: - no custom parameters
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore gateway_oAuth2_identity_binding = bedrockagentcore.GatewayOAuth2IdentityBinding( provider_arn="providerArn", scopes=["scopes"], secret_arn="secretArn", # the properties below are optional custom_parameters={ "custom_parameters_key": "customParameters" } )
Attributes
- custom_parameters
Optional custom parameters for the OAuth flow.
- Default:
no custom parameters
- provider_arn
OAuth2 credential provider ARN.
- scopes
OAuth scopes to request when invoking through the gateway.
- secret_arn
Secrets Manager secret ARN for OAuth2 client credentials.