@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 type of rotation template to use. For more information, see [Secrets Manager rotation function templates](https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html) . This parameter is required.
You can specify one of the following RotationTypes :
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.
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 - `CfnRotationSchedule.HostedRotationLambdaProperty.SuperuserSecretArn`.this@Stability(value=Stable) public CfnRotationSchedule.HostedRotationLambdaProperty.Builder superuserSecretKmsKeyArn(String superuserSecretKmsKeyArn)
superuserSecretKmsKeyArn - `CfnRotationSchedule.HostedRotationLambdaProperty.SuperuserSecretKmsKeyArn`.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.