@Stability(value=Stable) @Internal public static final class CfnDBClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDBClusterProps
CfnDBClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnDBClusterProps.Builder, CfnDBClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDBClusterProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDBClusterProps.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<String> |
getAvailabilityZones()
A list of Amazon EC2 Availability Zones that instances in the cluster can be created in.
|
Number |
getBackupRetentionPeriod()
The number of days for which automated backups are retained.
|
Object |
getCopyTagsToSnapshot()
`AWS::DocDB::DBCluster.CopyTagsToSnapshot`.
|
String |
getDbClusterIdentifier()
The cluster identifier.
|
String |
getDbClusterParameterGroupName()
The name of the cluster parameter group to associate with this cluster.
|
String |
getDbSubnetGroupName()
A subnet group to associate with this cluster.
|
Object |
getDeletionProtection()
Protects clusters from being accidentally deleted.
|
List<String> |
getEnableCloudwatchLogsExports()
The list of log types that need to be enabled for exporting to Amazon CloudWatch Logs.
|
String |
getEngineVersion()
The version number of the database engine to use.
|
String |
getKmsKeyId()
The AWS KMS key identifier for an encrypted cluster.
|
String |
getMasterUsername()
The name of the master user for the cluster.
|
String |
getMasterUserPassword()
The password for the master database user.
|
Number |
getPort()
Specifies the port that the database engine is listening on.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled using the `BackupRetentionPeriod` parameter.
|
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
String |
getRestoreToTime()
`AWS::DocDB::DBCluster.RestoreToTime`.
|
String |
getRestoreType()
`AWS::DocDB::DBCluster.RestoreType`.
|
String |
getSnapshotIdentifier()
The identifier for the snapshot or cluster snapshot to restore from.
|
String |
getSourceDbClusterIdentifier()
`AWS::DocDB::DBCluster.SourceDBClusterIdentifier`.
|
Object |
getStorageEncrypted()
Specifies whether the cluster is encrypted.
|
List<CfnTag> |
getTags()
The tags to be assigned to the cluster.
|
Object |
getUseLatestRestorableTime()
`AWS::DocDB::DBCluster.UseLatestRestorableTime`.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with this cluster.
|
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(CfnDBClusterProps.Builder builder)
CfnDBClusterProps.Builder.public final List<String> getAvailabilityZones()
CfnDBClusterPropsgetAvailabilityZones in interface CfnDBClusterPropspublic final Number getBackupRetentionPeriod()
CfnDBClusterPropsDefault: 1
Constraints:
getBackupRetentionPeriod in interface CfnDBClusterPropspublic final Object getCopyTagsToSnapshot()
CfnDBClusterPropsgetCopyTagsToSnapshot in interface CfnDBClusterPropspublic final String getDbClusterIdentifier()
CfnDBClusterPropsConstraints:
Example: my-cluster
getDbClusterIdentifier in interface CfnDBClusterPropspublic final String getDbClusterParameterGroupName()
CfnDBClusterPropsgetDbClusterParameterGroupName in interface CfnDBClusterPropspublic final String getDbSubnetGroupName()
CfnDBClusterProps
Constraints: Must match the name of an existing DBSubnetGroup . Must not be default.
Example: mySubnetgroup
getDbSubnetGroupName in interface CfnDBClusterPropspublic final Object getDeletionProtection()
CfnDBClusterProps
If enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled.
getDeletionProtection in interface CfnDBClusterPropspublic final List<String> getEnableCloudwatchLogsExports()
CfnDBClusterPropsYou can enable audit logs or profiler logs. For more information, see Auditing Amazon DocumentDB Events and Profiling Amazon DocumentDB Operations .
getEnableCloudwatchLogsExports in interface CfnDBClusterPropspublic final String getEngineVersion()
CfnDBClusterProps
The --engine-version will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version.
getEngineVersion in interface CfnDBClusterPropspublic final String getKmsKeyId()
CfnDBClusterPropsThe AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.
If an encryption key is not specified in KmsKeyId :
StorageEncrypted parameter is true , Amazon DocumentDB uses your default encryption key.AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Regions .
getKmsKeyId in interface CfnDBClusterPropspublic final String getMasterUsername()
CfnDBClusterPropsConstraints:
getMasterUsername in interface CfnDBClusterPropspublic final String getMasterUserPassword()
CfnDBClusterPropsThis password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
getMasterUserPassword in interface CfnDBClusterPropspublic final Number getPort()
CfnDBClusterPropsgetPort in interface CfnDBClusterPropspublic final String getPreferredBackupWindow()
CfnDBClusterPropsThe default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region .
Constraints:
hh24:mi-hh24:mi .getPreferredBackupWindow in interface CfnDBClusterPropspublic final String getPreferredMaintenanceWindow()
CfnDBClusterProps
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 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.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
getPreferredMaintenanceWindow in interface CfnDBClusterPropspublic final String getRestoreToTime()
CfnDBClusterPropsgetRestoreToTime in interface CfnDBClusterPropspublic final String getRestoreType()
CfnDBClusterPropsgetRestoreType in interface CfnDBClusterPropspublic final String getSnapshotIdentifier()
CfnDBClusterPropsYou can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot.
Constraints:
getSnapshotIdentifier in interface CfnDBClusterPropspublic final String getSourceDbClusterIdentifier()
CfnDBClusterPropsgetSourceDbClusterIdentifier in interface CfnDBClusterPropspublic final Object getStorageEncrypted()
CfnDBClusterPropsgetStorageEncrypted in interface CfnDBClusterPropspublic final List<CfnTag> getTags()
CfnDBClusterPropsgetTags in interface CfnDBClusterPropspublic final Object getUseLatestRestorableTime()
CfnDBClusterPropsgetUseLatestRestorableTime in interface CfnDBClusterPropspublic final List<String> getVpcSecurityGroupIds()
CfnDBClusterPropsgetVpcSecurityGroupIds in interface CfnDBClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.