@Stability(value=Experimental) @Internal public static final class ServerlessClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServerlessClusterProps
ServerlessClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeServerlessClusterProps.Builder, ServerlessClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IClusterEngine engine,
IVpc vpc,
Duration backupRetention,
String clusterIdentifier,
Credentials credentials,
String defaultDatabaseName,
Boolean deletionProtection,
Boolean enableDataApi,
IParameterGroup parameterGroup,
RemovalPolicy removalPolicy,
ServerlessScalingOptions scaling,
List<? extends ISecurityGroup> securityGroups,
IKey storageEncryptionKey,
ISubnetGroup subnetGroup,
SubnetSelection vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
ServerlessClusterProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getBackupRetention()
(experimental) The number of days during which automatic DB snapshots are retained.
|
String |
getClusterIdentifier()
(experimental) An optional identifier for the cluster.
|
Credentials |
getCredentials()
(experimental) Credentials for the administrative user.
|
String |
getDefaultDatabaseName()
(experimental) Name of a database which is automatically created inside the cluster.
|
Boolean |
getDeletionProtection()
(experimental) Indicates whether the DB cluster should have deletion protection enabled.
|
Boolean |
getEnableDataApi()
(experimental) Whether to enable the Data API.
|
IClusterEngine |
getEngine()
(experimental) What kind of database to start.
|
IParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
ServerlessScalingOptions |
getScaling()
(experimental) Scaling configuration of an Aurora Serverless database cluster.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Security group.
|
IKey |
getStorageEncryptionKey()
(experimental) The KMS key for storage encryption.
|
ISubnetGroup |
getSubnetGroup()
(experimental) Existing subnet group for the cluster.
|
IVpc |
getVpc()
(experimental) The VPC that this Aurora Serverless cluster has been created in.
|
SubnetSelection |
getVpcSubnets()
(experimental) Where to place the instances within the VPC.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IClusterEngine engine, IVpc vpc, Duration backupRetention, String clusterIdentifier, Credentials credentials, String defaultDatabaseName, Boolean deletionProtection, Boolean enableDataApi, IParameterGroup parameterGroup, RemovalPolicy removalPolicy, ServerlessScalingOptions scaling, List<? extends ISecurityGroup> securityGroups, IKey storageEncryptionKey, ISubnetGroup subnetGroup, SubnetSelection vpcSubnets)
ServerlessClusterProps.Builder.public final IClusterEngine getEngine()
ServerlessClusterPropsgetEngine in interface ServerlessClusterPropspublic final IVpc getVpc()
ServerlessClusterPropsgetVpc in interface ServerlessClusterPropspublic final Duration getBackupRetention()
ServerlessClusterPropsAutomatic backup retention cannot be disabled on serverless clusters. Must be a value from 1 day to 35 days.
Default: Duration.days(1)
getBackupRetention in interface ServerlessClusterPropspublic final String getClusterIdentifier()
ServerlessClusterPropsDefault: - A name is automatically generated.
getClusterIdentifier in interface ServerlessClusterPropspublic final Credentials getCredentials()
ServerlessClusterPropsDefault: - A username of 'admin' and SecretsManager-generated password
getCredentials in interface ServerlessClusterPropspublic final String getDefaultDatabaseName()
ServerlessClusterPropsDefault: - Database is not created in cluster.
getDefaultDatabaseName in interface ServerlessClusterPropspublic final Boolean getDeletionProtection()
ServerlessClusterPropsDefault: - true if removalPolicy is RETAIN, false otherwise
getDeletionProtection in interface ServerlessClusterPropspublic final Boolean getEnableDataApi()
ServerlessClusterPropsDefault: false
getEnableDataApi in interface ServerlessClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.htmlpublic final IParameterGroup getParameterGroup()
ServerlessClusterPropsDefault: - no parameter group.
getParameterGroup in interface ServerlessClusterPropspublic final RemovalPolicy getRemovalPolicy()
ServerlessClusterPropsDefault: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy in interface ServerlessClusterPropspublic final ServerlessScalingOptions getScaling()
ServerlessClusterPropsDefault: - Serverless cluster is automatically paused after 5 minutes of being idle. minimum capacity: 2 ACU maximum capacity: 16 ACU
getScaling in interface ServerlessClusterPropspublic final List<ISecurityGroup> getSecurityGroups()
ServerlessClusterPropsDefault: - a new security group is created.
getSecurityGroups in interface ServerlessClusterPropspublic final IKey getStorageEncryptionKey()
ServerlessClusterPropsDefault: - the default master key will be used for storage encryption
getStorageEncryptionKey in interface ServerlessClusterPropspublic final ISubnetGroup getSubnetGroup()
ServerlessClusterPropsDefault: - a new subnet group will be created.
getSubnetGroup in interface ServerlessClusterPropspublic final SubnetSelection getVpcSubnets()
ServerlessClusterPropsDefault: - the VPC default strategy if not specified.
getVpcSubnets in interface ServerlessClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.