@Stability(value=Experimental) @Internal public static final class DatabaseClusterFromSnapshotProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseClusterFromSnapshotProps
DatabaseClusterFromSnapshotPropssoftware.amazon.jsii.JsiiObject.InitializationModeDatabaseClusterFromSnapshotProps.Builder, DatabaseClusterFromSnapshotProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IClusterEngine engine,
InstanceProps instanceProps,
String snapshotIdentifier,
BackupProps backup,
List<String> cloudwatchLogsExports,
RetentionDays cloudwatchLogsRetention,
IRole cloudwatchLogsRetentionRole,
String clusterIdentifier,
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,
ISubnetGroup subnetGroup)
Constructor that initializes the object based on literal property values passed by the
DatabaseClusterFromSnapshotProps.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.
|
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.
|
String |
getSnapshotIdentifier()
(experimental) The identifier for the DB instance snapshot or DB cluster snapshot to restore from.
|
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, String snapshotIdentifier, BackupProps backup, List<String> cloudwatchLogsExports, RetentionDays cloudwatchLogsRetention, IRole cloudwatchLogsRetentionRole, String clusterIdentifier, 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, ISubnetGroup subnetGroup)
DatabaseClusterFromSnapshotProps.Builder.public final IClusterEngine getEngine()
DatabaseClusterFromSnapshotPropsgetEngine in interface DatabaseClusterFromSnapshotPropspublic final InstanceProps getInstanceProps()
DatabaseClusterFromSnapshotPropsgetInstanceProps in interface DatabaseClusterFromSnapshotPropspublic final String getSnapshotIdentifier()
DatabaseClusterFromSnapshotPropsYou can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB instance snapshot.
getSnapshotIdentifier in interface DatabaseClusterFromSnapshotPropspublic final BackupProps getBackup()
DatabaseClusterFromSnapshotPropsDefault: - 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 DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindowpublic final List<String> getCloudwatchLogsExports()
DatabaseClusterFromSnapshotPropsDefault: - no log exports
getCloudwatchLogsExports in interface DatabaseClusterFromSnapshotPropspublic final RetentionDays getCloudwatchLogsRetention()
DatabaseClusterFromSnapshotProps
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 DatabaseClusterFromSnapshotPropspublic final IRole getCloudwatchLogsRetentionRole()
DatabaseClusterFromSnapshotPropsDefault: - a new role is created.
getCloudwatchLogsRetentionRole in interface DatabaseClusterFromSnapshotPropspublic final String getClusterIdentifier()
DatabaseClusterFromSnapshotPropsDefault: - A name is automatically generated.
getClusterIdentifier in interface DatabaseClusterFromSnapshotPropspublic final String getDefaultDatabaseName()
DatabaseClusterFromSnapshotPropsDefault: - Database is not created in cluster.
getDefaultDatabaseName in interface DatabaseClusterFromSnapshotPropspublic final Boolean getDeletionProtection()
DatabaseClusterFromSnapshotPropsDefault: - true if ``removalPolicy`` is RETAIN, false otherwise
getDeletionProtection in interface DatabaseClusterFromSnapshotPropspublic final Boolean getIamAuthentication()
DatabaseClusterFromSnapshotPropsDefault: false
getIamAuthentication in interface DatabaseClusterFromSnapshotPropspublic final String getInstanceIdentifierBase()
DatabaseClusterFromSnapshotPropsEvery 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 DatabaseClusterFromSnapshotPropspublic final Number getInstances()
DatabaseClusterFromSnapshotPropsHas to be at least 1.
Default: 2
getInstances in interface DatabaseClusterFromSnapshotPropspublic final Duration getMonitoringInterval()
DatabaseClusterFromSnapshotPropsDefault: no enhanced monitoring
getMonitoringInterval in interface DatabaseClusterFromSnapshotPropspublic final IRole getMonitoringRole()
DatabaseClusterFromSnapshotPropsDefault: - A role is automatically created for you
getMonitoringRole in interface DatabaseClusterFromSnapshotPropspublic final IParameterGroup getParameterGroup()
DatabaseClusterFromSnapshotPropsDefault: - No parameter group.
getParameterGroup in interface DatabaseClusterFromSnapshotPropspublic final Number getPort()
DatabaseClusterFromSnapshotPropsDefault: - The default for the engine is used.
getPort in interface DatabaseClusterFromSnapshotPropspublic final String getPreferredMaintenanceWindow()
DatabaseClusterFromSnapshotPropsExample: '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 DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenancepublic final RemovalPolicy getRemovalPolicy()
DatabaseClusterFromSnapshotPropsDefault: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy in interface DatabaseClusterFromSnapshotPropspublic final List<IBucket> getS3ExportBuckets()
DatabaseClusterFromSnapshotProps
This property must not be used if s3ExportRole is used.
For MySQL:
Default: - None
getS3ExportBuckets in interface DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.htmlpublic final IRole getS3ExportRole()
DatabaseClusterFromSnapshotPropsThis 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 DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.htmlpublic final List<IBucket> getS3ImportBuckets()
DatabaseClusterFromSnapshotProps
This property must not be used if s3ImportRole is used.
For MySQL:
Default: - None
getS3ImportBuckets in interface DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.htmlpublic final IRole getS3ImportRole()
DatabaseClusterFromSnapshotPropsThis 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 DatabaseClusterFromSnapshotPropshttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.htmlpublic final ISubnetGroup getSubnetGroup()
DatabaseClusterFromSnapshotPropsDefault: - a new subnet group will be created.
getSubnetGroup in interface DatabaseClusterFromSnapshotProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.