AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This data type is used as a response element in the DescribeDBInstances action.
Version: (assembly version)
public class DBInstance : Object
The DBInstance type exposes the following members
Gets and sets the property AllocatedStorage.
Specifies the allocated storage size specified in gigabytes.
Gets and sets the property AutoMinorVersionUpgrade.
Indicates that minor version patches are applied automatically.
Gets and sets the property AvailabilityZone.
Specifies the name of the Availability Zone the DB instance is located in.
Gets and sets the property BackupRetentionPeriod.
Specifies the number of days for which automatic DB snapshots are retained.
Gets and sets the property CACertificateIdentifier.
The identifier of the CA certificate for this DB instance.
Gets and sets the property CharacterSetName.
If present, specifies the name of the character set that this instance is associated with.
Gets and sets the property CopyTagsToSnapshot.
Specifies whether tags are copied from the DB instance to snapshots of the DB instance.
Gets and sets the property DBClusterIdentifier.
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
Gets and sets the property DBInstanceClass.
Contains the name of the compute and memory capacity class of the DB instance.
Gets and sets the property DBInstanceIdentifier.
Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.
Gets and sets the property DbInstancePort.
Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.
Gets and sets the property DBInstanceStatus.
Specifies the current state of this database.
Gets and sets the property DbiResourceId.
The region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the KMS key for the DB instance is accessed.
Gets and sets the property DBName.
The meaning of this parameter differs according to the database engine you use. For example, this value returns MySQL, MariaDB, or PostgreSQL information when returning values from CreateDBInstanceReadReplica since Read Replicas are only supported for these engines.
MySQL, MariaDB, SQL Server, PostgreSQL, Amazon Aurora
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not apply to an Oracle DB instance.
Gets and sets the property DBParameterGroups.
Provides the list of DB parameter groups applied to this DB instance.
Gets and sets the property DBSecurityGroups.
Provides List of DB security group elements containing only
Gets and sets the property DBSubnetGroup.
Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.
Gets and sets the property Endpoint.
Specifies the connection endpoint.
Gets and sets the property Engine.
Provides the name of the database engine to be used for this DB instance.
Gets and sets the property EngineVersion.
Indicates the database engine version.
Gets and sets the property EnhancedMonitoringResourceArn.
The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.
Gets and sets the property InstanceCreateTime.
Provides the date and time the DB instance was created.
Gets and sets the property Iops.
Specifies the Provisioned IOPS (I/O operations per second) value.
Gets and sets the property KmsKeyId.
Gets and sets the property LatestRestorableTime.
Specifies the latest time to which a database can be restored with point-in-time restore.
Gets and sets the property LicenseModel.
License model information for this DB instance.
Gets and sets the property MasterUsername.
Contains the master username for the DB instance.
Gets and sets the property MonitoringInterval.
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
Gets and sets the property MonitoringRoleArn.
The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
Gets and sets the property MultiAZ.
Specifies if the DB instance is a Multi-AZ deployment.
Gets and sets the property OptionGroupMemberships.
Provides the list of option group memberships for this DB instance.
Gets and sets the property PendingModifiedValues.
Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.
Gets and sets the property PreferredBackupWindow.
Specifies the daily time range during which automated backups are created if automated
backups are enabled, as determined by the
Gets and sets the property PreferredMaintenanceWindow.
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Gets and sets the property PubliclyAccessible.
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.
Gets and sets the property ReadReplicaDBInstanceIdentifiers.
Contains one or more identifiers of the Read Replicas associated with this DB instance.
Gets and sets the property ReadReplicaSourceDBInstanceIdentifier.
Contains the identifier of the source DB instance if this DB instance is a Read Replica.
Gets and sets the property SecondaryAvailabilityZone.
If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
Gets and sets the property StatusInfos.
The status of a Read Replica. If the instance is not a Read Replica, this will be blank.
Gets and sets the property StorageEncrypted.
Specifies whether the DB instance is encrypted.
Gets and sets the property StorageType.
Specifies the storage type associated with DB instance.
Gets and sets the property TdeCredentialArn.
The ARN from the Key Store with which the instance is associated for TDE encryption.
Gets and sets the property VpcSecurityGroups.
Provides List of VPC security group elements that the DB instance belongs to.
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1