Skip to content
v2.274.0

SecretReference Struct ​

A reference to a Secret resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_secretsmanager as interfaces_secretsmanager } from 'aws-cdk-lib/interfaces';
const secretReference: interfaces_secretsmanager.SecretReference = {
  secretId: 'secretId',
};

Properties ​

secretIdstringsecret_idstrsecretIdStringSecretIdstringSecretId*stringrequired#
The Id of the Secret resource.