interface ApiKeyCredentialProviderAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.ApiKeyCredentialProviderAttributes |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#ApiKeyCredentialProviderAttributes |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.ApiKeyCredentialProviderAttributes |
Python | aws_cdk.aws_bedrock_agentcore_alpha.ApiKeyCredentialProviderAttributes |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป ApiKeyCredentialProviderAttributes |
Attributes for importing an existing API key credential provider.
Example
// 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
| Name | Type | Description |
|---|---|---|
| credential | string | ARN of the credential provider. |
| api | string | ARN of the Secrets Manager secret for the API key, if known. |
| created | string | Resource creation time. |
| last | string | Resource last-updated time. |
credentialProviderArn
Type:
string
ARN of the credential provider.
apiKeySecretArn?
Type:
string
(optional, default: not set; required for {@link ApiKeyCredentialProvider.bindForGatewayApiKeyTarget } on imported providers)
ARN of the Secrets Manager secret for the API key, if known.
createdTime?
Type:
string
(optional, default: not set)
Resource creation time.
lastUpdatedTime?
Type:
string
(optional, default: not set)
Resource last-updated time.

.NET
Go
Java
Python
TypeScript (