Builder

class Builder

Properties

Link copied to clipboard

The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules specified in CreateDBInstance.

Link copied to clipboard

Specifies whether to automatically apply minor engine upgrades to the DB instance during the maintenance window. By default, minor engine upgrades are not applied automatically.

Link copied to clipboard

The Availability Zone that the DB instance is created in. For information about Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones in the Amazon RDS User Guide.

Link copied to clipboard

The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. For more information, see CreateDBInstance.

Link copied to clipboard

The CA certificate identifier to use for the DB instance's server certificate.

Link copied to clipboard

Specifies whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.

Link copied to clipboard

Specifies the mode of Database Insights to enable for the DB instance.

Link copied to clipboard

The compute and memory capacity of the DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.

Link copied to clipboard

The DB instance identifier. This parameter is stored as a lowercase string.

Link copied to clipboard

The name of the database to create when the DB instance is created. Follow the naming rules specified in CreateDBInstance.

Link copied to clipboard

The name of the DB parameter group to associate with this DB instance.

Link copied to clipboard

A list of DB security groups to associate with this DB instance.

Link copied to clipboard

A DB subnet group to associate with this DB instance.

Link copied to clipboard

Specifies whether to enable a dedicated log volume (DLV) for the DB instance.

Link copied to clipboard

Specifies whether to enable deletion protection for the DB instance. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

Link copied to clipboard

The list of logs that the restored DB instance is to export 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 RDS User Guide.

Link copied to clipboard

Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

Link copied to clipboard

Specifies whether to enable Performance Insights for the DB instance.

Link copied to clipboard

The name of the database engine to be used for this instance.

Link copied to clipboard

The life cycle type for this DB instance.

Link copied to clipboard

The version number of the database engine to use. Choose the latest minor version of your database engine. For information about engine versions, see CreateDBInstance, or call DescribeDBEngineVersions.

Link copied to clipboard
var iops: Int?

The amount of Provisioned IOPS (input/output operations per second) to allocate initially for the DB instance. For information about valid IOPS values, see Amazon RDS Provisioned IOPS storage in the Amazon RDS User Guide.

Link copied to clipboard

The Amazon Web Services KMS key identifier for an encrypted DB instance.

Link copied to clipboard

The license model for this DB instance. Use general-public-license.

Link copied to clipboard

Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.

Link copied to clipboard

The name for the master user.

Link copied to clipboard

The password for the master user.

Link copied to clipboard

The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.

Link copied to clipboard

The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance.

Link copied to clipboard

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0.

Link copied to clipboard

The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. For information on creating a monitoring role, see Setting Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

Link copied to clipboard

Specifies whether the DB instance is a Multi-AZ deployment. If the DB instance is a Multi-AZ deployment, you can't set the AvailabilityZone parameter.

Link copied to clipboard

The network type of the DB instance.

Link copied to clipboard

The name of the option group to associate with this DB instance. If this argument is omitted, the default option group for the specified engine is used.

Link copied to clipboard

The Amazon Web Services KMS key identifier for encryption of Performance Insights data.

Link copied to clipboard

The number of days to retain Performance Insights data. The default is 7 days. The following values are valid:

Link copied to clipboard
var port: Int?

The port number on which the database accepts connections.

Link copied to clipboard

The time range each day during which automated backups are created if automated backups are enabled. For more information, see Backup window in the Amazon RDS User Guide.

Link copied to clipboard

The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.

Link copied to clipboard

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

Link copied to clipboard

Specifies whether the DB instance is publicly accessible.

Link copied to clipboard

The name of your Amazon S3 bucket that contains your database backup file.

Link copied to clipboard

An Amazon Web Services Identity and Access Management (IAM) role with a trust policy and a permissions policy that allows Amazon RDS to access your Amazon S3 bucket. For information about this role, see Creating an IAM role manually in the Amazon RDS User Guide.

Link copied to clipboard

The prefix of your Amazon S3 bucket.

Link copied to clipboard

The name of the engine of your source database.

Link copied to clipboard

The version of the database that the backup files were created from.

Link copied to clipboard

Specifies whether the new DB instance is encrypted or not.

Link copied to clipboard

Specifies the storage throughput value for the DB instance.

Link copied to clipboard

Specifies the storage type to be associated with the DB instance.

Link copied to clipboard
var tags: List<Tag>?

A list of tags to associate with this DB instance. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.

Link copied to clipboard

Specifies whether the DB instance class of the DB instance uses its default processor features.

Link copied to clipboard

A list of VPC security groups to associate with this DB instance.