@Stability(value=Experimental) @Internal public static final class SecretProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecretProps
SecretPropssoftware.amazon.jsii.JsiiObject.InitializationModeSecretProps.Builder, SecretProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String description,
IKey encryptionKey,
SecretStringGenerator generateSecretString,
RemovalPolicy removalPolicy,
List<? extends ReplicaRegion> replicaRegions,
String secretName)
Constructor that initializes the object based on literal property values passed by the
SecretProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDescription()
(experimental) An optional, human-friendly description of the secret.
|
IKey |
getEncryptionKey()
(experimental) The customer-managed encryption key to use for encrypting the secret value.
|
SecretStringGenerator |
getGenerateSecretString()
(experimental) Configuration for how to generate a secret value.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) Policy to apply when the secret is removed from this stack.
|
List<ReplicaRegion> |
getReplicaRegions()
(experimental) A list of regions where to replicate this secret.
|
String |
getSecretName()
(experimental) A name for the secret.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String description, IKey encryptionKey, SecretStringGenerator generateSecretString, RemovalPolicy removalPolicy, List<? extends ReplicaRegion> replicaRegions, String secretName)
SecretProps.Builder.public final String getDescription()
SecretPropsDefault: - No description.
getDescription in interface SecretPropspublic final IKey getEncryptionKey()
SecretPropsDefault: - A default KMS key for the account and region is used.
getEncryptionKey in interface SecretPropspublic final SecretStringGenerator getGenerateSecretString()
SecretPropsDefault: - 32 characters with upper-case letters, lower-case letters, punctuation and numbers (at least one from each category), per the default values of ``SecretStringGenerator``.
getGenerateSecretString in interface SecretPropspublic final RemovalPolicy getRemovalPolicy()
SecretPropsDefault: - Not set.
getRemovalPolicy in interface SecretPropspublic final List<ReplicaRegion> getReplicaRegions()
SecretPropsDefault: - Secret is not replicated
getReplicaRegions in interface SecretPropspublic final String getSecretName()
SecretPropsNote that deleting secrets from SecretsManager does not happen immediately, but after a 7 to 30 days blackout period. During that period, it is not possible to create another secret that shares the same name.
Default: - A name is generated by CloudFormation.
getSecretName in interface SecretProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.