FromOauthIdentityOptions
- class aws_cdk.aws_bedrock_agentcore_alpha.FromOauthIdentityOptions(*, scopes, custom_parameters=None)
Bases:
object(deprecated) OAuth scopes (and optional custom parameters) when binding an {@link IOAuth2CredentialProvider} to a gateway target.
- Parameters:
scopes (
Sequence[str]) – (deprecated) OAuth scopes the gateway should request for this target.custom_parameters (
Optional[Mapping[str,str]]) – (deprecated) Additional OAuth parameters for the provider. Default: - none
- 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 from_oauth_identity_options = bedrock_agentcore_alpha.FromOauthIdentityOptions( scopes=["scopes"], # the properties below are optional custom_parameters={ "custom_parameters_key": "customParameters" } )
Attributes
- custom_parameters
(deprecated) Additional OAuth parameters for the provider.
- Default:
none
- Stability:
deprecated
- scopes
(deprecated) OAuth scopes the gateway should request for this target.
- Stability:
deprecated