@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(IClusterEngine engine,
InstanceProps instanceProps,
BackupProps backup,
List<String> cloudwatchLogsExports,
RetentionDays cloudwatchLogsRetention,
IRole cloudwatchLogsRetentionRole,
String clusterIdentifier,
Credentials credentials,
String defaultDatabaseName,
Boolean deletionProtection,
Boolean iamAuthentication,
String instanceIdentifierBase,
Number instances,
Duration monitoringInterval,
IRole monitoringRole,
IParameterGroup parameterGroup,
Number port,
String preferredMaintenanceWindow,
RemovalPolicy removalPolicy,
List<? extends IBucket> s3ExportBuckets,
IRole s3ExportRole,
List<? extends IBucket> s3ImportBuckets,
IRole s3ImportRole,
Boolean storageEncrypted,
IKey storageEncryptionKey,
ISubnetGroup subnetGroup)
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) |
BackupProps |
getBackup()
(experimental) Backup settings.
|
List<String> |
getCloudwatchLogsExports()
(experimental) The list of log types that need to be enabled for exporting to CloudWatch Logs.
|
RetentionDays |
getCloudwatchLogsRetention()
(experimental) The number of days log events are kept in CloudWatch Logs.
|
IRole |
getCloudwatchLogsRetentionRole()
(experimental) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
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.
|
IClusterEngine |
getEngine()
(experimental) What kind of database to start.
|
Boolean |
getIamAuthentication()
(experimental) Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
|
String |
getInstanceIdentifierBase()
(experimental) Base identifier for instances.
|
InstanceProps |
getInstanceProps()
(experimental) Settings for the individual instances that are launched.
|
Number |
getInstances()
(experimental) How many replicas/instances to create.
|
Duration |
getMonitoringInterval()
(experimental) The interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.
|
IRole |
getMonitoringRole()
(experimental) Role that will be used to manage DB instances monitoring.
|
IParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine.
|
Number |
getPort()
(experimental) What port to listen on.
|
String |
getPreferredMaintenanceWindow()
(experimental) A preferred maintenance window day/time range.
|
RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
List<IBucket> |
getS3ExportBuckets()
(experimental) S3 buckets that you want to load data into.
|
IRole |
getS3ExportRole()
(experimental) Role that will be associated with this DB cluster to enable S3 export.
|
List<IBucket> |
getS3ImportBuckets()
(experimental) S3 buckets that you want to load data from.
|
IRole |
getS3ImportRole()
(experimental) Role that will be associated with this DB cluster to enable S3 import.
|
Boolean |
getStorageEncrypted()
(experimental) Whether to enable storage encryption.
|
IKey |
getStorageEncryptionKey()
(experimental) The KMS key for storage encryption.
|
ISubnetGroup |
getSubnetGroup()
(experimental) Existing subnet group for the 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(IClusterEngine engine, InstanceProps instanceProps, BackupProps backup, List<String> cloudwatchLogsExports, RetentionDays cloudwatchLogsRetention, IRole cloudwatchLogsRetentionRole, String clusterIdentifier, Credentials credentials, String defaultDatabaseName, Boolean deletionProtection, Boolean iamAuthentication, String instanceIdentifierBase, Number instances, Duration monitoringInterval, IRole monitoringRole, IParameterGroup parameterGroup, Number port, String preferredMaintenanceWindow, RemovalPolicy removalPolicy, List<? extends IBucket> s3ExportBuckets, IRole s3ExportRole, List<? extends IBucket> s3ImportBuckets, IRole s3ImportRole, Boolean storageEncrypted, IKey storageEncryptionKey, ISubnetGroup subnetGroup)
DatabaseClusterProps.Builder.public final IClusterEngine getEngine()
DatabaseClusterPropsgetEngine in interface DatabaseClusterPropspublic final InstanceProps getInstanceProps()
DatabaseClusterPropsgetInstanceProps in interface DatabaseClusterPropspublic final BackupProps getBackup()
DatabaseClusterPropsDefault: - Backup retention period for automated backups is 1 day. Backup preferred window is set to 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.
getBackup in interface DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindowpublic final List<String> getCloudwatchLogsExports()
DatabaseClusterPropsDefault: - no log exports
getCloudwatchLogsExports in interface DatabaseClusterPropspublic final RetentionDays getCloudwatchLogsRetention()
DatabaseClusterProps
When updating
this property, unsetting it doesn't remove the log retention policy. To
remove the retention policy, set the value to Infinity.
Default: - logs never expire
getCloudwatchLogsRetention in interface DatabaseClusterPropspublic final IRole getCloudwatchLogsRetentionRole()
DatabaseClusterPropsDefault: - a new role is created.
getCloudwatchLogsRetentionRole in interface DatabaseClusterPropspublic final String getClusterIdentifier()
DatabaseClusterPropsDefault: - A name is automatically generated.
getClusterIdentifier in interface DatabaseClusterPropspublic final Credentials getCredentials()
DatabaseClusterPropsDefault: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
getCredentials in interface DatabaseClusterPropspublic final String getDefaultDatabaseName()
DatabaseClusterPropsDefault: - Database is not created in cluster.
getDefaultDatabaseName in interface DatabaseClusterPropspublic final Boolean getDeletionProtection()
DatabaseClusterPropsDefault: - true if ``removalPolicy`` is RETAIN, false otherwise
getDeletionProtection 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: - clusterIdentifier is used with the word "Instance" appended. If clusterIdentifier is not provided, the identifier is automatically generated.
getInstanceIdentifierBase in interface DatabaseClusterPropspublic final Number getInstances()
DatabaseClusterPropsHas to be at least 1.
Default: 2
getInstances in interface DatabaseClusterPropspublic final Duration getMonitoringInterval()
DatabaseClusterPropsDefault: no enhanced monitoring
getMonitoringInterval in interface DatabaseClusterPropspublic final IRole getMonitoringRole()
DatabaseClusterPropsDefault: - A role is automatically created for you
getMonitoringRole in interface DatabaseClusterPropspublic final IParameterGroup getParameterGroup()
DatabaseClusterPropsDefault: - No parameter group.
getParameterGroup in interface DatabaseClusterPropspublic final Number getPort()
DatabaseClusterPropsDefault: - The default for the engine is used.
getPort in interface DatabaseClusterPropspublic final String getPreferredMaintenanceWindow()
DatabaseClusterPropsExample: 'Sun:23:45-Mon:00:15'
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 DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenancepublic final RemovalPolicy getRemovalPolicy()
DatabaseClusterPropsDefault: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy in interface DatabaseClusterPropspublic final List<IBucket> getS3ExportBuckets()
DatabaseClusterProps
This property must not be used if s3ExportRole is used.
For MySQL:
Default: - None
getS3ExportBuckets in interface DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.htmlpublic final IRole getS3ExportRole()
DatabaseClusterPropsThis feature is only supported by the Aurora database engine.
This property must not be used if s3ExportBuckets is used.
For MySQL:
Default: - New role is created if `s3ExportBuckets` is set, no role is defined otherwise
getS3ExportRole in interface DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.htmlpublic final List<IBucket> getS3ImportBuckets()
DatabaseClusterProps
This property must not be used if s3ImportRole is used.
For MySQL:
Default: - None
getS3ImportBuckets in interface DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.htmlpublic final IRole getS3ImportRole()
DatabaseClusterPropsThis feature is only supported by the Aurora database engine.
This property must not be used if s3ImportBuckets is used.
For MySQL:
Default: - New role is created if `s3ImportBuckets` is set, no role is defined otherwise
getS3ImportRole in interface DatabaseClusterPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.htmlpublic final Boolean getStorageEncrypted()
DatabaseClusterPropsDefault: - true if storageEncryptionKey is provided, false otherwise
getStorageEncrypted in interface DatabaseClusterPropspublic final IKey getStorageEncryptionKey()
DatabaseClusterProps
If specified, {@link storageEncrypted} will be set to true.
Default: - if storageEncrypted is true then the default master key, no key otherwise
getStorageEncryptionKey in interface DatabaseClusterPropspublic final ISubnetGroup getSubnetGroup()
DatabaseClusterPropsDefault: - a new subnet group will be created.
getSubnetGroup in interface DatabaseClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.