Skip to content

Commit c76a380

Browse files
committed
Add README docs for Secret dynamic reference key
1 parent 752c8d4 commit c76a380

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/aws-cdk-lib/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ CloudFormation to re-read the secret.
480480
`SecretValue.ssmSecure()` is only supported for a limited set of resources.
481481
[Click here for a list of supported resources and properties](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#template-parameters-dynamic-patterns-resources).
482482

483+
`SecretValue.cfnDynamicReferenceKey` takes the same parameters as `SecretValue.secretsManager` and returns a key which can be used within a [dynamic reference](#dynamic-references) to dynamically load a secret from AWS Secrets Manager.
484+
483485
## ARN manipulation
484486

485487
Sometimes you will need to put together or pick apart Amazon Resource Names

0 commit comments

Comments
 (0)