Class CfnRotationSchedule.HostedRotationLambdaProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnRotationSchedule.HostedRotationLambdaProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnRotationSchedule.HostedRotationLambdaProperty
CfnRotationSchedule.HostedRotationLambdaProperty-
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.CfnRotationSchedule.HostedRotationLambdaProperty
CfnRotationSchedule.HostedRotationLambdaProperty.Builder, CfnRotationSchedule.HostedRotationLambdaProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnRotationSchedule.HostedRotationLambdaProperty.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 booleanfinal StringA string of the characters that you don't want in the password.final StringThe ARN of the KMS key that Secrets Manager uses to encrypt the secret.final StringThe ARN of the secret that contains superuser credentials, if you use the Alternating users rotation strategy .final StringThe ARN of the KMS key that Secrets Manager used to encrypt the superuser secret, if you use the alternating users strategy and the superuser secret is encrypted with a customer managed key.final StringThe name of the Lambda rotation function.final StringThe rotation template to base the rotation function on, one of the following:.final StringBy default, CloudFormation deploys Python 3.9 binaries for the rotation function.final StringThe ARN of the secret that contains superuser credentials, if you use the Alternating users rotation strategy .final StringThe ARN of the KMS key that Secrets Manager used to encrypt the superuser secret, if you use the alternating users strategy and the superuser secret is encrypted with a customer managed key.final StringA comma-separated list of security group IDs applied to the target database.final StringA comma separated list of VPC subnet IDs of the target database network.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 theCfnRotationSchedule.HostedRotationLambdaProperty.Builder.
-
-
Method Details
-
getRotationType
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe rotation template to base the rotation function on, one of the following:.MySQLSingleUserto use the template SecretsManagerRDSMySQLRotationSingleUser .MySQLMultiUserto use the template SecretsManagerRDSMySQLRotationMultiUser .PostgreSQLSingleUserto use the template SecretsManagerRDSPostgreSQLRotationSingleUserPostgreSQLMultiUserto use the template SecretsManagerRDSPostgreSQLRotationMultiUser .OracleSingleUserto use the template SecretsManagerRDSOracleRotationSingleUser .OracleMultiUserto use the template SecretsManagerRDSOracleRotationMultiUser .MariaDBSingleUserto use the template SecretsManagerRDSMariaDBRotationSingleUser .MariaDBMultiUserto use the template SecretsManagerRDSMariaDBRotationMultiUser .SQLServerSingleUserto use the template SecretsManagerRDSSQLServerRotationSingleUser .SQLServerMultiUserto use the template SecretsManagerRDSSQLServerRotationMultiUser .RedshiftSingleUserto use the template SecretsManagerRedshiftRotationSingleUsr .RedshiftMultiUserto use the template SecretsManagerRedshiftRotationMultiUser .MongoDBSingleUserto use the template SecretsManagerMongoDBRotationSingleUser .MongoDBMultiUserto use the template SecretsManagerMongoDBRotationMultiUser .
- Specified by:
getRotationTypein interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getExcludeCharacters
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyA string of the characters that you don't want in the password.- Specified by:
getExcludeCharactersin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getKmsKeyArn
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe ARN of the KMS key that Secrets Manager uses to encrypt the secret.If you don't specify this value, then Secrets Manager uses the key
aws/secretsmanager. Ifaws/secretsmanagerdoesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.- Specified by:
getKmsKeyArnin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getMasterSecretArn
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe ARN of the secret that contains superuser credentials, if you use the Alternating users rotation strategy . CloudFormation grants the execution role for the Lambda rotation functionGetSecretValuepermission to the secret in this property. For more information, see Lambda rotation function execution role permissions for Secrets Manager .You must create the superuser secret before you can set this property.
You must also include the superuser secret ARN as a key in the JSON of the rotating secret so that the Lambda rotation function can find it. CloudFormation does not hardcode secret ARNs in the Lambda rotation function, so you can use the function to rotate multiple secrets. For more information, see JSON structure of Secrets Manager secrets .
You can specify
MasterSecretArnorSuperuserSecretArnbut not both. They represent the same superuser secret.- Specified by:
getMasterSecretArnin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getMasterSecretKmsKeyArn
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe ARN of the KMS key that Secrets Manager used to encrypt the superuser secret, if you use the alternating users strategy and the superuser secret is encrypted with a customer managed key. You don't need to specify this property if the superuser secret is encrypted using the keyaws/secretsmanager. CloudFormation grants the execution role for the Lambda rotation functionDecrypt,DescribeKey, andGenerateDataKeypermission to the key in this property. For more information, see Lambda rotation function execution role permissions for Secrets Manager .You can specify
MasterSecretKmsKeyArnorSuperuserSecretKmsKeyArnbut not both. They represent the same superuser secret KMS key .- Specified by:
getMasterSecretKmsKeyArnin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getRotationLambdaName
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe name of the Lambda rotation function.- Specified by:
getRotationLambdaNamein interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getRuntime
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyBy default, CloudFormation deploys Python 3.9 binaries for the rotation function. To use a different version of Python, you must do the following two steps:.- Deploy the matching version Python binaries with your rotation function.
- Set the version number in this field. For example, for Python 3.7, enter python3.7
If you only do one of the steps, your rotation function will be incompatible with the binaries. For more information, see Why did my Lambda rotation function fail with a "pg module not found" error .
- Specified by:
getRuntimein interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getSuperuserSecretArn
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe ARN of the secret that contains superuser credentials, if you use the Alternating users rotation strategy . CloudFormation grants the execution role for the Lambda rotation functionGetSecretValuepermission to the secret in this property. For more information, see Lambda rotation function execution role permissions for Secrets Manager .You must create the superuser secret before you can set this property.
You must also include the superuser secret ARN as a key in the JSON of the rotating secret so that the Lambda rotation function can find it. CloudFormation does not hardcode secret ARNs in the Lambda rotation function, so you can use the function to rotate multiple secrets. For more information, see JSON structure of Secrets Manager secrets .
You can specify
MasterSecretArnorSuperuserSecretArnbut not both. They represent the same superuser secret.- Specified by:
getSuperuserSecretArnin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getSuperuserSecretKmsKeyArn
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyThe ARN of the KMS key that Secrets Manager used to encrypt the superuser secret, if you use the alternating users strategy and the superuser secret is encrypted with a customer managed key. You don't need to specify this property if the superuser secret is encrypted using the keyaws/secretsmanager. CloudFormation grants the execution role for the Lambda rotation functionDecrypt,DescribeKey, andGenerateDataKeypermission to the key in this property. For more information, see Lambda rotation function execution role permissions for Secrets Manager .You can specify
MasterSecretKmsKeyArnorSuperuserSecretKmsKeyArnbut not both. They represent the same superuser secret KMS key .- Specified by:
getSuperuserSecretKmsKeyArnin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getVpcSecurityGroupIds
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyA comma-separated list of security group IDs applied to the target database.The template applies the same security groups as on the Lambda rotation function that is created as part of this stack.
- Specified by:
getVpcSecurityGroupIdsin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
getVpcSubnetIds
Description copied from interface:CfnRotationSchedule.HostedRotationLambdaPropertyA comma separated list of VPC subnet IDs of the target database network.The Lambda rotation function is in the same subnet group.
- Specified by:
getVpcSubnetIdsin interfaceCfnRotationSchedule.HostedRotationLambdaProperty
-
$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()
-