@Stability(value=Experimental) @Internal public static final class SecretRotationProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecretRotationProps
SecretRotationPropssoftware.amazon.jsii.JsiiObject.InitializationModeSecretRotationProps.Builder, SecretRotationProps.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(SecretRotationApplication application,
ISecret secret,
IConnectable target,
IVpc vpc,
Duration automaticallyAfter,
String excludeCharacters,
ISecret masterSecret,
ISecurityGroup securityGroup,
SubnetSelection vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
SecretRotationProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
SecretRotationApplication |
getApplication()
(experimental) The serverless application for the rotation.
|
Duration |
getAutomaticallyAfter()
(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
|
String |
getExcludeCharacters()
(experimental) Characters which should not appear in the generated password.
|
ISecret |
getMasterSecret()
(experimental) The master secret for a multi user rotation scheme.
|
ISecret |
getSecret()
(experimental) The secret to rotate.
|
ISecurityGroup |
getSecurityGroup()
(experimental) The security group for the Lambda rotation function.
|
IConnectable |
getTarget()
(experimental) The target service or database.
|
IVpc |
getVpc()
(experimental) The VPC where the Lambda rotation function will run.
|
SubnetSelection |
getVpcSubnets()
(experimental) The type of subnets in the VPC where the Lambda rotation function will run.
|
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(SecretRotationApplication application, ISecret secret, IConnectable target, IVpc vpc, Duration automaticallyAfter, String excludeCharacters, ISecret masterSecret, ISecurityGroup securityGroup, SubnetSelection vpcSubnets)
SecretRotationProps.Builder.public final SecretRotationApplication getApplication()
SecretRotationPropsgetApplication in interface SecretRotationPropspublic final ISecret getSecret()
SecretRotationProps
{
"engine": <required: database engine>,
"host": <required: instance host name>,
"username": <required: username>,
"password": <required: password>,
"dbname": <optional: database name>,
"port": <optional: if not specified, default port will be used>,
"masterarn": <required for multi user rotation: the arn of the master secret which will be used to create users/change passwords>
}
This is typically the case for a secret referenced from an AWS::SecretsManager::SecretTargetAttachment
or an ISecret returned by the attach() method of Secret.
getSecret in interface SecretRotationPropshttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.htmlpublic final IConnectable getTarget()
SecretRotationPropsgetTarget in interface SecretRotationPropspublic final IVpc getVpc()
SecretRotationPropsgetVpc in interface SecretRotationPropspublic final Duration getAutomaticallyAfter()
SecretRotationPropsDefault: Duration.days(30)
getAutomaticallyAfter in interface SecretRotationPropspublic final String getExcludeCharacters()
SecretRotationPropsDefault: - no additional characters are explicitly excluded
getExcludeCharacters in interface SecretRotationPropspublic final ISecret getMasterSecret()
SecretRotationPropsDefault: - single user rotation scheme
getMasterSecret in interface SecretRotationPropspublic final ISecurityGroup getSecurityGroup()
SecretRotationPropsDefault: - a new security group is created
getSecurityGroup in interface SecretRotationPropspublic final SubnetSelection getVpcSubnets()
SecretRotationPropsDefault: - the Vpc default strategy if not specified.
getVpcSubnets in interface SecretRotationProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.