| Modifier and Type | Method and Description |
|---|---|
static SecretValue |
SecretValue.cfnDynamicReference(CfnDynamicReference ref)
Obtain the secret value through a CloudFormation dynamic reference.
|
static SecretValue |
SecretValue.cfnParameter(CfnParameter param)
Obtain the secret value through a CloudFormation parameter.
|
static SecretValue |
SecretValue.plainText(String secret)
Construct a literal secret value for use with secret-aware constructs.
|
static SecretValue |
SecretValue.secretsManager(String secretId)
Creates a `SecretValue` with a value which is dynamically loaded from AWS Secrets Manager.
|
static SecretValue |
SecretValue.secretsManager(String secretId,
SecretsManagerSecretOptions options)
Creates a `SecretValue` with a value which is dynamically loaded from AWS Secrets Manager.
|
static SecretValue |
SecretValue.ssmSecure(String parameterName,
String version)
Use a secret value stored from a Systems Manager (SSM) parameter.
|
Copyright © 2019. All rights reserved.