@Stability(value=Stable) public static final class CfnRotationSchedule.HostedRotationLambdaProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRotationSchedule.HostedRotationLambdaProperty>
CfnRotationSchedule.HostedRotationLambdaProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder rotationType(String rotationType)
CfnRotationSchedule.HostedRotationLambdaProperty.getRotationType()rotationType - The rotation template to base the rotation function on, one of the following:. This parameter is required.
MySQLSingleUser to use the template SecretsManagerRDSMySQLRotationSingleUser .MySQLMultiUser to use the template SecretsManagerRDSMySQLRotationMultiUser .PostgreSQLSingleUser to use the template SecretsManagerRDSPostgreSQLRotationSingleUserPostgreSQLMultiUser to use the template SecretsManagerRDSPostgreSQLRotationMultiUser .OracleSingleUser to use the template SecretsManagerRDSOracleRotationSingleUser .OracleMultiUser to use the template SecretsManagerRDSOracleRotationMultiUser .MariaDBSingleUser to use the template SecretsManagerRDSMariaDBRotationSingleUser .MariaDBMultiUser to use the template SecretsManagerRDSMariaDBRotationMultiUser .SQLServerSingleUser to use the template SecretsManagerRDSSQLServerRotationSingleUser .SQLServerMultiUser to use the template SecretsManagerRDSSQLServerRotationMultiUser .RedshiftSingleUser to use the template SecretsManagerRedshiftRotationSingleUsr .RedshiftMultiUser to use the template SecretsManagerRedshiftRotationMultiUser .MongoDBSingleUser to use the template SecretsManagerMongoDBRotationSingleUser .MongoDBMultiUser to use the template SecretsManagerMongoDBRotationMultiUser .this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder excludeCharacters(String excludeCharacters)
CfnRotationSchedule.HostedRotationLambdaProperty.getExcludeCharacters()excludeCharacters - A string of the characters that you don't want in the password.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder kmsKeyArn(String kmsKeyArn)
CfnRotationSchedule.HostedRotationLambdaProperty.getKmsKeyArn()kmsKeyArn - The 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 . If aws/secretsmanager doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder masterSecretArn(String masterSecretArn)
CfnRotationSchedule.HostedRotationLambdaProperty.getMasterSecretArn()masterSecretArn - The ARN of the secret that contains elevated credentials.
You must create the elevated secret before you can set this property. The Lambda rotation function uses this secret for the Alternating users rotation strategy .this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder masterSecretKmsKeyArn(String masterSecretKmsKeyArn)
masterSecretKmsKeyArn - The ARN of the KMS key that Secrets Manager uses to encrypt the elevated secret if you use the [alternating users strategy](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users) . If you don't specify this value and you use the alternating users strategy, then Secrets Manager uses the key `aws/secretsmanager` . If `aws/secretsmanager` doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder rotationLambdaName(String rotationLambdaName)
CfnRotationSchedule.HostedRotationLambdaProperty.getRotationLambdaName()rotationLambdaName - The name of the Lambda rotation function.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder superuserSecretArn(String superuserSecretArn)
CfnRotationSchedule.HostedRotationLambdaProperty.getSuperuserSecretArn()superuserSecretArn - The ARN of the secret that contains elevated credentials.
You must create the superuser secret before you can set this property. The Lambda rotation function uses this secret for the Alternating users rotation strategy .this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder superuserSecretKmsKeyArn(String superuserSecretKmsKeyArn)
superuserSecretKmsKeyArn - The ARN of the KMS key that Secrets Manager uses to encrypt the elevated secret if you use the [alternating users strategy](https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users) . If you don't specify this value and you use the alternating users strategy, then Secrets Manager uses the key `aws/secretsmanager` . If `aws/secretsmanager` doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder vpcSecurityGroupIds(String vpcSecurityGroupIds)
vpcSecurityGroupIds - A comma-separated list of security group IDs applied to the target database.
The templates applies the same security groups as on the Lambda rotation function that is created as part of this stack.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder vpcSubnetIds(String vpcSubnetIds)
CfnRotationSchedule.HostedRotationLambdaProperty.getVpcSubnetIds()vpcSubnetIds - A comma separated list of VPC subnet IDs of the target database network.
The Lambda rotation function is in the same subnet group.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty build()
build in interface software.amazon.jsii.Builder<CfnRotationSchedule.HostedRotationLambdaProperty>CfnRotationSchedule.HostedRotationLambdaPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.