interface CfnApiKeyCredentialProviderProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnApiKeyCredentialProviderProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnApiKeyCredentialProviderProps |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnApiKeyCredentialProviderProps |
Python | aws_cdk.aws_bedrockagentcore.CfnApiKeyCredentialProviderProps |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnApiKeyCredentialProviderProps |
Properties for defining a CfnApiKeyCredentialProvider.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnApiKeyCredentialProviderProps: bedrockagentcore.CfnApiKeyCredentialProviderProps = {
name: 'name',
// the properties below are optional
apiKey: 'apiKey',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the API key credential provider. |
| api | string | The API key to use for authentication. |
| tags? | Cfn[] | Tags to assign to the API key credential provider. |
name
Type:
string
The name of the API key credential provider.
apiKey?
Type:
string
(optional)
The API key to use for authentication.
tags?
Type:
Cfn[]
(optional)
Tags to assign to the API key credential provider.

.NET
Go
Java
Python
TypeScript