OAuthConfiguration
- class aws_cdk.aws_bedrock_agentcore_alpha.OAuthConfiguration(*, provider_arn, scopes, secret_arn, custom_parameters=None)
Bases:
object(deprecated) OAuth configuration.
- Parameters:
provider_arn (
str) – (deprecated) The OAuth credential provider ARN. This is returned when creating the OAuth credential provider via Console or API. Format: arn:aws:bedrock-agentcore:region:account:token-vault/id/oauth2credentialprovider/name Required: Yesscopes (
Sequence[str]) – (deprecated) The OAuth scopes for the credential provider. These scopes define the level of access requested from the OAuth provider. Array Members: Minimum number of 0 items. Maximum number of 100 items. Length Constraints: Minimum length of 1. Maximum length of 64. Required: Yessecret_arn (
str) – (deprecated) The ARN of the Secrets Manager secret containing OAuth credentials (client ID and secret). This is returned when creating the OAuth credential provider via Console or API. Format: arn:aws:secretsmanager:region:account:secret:name Required: Yescustom_parameters (
Optional[Mapping[str,str]]) – (deprecated) Custom parameters for the OAuth flow. Default: - No custom parameters
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- 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 o_auth_configuration = bedrock_agentcore_alpha.OAuthConfiguration( provider_arn="providerArn", scopes=["scopes"], secret_arn="secretArn", # the properties below are optional custom_parameters={ "custom_parameters_key": "customParameters" } )
Attributes
- custom_parameters
(deprecated) Custom parameters for the OAuth flow.
- Default:
No custom parameters
- Stability:
deprecated
- provider_arn
(deprecated) The OAuth credential provider ARN.
This is returned when creating the OAuth credential provider via Console or API. Format: arn:aws:bedrock-agentcore:region:account:token-vault/id/oauth2credentialprovider/name Required: Yes
- Stability:
deprecated
- scopes
(deprecated) The OAuth scopes for the credential provider. These scopes define the level of access requested from the OAuth provider.
Array Members: Minimum number of 0 items. Maximum number of 100 items. Length Constraints: Minimum length of 1. Maximum length of 64. Required: Yes
- Stability:
deprecated
- secret_arn
(deprecated) The ARN of the Secrets Manager secret containing OAuth credentials (client ID and secret).
This is returned when creating the OAuth credential provider via Console or API. Format: arn:aws:secretsmanager:region:account:secret:name Required: Yes
- Stability:
deprecated