This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
azure-native.awsconnector.getRdsDbInstance
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
Get a RdsDBInstance Azure REST API version: 2024-12-01.
Using getRdsDbInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRdsDbInstance(args: GetRdsDbInstanceArgs, opts?: InvokeOptions): Promise<GetRdsDbInstanceResult>
function getRdsDbInstanceOutput(args: GetRdsDbInstanceOutputArgs, opts?: InvokeOptions): Output<GetRdsDbInstanceResult>def get_rds_db_instance(name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetRdsDbInstanceResult
def get_rds_db_instance_output(name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetRdsDbInstanceResult]func LookupRdsDbInstance(ctx *Context, args *LookupRdsDbInstanceArgs, opts ...InvokeOption) (*LookupRdsDbInstanceResult, error)
func LookupRdsDbInstanceOutput(ctx *Context, args *LookupRdsDbInstanceOutputArgs, opts ...InvokeOption) LookupRdsDbInstanceResultOutput> Note: This function is named LookupRdsDbInstance in the Go SDK.
public static class GetRdsDbInstance 
{
    public static Task<GetRdsDbInstanceResult> InvokeAsync(GetRdsDbInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetRdsDbInstanceResult> Invoke(GetRdsDbInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRdsDbInstanceResult> getRdsDbInstance(GetRdsDbInstanceArgs args, InvokeOptions options)
public static Output<GetRdsDbInstanceResult> getRdsDbInstance(GetRdsDbInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:awsconnector:getRdsDbInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of RdsDBInstance
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Name string
- Name of RdsDBInstance
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name String
- Name of RdsDBInstance
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- name string
- Name of RdsDBInstance
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- name str
- Name of RdsDBInstance
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- name String
- Name of RdsDBInstance
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getRdsDbInstance Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.Azure Native. Aws Connector. Outputs. Rds DBInstance Properties Response 
- The resource-specific properties for this resource.
- SystemData Pulumi.Azure Native. Aws Connector. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
RdsDBInstance Properties Response 
- The resource-specific properties for this resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
RdsDBInstance Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
RdsDBInstance Properties Response 
- The resource-specific properties for this resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
RdsDBInstance Properties Response 
- The resource-specific properties for this resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Map<String>
- Resource tags.
Supporting Types
AwsRdsDBInstancePropertiesResponse    
- AllocatedStorage string
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- AllowMajor boolVersion Upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- AssociatedRoles List<Pulumi.Azure Native. Aws Connector. Inputs. DBInstance Role Response> 
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- AutoMinor boolVersion Upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- AutomaticBackup stringReplication Kms Key Id 
- Property automaticBackupReplicationKmsKeyId
- AutomaticBackup stringReplication Region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- AvailabilityZone string
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- BackupRetention intPeriod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- CaCertificate stringIdentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- CertificateDetails Pulumi.Azure Native. Aws Connector. Inputs. Certificate Details Response 
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- CertificateRotation boolRestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- CharacterSet stringName 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- bool
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- CustomIAMInstance stringProfile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- DbCluster stringIdentifier 
- The identifier of the DB cluster that the instance will belong to.
- DbCluster stringSnapshot Identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- DbInstance stringArn 
- Property dbInstanceArn
- DbInstance stringClass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- DbInstance stringIdentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- DbName string
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- DbParameter stringGroup Name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- DbSecurity List<string>Groups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- DbSnapshot stringIdentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- DbSubnet stringGroup Name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- DbSystem stringId 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- DbiResource stringId 
- Property dbiResourceId
- DedicatedLog boolVolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- DeleteAutomated boolBackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- DeletionProtection bool
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- Domain string
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- DomainAuth stringSecret Arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- DomainDns List<string>Ips 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- DomainFqdn string
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- DomainIAMRole stringName 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- DomainOu string
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- EnableCloudwatch 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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- EnableIAMDatabase boolAuthentication 
- A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- EnablePerformance boolInsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- Endpoint
Pulumi.Azure Native. Aws Connector. Inputs. Rds Db Instance Endpoint Response 
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- Engine string
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- EngineVersion string
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- Iops int
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- KmsKey stringId 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- LicenseModel string
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- ManageMaster boolUser Password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- MasterUser stringPassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- MasterUser Pulumi.Secret Azure Native. Aws Connector. Inputs. Master User Secret Response 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- MasterUsername string
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- MaxAllocated intStorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- MonitoringInterval int
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- MonitoringRole stringArn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- MultiAZ bool
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- NcharCharacter stringSet Name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- NetworkType string
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- OptionGroup stringName 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- PerformanceInsights stringKMSKey Id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- PerformanceInsights intRetention Period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- Port string
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- PreferredBackup stringWindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- PreferredMaintenance stringWindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- ProcessorFeatures List<Pulumi.Azure Native. Aws Connector. Inputs. Processor Feature Response> 
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- PromotionTier int
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- PubliclyAccessible bool
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- ReplicaMode string
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- RestoreTime string
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- SourceDBCluster stringIdentifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- SourceDBInstance stringAutomated Backups Arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- SourceDBInstance stringIdentifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- SourceDbi stringResource Id 
- The resource ID of the source DB instance from which to restore.
- SourceRegion string
- The ID of the region that contains the source DB instance for the read replica.
- StorageEncrypted bool
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- StorageThroughput int
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- StorageType string
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- 
List<Pulumi.Azure Native. Aws Connector. Inputs. Tag Response> 
- An optional array of key-value pairs to apply to this DB instance.
- TdeCredential stringArn 
- Property tdeCredentialArn
- TdeCredential stringPassword 
- Property tdeCredentialPassword
- Timezone string
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- UseDefault boolProcessor Features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- UseLatest boolRestorable Time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- VpcSecurity List<string>Groups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- AllocatedStorage string
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- AllowMajor boolVersion Upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- AssociatedRoles []DBInstanceRole Response 
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- AutoMinor boolVersion Upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- AutomaticBackup stringReplication Kms Key Id 
- Property automaticBackupReplicationKmsKeyId
- AutomaticBackup stringReplication Region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- AvailabilityZone string
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- BackupRetention intPeriod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- CaCertificate stringIdentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- CertificateDetails CertificateDetails Response 
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- CertificateRotation boolRestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- CharacterSet stringName 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- bool
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- CustomIAMInstance stringProfile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- DbCluster stringIdentifier 
- The identifier of the DB cluster that the instance will belong to.
- DbCluster stringSnapshot Identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- DbInstance stringArn 
- Property dbInstanceArn
- DbInstance stringClass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- DbInstance stringIdentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- DbName string
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- DbParameter stringGroup Name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- DbSecurity []stringGroups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- DbSnapshot stringIdentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- DbSubnet stringGroup Name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- DbSystem stringId 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- DbiResource stringId 
- Property dbiResourceId
- DedicatedLog boolVolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- DeleteAutomated boolBackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- DeletionProtection bool
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- Domain string
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- DomainAuth stringSecret Arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- DomainDns []stringIps 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- DomainFqdn string
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- DomainIAMRole stringName 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- DomainOu string
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- EnableCloudwatch []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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- EnableIAMDatabase boolAuthentication 
- A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- EnablePerformance boolInsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- Endpoint
RdsDb Instance Endpoint Response 
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- Engine string
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- EngineVersion string
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- Iops int
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- KmsKey stringId 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- LicenseModel string
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- ManageMaster boolUser Password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- MasterUser stringPassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- MasterUser MasterSecret User Secret Response 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- MasterUsername string
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- MaxAllocated intStorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- MonitoringInterval int
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- MonitoringRole stringArn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- MultiAZ bool
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- NcharCharacter stringSet Name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- NetworkType string
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- OptionGroup stringName 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- PerformanceInsights stringKMSKey Id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- PerformanceInsights intRetention Period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- Port string
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- PreferredBackup stringWindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- PreferredMaintenance stringWindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- ProcessorFeatures []ProcessorFeature Response 
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- PromotionTier int
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- PubliclyAccessible bool
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- ReplicaMode string
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- RestoreTime string
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- SourceDBCluster stringIdentifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- SourceDBInstance stringAutomated Backups Arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- SourceDBInstance stringIdentifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- SourceDbi stringResource Id 
- The resource ID of the source DB instance from which to restore.
- SourceRegion string
- The ID of the region that contains the source DB instance for the read replica.
- StorageEncrypted bool
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- StorageThroughput int
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- StorageType string
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- 
[]TagResponse 
- An optional array of key-value pairs to apply to this DB instance.
- TdeCredential stringArn 
- Property tdeCredentialArn
- TdeCredential stringPassword 
- Property tdeCredentialPassword
- Timezone string
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- UseDefault boolProcessor Features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- UseLatest boolRestorable Time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- VpcSecurity []stringGroups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- allocatedStorage String
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- allowMajor BooleanVersion Upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- associatedRoles List<DBInstanceRole Response> 
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- autoMinor BooleanVersion Upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- automaticBackup StringReplication Kms Key Id 
- Property automaticBackupReplicationKmsKeyId
- automaticBackup StringReplication Region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- availabilityZone String
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- backupRetention IntegerPeriod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- caCertificate StringIdentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateDetails CertificateDetails Response 
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateRotation BooleanRestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- characterSet StringName 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- Boolean
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- customIAMInstance StringProfile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- dbCluster StringIdentifier 
- The identifier of the DB cluster that the instance will belong to.
- dbCluster StringSnapshot Identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- dbInstance StringArn 
- Property dbInstanceArn
- dbInstance StringClass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- dbInstance StringIdentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- dbName String
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- dbParameter StringGroup Name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- dbSecurity List<String>Groups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- dbSnapshot StringIdentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- dbSubnet StringGroup Name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- dbSystem StringId 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- dbiResource StringId 
- Property dbiResourceId
- dedicatedLog BooleanVolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- deleteAutomated BooleanBackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- deletionProtection Boolean
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- domain String
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- domainAuth StringSecret Arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- domainDns List<String>Ips 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- domainFqdn String
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- domainIAMRole StringName 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- domainOu String
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- enableCloudwatch 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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- enableIAMDatabase BooleanAuthentication 
- A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- enablePerformance BooleanInsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- endpoint
RdsDb Instance Endpoint Response 
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- engine String
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- engineVersion String
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- iops Integer
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- kmsKey StringId 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- licenseModel String
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- manageMaster BooleanUser Password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- masterUser StringPassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- masterUser MasterSecret User Secret Response 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- masterUsername String
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- maxAllocated IntegerStorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- monitoringInterval Integer
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- monitoringRole StringArn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- multiAZ Boolean
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- ncharCharacter StringSet Name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- networkType String
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- optionGroup StringName 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- performanceInsights StringKMSKey Id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- performanceInsights IntegerRetention Period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- port String
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- preferredBackup StringWindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- preferredMaintenance StringWindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- processorFeatures List<ProcessorFeature Response> 
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- promotionTier Integer
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- publiclyAccessible Boolean
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- replicaMode String
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- restoreTime String
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- sourceDBCluster StringIdentifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- sourceDBInstance StringAutomated Backups Arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- sourceDBInstance StringIdentifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- sourceDbi StringResource Id 
- The resource ID of the source DB instance from which to restore.
- sourceRegion String
- The ID of the region that contains the source DB instance for the read replica.
- storageEncrypted Boolean
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- storageThroughput Integer
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- storageType String
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- 
List<TagResponse> 
- An optional array of key-value pairs to apply to this DB instance.
- tdeCredential StringArn 
- Property tdeCredentialArn
- tdeCredential StringPassword 
- Property tdeCredentialPassword
- timezone String
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- useDefault BooleanProcessor Features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- useLatest BooleanRestorable Time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- vpcSecurity List<String>Groups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- allocatedStorage string
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- allowMajor booleanVersion Upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- associatedRoles DBInstanceRole Response[] 
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- autoMinor booleanVersion Upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- automaticBackup stringReplication Kms Key Id 
- Property automaticBackupReplicationKmsKeyId
- automaticBackup stringReplication Region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- availabilityZone string
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- backupRetention numberPeriod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- caCertificate stringIdentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateDetails CertificateDetails Response 
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateRotation booleanRestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- characterSet stringName 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- boolean
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- customIAMInstance stringProfile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- dbCluster stringIdentifier 
- The identifier of the DB cluster that the instance will belong to.
- dbCluster stringSnapshot Identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- dbInstance stringArn 
- Property dbInstanceArn
- dbInstance stringClass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- dbInstance stringIdentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- dbName string
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- dbParameter stringGroup Name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- dbSecurity string[]Groups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- dbSnapshot stringIdentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- dbSubnet stringGroup Name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- dbSystem stringId 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- dbiResource stringId 
- Property dbiResourceId
- dedicatedLog booleanVolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- deleteAutomated booleanBackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- deletionProtection boolean
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- domain string
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- domainAuth stringSecret Arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- domainDns string[]Ips 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- domainFqdn string
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- domainIAMRole stringName 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- domainOu string
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- enableCloudwatch 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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- enableIAMDatabase booleanAuthentication 
- A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- enablePerformance booleanInsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- endpoint
RdsDb Instance Endpoint Response 
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- engine string
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- engineVersion string
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- iops number
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- kmsKey stringId 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- licenseModel string
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- manageMaster booleanUser Password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- masterUser stringPassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- masterUser MasterSecret User Secret Response 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- masterUsername string
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- maxAllocated numberStorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- monitoringInterval number
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- monitoringRole stringArn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- multiAZ boolean
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- ncharCharacter stringSet Name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- networkType string
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- optionGroup stringName 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- performanceInsights stringKMSKey Id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- performanceInsights numberRetention Period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- port string
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- preferredBackup stringWindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- preferredMaintenance stringWindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- processorFeatures ProcessorFeature Response[] 
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- promotionTier number
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- publiclyAccessible boolean
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- replicaMode string
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- restoreTime string
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- sourceDBCluster stringIdentifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- sourceDBInstance stringAutomated Backups Arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- sourceDBInstance stringIdentifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- sourceDbi stringResource Id 
- The resource ID of the source DB instance from which to restore.
- sourceRegion string
- The ID of the region that contains the source DB instance for the read replica.
- storageEncrypted boolean
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- storageThroughput number
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- storageType string
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- 
TagResponse[] 
- An optional array of key-value pairs to apply to this DB instance.
- tdeCredential stringArn 
- Property tdeCredentialArn
- tdeCredential stringPassword 
- Property tdeCredentialPassword
- timezone string
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- useDefault booleanProcessor Features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- useLatest booleanRestorable Time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- vpcSecurity string[]Groups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- allocated_storage str
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- allow_major_ boolversion_ upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- associated_roles Sequence[DBInstanceRole Response] 
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- auto_minor_ boolversion_ upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- automatic_backup_ strreplication_ kms_ key_ id 
- Property automaticBackupReplicationKmsKeyId
- automatic_backup_ strreplication_ region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- availability_zone str
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- backup_retention_ intperiod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- ca_certificate_ stridentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificate_details CertificateDetails Response 
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificate_rotation_ boolrestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- character_set_ strname 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- bool
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- custom_iam_ strinstance_ profile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- db_cluster_ stridentifier 
- The identifier of the DB cluster that the instance will belong to.
- db_cluster_ strsnapshot_ identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- db_instance_ strarn 
- Property dbInstanceArn
- db_instance_ strclass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- db_instance_ stridentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- db_name str
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- db_parameter_ strgroup_ name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- db_security_ Sequence[str]groups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- db_snapshot_ stridentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- db_subnet_ strgroup_ name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- db_system_ strid 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- dbi_resource_ strid 
- Property dbiResourceId
- dedicated_log_ boolvolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- delete_automated_ boolbackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- deletion_protection bool
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- domain str
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- domain_auth_ strsecret_ arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- domain_dns_ Sequence[str]ips 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- domain_fqdn str
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- domain_iam_ strrole_ name 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- domain_ou str
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- 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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- 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. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- enable_performance_ boolinsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- endpoint
RdsDb Instance Endpoint Response 
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- engine str
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- engine_version str
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- iops int
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- kms_key_ strid 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- license_model str
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- manage_master_ booluser_ password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- master_user_ strpassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- master_user_ Mastersecret User Secret Response 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- master_username str
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- max_allocated_ intstorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- monitoring_interval int
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- monitoring_role_ strarn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- multi_az bool
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- nchar_character_ strset_ name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- network_type str
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- option_group_ strname 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- performance_insights_ strkms_ key_ id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- performance_insights_ intretention_ period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- port str
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- preferred_backup_ strwindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- preferred_maintenance_ strwindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- processor_features Sequence[ProcessorFeature Response] 
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- promotion_tier int
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- publicly_accessible bool
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- replica_mode str
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- restore_time str
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- source_db_ strcluster_ identifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- source_db_ strinstance_ automated_ backups_ arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- source_db_ strinstance_ identifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- source_dbi_ strresource_ id 
- The resource ID of the source DB instance from which to restore.
- source_region str
- The ID of the region that contains the source DB instance for the read replica.
- storage_encrypted bool
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- storage_throughput int
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- storage_type str
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- 
Sequence[TagResponse] 
- An optional array of key-value pairs to apply to this DB instance.
- tde_credential_ strarn 
- Property tdeCredentialArn
- tde_credential_ strpassword 
- Property tdeCredentialPassword
- timezone str
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- use_default_ boolprocessor_ features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- use_latest_ boolrestorable_ time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- vpc_security_ Sequence[str]groups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- allocatedStorage String
- The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. If any value is set in the Iopsparameter,AllocatedStoragemust be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase theIopsvalue (in 1,000 IOPS increments), then you must also increase theAllocatedStoragevalue (in 100-GiB increments). Amazon Aurora Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. Db2 Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. MySQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. MariaDB Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. PostgreSQL Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 5 to 3072. Oracle Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536. + Provisioned IOPS storage (io1): Must be an integer from 100 to 65536. + Magnetic storage (standard): Must be an integer from 10 to 3072. SQL Server Constraints to the amount of storage for each storage type are the following: + General Purpose (SSD) storage (gp2): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Provisioned IOPS storage (io1): + Enterprise and Standard editions: Must be an integer from 20 to 16384. + Web and Express editions: Must be an integer from 20 to 16384. + Magnetic storage (standard): + Enterprise and Standard editions: Must be an integer from 20 to 1024. + Web and Express editions: Must be an integer from 20 to 1024.
- allowMajor BooleanVersion Upgrade 
- A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. Constraints: Major version upgrades must be allowed when specifying a value for the EngineVersionparameter that is a different major version than the DB instance's current version.
- associatedRoles List<Property Map>
- The IAMlong (IAM) roles associated with the DB instance. Amazon Aurora Not applicable. The associated roles are managed by the DB cluster.
- autoMinor BooleanVersion Upgrade 
- A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically.
- automaticBackup StringReplication Kms Key Id 
- Property automaticBackupReplicationKmsKeyId
- automaticBackup StringReplication Region 
- The destination region for the backup replication of the DB instance. For more info, see Replicating automated backups to another Region in the Amazon RDS User Guide.
- availabilityZone String
- The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see Regions and Availability Zones. For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. Constraints: + The AvailabilityZoneparameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS-Region as the current endpoint. Example:us-east-1d
- backupRetention NumberPeriod 
- The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Amazon Aurora Not applicable. The retention period for automated backups is managed by the DB cluster. Default: 1 Constraints: + Must be a value from 0 to 35 + Can't be set to 0 if the DB instance is a source to read replicas
- caCertificate StringIdentifier 
- The identifier of the CA certificate for this DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateDetails Property Map
- The details of the DB instance's server certificate. Returns the details of the DB instance’s server certificate. For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- certificateRotation BooleanRestart 
- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. Set this parameter only if you are not using SSL/TLS to connect to the DB instance. If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate. in the Amazon RDS User Guide. + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances.
- characterSet StringName 
- For supported engines, indicates that the DB instance should be associated with the specified character set. Amazon Aurora Not applicable. The character set is managed by the DB cluster. For more information, see AWS::RDS::DBCluster.
- Boolean
- Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting.
- customIAMInstance StringProfile 
- The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. This setting is required for RDS Custom. Constraints: + The profile must exist in your account. + The profile must have an IAM role that Amazon EC2 has permissions to assume. + The instance profile name and the associated IAM role name must start with the prefix AWSRDSCustom. For the list of permissions required for the IAM role, see Configure IAM and your VPC in the Amazon RDS User Guide.
- dbCluster StringIdentifier 
- The identifier of the DB cluster that the instance will belong to.
- dbCluster StringSnapshot Identifier 
- The identifier for the Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide. Constraints: + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + Can't be specified when DBSnapshotIdentifieris specified. + Must be specified whenDBSnapshotIdentifierisn't specified. + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, theDBClusterSnapshotIdentifiermust be the ARN of the shared snapshot. + Can't be the identifier of an Aurora DB cluster snapshot.
- dbInstance StringArn 
- Property dbInstanceArn
- dbInstance StringClass 
- The compute and memory capacity of the DB instance, for example db.m5.large. Not all DB instance classes are available in all AWS-Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
- dbInstance StringIdentifier 
- A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see Name Type. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- dbName String
- The meaning of this parameter differs according to the database engine you use. If you specify the DBSnapshotIdentifierproperty, this property only applies to RDS for Oracle. Amazon Aurora Not applicable. The database name is managed by the DB cluster. Db2 The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Can't be a word reserved by the specified database engine. MySQL The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine MariaDB The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Constraints: + Must contain 1 to 64 letters or numbers. + Can't be a word reserved by the specified database engine PostgreSQL The name of the database to create when the DB instance is created. If this parameter is not specified, the defaultpostgresdatabase is created in the DB instance. Constraints: + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + Must contain 1 to 63 characters. + Can't be a word reserved by the specified database engine Oracle The Oracle System ID (SID) of the created DB instance. If you specifynull, the default valueORCLis used. You can't specify the string NULL, or any other reserved word, forDBName. Default:ORCLConstraints: + Can't be longer than 8 characters SQL Server Not applicable. Must be null.
- dbParameter StringGroup Name 
- The name of an existing DB parameter group or a reference to an AWS::RDS::DBParameterGroup resource created in the template. To list all of the available DB parameter group names, use the following command: aws rds describe-db-parameter-groups --query 'DBParameterGroups[].DBParameterGroupName' --output textIf any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. If you don't specify a value forDBParameterGroupNameproperty, the default DB parameter group for the specified engine and engine version is used.
- dbSecurity List<String>Groups 
- A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + AllocatedStorage+AutoMinorVersionUpgrade+AvailabilityZone+BackupRetentionPeriod+CharacterSetName+DBInstanceClass+DBName+DBParameterGroupName+DBSecurityGroups+DBSubnetGroupName+Engine+EngineVersion+Iops+LicenseModel+MasterUsername+MasterUserPassword+MultiAZ+OptionGroupName+PreferredBackupWindow+PreferredMaintenanceWindowAll other properties are ignored. Specify a virtual private cloud (VPC) security group if you want to submit other properties, such asStorageType,StorageEncrypted, orKmsKeyId. If you're already using theDBSecurityGroupsproperty, you can't use these other properties by updating your DB instance to use a VPC security group. You must recreate the DB instance.
- dbSnapshot StringIdentifier 
- The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. By specifying this property, you can create a DB instance from the specified DB snapshot. If the DBSnapshotIdentifierproperty is an empty string or theAWS::RDS::DBInstancedeclaration has noDBSnapshotIdentifierproperty, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. Some DB instance properties aren't valid when you restore from a snapshot, such as theMasterUsernameandMasterUserPasswordproperties. For information about the properties that you can specify, see theRestoreDBInstanceFromDBSnapshotaction in the Amazon RDS API Reference. After you restore a DB instance with aDBSnapshotIdentifierproperty, you must specify the sameDBSnapshotIdentifierproperty for any future updates to the DB instance. When you specify this property for an update, the DB instance is not restored from the DB snapshot again, and the data in the database is not changed. However, if you don't specify theDBSnapshotIdentifierproperty, an empty DB instance is created, and the original DB instance is deleted. If you specify a property that is different from the previous snapshot restore property, a new DB instance is restored from the specifiedDBSnapshotIdentifierproperty, and the original DB instance is deleted. If you specify theDBSnapshotIdentifierproperty to restore a DB instance (as opposed to specifying it for DB instance updates), then don't specify the following properties: +CharacterSetName+DBClusterIdentifier+DBName+DeleteAutomatedBackups+EnablePerformanceInsights+KmsKeyId+MasterUsername+MasterUserPassword+PerformanceInsightsKMSKeyId+PerformanceInsightsRetentionPeriod+PromotionTier+SourceDBInstanceIdentifier+SourceRegion+StorageEncrypted(for an encrypted snapshot) +TimezoneAmazon Aurora Not applicable. Snapshot restore is managed by the DB cluster.
- dbSubnet StringGroup Name 
- A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. If there's no DB subnet group, then the DB instance isn't a VPC DB instance. For more information about using Amazon RDS in a VPC, see Using Amazon RDS with Amazon Virtual Private Cloud (VPC) in the Amazon RDS User Guide. Amazon Aurora Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
- dbSystem StringId 
- The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term 'Oracle database instance' refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to RDSCDB. The Oracle SID is also the name of your CDB.
- dbiResource StringId 
- Property dbiResourceId
- dedicatedLog BooleanVolume 
- Indicates whether the DB instance has a dedicated log volume (DLV) enabled.
- deleteAutomated BooleanBackups 
- A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. Amazon Aurora Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted.
- deletionProtection Boolean
- A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see Deleting a DB Instance. Amazon Aurora Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see CreateDBCluster. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.
- domain String
- The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. For more information, see Kerberos Authentication in the Amazon RDS User Guide.
- domainAuth StringSecret Arn 
- The ARN for the Secrets Manager secret with the credentials for the user joining the domain. Example: arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456
- domainDns List<String>Ips 
- The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. Constraints: + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. Example: 123.124.125.126,234.235.236.237
- domainFqdn String
- The fully qualified domain name (FQDN) of an Active Directory domain. Constraints: + Can't be longer than 64 characters. Example: mymanagedADtest.mymanagedAD.mydomain
- domainIAMRole StringName 
- The name of the IAM role to use when making API calls to the Directory Service. This setting doesn't apply to the following DB instances: + Amazon Aurora (The domain is managed by the DB cluster.) + RDS Custom
- domainOu String
- The Active Directory organizational unit for your DB instance to join. Constraints: + Must be in the distinguished name format. + Can't be longer than 64 characters. Example: OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain
- enableCloudwatch 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 Relational Database Service User Guide. Amazon Aurora Not applicable. CloudWatch Logs exports are managed by the DB cluster. Db2 Valid values: diag.log,notify.logMariaDB Valid values:audit,error,general,slowqueryMicrosoft SQL Server Valid values:agent,errorMySQL Valid values:audit,error,general,slowqueryOracle Valid values:alert,audit,listener,trace,oemagentPostgreSQL Valid values:postgresql,upgrade
- enableIAMDatabase BooleanAuthentication 
- A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see IAM Database Authentication for MariaDB, MySQL, and PostgreSQL in the Amazon RDS User Guide. Amazon Aurora Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster.
- enablePerformance BooleanInsights 
- Specifies whether to enable Performance Insights for the DB instance. For more information, see Using Amazon Performance Insights in the Amazon RDS User Guide. This setting doesn't apply to RDS Custom DB instances.
- endpoint Property Map
- The connection endpoint for the DB instance. The endpoint might not be shown for instances with the status of creating. 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+DeleteDBInstanceFor the data structure that represents Amazon Aurora DB cluster endpoints, seeDBClusterEndpoint.
- engine String
- The name of the database engine to use for this DB instance. Not every database engine is available in every AWS Region. This property is required when creating a DB instance. You can change the architecture of an Oracle database from the non-container database (CDB) architecture to the CDB architecture by updating the Enginevalue in your templates fromoracle-eeororacle-ee-cdbtooracle-se2-cdb. Converting to the CDB architecture requires an interruption. Valid Values: +aurora-mysql(for Aurora MySQL DB instances) +aurora-postgresql(for Aurora PostgreSQL DB instances) +custom-oracle-ee(for RDS Custom for Oracle DB instances) +custom-oracle-ee-cdb(for RDS Custom for Oracle DB instances) +custom-sqlserver-ee(for RDS Custom for SQL Server DB instances) +custom-sqlserver-se(for RDS Custom for SQL Server DB instances) +custom-sqlserver-web(for RDS Custom for SQL Server DB instances) +db2-ae+db2-se+mariadb+mysql+oracle-ee+oracle-ee-cdb+oracle-se2+oracle-se2-cdb+postgres+sqlserver-ee+sqlserver-se+sqlserver-ex+sqlserver-web
- engineVersion String
- The version number of the database engine to use. For a list of valid engine versions, use the DescribeDBEngineVersionsaction. The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. Amazon Aurora Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. Db2 See Amazon RDS for Db2 in the Amazon RDS User Guide. MariaDB See MariaDB on Amazon RDS Versions in the Amazon RDS User Guide. Microsoft SQL Server See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. MySQL See MySQL on Amazon RDS Versions in the Amazon RDS User Guide. Oracle See Oracle Database Engine Release Notes in the Amazon RDS User Guide. PostgreSQL See Supported PostgreSQL Database Versions in the Amazon RDS User Guide.
- iops Number
- The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see Amazon RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS User Guide. If you specify io1for theStorageTypeproperty, then you must also specify theIopsproperty. Constraints: + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + For RDS for SQL Server - Must be a multiple between 1 and 50 of the storage amount for the DB instance.
- kmsKey StringId 
- The ARN of the AWS KMS key that's used to encrypt the DB instance, 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, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. If you specify theSourceDBInstanceIdentifierproperty, the value is inherited from the source DB instance if the read replica is created in the same region. If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. If you specify theSnapshotIdentifierproperty, theStorageEncryptedproperty value is inherited from the snapshot, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specifyDBSecurityGroups, AWS CloudFormation ignores this property. To specify both a security group and this property, you must use a VPC security group. For more information about Amazon RDS and VPC, see Using Amazon RDS with Amazon VPC in the Amazon RDS User Guide. Amazon Aurora Not applicable. The KMS key identifier is managed by the DB cluster.
- licenseModel String
- License model information for this DB instance. Valid Values: + Aurora MySQL - general-public-license+ Aurora PostgreSQL -postgresql-license+ RDS for Db2 -bring-your-own-license. For more information about RDS for Db2 licensing, see in the Amazon RDS User Guide. + RDS for MariaDB -general-public-license+ RDS for Microsoft SQL Server -license-included+ RDS for MySQL -general-public-license+ RDS for Oracle -bring-your-own-licenseorlicense-included+ RDS for PostgreSQL -postgresql-licenseIf you've specifiedDBSecurityGroupsand then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability.
- manageMaster BooleanUser Password 
- Specifies whether to manage the master user password with AWS Secrets Manager. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. Constraints: + Can't manage the master user password with AWS Secrets Manager if MasterUserPasswordis specified.
- masterUser StringPassword 
- The password for the master user. The password can include any printable ASCII character except '/', ''', or '@'. Amazon Aurora Not applicable. The password for the master user is managed by the DB cluster. RDS for Db2 Must contain from 8 to 255 characters. RDS for MariaDB Constraints: Must contain from 8 to 41 characters. RDS for Microsoft SQL Server Constraints: Must contain from 8 to 128 characters. RDS for MySQL Constraints: Must contain from 8 to 41 characters. RDS for Oracle Constraints: Must contain from 8 to 30 characters. RDS for PostgreSQL Constraints: Must contain from 8 to 128 characters.
- masterUser Property MapSecret 
- The secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide. The MasterUserSecretreturn value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. For more information, see Password management with Secrets Manager in the Amazon RDS User Guide and Password management with Secrets Manager in the Amazon Aurora User Guide.
- masterUsername String
- The master user name for the DB instance. If you specify the SourceDBInstanceIdentifierorDBSnapshotIdentifierproperty, don't specify this property. The value is inherited from the source DB instance or snapshot. When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. Amazon Aurora Not applicable. The name for the master user is managed by the DB cluster. RDS for Db2 Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MariaDB Constraints: + Must be 1 to 16 letters or numbers. + Can't be a reserved word for the chosen database engine. RDS for Microsoft SQL Server Constraints: + Must be 1 to 128 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for MySQL Constraints: + Must be 1 to 16 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for Oracle Constraints: + Must be 1 to 30 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine. RDS for PostgreSQL Constraints: + Must be 1 to 63 letters or numbers. + First character must be a letter. + Can't be a reserved word for the chosen database engine.
- maxAllocated NumberStorage 
- The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. For more information about this setting, including limitations that apply to it, see Managing capacity automatically with Amazon RDS storage autoscaling in the Amazon RDS User Guide. This setting doesn't apply to the following DB instances: + Amazon Aurora (Storage is managed by the DB cluster.) + RDS Custom
- monitoringInterval Number
- The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. If MonitoringRoleArnis specified, then you must setMonitoringIntervalto a value other than 0. This setting doesn't apply to RDS Custom. Valid Values:0, 1, 5, 10, 15, 30, 60
- monitoringRole StringArn 
- 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. IfMonitoringIntervalis set to a value other than0, then you must supply aMonitoringRoleArnvalue. This setting doesn't apply to RDS Custom DB instances.
- multiAZ Boolean
- Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the AvailabilityZoneparameter if theMultiAZparameter is set to true. For more information, see Multi-AZ deployments for high availability in the Amazon RDS User Guide. Amazon Aurora Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require theMultiAZoption to be set.
- ncharCharacter StringSet Name 
- The name of the NCHAR character set for the Oracle DB instance. This setting doesn't apply to RDS Custom DB instances.
- networkType String
- The network type of the DB instance. Valid values: + IPV4+DUALThe network type is determined by theDBSubnetGroupspecified for the DB instance. ADBSubnetGroupcan support only the IPv4 protocol or the IPv4 and IPv6 protocols (DUAL). For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.
- optionGroup StringName 
- Indicates that the DB instance should be associated with the specified option group. Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance.
- performanceInsights StringKMSKey Id 
- The AWS KMS key identifier for encryption of Performance Insights data. The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. For information about enabling Performance Insights, see EnablePerformanceInsights.
- performanceInsights NumberRetention Period 
- The number of days to retain Performance Insights data. This setting doesn't apply to RDS Custom DB instances. Valid Values: + 7+ month * 31, where month is a number of months from 1-23. Examples:93(3 months * 31),341(11 months * 31),589(19 months * 31) +731Default:7days If you specify a retention period that isn't valid, such as94, Amazon RDS returns an error.
- port String
- The port number on which the database accepts connections. Amazon Aurora Not applicable. The port number is managed by the DB cluster. Db2 Default value: 50000
- preferredBackup StringWindow 
- The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriodparameter. For more information, see Backup Window in the Amazon RDS User Guide. Constraints: + Must be in the formathh24:mi-hh24:mi. + Must be in Universal Coordinated Time (UTC). + Must not conflict with the preferred maintenance window. + Must be at least 30 minutes. Amazon Aurora Not applicable. The daily time range for creating automated backups is managed by the DB cluster.
- preferredMaintenance StringWindow 
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:miThe 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 Instance Maintenance Window in the Amazon RDS User Guide. This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. Constraints: Minimum 30-minute window.
- processorFeatures List<Property Map>
- The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
- promotionTier Number
- The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide. This setting doesn't apply to RDS Custom DB instances. Default: 1Valid Values:0 - 15
- publiclyAccessible Boolean
- Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. The default behavior value depends on your VPC setup and the database subnet group. For more information, see the PubliclyAccessibleparameter in the CreateDBInstance in the Amazon RDS API Reference.
- replicaMode String
- The open mode of an Oracle read replica. For more information, see Working with Oracle Read Replicas for Amazon RDS in the Amazon RDS User Guide. This setting is only supported in RDS for Oracle. Default: open-read-onlyValid Values:open-read-onlyormounted
- restoreTime String
- The date and time to restore from. Constraints: + Must be a time in Universal Coordinated Time (UTC) format. + Must be before the latest restorable time for the DB instance. + Can't be specified if the UseLatestRestorableTimeparameter is enabled. Example:2009-09-07T23:45:00Z
- sourceDBCluster StringIdentifier 
- The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. Constraints: + Must be the identifier of an existing Multi-AZ DB cluster. + Can't be specified if the SourceDBInstanceIdentifierparameter is also specified. + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported.
- sourceDBInstance StringAutomated Backups Arn 
- The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE. This setting doesn't apply to RDS Custom.
- sourceDBInstance StringIdentifier 
- If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see Working with Read Replicas in the Amazon RDS User Guide. For information about constraints that apply to DB instance identifiers, see Naming constraints in Amazon RDS in the Amazon RDS User Guide. The SourceDBInstanceIdentifierproperty determines whether a DB instance is a read replica. If you remove theSourceDBInstanceIdentifierproperty from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + If you specify a source DB instance that uses VPC security groups, we recommend that you specify theVPCSecurityGroupsproperty. If you don't specify the property, the read replica inherits the value of theVPCSecurityGroupsproperty from the source DB when you create the replica. However, if you update the stack, AWS CloudFormation reverts the replica'sVPCSecurityGroupsproperty to the default value because it's not defined in the stack's template. This change might cause unexpected issues. + Read replicas don't support deletion policies. AWS CloudFormation ignores any deletion policy that's associated with a read replica. + If you specifySourceDBInstanceIdentifier, don't specify theDBSnapshotIdentifierproperty. You can't create a read replica from a snapshot. + Don't set theBackupRetentionPeriod,DBName,MasterUsername,MasterUserPassword, andPreferredBackupWindowproperties. The database attributes are inherited from the source DB instance, and backups are disabled for read replicas. + If the source DB instance is in a different region than the read replica, specify the source region inSourceRegion, and specify an ARN for a valid DB instance inSourceDBInstanceIdentifier. For more information, see Constructing a Amazon RDS Amazon Resource Name (ARN) in the Amazon RDS User Guide. + For DB instances in Amazon Aurora clusters, don't specify this property. Amazon RDS automatically assigns writer and reader DB instances.
- sourceDbi StringResource Id 
- The resource ID of the source DB instance from which to restore.
- sourceRegion String
- The ID of the region that contains the source DB instance for the read replica.
- storageEncrypted Boolean
- A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. If you specify the KmsKeyIdproperty, then you must enable encryption. If you specify theSourceDBInstanceIdentifierproperty, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specifiedKmsKeyIdproperty is used. If you specify theDBSnapshotIdentifierand the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify theKmsKeyIdproperty for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it tofalse. Amazon Aurora Not applicable. The encryption for DB instances is managed by the DB cluster.
- storageThroughput Number
- Specifies the storage throughput value for the DB instance. This setting applies only to the gp3storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
- storageType String
- The storage type to associate with the DB instance. If you specify io1,io2, orgp3, you must also include a value for theIopsparameter. This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster. Valid Values:gp2 | gp3 | io1 | io2 | standardDefault:io1, if theIopsparameter is specified. Otherwise,gp2.
- List<Property Map>
- An optional array of key-value pairs to apply to this DB instance.
- tdeCredential StringArn 
- Property tdeCredentialArn
- tdeCredential StringPassword 
- Property tdeCredentialPassword
- timezone String
- The time zone of the DB instance. The time zone parameter is currently supported only by Microsoft SQL Server.
- useDefault BooleanProcessor Features 
- Specifies whether the DB instance class of the DB instance uses its default processor features. This setting doesn't apply to RDS Custom DB instances.
- useLatest BooleanRestorable Time 
- Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. Constraints: + Can't be specified if the RestoreTimeparameter is provided.
- vpcSecurity List<String>Groups 
- A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to AWS::EC2::SecurityGroup resources created in the template. If you plan to update the resource, don't specify VPC security groups in a shared VPC. If you set VPCSecurityGroups, you must not set DBSecurityGroups, and vice versa. You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + You can't revert to using an RDS security group after you establish a VPC security group membership. + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instance update fails or because an update fails in another AWS CloudFormation resource, the rollback fails because it can't revert to an RDS security group. + To use the properties that are available when you use a VPC security group, you must recreate the DB instance. If you don't, AWS CloudFormation submits only the property values that are listed in the DBSecurityGroups property. To avoid this situation, migrate your DB instance to using VPC security groups only when that is the only change in your stack template. Amazon Aurora Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
CertificateDetailsResponse  
- CaIdentifier string
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- ValidTill string
- The expiration date of the DB instance’s server certificate.
- CaIdentifier string
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- ValidTill string
- The expiration date of the DB instance’s server certificate.
- caIdentifier String
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- validTill String
- The expiration date of the DB instance’s server certificate.
- caIdentifier string
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- validTill string
- The expiration date of the DB instance’s server certificate.
- ca_identifier str
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- valid_till str
- The expiration date of the DB instance’s server certificate.
- caIdentifier String
- The CA identifier of the CA certificate used for the DB instance's server certificate.
- validTill String
- The expiration date of the DB instance’s server certificate.
DBInstanceRoleResponse  
- FeatureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- FeatureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- featureName String
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- featureName string
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- feature_name str
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in 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 instance.
- featureName String
- The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the SupportedFeatureNamesdescription in DBEngineVersion in the Amazon RDS API Reference.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
MasterUserSecretResponse   
- 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.
ProcessorFeatureResponse  
RdsDBInstancePropertiesResponse   
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties Pulumi.Azure Native. Aws Connector. Inputs. Aws Rds DBInstance Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- ProvisioningState string
- The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- AwsAccount stringId 
- AWS Account ID
- AwsProperties AwsRds DBInstance Properties Response 
- AWS Properties
- AwsRegion string
- AWS Region
- AwsSource stringSchema 
- AWS Source Schema
- map[string]string
- AWS Tags
- PublicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- PublicCloud stringResource Name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties AwsRds DBInstance Properties Response 
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String,String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
- provisioningState string
- The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- awsAccount stringId 
- AWS Account ID
- awsProperties AwsRds DBInstance Properties Response 
- AWS Properties
- awsRegion string
- AWS Region
- awsSource stringSchema 
- AWS Source Schema
- {[key: string]: string}
- AWS Tags
- publicCloud stringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud stringResource Name 
- Public Cloud Resource Name
- provisioning_state str
- The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_account_ strid 
- AWS Account ID
- aws_properties AwsRds DBInstance Properties Response 
- AWS Properties
- aws_region str
- AWS Region
- aws_source_ strschema 
- AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_cloud_ strconnectors_ resource_ id 
- Public Cloud Connectors Resource ID
- public_cloud_ strresource_ name 
- Public Cloud Resource Name
- provisioningState String
- The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- awsAccount StringId 
- AWS Account ID
- awsProperties Property Map
- AWS Properties
- awsRegion String
- AWS Region
- awsSource StringSchema 
- AWS Source Schema
- Map<String>
- AWS Tags
- publicCloud StringConnectors Resource Id 
- Public Cloud Connectors Resource ID
- publicCloud StringResource Name 
- Public Cloud Resource Name
RdsDbInstanceEndpointResponse    
- Address string
- Specifies the DNS address of the DB instance.
- HostedZone stringId 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- Port string
- Specifies the port that the database engine is listening on.
- Address string
- Specifies the DNS address of the DB instance.
- HostedZone stringId 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- Port string
- Specifies the port that the database engine is listening on.
- address String
- Specifies the DNS address of the DB instance.
- hostedZone StringId 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- port String
- Specifies the port that the database engine is listening on.
- address string
- Specifies the DNS address of the DB instance.
- hostedZone stringId 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- port string
- Specifies the port that the database engine is listening on.
- address str
- Specifies the DNS address of the DB instance.
- hosted_zone_ strid 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- port str
- Specifies the port that the database engine is listening on.
- address String
- Specifies the DNS address of the DB instance.
- hostedZone StringId 
- Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
- port String
- Specifies the port that the database engine is listening on.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TagResponse 
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi