FromApiKeyIdentityOptions

class aws_cdk.aws_bedrock_agentcore_alpha.FromApiKeyIdentityOptions(*, credential_location=None)

Bases: object

(experimental) Optional gateway settings when binding an {@link IApiKeyCredentialProvider} to a target.

Parameters:

credential_location (Optional[ApiKeyCredentialLocation]) – (experimental) Where to place the API key on outbound requests. Default: header Authorization with ``Bearer `` prefix

Stability:

experimental

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

credential_location

(experimental) Where to place the API key on outbound requests.

Default:

header Authorization with ``Bearer `` prefix

Stability:

experimental