@Stability(value=Experimental) @Internal public static final class DatabaseClusterFromSnapshotProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseClusterFromSnapshotProps
DatabaseClusterFromSnapshotProps
software.amazon.jsii.JsiiObject.InitializationMode
DatabaseClusterFromSnapshotProps.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, jsiiStaticSet
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.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()
DatabaseClusterFromSnapshotProps
getEngine
in interface DatabaseClusterFromSnapshotProps
public final InstanceProps getInstanceProps()
DatabaseClusterFromSnapshotProps
getInstanceProps
in interface DatabaseClusterFromSnapshotProps
public final String getSnapshotIdentifier()
DatabaseClusterFromSnapshotProps
You 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 DatabaseClusterFromSnapshotProps
public final BackupProps getBackup()
DatabaseClusterFromSnapshotProps
Default: - 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 DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
public final List<String> getCloudwatchLogsExports()
DatabaseClusterFromSnapshotProps
Default: - no log exports
getCloudwatchLogsExports
in interface DatabaseClusterFromSnapshotProps
public 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 DatabaseClusterFromSnapshotProps
public final IRole getCloudwatchLogsRetentionRole()
DatabaseClusterFromSnapshotProps
Default: - a new role is created.
getCloudwatchLogsRetentionRole
in interface DatabaseClusterFromSnapshotProps
public final String getClusterIdentifier()
DatabaseClusterFromSnapshotProps
Default: - A name is automatically generated.
getClusterIdentifier
in interface DatabaseClusterFromSnapshotProps
public final String getDefaultDatabaseName()
DatabaseClusterFromSnapshotProps
Default: - Database is not created in cluster.
getDefaultDatabaseName
in interface DatabaseClusterFromSnapshotProps
public final Boolean getDeletionProtection()
DatabaseClusterFromSnapshotProps
Default: - true if ``removalPolicy`` is RETAIN, false otherwise
getDeletionProtection
in interface DatabaseClusterFromSnapshotProps
public final Boolean getIamAuthentication()
DatabaseClusterFromSnapshotProps
Default: false
getIamAuthentication
in interface DatabaseClusterFromSnapshotProps
public final String getInstanceIdentifierBase()
DatabaseClusterFromSnapshotProps
Every 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 DatabaseClusterFromSnapshotProps
public final Number getInstances()
DatabaseClusterFromSnapshotProps
Has to be at least 1.
Default: 2
getInstances
in interface DatabaseClusterFromSnapshotProps
public final Duration getMonitoringInterval()
DatabaseClusterFromSnapshotProps
Default: no enhanced monitoring
getMonitoringInterval
in interface DatabaseClusterFromSnapshotProps
public final IRole getMonitoringRole()
DatabaseClusterFromSnapshotProps
Default: - A role is automatically created for you
getMonitoringRole
in interface DatabaseClusterFromSnapshotProps
public final IParameterGroup getParameterGroup()
DatabaseClusterFromSnapshotProps
Default: - No parameter group.
getParameterGroup
in interface DatabaseClusterFromSnapshotProps
public final Number getPort()
DatabaseClusterFromSnapshotProps
Default: - The default for the engine is used.
getPort
in interface DatabaseClusterFromSnapshotProps
public final String getPreferredMaintenanceWindow()
DatabaseClusterFromSnapshotProps
Example: '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 DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
public final RemovalPolicy getRemovalPolicy()
DatabaseClusterFromSnapshotProps
Default: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
getRemovalPolicy
in interface DatabaseClusterFromSnapshotProps
public final List<IBucket> getS3ExportBuckets()
DatabaseClusterFromSnapshotProps
This property must not be used if s3ExportRole
is used.
For MySQL:
Default: - None
getS3ExportBuckets
in interface DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.html
public final IRole getS3ExportRole()
DatabaseClusterFromSnapshotProps
This 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 DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.html
public final List<IBucket> getS3ImportBuckets()
DatabaseClusterFromSnapshotProps
This property must not be used if s3ImportRole
is used.
For MySQL:
Default: - None
getS3ImportBuckets
in interface DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html
public final IRole getS3ImportRole()
DatabaseClusterFromSnapshotProps
This 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 DatabaseClusterFromSnapshotProps
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html
public final ISubnetGroup getSubnetGroup()
DatabaseClusterFromSnapshotProps
Default: - 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.JsiiSerializable
Copyright © 2021. All rights reserved.