Uses of Class
software.amazon.awscdk.services.rds.DatabaseCluster.Builder
Package
Description
Amazon Relational Database Service Construct Library
-
Uses of DatabaseCluster.Builder in software.amazon.awscdk.services.rds
Modifier and TypeMethodDescriptionDatabaseCluster.Builder.autoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window.DatabaseCluster.Builder.backtrackWindow
(Duration backtrackWindow) The number of seconds to set a cluster's target backtrack window to.DatabaseCluster.Builder.backup
(BackupProps backup) Backup settings.DatabaseCluster.Builder.cloudwatchLogsExports
(List<String> cloudwatchLogsExports) The list of log types that need to be enabled for exporting to CloudWatch Logs.DatabaseCluster.Builder.cloudwatchLogsRetention
(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseCluster.Builder.cloudwatchLogsRetentionRole
(IRole cloudwatchLogsRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.DatabaseCluster.Builder.clusterIdentifier
(String clusterIdentifier) An optional identifier for the cluster.DatabaseCluster.Builder.copyTagsToSnapshot
(Boolean copyTagsToSnapshot) Whether to copy tags to the snapshot when a snapshot is created.static DatabaseCluster.Builder
DatabaseCluster.Builder.credentials
(Credentials credentials) Credentials for the administrative user.DatabaseCluster.Builder.defaultDatabaseName
(String defaultDatabaseName) Name of a database which is automatically created inside the cluster.DatabaseCluster.Builder.deletionProtection
(Boolean deletionProtection) Indicates whether the DB cluster should have deletion protection enabled.Directory ID for associating the DB cluster with a specific Active Directory.DatabaseCluster.Builder.domainRole
(IRole domainRole) The IAM role to be used when making API calls to the Directory Service.DatabaseCluster.Builder.enableDataApi
(Boolean enableDataApi) Whether to enable the Data API for the cluster.DatabaseCluster.Builder.enableLocalWriteForwarding
(Boolean enableLocalWriteForwarding) Whether read replicas can forward write operations to the writer DB instance in the DB cluster.DatabaseCluster.Builder.enablePerformanceInsights
(Boolean enablePerformanceInsights) Whether to enable Performance Insights for the DB cluster.DatabaseCluster.Builder.engine
(IClusterEngine engine) What kind of database to start.DatabaseCluster.Builder.iamAuthentication
(Boolean iamAuthentication) Whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts.DatabaseCluster.Builder.instanceIdentifierBase
(String instanceIdentifierBase) Base identifier for instances.DatabaseCluster.Builder.instanceProps
(InstanceProps instanceProps) Deprecated.use writer and readers insteadDeprecated.use writer and readers insteadDatabaseCluster.Builder.instanceUpdateBehaviour
(InstanceUpdateBehaviour instanceUpdateBehaviour) The ordering of updates for instances.DatabaseCluster.Builder.monitoringInterval
(Duration monitoringInterval) The interval, in seconds, between points when Amazon RDS collects enhanced monitoring metrics for the DB instances.DatabaseCluster.Builder.monitoringRole
(IRole monitoringRole) Role that will be used to manage DB instances monitoring.DatabaseCluster.Builder.networkType
(NetworkType networkType) The network type of the DB instance.DatabaseCluster.Builder.parameterGroup
(IParameterGroup parameterGroup) Additional parameters to pass to the database engine.DatabaseCluster.Builder.parameters
(Map<String, String> parameters) The parameters in the DBClusterParameterGroup to create automatically.DatabaseCluster.Builder.performanceInsightEncryptionKey
(IKey performanceInsightEncryptionKey) The AWS KMS key for encryption of Performance Insights data.DatabaseCluster.Builder.performanceInsightRetention
(PerformanceInsightRetention performanceInsightRetention) The amount of time, in days, to retain Performance Insights data.What port to listen on.DatabaseCluster.Builder.preferredMaintenanceWindow
(String preferredMaintenanceWindow) A preferred maintenance window day/time range.DatabaseCluster.Builder.readers
(List<? extends IClusterInstance> readers) A list of instances to create as cluster reader instances.DatabaseCluster.Builder.removalPolicy
(RemovalPolicy removalPolicy) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.DatabaseCluster.Builder.s3ExportBuckets
(List<? extends IBucket> s3ExportBuckets) S3 buckets that you want to load data into.DatabaseCluster.Builder.s3ExportRole
(IRole s3ExportRole) Role that will be associated with this DB cluster to enable S3 export.DatabaseCluster.Builder.s3ImportBuckets
(List<? extends IBucket> s3ImportBuckets) S3 buckets that you want to load data from.DatabaseCluster.Builder.s3ImportRole
(IRole s3ImportRole) Role that will be associated with this DB cluster to enable S3 import.DatabaseCluster.Builder.securityGroups
(List<? extends ISecurityGroup> securityGroups) Security group.DatabaseCluster.Builder.serverlessV2MaxCapacity
(Number serverlessV2MaxCapacity) The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.DatabaseCluster.Builder.serverlessV2MinCapacity
(Number serverlessV2MinCapacity) The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.DatabaseCluster.Builder.storageEncrypted
(Boolean storageEncrypted) Whether to enable storage encryption.DatabaseCluster.Builder.storageEncryptionKey
(IKey storageEncryptionKey) The KMS key for storage encryption.DatabaseCluster.Builder.storageType
(DBClusterStorageType storageType) The storage type to be associated with the DB cluster.DatabaseCluster.Builder.subnetGroup
(ISubnetGroup subnetGroup) Existing subnet group for the cluster.What subnets to run the RDS instances in.DatabaseCluster.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place the instances within the VPC.DatabaseCluster.Builder.writer
(IClusterInstance writer) The instance to use for the cluster writer.