FromApiKeyIdentityOptions
- class aws_cdk.aws_bedrock_agentcore_alpha.FromApiKeyIdentityOptions(*, credential_location=None)
Bases:
object(deprecated) Optional gateway settings when binding an {@link IApiKeyCredentialProvider} to a target.
- Parameters:
credential_location (
Optional[ApiKeyCredentialLocation]) – (deprecated) Where to place the API key on outbound requests. Default: headerAuthorizationwith ``Bearer `` prefix- 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 # api_key_credential_location: bedrock_agentcore_alpha.ApiKeyCredentialLocation from_api_key_identity_options = bedrock_agentcore_alpha.FromApiKeyIdentityOptions( credential_location=api_key_credential_location )
Attributes