Skip to content
v2.273.0

SecretReferenceProperty Struct ​

A reference to a customer-provided secret stored in AWS Secrets Manager.

Example ​

ts
// 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 ​

jsonKeystringjson_keystrjsonKeyStringJsonKeystringJsonKey*stringrequired#
The JSON key within the secret that contains the credential value.
secretIdstringsecret_idstrsecretIdStringSecretIdstringSecretId*stringrequired#
The ID or ARN of the secret in AWS Secrets Manager.