ApiKeyCredentialProviderAttributes
- class aws_cdk.aws_bedrockagentcore.ApiKeyCredentialProviderAttributes(*, credential_provider_arn, api_key_secret_arn=None, created_time=None, last_updated_time=None)
Bases:
objectAttributes for importing an existing API key credential provider.
- Parameters:
credential_provider_arn (
str) – ARN of the credential provider.api_key_secret_arn (
Optional[str]) – ARN of the Secrets Manager secret for the API key, if known. Default: - not set; required for {@link ApiKeyCredentialProvider.bindForGatewayApiKeyTarget } on imported providerscreated_time (
Optional[str]) – Resource creation time. Default: - not setlast_updated_time (
Optional[str]) – Resource last-updated time. Default: - not set
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_bedrockagentcore as bedrockagentcore api_key_credential_provider_attributes = bedrockagentcore.ApiKeyCredentialProviderAttributes( credential_provider_arn="credentialProviderArn", # the properties below are optional api_key_secret_arn="apiKeySecretArn", created_time="createdTime", last_updated_time="lastUpdatedTime" )
Attributes
- api_key_secret_arn
ARN of the Secrets Manager secret for the API key, if known.
- Default:
not set; required for {@link ApiKeyCredentialProvider.bindForGatewayApiKeyTarget } on imported providers
- created_time
Resource creation time.
- Default:
not set
- credential_provider_arn
ARN of the credential provider.
- last_updated_time
Resource last-updated time.
- Default:
not set