@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.020Z") @Stability(value=Experimental) public interface SecretRotationProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecretRotationProps.Builder
A builder for
SecretRotationProps |
static class |
SecretRotationProps.Jsii$Proxy
An implementation for
SecretRotationProps |
| Modifier and Type | Method and Description |
|---|---|
static SecretRotationProps.Builder |
builder() |
SecretRotationApplication |
getApplication()
(experimental) The serverless application for the rotation.
|
default Duration |
getAutomaticallyAfter()
(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
|
default String |
getExcludeCharacters()
(experimental) Characters which should not appear in the generated password.
|
default ISecret |
getMasterSecret()
(experimental) The master secret for a multi user rotation scheme.
|
ISecret |
getSecret()
(experimental) The secret to rotate.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) The security group for the Lambda rotation function.
|
IConnectable |
getTarget()
(experimental) The target service or database.
|
IVpc |
getVpc()
(experimental) The VPC where the Lambda rotation function will run.
|
default SubnetSelection |
getVpcSubnets()
(experimental) The type of subnets in the VPC where the Lambda rotation function will run.
|
@Stability(value=Experimental) @NotNull SecretRotationApplication getApplication()
@Stability(value=Experimental) @NotNull ISecret getSecret()
{
"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 an ISecret returned by the attach() method of Secret.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html@Stability(value=Experimental) @NotNull IConnectable getTarget()
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default Duration getAutomaticallyAfter()
Default: Duration.days(30)
@Stability(value=Experimental) @Nullable default String getExcludeCharacters()
Default: - no additional characters are explicitly excluded
@Stability(value=Experimental) @Nullable default ISecret getMasterSecret()
Default: - single user rotation scheme
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
Default: - a new security group is created
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - the Vpc default strategy if not specified.
@Stability(value=Experimental) static SecretRotationProps.Builder builder()
SecretRotationProps.Builder of SecretRotationPropsCopyright © 2021. All rights reserved.