interface SecretReferenceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnApiKeyCredentialProvider.SecretReferenceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnApiKeyCredentialProvider_SecretReferenceProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnApiKeyCredentialProvider.SecretReferenceProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnApiKeyCredentialProvider.SecretReferenceProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnApiKeyCredentialProvider » SecretReferenceProperty |
A reference to a customer-provided secret stored in AWS Secrets Manager.
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 secretReferenceProperty: bedrockagentcore.CfnApiKeyCredentialProvider.SecretReferenceProperty = {
jsonKey: 'jsonKey',
secretId: 'secretId',
};
Properties
| Name | Type | Description |
|---|---|---|
| json | string | The JSON key within the secret that contains the credential value. |
| secret | string | The ID or ARN of the secret in AWS Secrets Manager. |
jsonKey
Type:
string
The JSON key within the secret that contains the credential value.
secretId
Type:
string
The ID or ARN of the secret in AWS Secrets Manager.

.NET
Go
Java
Python
TypeScript