Interface CommonRotationUserOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
RotationMultiUserOptions
,RotationSingleUserOptions
- All Known Implementing Classes:
CommonRotationUserOptions.Jsii$Proxy
,RotationMultiUserOptions.Jsii$Proxy
,RotationSingleUserOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.082Z")
@Stability(Stable)
public interface CommonRotationUserOptions
extends software.amazon.jsii.JsiiSerializable
Properties common to single-user and multi-user rotation options.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.rds.*; import software.amazon.awscdk.core.*; InterfaceVpcEndpoint interfaceVpcEndpoint; Subnet subnet; SubnetFilter subnetFilter; CommonRotationUserOptions commonRotationUserOptions = CommonRotationUserOptions.builder() .automaticallyAfter(Duration.minutes(30)) .endpoint(interfaceVpcEndpoint) .excludeCharacters("excludeCharacters") .vpcSubnets(SubnetSelection.builder() .availabilityZones(List.of("availabilityZones")) .onePerAz(false) .subnetFilters(List.of(subnetFilter)) .subnetGroupName("subnetGroupName") .subnetName("subnetName") .subnets(List.of(subnet)) .subnetType(SubnetType.ISOLATED) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCommonRotationUserOptions
static final class
An implementation forCommonRotationUserOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Duration
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.default IInterfaceVpcEndpoint
The VPC interface endpoint to use for the Secrets Manager API.default String
Specifies characters to not include in generated passwords.default SubnetSelection
Where to place the rotation Lambda function.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutomaticallyAfter
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.Default: - 30 days
-
getEndpoint
The VPC interface endpoint to use for the Secrets Manager API.If you enable private DNS hostnames for your VPC private endpoint (the default), you don't need to specify an endpoint. The standard Secrets Manager DNS hostname the Secrets Manager CLI and SDKs use by default (https://secretsmanager.
.amazonaws.com) automatically resolves to your VPC endpoint. Default: https://secretsmanager.
.amazonaws.com -
getExcludeCharacters
Specifies characters to not include in generated passwords.Default: " %+~`#$invalid input: '&'*()|[]{}:;invalid input: '<'>?!'/
-
getVpcSubnets
Where to place the rotation Lambda function.Default: - same placement as instance or cluster
-
builder
- Returns:
- a
CommonRotationUserOptions.Builder
ofCommonRotationUserOptions
-