@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.059Z") @Stability(value=Stable) public interface SingleUserHostedRotationOptions extends software.amazon.jsii.JsiiSerializable
Example:
Vpc myVpc;
Connections dbConnections;
Secret secret;
HostedRotation myHostedRotation = HostedRotation.mysqlSingleUser(SingleUserHostedRotationOptions.builder().vpc(myVpc).build());
secret.addRotationSchedule("RotationSchedule", RotationScheduleOptions.builder().hostedRotation(myHostedRotation).build());
dbConnections.allowDefaultPortFrom(myHostedRotation);
| Modifier and Type | Interface and Description |
|---|---|
static class |
SingleUserHostedRotationOptions.Builder
A builder for
SingleUserHostedRotationOptions |
static class |
SingleUserHostedRotationOptions.Jsii$Proxy
An implementation for
SingleUserHostedRotationOptions |
| Modifier and Type | Method and Description |
|---|---|
static SingleUserHostedRotationOptions.Builder |
builder() |
default String |
getExcludeCharacters()
A string of the characters that you don't want in the password.
|
default String |
getFunctionName()
A name for the Lambda created to rotate the secret.
|
default List<ISecurityGroup> |
getSecurityGroups()
A list of security groups for the Lambda created to rotate the secret.
|
default IVpc |
getVpc()
The VPC where the Lambda rotation function will run.
|
default SubnetSelection |
getVpcSubnets()
The type of subnets in the VPC where the Lambda rotation function will run.
|
@Stability(value=Stable) @Nullable default String getExcludeCharacters()
Default: the same exclude characters as the ones used for the secret or " %+~`#$&*()|[]{}:;<>?!'/
@Stability(value=Stable) @Nullable default String getFunctionName()
Default: - a CloudFormation generated name
@Stability(value=Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - a new security group is created
@Stability(value=Stable) @Nullable default IVpc getVpc()
Default: - the Lambda is not deployed in a VPC
@Stability(value=Stable) @Nullable default SubnetSelection getVpcSubnets()
Default: - the Vpc default strategy if not specified.
@Stability(value=Stable) static SingleUserHostedRotationOptions.Builder builder()
Copyright © 2022. All rights reserved.