AWS Native is in preview. AWS Classic is fully supported.
aws-native.rds.DbCluster
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::RDS::DBCluster resource creates an Amazon Aurora DB cluster.
Create DbCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbCluster(name: string, args?: DbClusterArgs, opts?: CustomResourceOptions);
@overload
def DbCluster(resource_name: str,
args: Optional[DbClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def DbCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
allocated_storage: Optional[int] = None,
associated_roles: Optional[Sequence[DbClusterDbClusterRoleArgs]] = None,
auto_minor_version_upgrade: Optional[bool] = None,
availability_zones: Optional[Sequence[str]] = None,
backtrack_window: Optional[int] = None,
backup_retention_period: Optional[int] = None,
copy_tags_to_snapshot: Optional[bool] = None,
database_name: Optional[str] = None,
db_cluster_identifier: Optional[str] = None,
db_cluster_instance_class: Optional[str] = None,
db_cluster_parameter_group_name: Optional[str] = None,
db_instance_parameter_group_name: Optional[str] = None,
db_subnet_group_name: Optional[str] = None,
db_system_id: Optional[str] = None,
deletion_protection: Optional[bool] = None,
domain: Optional[str] = None,
domain_iam_role_name: Optional[str] = None,
enable_cloudwatch_logs_exports: Optional[Sequence[str]] = None,
enable_global_write_forwarding: Optional[bool] = None,
enable_http_endpoint: Optional[bool] = None,
enable_iam_database_authentication: Optional[bool] = None,
enable_local_write_forwarding: Optional[bool] = None,
engine: Optional[str] = None,
engine_lifecycle_support: Optional[str] = None,
engine_mode: Optional[str] = None,
engine_version: Optional[str] = None,
global_cluster_identifier: Optional[str] = None,
iops: Optional[int] = None,
kms_key_id: Optional[str] = None,
manage_master_user_password: Optional[bool] = None,
master_user_password: Optional[str] = None,
master_user_secret: Optional[DbClusterMasterUserSecretArgs] = None,
master_username: Optional[str] = None,
monitoring_interval: Optional[int] = None,
monitoring_role_arn: Optional[str] = None,
network_type: Optional[str] = None,
performance_insights_enabled: Optional[bool] = None,
performance_insights_kms_key_id: Optional[str] = None,
performance_insights_retention_period: Optional[int] = None,
port: Optional[int] = None,
preferred_backup_window: Optional[str] = None,
preferred_maintenance_window: Optional[str] = None,
publicly_accessible: Optional[bool] = None,
read_endpoint: Optional[DbClusterReadEndpointArgs] = None,
replication_source_identifier: Optional[str] = None,
restore_to_time: Optional[str] = None,
restore_type: Optional[str] = None,
scaling_configuration: Optional[DbClusterScalingConfigurationArgs] = None,
serverless_v2_scaling_configuration: Optional[DbClusterServerlessV2ScalingConfigurationArgs] = None,
snapshot_identifier: Optional[str] = None,
source_db_cluster_identifier: Optional[str] = None,
source_region: Optional[str] = None,
storage_encrypted: Optional[bool] = None,
storage_type: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
use_latest_restorable_time: Optional[bool] = None,
vpc_security_group_ids: Optional[Sequence[str]] = None)
func NewDbCluster(ctx *Context, name string, args *DbClusterArgs, opts ...ResourceOption) (*DbCluster, error)
public DbCluster(string name, DbClusterArgs? args = null, CustomResourceOptions? opts = null)
public DbCluster(String name, DbClusterArgs args)
public DbCluster(String name, DbClusterArgs args, CustomResourceOptions options)
type: aws-native:rds:DbCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DbCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DbCluster resource accepts the following input properties:
- Allocated
Storage int - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- Associated
Roles List<Pulumi.Aws Native. Rds. Inputs. Db Cluster Db Cluster Role> - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- Auto
Minor boolVersion Upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- Availability
Zones List<string> - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- Backtrack
Window int - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- Backup
Retention intPeriod - The number of days for which automated backups are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- Database
Name string - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- Db
Cluster stringIdentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- Db
Cluster stringInstance Class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- Db
Cluster stringParameter Group Name - The name of the DB cluster parameter group to associate with this DB cluster.
- Db
Instance stringParameter Group Name - The name of the DB parameter group to apply to all instances of the DB cluster.
- Db
Subnet stringGroup Name - A DB subnet group that you want to associate with this DB cluster.
- Db
System stringId - Reserved for future use.
- Deletion
Protection bool - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- Domain string
- The Active Directory directory ID to create the DB cluster in.
- Domain
Iam stringRole Name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- Enable
Cloudwatch List<string>Logs Exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- Enable
Global boolWrite Forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- Enable
Http boolEndpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- Enable
Iam boolDatabase Authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- Enable
Local boolWrite Forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- Engine string
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- Engine
Lifecycle stringSupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- Engine
Mode string - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- Engine
Version string - The version number of the database engine to use.
- Global
Cluster stringIdentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- Iops int
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- Kms
Key stringId - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- Manage
Master boolUser Password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- Master
User stringPassword - The master password for the DB instance.
- Master
User Pulumi.Secret Aws Native. Rds. Inputs. Db Cluster Master User Secret - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- Master
Username string - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- Monitoring
Interval int - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- Monitoring
Role stringArn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- Network
Type string - The network type of the DB cluster.
- Performance
Insights boolEnabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- Performance
Insights stringKms Key Id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- Performance
Insights intRetention Period - The amount of time, in days, to retain Performance Insights data.
- Port int
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- Preferred
Backup stringWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- Preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- Publicly
Accessible bool - A value that indicates whether the DB cluster is publicly accessible.
- Read
Endpoint Pulumi.Aws Native. Rds. Inputs. Db Cluster Read Endpoint This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- Replication
Source stringIdentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- Restore
To stringTime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- Restore
Type string - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- Scaling
Configuration Pulumi.Aws Native. Rds. Inputs. Db Cluster Scaling Configuration - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- Serverless
V2Scaling Pulumi.Configuration Aws Native. Rds. Inputs. Db Cluster Serverless V2Scaling Configuration - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- Snapshot
Identifier string - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- Source
Db stringCluster Identifier - The identifier of the source DB cluster from which to restore.
- Source
Region string - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- Storage
Encrypted bool - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- Storage
Type string - Specifies the storage type to be associated with the DB cluster.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Use
Latest boolRestorable Time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- Vpc
Security List<string>Group Ids - A list of EC2 VPC security groups to associate with this DB cluster.
- Allocated
Storage int - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- Associated
Roles []DbCluster Db Cluster Role Args - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- Auto
Minor boolVersion Upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- Availability
Zones []string - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- Backtrack
Window int - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- Backup
Retention intPeriod - The number of days for which automated backups are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- Database
Name string - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- Db
Cluster stringIdentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- Db
Cluster stringInstance Class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- Db
Cluster stringParameter Group Name - The name of the DB cluster parameter group to associate with this DB cluster.
- Db
Instance stringParameter Group Name - The name of the DB parameter group to apply to all instances of the DB cluster.
- Db
Subnet stringGroup Name - A DB subnet group that you want to associate with this DB cluster.
- Db
System stringId - Reserved for future use.
- Deletion
Protection bool - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- Domain string
- The Active Directory directory ID to create the DB cluster in.
- Domain
Iam stringRole Name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- Enable
Cloudwatch []stringLogs Exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- Enable
Global boolWrite Forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- Enable
Http boolEndpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- Enable
Iam boolDatabase Authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- Enable
Local boolWrite Forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- Engine string
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- Engine
Lifecycle stringSupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- Engine
Mode string - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- Engine
Version string - The version number of the database engine to use.
- Global
Cluster stringIdentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- Iops int
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- Kms
Key stringId - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- Manage
Master boolUser Password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- Master
User stringPassword - The master password for the DB instance.
- Master
User DbSecret Cluster Master User Secret Args - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- Master
Username string - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- Monitoring
Interval int - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- Monitoring
Role stringArn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- Network
Type string - The network type of the DB cluster.
- Performance
Insights boolEnabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- Performance
Insights stringKms Key Id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- Performance
Insights intRetention Period - The amount of time, in days, to retain Performance Insights data.
- Port int
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- Preferred
Backup stringWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- Preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- Publicly
Accessible bool - A value that indicates whether the DB cluster is publicly accessible.
- Read
Endpoint DbCluster Read Endpoint Args This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- Replication
Source stringIdentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- Restore
To stringTime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- Restore
Type string - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- Scaling
Configuration DbCluster Scaling Configuration Args - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- Serverless
V2Scaling DbConfiguration Cluster Serverless V2Scaling Configuration Args - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- Snapshot
Identifier string - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- Source
Db stringCluster Identifier - The identifier of the source DB cluster from which to restore.
- Source
Region string - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- Storage
Encrypted bool - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- Storage
Type string - Specifies the storage type to be associated with the DB cluster.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Use
Latest boolRestorable Time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- Vpc
Security []stringGroup Ids - A list of EC2 VPC security groups to associate with this DB cluster.
- allocated
Storage Integer - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- associated
Roles List<DbCluster Db Cluster Role> - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- auto
Minor BooleanVersion Upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- availability
Zones List<String> - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- backtrack
Window Integer - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- backup
Retention IntegerPeriod - The number of days for which automated backups are retained.
- Boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- database
Name String - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- db
Cluster StringIdentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- db
Cluster StringInstance Class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- db
Cluster StringParameter Group Name - The name of the DB cluster parameter group to associate with this DB cluster.
- db
Instance StringParameter Group Name - The name of the DB parameter group to apply to all instances of the DB cluster.
- db
Subnet StringGroup Name - A DB subnet group that you want to associate with this DB cluster.
- db
System StringId - Reserved for future use.
- deletion
Protection Boolean - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- domain String
- The Active Directory directory ID to create the DB cluster in.
- domain
Iam StringRole Name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- enable
Cloudwatch List<String>Logs Exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- enable
Global BooleanWrite Forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- enable
Http BooleanEndpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- enable
Iam BooleanDatabase Authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- enable
Local BooleanWrite Forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- engine String
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- engine
Lifecycle StringSupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- engine
Mode String - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- engine
Version String - The version number of the database engine to use.
- global
Cluster StringIdentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- iops Integer
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- kms
Key StringId - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- manage
Master BooleanUser Password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- master
User StringPassword - The master password for the DB instance.
- master
User DbSecret Cluster Master User Secret - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- master
Username String - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- monitoring
Interval Integer - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- monitoring
Role StringArn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- network
Type String - The network type of the DB cluster.
- performance
Insights BooleanEnabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- performance
Insights StringKms Key Id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- performance
Insights IntegerRetention Period - The amount of time, in days, to retain Performance Insights data.
- port Integer
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- preferred
Backup StringWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- preferred
Maintenance StringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- publicly
Accessible Boolean - A value that indicates whether the DB cluster is publicly accessible.
- read
Endpoint DbCluster Read Endpoint This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- replication
Source StringIdentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- restore
To StringTime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- restore
Type String - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- scaling
Configuration DbCluster Scaling Configuration - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- serverless
V2Scaling DbConfiguration Cluster Serverless V2Scaling Configuration - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- snapshot
Identifier String - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- source
Db StringCluster Identifier - The identifier of the source DB cluster from which to restore.
- source
Region String - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- storage
Encrypted Boolean - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- storage
Type String - Specifies the storage type to be associated with the DB cluster.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- use
Latest BooleanRestorable Time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- vpc
Security List<String>Group Ids - A list of EC2 VPC security groups to associate with this DB cluster.
- allocated
Storage number - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- associated
Roles DbCluster Db Cluster Role[] - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- auto
Minor booleanVersion Upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- availability
Zones string[] - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- backtrack
Window number - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- backup
Retention numberPeriod - The number of days for which automated backups are retained.
- boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- database
Name string - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- db
Cluster stringIdentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- db
Cluster stringInstance Class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- db
Cluster stringParameter Group Name - The name of the DB cluster parameter group to associate with this DB cluster.
- db
Instance stringParameter Group Name - The name of the DB parameter group to apply to all instances of the DB cluster.
- db
Subnet stringGroup Name - A DB subnet group that you want to associate with this DB cluster.
- db
System stringId - Reserved for future use.
- deletion
Protection boolean - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- domain string
- The Active Directory directory ID to create the DB cluster in.
- domain
Iam stringRole Name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- enable
Cloudwatch string[]Logs Exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- enable
Global booleanWrite Forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- enable
Http booleanEndpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- enable
Iam booleanDatabase Authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- enable
Local booleanWrite Forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- engine string
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- engine
Lifecycle stringSupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- engine
Mode string - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- engine
Version string - The version number of the database engine to use.
- global
Cluster stringIdentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- iops number
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- kms
Key stringId - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- manage
Master booleanUser Password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- master
User stringPassword - The master password for the DB instance.
- master
User DbSecret Cluster Master User Secret - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- master
Username string - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- monitoring
Interval number - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- monitoring
Role stringArn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- network
Type string - The network type of the DB cluster.
- performance
Insights booleanEnabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- performance
Insights stringKms Key Id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- performance
Insights numberRetention Period - The amount of time, in days, to retain Performance Insights data.
- port number
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- preferred
Backup stringWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- publicly
Accessible boolean - A value that indicates whether the DB cluster is publicly accessible.
- read
Endpoint DbCluster Read Endpoint This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- replication
Source stringIdentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- restore
To stringTime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- restore
Type string - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- scaling
Configuration DbCluster Scaling Configuration - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- serverless
V2Scaling DbConfiguration Cluster Serverless V2Scaling Configuration - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- snapshot
Identifier string - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- source
Db stringCluster Identifier - The identifier of the source DB cluster from which to restore.
- source
Region string - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- storage
Encrypted boolean - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- storage
Type string - Specifies the storage type to be associated with the DB cluster.
- Tag[]
- An array of key-value pairs to apply to this resource.
- use
Latest booleanRestorable Time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- vpc
Security string[]Group Ids - A list of EC2 VPC security groups to associate with this DB cluster.
- allocated_
storage int - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- associated_
roles Sequence[DbCluster Db Cluster Role Args] - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- auto_
minor_ boolversion_ upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- availability_
zones Sequence[str] - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- backtrack_
window int - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- backup_
retention_ intperiod - The number of days for which automated backups are retained.
- bool
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- database_
name str - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- db_
cluster_ stridentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- db_
cluster_ strinstance_ class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- db_
cluster_ strparameter_ group_ name - The name of the DB cluster parameter group to associate with this DB cluster.
- db_
instance_ strparameter_ group_ name - The name of the DB parameter group to apply to all instances of the DB cluster.
- db_
subnet_ strgroup_ name - A DB subnet group that you want to associate with this DB cluster.
- db_
system_ strid - Reserved for future use.
- deletion_
protection bool - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- domain str
- The Active Directory directory ID to create the DB cluster in.
- domain_
iam_ strrole_ name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- enable_
cloudwatch_ Sequence[str]logs_ exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- enable_
global_ boolwrite_ forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- enable_
http_ boolendpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- enable_
iam_ booldatabase_ authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- enable_
local_ boolwrite_ forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- engine str
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- engine_
lifecycle_ strsupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- engine_
mode str - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- engine_
version str - The version number of the database engine to use.
- global_
cluster_ stridentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- iops int
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- kms_
key_ strid - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- manage_
master_ booluser_ password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- master_
user_ strpassword - The master password for the DB instance.
- master_
user_ Dbsecret Cluster Master User Secret Args - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- master_
username str - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- monitoring_
interval int - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- monitoring_
role_ strarn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- network_
type str - The network type of the DB cluster.
- performance_
insights_ boolenabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- performance_
insights_ strkms_ key_ id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- performance_
insights_ intretention_ period - The amount of time, in days, to retain Performance Insights data.
- port int
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- preferred_
backup_ strwindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- preferred_
maintenance_ strwindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- publicly_
accessible bool - A value that indicates whether the DB cluster is publicly accessible.
- read_
endpoint DbCluster Read Endpoint Args This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- replication_
source_ stridentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- restore_
to_ strtime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- restore_
type str - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- scaling_
configuration DbCluster Scaling Configuration Args - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- serverless_
v2_ Dbscaling_ configuration Cluster Serverless V2Scaling Configuration Args - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- snapshot_
identifier str - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- source_
db_ strcluster_ identifier - The identifier of the source DB cluster from which to restore.
- source_
region str - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- storage_
encrypted bool - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- storage_
type str - Specifies the storage type to be associated with the DB cluster.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- use_
latest_ boolrestorable_ time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- vpc_
security_ Sequence[str]group_ ids - A list of EC2 VPC security groups to associate with this DB cluster.
- allocated
Storage Number - The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
- associated
Roles List<Property Map> - Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
- auto
Minor BooleanVersion Upgrade - A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
- availability
Zones List<String> - A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide.
- backtrack
Window Number - The target backtrack window, in seconds. To disable backtracking, set this value to 0.
- backup
Retention NumberPeriod - The number of days for which automated backups are retained.
- Boolean
- A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them.
- database
Name String - The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide.
- db
Cluster StringIdentifier - The DB cluster identifier. This parameter is stored as a lowercase string.
- db
Cluster StringInstance Class - The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge.
- db
Cluster StringParameter Group Name - The name of the DB cluster parameter group to associate with this DB cluster.
- db
Instance StringParameter Group Name - The name of the DB parameter group to apply to all instances of the DB cluster.
- db
Subnet StringGroup Name - A DB subnet group that you want to associate with this DB cluster.
- db
System StringId - Reserved for future use.
- deletion
Protection Boolean - A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
- domain String
- The Active Directory directory ID to create the DB cluster in.
- domain
Iam StringRole Name - Specify the name of the IAM role to be used when making API calls to the Directory Service.
- enable
Cloudwatch List<String>Logs Exports - The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.
- enable
Global BooleanWrite Forwarding - Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database.
- enable
Http BooleanEndpoint - A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled.
- enable
Iam BooleanDatabase Authentication - A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled.
- enable
Local BooleanWrite Forwarding - Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
- engine String
- The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql
- engine
Lifecycle StringSupport - The life cycle type of the DB cluster. You can use this setting to enroll your DB cluster into Amazon RDS Extended Support.
- engine
Mode String - The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster.
- engine
Version String - The version number of the database engine to use.
- global
Cluster StringIdentifier If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource.
If you aren't configuring a global database cluster, don't specify this property.
- iops Number
- The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.
- kms
Key StringId - The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true.
- manage
Master BooleanUser Password - A value that indicates whether to manage the master user password with AWS Secrets Manager.
- master
User StringPassword - The master password for the DB instance.
- master
User Property MapSecret - Contains the secret managed by RDS in AWS Secrets Manager for the master user password.
- master
Username String - The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername.
- monitoring
Interval Number - The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0.
- monitoring
Role StringArn - The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.
- network
Type String - The network type of the DB cluster.
- performance
Insights BooleanEnabled - A value that indicates whether to turn on Performance Insights for the DB cluster.
- performance
Insights StringKms Key Id - The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
- performance
Insights NumberRetention Period - The amount of time, in days, to retain Performance Insights data.
- port Number
- The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.
- preferred
Backup StringWindow - The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- preferred
Maintenance StringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is 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. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide.
- publicly
Accessible Boolean - A value that indicates whether the DB cluster is publicly accessible.
- read
Endpoint Property Map This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
For the data structure that represents Amazon Aurora DB cluster endpoints, see
DBClusterEndpoint
.- replication
Source StringIdentifier - The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica.
- restore
To StringTime - The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z
- restore
Type String - The type of restore to be performed. You can specify one of the following values: full-copy - The new DB cluster is restored as a full copy of the source DB cluster. copy-on-write - The new DB cluster is restored as a clone of the source DB cluster.
- scaling
Configuration Property Map - The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster.
- serverless
V2Scaling Property MapConfiguration - Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
- snapshot
Identifier String - The identifier for the DB 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 snapshot. After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted.
- source
Db StringCluster Identifier - The identifier of the source DB cluster from which to restore.
- source
Region String - The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1.
- storage
Encrypted Boolean - Indicates whether the DB instance is encrypted. If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance.
- storage
Type String - Specifies the storage type to be associated with the DB cluster.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- use
Latest BooleanRestorable Time - A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time.
- vpc
Security List<String>Group Ids - A list of EC2 VPC security groups to associate with this DB cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the DbCluster resource produces the following output properties:
- Db
Cluster stringArn - The Amazon Resource Name (ARN) for the DB cluster.
- Db
Cluster stringResource Id - The AWS Region-unique, immutable identifier for the DB cluster.
- Endpoint
Pulumi.
Aws Native. Rds. Outputs. Db Cluster Endpoint - Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Throughput int - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
- Db
Cluster stringArn - The Amazon Resource Name (ARN) for the DB cluster.
- Db
Cluster stringResource Id - The AWS Region-unique, immutable identifier for the DB cluster.
- Endpoint
Db
Cluster Endpoint - Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Throughput int - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
- db
Cluster StringArn - The Amazon Resource Name (ARN) for the DB cluster.
- db
Cluster StringResource Id - The AWS Region-unique, immutable identifier for the DB cluster.
- endpoint
Db
Cluster Endpoint - id String
- The provider-assigned unique ID for this managed resource.
- storage
Throughput Integer - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
- db
Cluster stringArn - The Amazon Resource Name (ARN) for the DB cluster.
- db
Cluster stringResource Id - The AWS Region-unique, immutable identifier for the DB cluster.
- endpoint
Db
Cluster Endpoint - id string
- The provider-assigned unique ID for this managed resource.
- storage
Throughput number - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
- db_
cluster_ strarn - The Amazon Resource Name (ARN) for the DB cluster.
- db_
cluster_ strresource_ id - The AWS Region-unique, immutable identifier for the DB cluster.
- endpoint
Db
Cluster Endpoint - id str
- The provider-assigned unique ID for this managed resource.
- storage_
throughput int - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
- db
Cluster StringArn - The Amazon Resource Name (ARN) for the DB cluster.
- db
Cluster StringResource Id - The AWS Region-unique, immutable identifier for the DB cluster.
- endpoint Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Throughput Number - Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type.
Supporting Types
DbClusterDbClusterRole, DbClusterDbClusterRoleArgs
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- Feature
Name string - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- Feature
Name string - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name String - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
- role
Arn string - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name string - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
- role_
arn str - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature_
name str - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
- feature
Name String - The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon RDS API Reference.
DbClusterEndpoint, DbClusterEndpointArgs
DbClusterMasterUserSecret, DbClusterMasterUserSecretArgs
- kms_
key_ strid - The AWS KMS key identifier that is used to encrypt the secret.
- secret_
arn str - The Amazon Resource Name (ARN) of the secret.
DbClusterReadEndpoint, DbClusterReadEndpointArgs
- Address string
- The reader endpoint for the DB cluster.
- Address string
- The reader endpoint for the DB cluster.
- address String
- The reader endpoint for the DB cluster.
- address string
- The reader endpoint for the DB cluster.
- address str
- The reader endpoint for the DB cluster.
- address String
- The reader endpoint for the DB cluster.
DbClusterScalingConfiguration, DbClusterScalingConfigurationArgs
- Auto
Pause bool - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- Max
Capacity int - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- Min
Capacity int - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- Seconds
Before intTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- Seconds
Until intAuto Pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- Timeout
Action string The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
- Auto
Pause bool - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- Max
Capacity int - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- Min
Capacity int - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- Seconds
Before intTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- Seconds
Until intAuto Pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- Timeout
Action string The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
- auto
Pause Boolean - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- max
Capacity Integer - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- min
Capacity Integer - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- seconds
Before IntegerTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- seconds
Until IntegerAuto Pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- timeout
Action String The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
- auto
Pause boolean - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- max
Capacity number - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- min
Capacity number - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- seconds
Before numberTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- seconds
Until numberAuto Pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- timeout
Action string The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
- auto_
pause bool - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- max_
capacity int - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- min_
capacity int - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- seconds_
before_ inttimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- seconds_
until_ intauto_ pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- timeout_
action str The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
- auto
Pause Boolean - A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in serverless DB engine mode. A DB cluster can be paused only when it's idle (it has no connections).
- max
Capacity Number - The maximum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The maximum capacity must be greater than or equal to the minimum capacity.
- min
Capacity Number - The minimum capacity for an Aurora DB cluster in serverless DB engine mode. For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256. For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384. The minimum capacity must be less than or equal to the maximum capacity.
- seconds
Before NumberTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
- seconds
Until NumberAuto Pause - The time, in seconds, before an Aurora DB cluster in serverless mode is paused.
- timeout
Action String The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange. ForceApplyCapacityChange sets the capacity to the specified value as soon as possible. RollbackCapacityChange, the default, ignores the capacity change if a scaling point isn't found in the timeout period.
For more information, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
DbClusterServerlessV2ScalingConfiguration, DbClusterServerlessV2ScalingConfigurationArgs
- Max
Capacity double - The 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 128.
- Min
Capacity double - The 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.5.
- Max
Capacity float64 - The 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 128.
- Min
Capacity float64 - The 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.5.
- max
Capacity Double - The 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 128.
- min
Capacity Double - The 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.5.
- max
Capacity number - The 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 128.
- min
Capacity number - The 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.5.
- max_
capacity float - The 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 128.
- min_
capacity float - The 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.5.
- max
Capacity Number - The 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 128.
- min
Capacity Number - The 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.5.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.