SecretReference
- class aws_cdk.aws_secretsmanager.SecretReference(*, secret_id)
Bases:
object
A reference to a Secret resource.
- Parameters:
secret_id (
str
) – The Id of the Secret resource.- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_secretsmanager as secretsmanager secret_reference = secretsmanager.SecretReference( secret_id="secretId" )
Attributes
- secret_id
The Id of the Secret resource.