Skip to content
v2.274.0

Experimental

@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ApiKeyCredentialProviderAttributes Struct ​

Attributes for importing an existing API key credential provider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const apiKeyCredentialProviderAttributes: bedrock_agentcore_alpha.ApiKeyCredentialProviderAttributes = {
  credentialProviderArn: 'credentialProviderArn',

  // the properties below are optional
  apiKeySecretArn: 'apiKeySecretArn',
  createdTime: 'createdTime',
  lastUpdatedTime: 'lastUpdatedTime',
};

Properties ​

apiKeySecretArnoptionalstringapi_key_secret_arnoptionalstrapiKeySecretArnoptionalStringApiKeySecretArnoptionalstringApiKeySecretArnoptional*string#
ARN of the Secrets Manager secret for the API key, if known.

Default: not set; required for {@link ApiKeyCredentialProvider.bindForGatewayApiKeyTarget } on imported providers

createdTimeoptionalstringcreated_timeoptionalstrcreatedTimeoptionalStringCreatedTimeoptionalstringCreatedTimeoptional*string#
Resource creation time.

Default: not set

credentialProviderArnstringcredential_provider_arnstrcredentialProviderArnStringCredentialProviderArnstringCredentialProviderArn*stringrequired#
ARN of the credential provider.
lastUpdatedTimeoptionalstringlast_updated_timeoptionalstrlastUpdatedTimeoptionalStringLastUpdatedTimeoptionalstringLastUpdatedTimeoptional*string#
Resource last-updated time.

Default: not set