@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.835Z") @Stability(value=Experimental) public interface DatabaseClusterFromSnapshotProps extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
DatabaseClusterFromSnapshotProps.Builder
A builder for
DatabaseClusterFromSnapshotProps |
static class |
DatabaseClusterFromSnapshotProps.Jsii$Proxy
An implementation for
DatabaseClusterFromSnapshotProps |
Modifier and Type | Method and Description |
---|---|
static DatabaseClusterFromSnapshotProps.Builder |
builder() |
default BackupProps |
getBackup()
(experimental) Backup settings.
|
default List<String> |
getCloudwatchLogsExports()
(experimental) The list of log types that need to be enabled for exporting to CloudWatch Logs.
|
default RetentionDays |
getCloudwatchLogsRetention()
(experimental) The number of days log events are kept in CloudWatch Logs.
|
default IRole |
getCloudwatchLogsRetentionRole()
(experimental) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
default String |
getClusterIdentifier()
(experimental) An optional identifier for the cluster.
|
default String |
getDefaultDatabaseName()
(experimental) Name of a database which is automatically created inside the cluster.
|
default Boolean |
getDeletionProtection()
(experimental) Indicates whether the DB cluster should have deletion protection enabled.
|
IClusterEngine |
getEngine()
(experimental) What kind of database to start.
|
default Boolean |
getIamAuthentication()
(experimental) Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.
|
default String |
getInstanceIdentifierBase()
(experimental) Base identifier for instances.
|
InstanceProps |
getInstanceProps()
(experimental) Settings for the individual instances that are launched.
|
default Number |
getInstances()
(experimental) How many replicas/instances to create.
|
default Duration |
getMonitoringInterval()
(experimental) The interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.
|
default IRole |
getMonitoringRole()
(experimental) Role that will be used to manage DB instances monitoring.
|
default IParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine.
|
default Number |
getPort()
(experimental) What port to listen on.
|
default String |
getPreferredMaintenanceWindow()
(experimental) A preferred maintenance window day/time range.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
default List<IBucket> |
getS3ExportBuckets()
(experimental) S3 buckets that you want to load data into.
|
default IRole |
getS3ExportRole()
(experimental) Role that will be associated with this DB cluster to enable S3 export.
|
default List<IBucket> |
getS3ImportBuckets()
(experimental) S3 buckets that you want to load data from.
|
default 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.
|
default ISubnetGroup |
getSubnetGroup()
(experimental) Existing subnet group for the cluster.
|
@Stability(value=Experimental) @NotNull IClusterEngine getEngine()
@Stability(value=Experimental) @NotNull InstanceProps getInstanceProps()
@Stability(value=Experimental) @NotNull String getSnapshotIdentifier()
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.
@Stability(value=Experimental) @Nullable default BackupProps getBackup()
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.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
@Stability(value=Experimental) @Nullable default List<String> getCloudwatchLogsExports()
Default: - no log exports
@Stability(value=Experimental) @Nullable default RetentionDays getCloudwatchLogsRetention()
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
@Stability(value=Experimental) @Nullable default IRole getCloudwatchLogsRetentionRole()
Default: - a new role is created.
@Stability(value=Experimental) @Nullable default String getClusterIdentifier()
Default: - A name is automatically generated.
@Stability(value=Experimental) @Nullable default String getDefaultDatabaseName()
Default: - Database is not created in cluster.
@Stability(value=Experimental) @Nullable default Boolean getDeletionProtection()
Default: - true if ``removalPolicy`` is RETAIN, false otherwise
@Stability(value=Experimental) @Nullable default Boolean getIamAuthentication()
Default: false
@Stability(value=Experimental) @Nullable default String getInstanceIdentifierBase()
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.
@Stability(value=Experimental) @Nullable default Number getInstances()
Has to be at least 1.
Default: 2
@Stability(value=Experimental) @Nullable default Duration getMonitoringInterval()
Default: no enhanced monitoring
@Stability(value=Experimental) @Nullable default IRole getMonitoringRole()
Default: - A role is automatically created for you
@Stability(value=Experimental) @Nullable default IParameterGroup getParameterGroup()
Default: - No parameter group.
@Stability(value=Experimental) @Nullable default Number getPort()
Default: - The default for the engine is used.
@Stability(value=Experimental) @Nullable default String getPreferredMaintenanceWindow()
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.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
@Stability(value=Experimental) @Nullable default List<IBucket> getS3ExportBuckets()
This property must not be used if s3ExportRole
is used.
For MySQL:
Default: - None
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.html
@Stability(value=Experimental) @Nullable default IRole getS3ExportRole()
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
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/postgresql-s3-export.html
@Stability(value=Experimental) @Nullable default List<IBucket> getS3ImportBuckets()
This property must not be used if s3ImportRole
is used.
For MySQL:
Default: - None
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html
@Stability(value=Experimental) @Nullable default IRole getS3ImportRole()
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
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Migrating.html
@Stability(value=Experimental) @Nullable default ISubnetGroup getSubnetGroup()
Default: - a new subnet group will be created.
@Stability(value=Experimental) static DatabaseClusterFromSnapshotProps.Builder builder()
Copyright © 2021. All rights reserved.