Class DatabaseClusterFromSnapshotProps.Jsii$Proxy
- All Implemented Interfaces:
DatabaseClusterFromSnapshotProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DatabaseClusterFromSnapshotProps
DatabaseClusterFromSnapshotProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.DatabaseClusterFromSnapshotProps
DatabaseClusterFromSnapshotProps.Builder, DatabaseClusterFromSnapshotProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theDatabaseClusterFromSnapshotProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal DurationThe number of seconds to set a cluster's target backtrack window to.final BackupPropsBackup settings.The list of log types that need to be enabled for exporting to CloudWatch Logs.final RetentionDaysThe number of days log events are kept in CloudWatch Logs.final IRoleThe IAM role for the Lambda function associated with the custom resource that sets the retention policy.final StringAn optional identifier for the cluster.final BooleanWhether to copy tags to the snapshot when a snapshot is created.final CredentialsCredentials for the administrative user.final StringName of a database which is automatically created inside the cluster.final BooleanIndicates whether the DB cluster should have deletion protection enabled.final IClusterEngineWhat kind of database to start.final BooleanWhether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.final StringBase identifier for instances.final InstancePropsSettings for the individual instances that are launched.final NumberHow many replicas/instances to create.final DurationThe interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.final IRoleRole that will be used to manage DB instances monitoring.final IParameterGroupAdditional parameters to pass to the database engine.The parameters in the DBClusterParameterGroup to create automatically.final NumbergetPort()What port to listen on.final StringA preferred maintenance window day/time range.final RemovalPolicyThe removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.S3 buckets that you want to load data into.final IRoleRole that will be associated with this DB cluster to enable S3 export.S3 buckets that you want to load data from.final IRoleRole that will be associated with this DB cluster to enable S3 import.final StringThe identifier for the DB instance snapshot or DB cluster snapshot to restore from.final BooleanWhether to enable storage encryption.final IKeyThe KMS key for storage encryption.final ISubnetGroupExisting subnet group for the cluster.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDatabaseClusterFromSnapshotProps.Builder.
-
-
Method Details
-
getEngine
Description copied from interface:DatabaseClusterFromSnapshotPropsWhat kind of database to start.- Specified by:
getEnginein interfaceDatabaseClusterFromSnapshotProps
-
getInstanceProps
Description copied from interface:DatabaseClusterFromSnapshotPropsSettings for the individual instances that are launched.- Specified by:
getInstancePropsin interfaceDatabaseClusterFromSnapshotProps
-
getSnapshotIdentifier
Description copied from interface:DatabaseClusterFromSnapshotPropsThe identifier for the DB instance snapshot or DB cluster snapshot to restore from.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.
- Specified by:
getSnapshotIdentifierin interfaceDatabaseClusterFromSnapshotProps
-
getBacktrackWindow
Description copied from interface:DatabaseClusterFromSnapshotPropsThe number of seconds to set a cluster's target backtrack window to.This feature is only supported by the Aurora MySQL database engine and cannot be enabled on existing clusters.
Default: 0 seconds (no backtrack)
-
getBackup
Description copied from interface:DatabaseClusterFromSnapshotPropsBackup settings.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.
-
getCloudwatchLogsExports
Description copied from interface:DatabaseClusterFromSnapshotPropsThe list of log types that need to be enabled for exporting to CloudWatch Logs.Default: - no log exports
- Specified by:
getCloudwatchLogsExportsin interfaceDatabaseClusterFromSnapshotProps
-
getCloudwatchLogsRetention
Description copied from interface:DatabaseClusterFromSnapshotPropsThe number of days log events are kept in CloudWatch Logs.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
- Specified by:
getCloudwatchLogsRetentionin interfaceDatabaseClusterFromSnapshotProps
-
getCloudwatchLogsRetentionRole
Description copied from interface:DatabaseClusterFromSnapshotPropsThe IAM role for the Lambda function associated with the custom resource that sets the retention policy.Default: - a new role is created.
- Specified by:
getCloudwatchLogsRetentionRolein interfaceDatabaseClusterFromSnapshotProps
-
getClusterIdentifier
Description copied from interface:DatabaseClusterFromSnapshotPropsAn optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getClusterIdentifierin interfaceDatabaseClusterFromSnapshotProps
-
getCopyTagsToSnapshot
Description copied from interface:DatabaseClusterFromSnapshotPropsWhether to copy tags to the snapshot when a snapshot is created.Default: - true
- Specified by:
getCopyTagsToSnapshotin interfaceDatabaseClusterFromSnapshotProps
-
getCredentials
Description copied from interface:DatabaseClusterFromSnapshotPropsCredentials for the administrative user.Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
- Specified by:
getCredentialsin interfaceDatabaseClusterFromSnapshotProps
-
getDefaultDatabaseName
Description copied from interface:DatabaseClusterFromSnapshotPropsName of a database which is automatically created inside the cluster.Default: - Database is not created in cluster.
- Specified by:
getDefaultDatabaseNamein interfaceDatabaseClusterFromSnapshotProps
-
getDeletionProtection
Description copied from interface:DatabaseClusterFromSnapshotPropsIndicates whether the DB cluster should have deletion protection enabled.Default: - true if ``removalPolicy`` is RETAIN, false otherwise
- Specified by:
getDeletionProtectionin interfaceDatabaseClusterFromSnapshotProps
-
getIamAuthentication
Description copied from interface:DatabaseClusterFromSnapshotPropsWhether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.Default: false
- Specified by:
getIamAuthenticationin interfaceDatabaseClusterFromSnapshotProps
-
getInstanceIdentifierBase
Description copied from interface:DatabaseClusterFromSnapshotPropsBase identifier for instances.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.
- Specified by:
getInstanceIdentifierBasein interfaceDatabaseClusterFromSnapshotProps
-
getInstances
Description copied from interface:DatabaseClusterFromSnapshotPropsHow many replicas/instances to create.Has to be at least 1.
Default: 2
- Specified by:
getInstancesin interfaceDatabaseClusterFromSnapshotProps
-
getMonitoringInterval
Description copied from interface:DatabaseClusterFromSnapshotPropsThe interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.Default: no enhanced monitoring
- Specified by:
getMonitoringIntervalin interfaceDatabaseClusterFromSnapshotProps
-
getMonitoringRole
Description copied from interface:DatabaseClusterFromSnapshotPropsRole that will be used to manage DB instances monitoring.Default: - A role is automatically created for you
- Specified by:
getMonitoringRolein interfaceDatabaseClusterFromSnapshotProps
-
getParameterGroup
Description copied from interface:DatabaseClusterFromSnapshotPropsAdditional parameters to pass to the database engine.Default: - No parameter group.
- Specified by:
getParameterGroupin interfaceDatabaseClusterFromSnapshotProps
-
getParameters
Description copied from interface:DatabaseClusterFromSnapshotPropsThe parameters in the DBClusterParameterGroup to create automatically.You can only specify parameterGroup or parameters but not both. You need to use a versioned engine to auto-generate a DBClusterParameterGroup.
Default: - None
- Specified by:
getParametersin interfaceDatabaseClusterFromSnapshotProps
-
getPort
Description copied from interface:DatabaseClusterFromSnapshotPropsWhat port to listen on.Default: - The default for the engine is used.
- Specified by:
getPortin interfaceDatabaseClusterFromSnapshotProps
-
getPreferredMaintenanceWindow
Description copied from interface:DatabaseClusterFromSnapshotPropsA preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).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.
-
getRemovalPolicy
Description copied from interface:DatabaseClusterFromSnapshotPropsThe removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.Default: - RemovalPolicy.SNAPSHOT (remove the cluster and instances, but retain a snapshot of the data)
- Specified by:
getRemovalPolicyin interfaceDatabaseClusterFromSnapshotProps
-
getS3ExportBuckets
Description copied from interface:DatabaseClusterFromSnapshotPropsS3 buckets that you want to load data into. This feature is only supported by the Aurora database engine.This property must not be used if
s3ExportRoleis used.For MySQL:
Default: - None
-
getS3ExportRole
Description copied from interface:DatabaseClusterFromSnapshotPropsRole that will be associated with this DB cluster to enable S3 export.This feature is only supported by the Aurora database engine.
This property must not be used if
s3ExportBucketsis used.For MySQL:
Default: - New role is created if `s3ExportBuckets` is set, no role is defined otherwise
- Specified by:
getS3ExportRolein interfaceDatabaseClusterFromSnapshotProps- See Also:
-
getS3ImportBuckets
Description copied from interface:DatabaseClusterFromSnapshotPropsS3 buckets that you want to load data from. This feature is only supported by the Aurora database engine.This property must not be used if
s3ImportRoleis used.For MySQL:
Default: - None
-
getS3ImportRole
Description copied from interface:DatabaseClusterFromSnapshotPropsRole that will be associated with this DB cluster to enable S3 import.This feature is only supported by the Aurora database engine.
This property must not be used if
s3ImportBucketsis used.For MySQL:
Default: - New role is created if `s3ImportBuckets` is set, no role is defined otherwise
-
getStorageEncrypted
Description copied from interface:DatabaseClusterFromSnapshotPropsWhether to enable storage encryption.Default: - true if storageEncryptionKey is provided, false otherwise
- Specified by:
getStorageEncryptedin interfaceDatabaseClusterFromSnapshotProps
-
getStorageEncryptionKey
Description copied from interface:DatabaseClusterFromSnapshotPropsThe KMS key for storage encryption.If specified,
storageEncryptedwill be set to `true`.Default: - if storageEncrypted is true then the default master key, no key otherwise
- Specified by:
getStorageEncryptionKeyin interfaceDatabaseClusterFromSnapshotProps
-
getSubnetGroup
Description copied from interface:DatabaseClusterFromSnapshotPropsExisting subnet group for the cluster.Default: - a new subnet group will be created.
- Specified by:
getSubnetGroupin interfaceDatabaseClusterFromSnapshotProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-