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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.SecretRotationProps
SecretRotationProps.Builder, SecretRotationProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SecretRotationProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSecretRotationProps.Builder.protectedJsii$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.JsonNodefinal booleanThe serverless application for the rotation.final DurationSpecifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.final IInterfaceVpcEndpointThe VPC interface endpoint to use for the Secrets Manager API.final StringCharacters which should not appear in the generated password.final ISecretThe master secret for a multi user rotation scheme.final BooleanSpecifies whether to rotate the secret immediately or wait until the next scheduled rotation window.final ISecretThe secret to rotate.final ISecurityGroupThe security group for the Lambda rotation function.final IConnectableThe target service or database.final IVpcgetVpc()The VPC where the Lambda rotation function will run.final SubnetSelectionThe type of subnets in the VPC where the Lambda rotation function will run.final inthashCode()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:SecretRotationPropsThe serverless application for the rotation.- Specified by:
getApplicationin interfaceSecretRotationProps
-
getSecret
Description copied from interface:SecretRotationPropsThe 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::SecretTargetAttachmentor anISecretreturned by theattach()method ofSecret.- Specified by:
getSecretin interfaceSecretRotationProps- See Also:
-
getTarget
Description copied from interface:SecretRotationPropsThe target service or database.- Specified by:
getTargetin interfaceSecretRotationProps
-
getVpc
Description copied from interface:SecretRotationPropsThe VPC where the Lambda rotation function will run.- Specified by:
getVpcin interfaceSecretRotationProps
-
getAutomaticallyAfter
Description copied from interface:SecretRotationPropsSpecifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.Default: Duration.days(30)
- Specified by:
getAutomaticallyAfterin interfaceSecretRotationProps
-
getEndpoint
Description copied from interface:SecretRotationPropsThe 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:
getEndpointin interfaceSecretRotationProps
-
getExcludeCharacters
Description copied from interface:SecretRotationPropsCharacters which should not appear in the generated password.Default: - no additional characters are explicitly excluded
- Specified by:
getExcludeCharactersin interfaceSecretRotationProps
-
getMasterSecret
Description copied from interface:SecretRotationPropsThe master secret for a multi user rotation scheme.Default: - single user rotation scheme
- Specified by:
getMasterSecretin interfaceSecretRotationProps
-
getRotateImmediatelyOnUpdate
Description copied from interface:SecretRotationPropsSpecifies whether to rotate the secret immediately or wait until the next scheduled rotation window.Default: true
- Specified by:
getRotateImmediatelyOnUpdatein interfaceSecretRotationProps
-
getSecurityGroup
Description copied from interface:SecretRotationPropsThe security group for the Lambda rotation function.Default: - a new security group is created
- Specified by:
getSecurityGroupin interfaceSecretRotationProps
-
getVpcSubnets
Description copied from interface:SecretRotationPropsThe type of subnets in the VPC where the Lambda rotation function will run.Default: - the Vpc default strategy if not specified.
- Specified by:
getVpcSubnetsin interfaceSecretRotationProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-