@Stability(value=Experimental) @Internal public static final class DatabaseClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseClusterProps
DatabaseClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeDatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(DatabaseClusterProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DatabaseClusterProps.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) |
List<IRole> |
getAssociatedRoles()
(experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
|
Boolean |
getAutoMinorVersionUpgrade()
(experimental) If set to true, Neptune will automatically update the engine of the entire cluster to the latest minor version after a stabilization window of 2 to 3 weeks.
|
Duration |
getBackupRetention()
(experimental) How many days to retain the backup.
|
IClusterParameterGroup |
getClusterParameterGroup()
(experimental) Additional parameters to pass to the database engine.
|
String |
getDbClusterName()
(experimental) An optional identifier for the cluster.
|
Boolean |
getDeletionProtection()
(experimental) Indicates whether the DB cluster should have deletion protection enabled.
|
EngineVersion |
getEngineVersion()
(experimental) What version of the database to start.
|
Boolean |
getIamAuthentication()
(experimental) Map AWS Identity and Access Management (IAM) accounts to database accounts.
|
String |
getInstanceIdentifierBase()
(experimental) Base identifier for instances.
|
Number |
getInstances()
(experimental) Number of Neptune compute instances.
|
InstanceType |
getInstanceType()
(experimental) What type of instance to start for the replicas.
|
IKey |
getKmsKey()
(experimental) The KMS key for storage encryption.
|
IParameterGroup |
getParameterGroup()
(experimental) The DB parameter group to associate with the instance.
|
Number |
getPort()
(experimental) The port the Neptune cluster will listen on.
|
String |
getPreferredBackupWindow()
(experimental) A daily time range in 24-hours UTC format in which backups preferably execute.
|
String |
getPreferredMaintenanceWindow()
(experimental) A weekly time range in which maintenance should preferably execute.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) Security group.
|
Boolean |
getStorageEncrypted()
(experimental) Whether to enable storage encryption.
|
ISubnetGroup |
getSubnetGroup()
(experimental) Existing subnet group for the cluster.
|
IVpc |
getVpc()
(experimental) What subnets to run the Neptune instances 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(DatabaseClusterProps.Builder builder)
DatabaseClusterProps.Builder.public final InstanceType getInstanceType()
DatabaseClusterPropsgetInstanceType in interface DatabaseClusterPropspublic final IVpc getVpc()
DatabaseClusterPropsMust be at least 2 subnets in two different AZs.
getVpc in interface DatabaseClusterPropspublic final List<IRole> getAssociatedRoles()
DatabaseClusterPropsDefault: - No role is attached to the cluster.
getAssociatedRoles in interface DatabaseClusterPropspublic final Boolean getAutoMinorVersionUpgrade()
DatabaseClusterPropsDefault: - false
getAutoMinorVersionUpgrade in interface DatabaseClusterPropspublic final Duration getBackupRetention()
DatabaseClusterPropsDefault: - cdk.Duration.days(1)
getBackupRetention in interface DatabaseClusterPropspublic final IClusterParameterGroup getClusterParameterGroup()
DatabaseClusterPropsDefault: - No parameter group.
getClusterParameterGroup in interface DatabaseClusterPropspublic final String getDbClusterName()
DatabaseClusterPropsDefault: - A name is automatically generated.
getDbClusterName in interface DatabaseClusterPropspublic final Boolean getDeletionProtection()
DatabaseClusterPropsDefault: - true if ``removalPolicy`` is RETAIN, false otherwise
getDeletionProtection in interface DatabaseClusterPropspublic final EngineVersion getEngineVersion()
DatabaseClusterPropsDefault: - The default engine version.
getEngineVersion in interface DatabaseClusterPropspublic final Boolean getIamAuthentication()
DatabaseClusterPropsDefault: - `false`
getIamAuthentication in interface DatabaseClusterPropspublic final String getInstanceIdentifierBase()
DatabaseClusterPropsEvery replica is named by appending the replica number to this string, 1-based.
Default: - `dbClusterName` is used with the word "Instance" appended. If `dbClusterName` is not provided, the identifier is automatically generated.
getInstanceIdentifierBase in interface DatabaseClusterPropspublic final Number getInstances()
DatabaseClusterPropsDefault: 1
getInstances in interface DatabaseClusterPropspublic final IKey getKmsKey()
DatabaseClusterPropsDefault: - default master key.
getKmsKey in interface DatabaseClusterPropspublic final IParameterGroup getParameterGroup()
DatabaseClusterPropsDefault: no parameter group
getParameterGroup in interface DatabaseClusterPropspublic final Number getPort()
DatabaseClusterPropsDefault: - The default engine port
getPort in interface DatabaseClusterPropspublic final String getPreferredBackupWindow()
DatabaseClusterPropsMust be at least 30 minutes long.
Example: '01:00-02:00'
Default: - a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see
getPreferredBackupWindow in interface DatabaseClusterPropspublic final String getPreferredMaintenanceWindow()
DatabaseClusterPropsMust be at least 30 minutes long.
Example: 'tue:04:17-tue:04:47'
Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
getPreferredMaintenanceWindow in interface DatabaseClusterPropspublic final RemovalPolicy getRemovalPolicy()
DatabaseClusterPropsThis removal policy also applies to the implicit security group created for the cluster if one is not supplied as a parameter.
Default: - Retain cluster.
getRemovalPolicy in interface DatabaseClusterPropspublic final List<ISecurityGroup> getSecurityGroups()
DatabaseClusterPropsDefault: a new security group is created.
getSecurityGroups in interface DatabaseClusterPropspublic final Boolean getStorageEncrypted()
DatabaseClusterPropsDefault: true
getStorageEncrypted in interface DatabaseClusterPropspublic final ISubnetGroup getSubnetGroup()
DatabaseClusterPropsDefault: - a new subnet group will be created.
getSubnetGroup in interface DatabaseClusterPropspublic final SubnetSelection getVpcSubnets()
DatabaseClusterPropsDefault: private subnets
getVpcSubnets in interface DatabaseClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.