Class SecretRotationProps.Jsii$Proxy
- All Implemented Interfaces:
SecretRotationProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SecretRotationProps
SecretRotationProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.SecretRotationProps
SecretRotationProps.Builder, SecretRotationProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(SecretRotationProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSecretRotationProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
The serverless application for the rotation.final Duration
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.final IInterfaceVpcEndpoint
The VPC interface endpoint to use for the Secrets Manager API.final String
Characters which should not appear in the generated password.final ISecret
The master secret for a multi user rotation scheme.final Boolean
Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.final ISecret
The secret to rotate.final ISecurityGroup
The security group for the Lambda rotation function.final IConnectable
The target service or database.final IVpc
getVpc()
The VPC where the Lambda rotation function will run.final SubnetSelection
The type of subnets in the VPC where the Lambda rotation function will run.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSecretRotationProps.Builder
.
-
-
Method Details
-
getApplication
Description copied from interface:SecretRotationProps
The serverless application for the rotation.- Specified by:
getApplication
in interfaceSecretRotationProps
-
getSecret
Description copied from interface:SecretRotationProps
The secret to rotate. It must be a JSON string with the following format:.{ "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 anISecret
returned by theattach()
method ofSecret
.- Specified by:
getSecret
in interfaceSecretRotationProps
- See Also:
-
getTarget
Description copied from interface:SecretRotationProps
The target service or database.- Specified by:
getTarget
in interfaceSecretRotationProps
-
getVpc
Description copied from interface:SecretRotationProps
The VPC where the Lambda rotation function will run.- Specified by:
getVpc
in interfaceSecretRotationProps
-
getAutomaticallyAfter
Description copied from interface:SecretRotationProps
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.Default: Duration.days(30)
- Specified by:
getAutomaticallyAfter
in interfaceSecretRotationProps
-
getEndpoint
Description copied from interface:SecretRotationProps
The VPC interface endpoint to use for the Secrets Manager API.If you enable private DNS hostnames for your VPC private endpoint (the default), you don't need to specify an endpoint. The standard Secrets Manager DNS hostname the Secrets Manager CLI and SDKs use by default (https://secretsmanager.
.amazonaws.com) automatically resolves to your VPC endpoint. Default: https://secretsmanager.
.amazonaws.com - Specified by:
getEndpoint
in interfaceSecretRotationProps
-
getExcludeCharacters
Description copied from interface:SecretRotationProps
Characters which should not appear in the generated password.Default: - no additional characters are explicitly excluded
- Specified by:
getExcludeCharacters
in interfaceSecretRotationProps
-
getMasterSecret
Description copied from interface:SecretRotationProps
The master secret for a multi user rotation scheme.Default: - single user rotation scheme
- Specified by:
getMasterSecret
in interfaceSecretRotationProps
-
getRotateImmediatelyOnUpdate
Description copied from interface:SecretRotationProps
Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.Default: true
- Specified by:
getRotateImmediatelyOnUpdate
in interfaceSecretRotationProps
-
getSecurityGroup
Description copied from interface:SecretRotationProps
The security group for the Lambda rotation function.Default: - a new security group is created
- Specified by:
getSecurityGroup
in interfaceSecretRotationProps
-
getVpcSubnets
Description copied from interface:SecretRotationProps
The type of subnets in the VPC where the Lambda rotation function will run.Default: - the Vpc default strategy if not specified.
- Specified by:
getVpcSubnets
in interfaceSecretRotationProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-