interface SecretReferenceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnApiKeyCredentialProviderPropsMixin.SecretReferenceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnApiKeyCredentialProviderPropsMixin_SecretReferenceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnApiKeyCredentialProviderPropsMixin.SecretReferenceProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnApiKeyCredentialProviderPropsMixin.SecretReferenceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnApiKeyCredentialProviderPropsMixin » 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/cfn-property-mixins';
const secretReferenceProperty: bedrockagentcore.CfnApiKeyCredentialProviderPropsMixin.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
(optional)
The JSON key within the secret that contains the credential value.
secretId?
Type:
string
(optional)
The ID or ARN of the secret in AWS Secrets Manager.

.NET
Go
Java
Python
TypeScript