public static final class DatabaseClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseClusterProps
DatabaseClusterProps
DatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.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.
|
java.lang.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.
|
java.lang.String |
getDbClusterName()
(experimental) An optional identifier for the cluster.
|
java.lang.Boolean |
getDeletionProtection()
(experimental) Indicates whether the DB cluster should have deletion protection enabled.
|
EngineVersion |
getEngineVersion()
(experimental) What version of the database to start.
|
java.lang.Boolean |
getIamAuthentication()
(experimental) Map AWS Identity and Access Management (IAM) accounts to database accounts.
|
java.lang.String |
getInstanceIdentifierBase()
(experimental) Base identifier for instances.
|
java.lang.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.
|
java.lang.Number |
getPort()
(experimental) The port the Neptune cluster will listen on.
|
java.lang.String |
getPreferredBackupWindow()
(experimental) A daily time range in 24-hours UTC format in which backups preferably execute.
|
java.lang.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.
|
java.util.List<ISecurityGroup> |
getSecurityGroups()
(experimental) Security group.
|
java.lang.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final InstanceType getInstanceType()
DatabaseClusterProps
getInstanceType
in interface DatabaseClusterProps
public final IVpc getVpc()
DatabaseClusterProps
Must be at least 2 subnets in two different AZs.
getVpc
in interface DatabaseClusterProps
public final java.util.List<IRole> getAssociatedRoles()
DatabaseClusterProps
Default: - No role is attached to the cluster.
getAssociatedRoles
in interface DatabaseClusterProps
public final java.lang.Boolean getAutoMinorVersionUpgrade()
DatabaseClusterProps
Default: - false
getAutoMinorVersionUpgrade
in interface DatabaseClusterProps
public final Duration getBackupRetention()
DatabaseClusterProps
Default: - cdk.Duration.days(1)
getBackupRetention
in interface DatabaseClusterProps
public final IClusterParameterGroup getClusterParameterGroup()
DatabaseClusterProps
Default: - No parameter group.
getClusterParameterGroup
in interface DatabaseClusterProps
public final java.lang.String getDbClusterName()
DatabaseClusterProps
Default: - A name is automatically generated.
getDbClusterName
in interface DatabaseClusterProps
public final java.lang.Boolean getDeletionProtection()
DatabaseClusterProps
Default: - true if ``removalPolicy`` is RETAIN, false otherwise
getDeletionProtection
in interface DatabaseClusterProps
public final EngineVersion getEngineVersion()
DatabaseClusterProps
Default: - The default engine version.
getEngineVersion
in interface DatabaseClusterProps
public final java.lang.Boolean getIamAuthentication()
DatabaseClusterProps
Default: - `false`
getIamAuthentication
in interface DatabaseClusterProps
public final java.lang.String getInstanceIdentifierBase()
DatabaseClusterProps
Every 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 DatabaseClusterProps
public final java.lang.Number getInstances()
DatabaseClusterProps
Default: 1
getInstances
in interface DatabaseClusterProps
public final IKey getKmsKey()
DatabaseClusterProps
Default: - default master key.
getKmsKey
in interface DatabaseClusterProps
public final IParameterGroup getParameterGroup()
DatabaseClusterProps
Default: no parameter group
getParameterGroup
in interface DatabaseClusterProps
public final java.lang.Number getPort()
DatabaseClusterProps
Default: - The default engine port
getPort
in interface DatabaseClusterProps
public final java.lang.String getPreferredBackupWindow()
DatabaseClusterProps
Must 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 DatabaseClusterProps
public final java.lang.String getPreferredMaintenanceWindow()
DatabaseClusterProps
Must 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 DatabaseClusterProps
public final RemovalPolicy getRemovalPolicy()
DatabaseClusterProps
This 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 DatabaseClusterProps
public final java.util.List<ISecurityGroup> getSecurityGroups()
DatabaseClusterProps
Default: a new security group is created.
getSecurityGroups
in interface DatabaseClusterProps
public final java.lang.Boolean getStorageEncrypted()
DatabaseClusterProps
Default: true
getStorageEncrypted
in interface DatabaseClusterProps
public final ISubnetGroup getSubnetGroup()
DatabaseClusterProps
Default: - a new subnet group will be created.
getSubnetGroup
in interface DatabaseClusterProps
public final SubnetSelection getVpcSubnets()
DatabaseClusterProps
Default: private subnets
getVpcSubnets
in interface DatabaseClusterProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()