GatewayOAuth2IdentityBinding

class aws_cdk.aws_bedrock_agentcore_alpha.GatewayOAuth2IdentityBinding(*, provider_arn, scopes, secret_arn, custom_parameters=None)

Bases: object

(deprecated) Provider ARN, secret ARN, and OAuth scopes for wiring a Token Vault OAuth2 identity into a gateway target.

Parameters:
  • provider_arn (str) – (deprecated) OAuth2 credential provider ARN.

  • scopes (Sequence[str]) – (deprecated) OAuth scopes to request when invoking through the gateway.

  • secret_arn (str) – (deprecated) Secrets Manager secret ARN for OAuth2 client credentials.

  • custom_parameters (Optional[Mapping[str, str]]) – (deprecated) Optional custom parameters for the OAuth flow. Default: - no custom parameters

Deprecated:

Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.

Stability:

deprecated

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

gateway_o_auth2_identity_binding = bedrock_agentcore_alpha.GatewayOAuth2IdentityBinding(
    provider_arn="providerArn",
    scopes=["scopes"],
    secret_arn="secretArn",

    # the properties below are optional
    custom_parameters={
        "custom_parameters_key": "customParameters"
    }
)

Attributes

custom_parameters

(deprecated) Optional custom parameters for the OAuth flow.

Default:
  • no custom parameters

Stability:

deprecated

provider_arn

(deprecated) OAuth2 credential provider ARN.

Stability:

deprecated

scopes

(deprecated) OAuth scopes to request when invoking through the gateway.

Stability:

deprecated

secret_arn

(deprecated) Secrets Manager secret ARN for OAuth2 client credentials.

Stability:

deprecated