Class DatabaseClusterProps.Jsii$Proxy
- All Implemented Interfaces:
DatabaseClusterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DatabaseClusterProps
DatabaseClusterProps-
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.DatabaseClusterProps
DatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DatabaseClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDatabaseClusterProps.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 BooleanSpecifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.final 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 ClusterScailabilityType(deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster.final ClusterScalabilityTypeSpecifies the scalability mode of the Aurora DB cluster.final BooleanWhether to copy tags to the snapshot when a snapshot is created.final CredentialsCredentials for the administrative user.final DatabaseInsightsModeThe database insights mode.final StringName of a database which is automatically created inside the cluster.final BooleanSpecifies whether to remove automated backups immediately after the DB cluster is deleted.final BooleanIndicates whether the DB cluster should have deletion protection enabled.final StringDirectory ID for associating the DB cluster with a specific Active Directory.final IRoleThe IAM role to be used when making API calls to the Directory Service.final BooleanWhether to enable enhanced monitoring at the cluster level.final BooleanWhether to enable the Data API for the cluster.final BooleanWhether read replicas can forward write operations to the writer DB instance in the DB cluster.final BooleanWhether to enable Performance Insights for the DB cluster.final IClusterEngineWhat kind of database to start.final EngineLifecycleSupportThe life cycle type for this DB cluster.final BooleanWhether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.final StringBase identifier for instances.final InstanceProps(deprecated) Settings for the individual instances that are launched.final Number(deprecated) How many replicas/instances to create.final InstanceUpdateBehaviourThe ordering of updates for instances.final DurationThe interval between points when Amazon RDS collects enhanced monitoring metrics.final IRoleRole that will be used to manage DB monitoring.final NetworkTypeThe network type of the DB instance.final IParameterGroupAdditional parameters to pass to the database engine.The parameters in the DBClusterParameterGroup to create automatically.final IKeyThe AWS KMS key for encryption of Performance Insights data.The amount of time, in days, to retain Performance Insights data.final NumbergetPort()What port to listen on.final StringA preferred maintenance window day/time range.final List<IClusterInstance> A list of instances to create as cluster reader instances.final RemovalPolicyThe removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.final StringThe Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica.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 List<ISecurityGroup> Security group.final DurationSpecifies the duration an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.final NumberThe maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.final NumberThe minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.final BooleanWhether to enable storage encryption.final IKeyRefThe KMS key for storage encryption.final DBClusterStorageTypeThe storage type to be associated with the DB cluster.final ISubnetGroupExisting subnet group for the cluster.final IVpcgetVpc()What subnets to run the RDS instances in.final SubnetSelectionWhere to place the instances within the VPC.final IClusterInstanceThe instance to use for the cluster writer.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 theDatabaseClusterProps.Builder.
-
-
Method Details
-
getEngine
Description copied from interface:DatabaseClusterPropsWhat kind of database to start.- Specified by:
getEnginein interfaceDatabaseClusterProps
-
getAutoMinorVersionUpgrade
Description copied from interface:DatabaseClusterPropsSpecifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.Default: true
- Specified by:
getAutoMinorVersionUpgradein interfaceDatabaseClusterProps
-
getBacktrackWindow
Description copied from interface:DatabaseClusterPropsThe 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)
- Specified by:
getBacktrackWindowin interfaceDatabaseClusterProps- See Also:
-
getBackup
Description copied from interface:DatabaseClusterPropsBackup 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.
- Specified by:
getBackupin interfaceDatabaseClusterProps- See Also:
-
getCloudwatchLogsExports
Description copied from interface:DatabaseClusterPropsThe list of log types that need to be enabled for exporting to CloudWatch Logs.Default: - no log exports
- Specified by:
getCloudwatchLogsExportsin interfaceDatabaseClusterProps
-
getCloudwatchLogsRetention
Description copied from interface:DatabaseClusterPropsThe 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 interfaceDatabaseClusterProps
-
getCloudwatchLogsRetentionRole
Description copied from interface:DatabaseClusterPropsThe 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 interfaceDatabaseClusterProps
-
getClusterIdentifier
Description copied from interface:DatabaseClusterPropsAn optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getClusterIdentifierin interfaceDatabaseClusterProps
-
getClusterScailabilityType
Description copied from interface:DatabaseClusterProps(deprecated) [Misspelled] Specifies the scalability mode of the Aurora DB cluster.Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
Default: ClusterScailabilityType.STANDARD
- Specified by:
getClusterScailabilityTypein interfaceDatabaseClusterProps
-
getClusterScalabilityType
Description copied from interface:DatabaseClusterPropsSpecifies the scalability mode of the Aurora DB cluster.Set LIMITLESS if you want to use a limitless database; otherwise, set it to STANDARD.
Default: ClusterScalabilityType.STANDARD
- Specified by:
getClusterScalabilityTypein interfaceDatabaseClusterProps
-
getCopyTagsToSnapshot
Description copied from interface:DatabaseClusterPropsWhether to copy tags to the snapshot when a snapshot is created.Default: - true
- Specified by:
getCopyTagsToSnapshotin interfaceDatabaseClusterProps
-
getCredentials
Description copied from interface:DatabaseClusterPropsCredentials for the administrative user.Default: - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
- Specified by:
getCredentialsin interfaceDatabaseClusterProps
-
getDatabaseInsightsMode
Description copied from interface:DatabaseClusterPropsThe database insights mode.Default: - DatabaseInsightsMode.STANDARD when performance insights are enabled and Amazon Aurora engine is used, otherwise not set.
- Specified by:
getDatabaseInsightsModein interfaceDatabaseClusterProps
-
getDefaultDatabaseName
Description copied from interface:DatabaseClusterPropsName of a database which is automatically created inside the cluster.Default: - Database is not created in cluster.
- Specified by:
getDefaultDatabaseNamein interfaceDatabaseClusterProps
-
getDeleteAutomatedBackups
Description copied from interface:DatabaseClusterPropsSpecifies whether to remove automated backups immediately after the DB cluster is deleted.Default: undefined - AWS RDS default is to remove automated backups immediately after the DB cluster is deleted, unless the AWS Backup policy specifies a point-in-time restore rule.
- Specified by:
getDeleteAutomatedBackupsin interfaceDatabaseClusterProps
-
getDeletionProtection
Description copied from interface:DatabaseClusterPropsIndicates whether the DB cluster should have deletion protection enabled.Default: - true if `removalPolicy` is RETAIN, `undefined` otherwise, which will not enable deletion protection. To disable deletion protection after it has been enabled, you must explicitly set this value to `false`.
- Specified by:
getDeletionProtectionin interfaceDatabaseClusterProps
-
getDomain
Description copied from interface:DatabaseClusterPropsDirectory ID for associating the DB cluster with a specific Active Directory.Necessary for enabling Kerberos authentication. If specified, the DB cluster joins the given Active Directory, enabling Kerberos authentication. If not specified, the DB cluster will not be associated with any Active Directory, and Kerberos authentication will not be enabled.
Default: - DB cluster is not associated with an Active Directory; Kerberos authentication is not enabled.
- Specified by:
getDomainin interfaceDatabaseClusterProps
-
getDomainRole
Description copied from interface:DatabaseClusterPropsThe IAM role to be used when making API calls to the Directory Service.The role needs the AWS-managed policy
AmazonRDSDirectoryServiceAccessor equivalent.Default: - If `DatabaseClusterBaseProps.domain` is specified, a role with the `AmazonRDSDirectoryServiceAccess` policy is automatically created.
- Specified by:
getDomainRolein interfaceDatabaseClusterProps
-
getEnableClusterLevelEnhancedMonitoring
Description copied from interface:DatabaseClusterPropsWhether to enable enhanced monitoring at the cluster level.If set to true,
monitoringIntervalandmonitoringRoleare applied to not the instances, but the cluster.monitoringIntervalis required to be set ifenableClusterLevelEnhancedMonitoringis set to true.Default: - When the `monitoringInterval` is set, enhanced monitoring is enabled for each instance.
- Specified by:
getEnableClusterLevelEnhancedMonitoringin interfaceDatabaseClusterProps
-
getEnableDataApi
Description copied from interface:DatabaseClusterPropsWhether to enable the Data API for the cluster.Default: - false
- Specified by:
getEnableDataApiin interfaceDatabaseClusterProps
-
getEnableLocalWriteForwarding
Description copied from interface:DatabaseClusterPropsWhether read replicas can forward write operations to the writer DB instance in the DB cluster.This setting can only be enabled for Aurora MySQL 3.04 or higher, and for Aurora PostgreSQL 16.4 or higher (for version 16), 15.8 or higher (for version 15), and 14.13 or higher (for version 14).
Default: false
- Specified by:
getEnableLocalWriteForwardingin interfaceDatabaseClusterProps- See Also:
-
getEnablePerformanceInsights
Description copied from interface:DatabaseClusterPropsWhether to enable Performance Insights for the DB cluster.Default: - false, unless `performanceInsightRetention` or `performanceInsightEncryptionKey` is set, or `databaseInsightsMode` is set to `DatabaseInsightsMode.ADVANCED`.
- Specified by:
getEnablePerformanceInsightsin interfaceDatabaseClusterProps
-
getEngineLifecycleSupport
Description copied from interface:DatabaseClusterPropsThe life cycle type for this DB cluster.Default: undefined - AWS RDS default setting is `EngineLifecycleSupport.OPEN_SOURCE_RDS_EXTENDED_SUPPORT`
- Specified by:
getEngineLifecycleSupportin interfaceDatabaseClusterProps- See Also:
-
getIamAuthentication
Description copied from interface:DatabaseClusterPropsWhether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.Default: false
- Specified by:
getIamAuthenticationin interfaceDatabaseClusterProps
-
getInstanceIdentifierBase
Description copied from interface:DatabaseClusterPropsBase 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 interfaceDatabaseClusterProps
-
getInstanceProps
Description copied from interface:DatabaseClusterProps(deprecated) Settings for the individual instances that are launched.- Specified by:
getInstancePropsin interfaceDatabaseClusterProps
-
getInstances
Description copied from interface:DatabaseClusterProps(deprecated) How many replicas/instances to create.Has to be at least 1.
Default: 2
- Specified by:
getInstancesin interfaceDatabaseClusterProps
-
getInstanceUpdateBehaviour
Description copied from interface:DatabaseClusterPropsThe ordering of updates for instances.Default: InstanceUpdateBehaviour.BULK
- Specified by:
getInstanceUpdateBehaviourin interfaceDatabaseClusterProps
-
getMonitoringInterval
Description copied from interface:DatabaseClusterPropsThe interval between points when Amazon RDS collects enhanced monitoring metrics.If you enable
enableClusterLevelEnhancedMonitoring, this property is applied to the cluster, otherwise it is applied to the instances.Default: - no enhanced monitoring
- Specified by:
getMonitoringIntervalin interfaceDatabaseClusterProps
-
getMonitoringRole
Description copied from interface:DatabaseClusterPropsRole that will be used to manage DB monitoring.If you enable
enableClusterLevelEnhancedMonitoring, this property is applied to the cluster, otherwise it is applied to the instances.Default: - A role is automatically created for you
- Specified by:
getMonitoringRolein interfaceDatabaseClusterProps
-
getNetworkType
Description copied from interface:DatabaseClusterPropsThe network type of the DB instance.Default: - IPV4
- Specified by:
getNetworkTypein interfaceDatabaseClusterProps
-
getParameterGroup
Description copied from interface:DatabaseClusterPropsAdditional parameters to pass to the database engine.Default: - No parameter group.
- Specified by:
getParameterGroupin interfaceDatabaseClusterProps
-
getParameters
Description copied from interface:DatabaseClusterPropsThe 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 interfaceDatabaseClusterProps
-
getPerformanceInsightEncryptionKey
Description copied from interface:DatabaseClusterPropsThe AWS KMS key for encryption of Performance Insights data.Default: - default master key
- Specified by:
getPerformanceInsightEncryptionKeyin interfaceDatabaseClusterProps
-
getPerformanceInsightRetention
Description copied from interface:DatabaseClusterPropsThe amount of time, in days, to retain Performance Insights data.If you set
databaseInsightsModetoDatabaseInsightsMode.ADVANCED, you must set this property toPerformanceInsightRetention.MONTHS_15.Default: - 7
- Specified by:
getPerformanceInsightRetentionin interfaceDatabaseClusterProps
-
getPort
Description copied from interface:DatabaseClusterPropsWhat port to listen on.Default: - The default for the engine is used.
- Specified by:
getPortin interfaceDatabaseClusterProps
-
getPreferredMaintenanceWindow
Description copied from interface:DatabaseClusterPropsA 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.
- Specified by:
getPreferredMaintenanceWindowin interfaceDatabaseClusterProps- See Also:
-
getReaders
Description copied from interface:DatabaseClusterPropsA list of instances to create as cluster reader instances.Default: - no readers are created. The cluster will have a single writer/reader
- Specified by:
getReadersin interfaceDatabaseClusterProps
-
getRemovalPolicy
Description copied from interface:DatabaseClusterPropsThe 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 interfaceDatabaseClusterProps
-
getReplicationSourceIdentifier
Description copied from interface:DatabaseClusterPropsThe Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a read replica.Cannot be used with credentials.
Default: - This DB Cluster is not a read replica
- Specified by:
getReplicationSourceIdentifierin interfaceDatabaseClusterProps
-
getS3ExportBuckets
Description copied from interface:DatabaseClusterPropsS3 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
- Specified by:
getS3ExportBucketsin interfaceDatabaseClusterProps- See Also:
-
getS3ExportRole
Description copied from interface:DatabaseClusterPropsRole 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. To use this property with Aurora PostgreSQL, it must be configured with the S3 export feature enabled when creating the DatabaseClusterEngine For MySQL:Default: - New role is created if `s3ExportBuckets` is set, no role is defined otherwise
- Specified by:
getS3ExportRolein interfaceDatabaseClusterProps- See Also:
-
getS3ImportBuckets
Description copied from interface:DatabaseClusterPropsS3 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
- Specified by:
getS3ImportBucketsin interfaceDatabaseClusterProps- See Also:
-
getS3ImportRole
Description copied from interface:DatabaseClusterPropsRole 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. To use this property with Aurora PostgreSQL, it must be configured with the S3 import feature enabled when creating the DatabaseClusterEngine For MySQL:Default: - New role is created if `s3ImportBuckets` is set, no role is defined otherwise
- Specified by:
getS3ImportRolein interfaceDatabaseClusterProps- See Also:
-
getSecurityGroups
Description copied from interface:DatabaseClusterPropsSecurity group.Default: - a new security group is created.
- Specified by:
getSecurityGroupsin interfaceDatabaseClusterProps
-
getServerlessV2AutoPauseDuration
Description copied from interface:DatabaseClusterPropsSpecifies the duration an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.The duration must be between 300 seconds (5 minutes) and 86,400 seconds (24 hours).
Default: - The default is 300 seconds (5 minutes).
- Specified by:
getServerlessV2AutoPauseDurationin interfaceDatabaseClusterProps- See Also:
-
getServerlessV2MaxCapacity
Description copied from interface:DatabaseClusterPropsThe maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 256.
The maximum capacity must be higher than 0.5 ACUs.
Default: 2
- Specified by:
getServerlessV2MaxCapacityin interfaceDatabaseClusterProps- See Also:
-
getServerlessV2MinCapacity
Description copied from interface:DatabaseClusterPropsThe minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.
For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
Default: 0.5
- Specified by:
getServerlessV2MinCapacityin interfaceDatabaseClusterProps- See Also:
-
getStorageEncrypted
Description copied from interface:DatabaseClusterPropsWhether to enable storage encryption.Default: - true if storageEncryptionKey is provided, false otherwise
- Specified by:
getStorageEncryptedin interfaceDatabaseClusterProps
-
getStorageEncryptionKey
Description copied from interface:DatabaseClusterPropsThe KMS key for storage encryption.If specified,
storageEncryptedwill be set totrue.Default: - if storageEncrypted is true then the default master key, no key otherwise
- Specified by:
getStorageEncryptionKeyin interfaceDatabaseClusterProps
-
getStorageType
Description copied from interface:DatabaseClusterPropsThe storage type to be associated with the DB cluster.Default: - DBClusterStorageType.AURORA
- Specified by:
getStorageTypein interfaceDatabaseClusterProps
-
getSubnetGroup
Description copied from interface:DatabaseClusterPropsExisting subnet group for the cluster.Default: - a new subnet group will be created.
- Specified by:
getSubnetGroupin interfaceDatabaseClusterProps
-
getVpc
Description copied from interface:DatabaseClusterPropsWhat subnets to run the RDS instances in.Must be at least 2 subnets in two different AZs.
- Specified by:
getVpcin interfaceDatabaseClusterProps
-
getVpcSubnets
Description copied from interface:DatabaseClusterPropsWhere to place the instances within the VPC.Default: - the Vpc default strategy if not specified.
- Specified by:
getVpcSubnetsin interfaceDatabaseClusterProps
-
getWriter
Description copied from interface:DatabaseClusterPropsThe instance to use for the cluster writer.Default: - required if instanceProps is not provided
- Specified by:
getWriterin interfaceDatabaseClusterProps
-
$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()
-