Skip to content

DBInstance

Source code in docs_src/capo_neptune/types/db_instance.py
class DBInstance(TypedDict, closed=True):
    db_instance_identifier: NotRequired["capo_neptune.types.string.String"]
    """<p>Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.</p>"""
    db_instance_class: NotRequired["capo_neptune.types.string.String"]
    """<p>Contains the name of the compute and memory capacity class of the DB instance.</p>"""
    engine: NotRequired["capo_neptune.types.string.String"]
    """<p>Provides the name of the database engine to be used for this DB instance.</p>"""
    db_instance_status: NotRequired["capo_neptune.types.string.String"]
    """<p>Specifies the current state of this database.</p>"""
    master_username: NotRequired["capo_neptune.types.string.String"]
    """<p>Not supported by Neptune.</p>"""
    db_name: NotRequired["capo_neptune.types.string.String"]
    """<p>The database name.</p>"""
    endpoint: NotRequired["capo_neptune.types.endpoint.Endpoint"]
    """<p>Specifies the connection endpoint.</p>"""
    allocated_storage: NotRequired["capo_neptune.types.integer.Integer"]
    """<p>Not supported by Neptune.</p>"""
    instance_create_time: NotRequired["capo_neptune.types.t_stamp.TStamp"]
    """<p>Provides the date and time the DB instance was created.</p>"""
    preferred_backup_window: NotRequired["capo_neptune.types.string.String"]
    """<p> Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the <code>BackupRetentionPeriod</code>.</p>"""
    backup_retention_period: NotRequired["capo_neptune.types.integer.Integer"]
    """<p>Specifies the number of days for which automatic DB snapshots are retained.</p>"""
    db_security_groups: NotRequired[
        "capo_neptune.types.db_security_group_membership_list.DBSecurityGroupMembershipList"
    ]
    """<p> Provides List of DB security group elements containing only <code>DBSecurityGroup.Name</code> and <code>DBSecurityGroup.Status</code> subelements.</p>"""
    vpc_security_groups: NotRequired[
        "capo_neptune.types.vpc_security_group_membership_list.VpcSecurityGroupMembershipList"
    ]
    """<p>Provides a list of VPC security group elements that the DB instance belongs to.</p>"""
    db_parameter_groups: NotRequired[
        "capo_neptune.types.db_parameter_group_status_list.DBParameterGroupStatusList"
    ]
    """<p>Provides the list of DB parameter groups applied to this DB instance.</p>"""
    availability_zone: NotRequired["capo_neptune.types.string.String"]
    """<p>Specifies the name of the Availability Zone the DB instance is located in.</p>"""
    db_subnet_group: NotRequired["capo_neptune.types.db_subnet_group.DBSubnetGroup"]
    """<p>Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.</p>"""
    preferred_maintenance_window: NotRequired["capo_neptune.types.string.String"]
    """<p>Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).</p>"""
    pending_modified_values: NotRequired[
        "capo_neptune.types.pending_modified_values.PendingModifiedValues"
    ]
    """<p>Specifies that changes to the DB instance are pending. This element is only included when changes are pending. Specific changes are identified by subelements.</p>"""
    latest_restorable_time: NotRequired["capo_neptune.types.t_stamp.TStamp"]
    """<p>Specifies the latest time to which a database can be restored with point-in-time restore.</p>"""
    multi_az: NotRequired["capo_neptune.types.boolean.Boolean"]
    """<p>Specifies if the DB instance is a Multi-AZ deployment.</p>"""
    engine_version: NotRequired["capo_neptune.types.string.String"]
    """<p>Indicates the database engine version.</p>"""
    auto_minor_version_upgrade: NotRequired["capo_neptune.types.boolean.Boolean"]
    """<p>Indicates that minor version patches are applied automatically.</p>"""
    read_replica_source_db_instance_identifier: NotRequired[
        "capo_neptune.types.string.String"
    ]
    """<p>Contains the identifier of the source DB instance if this DB instance is a Read Replica.</p>"""
    read_replica_db_instance_identifiers: NotRequired[
        "capo_neptune.types.read_replica_db_instance_identifier_list.ReadReplicaDBInstanceIdentifierList"
    ]
    """<p>Contains one or more identifiers of the Read Replicas associated with this DB instance.</p>"""
    read_replica_db_cluster_identifiers: NotRequired[
        "capo_neptune.types.read_replica_db_cluster_identifier_list.ReadReplicaDBClusterIdentifierList"
    ]
    """<p>Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.</p>"""
    license_model: NotRequired["capo_neptune.types.string.String"]
    """<p>License model information for this DB instance.</p>"""
    iops: NotRequired["capo_neptune.types.integer_optional.IntegerOptional"]
    """<p>Specifies the Provisioned IOPS (I/O operations per second) value.</p>"""
    option_group_memberships: NotRequired[
        "capo_neptune.types.option_group_membership_list.OptionGroupMembershipList"
    ]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    character_set_name: NotRequired["capo_neptune.types.string.String"]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    secondary_availability_zone: NotRequired["capo_neptune.types.string.String"]
    """<p>If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.</p>"""
    publicly_accessible: NotRequired["capo_neptune.types.boolean.Boolean"]
    """<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>"""
    status_infos: NotRequired[
        "capo_neptune.types.db_instance_status_info_list.DBInstanceStatusInfoList"
    ]
    """<p>The status of a Read Replica. If the instance is not a Read Replica, this is blank.</p>"""
    storage_type: NotRequired["capo_neptune.types.string.String"]
    """<p>Specifies the storage type associated with the DB instance.</p>"""
    tde_credential_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The ARN from the key store with which the instance is associated for TDE encryption.</p>"""
    db_instance_port: NotRequired["capo_neptune.types.integer.Integer"]
    """<p>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.</p>"""
    db_cluster_identifier: NotRequired["capo_neptune.types.string.String"]
    """<p>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.</p>"""
    storage_encrypted: NotRequired["capo_neptune.types.boolean.Boolean"]
    """<p>Not supported: The encryption for DB instances is managed by the DB cluster.</p>"""
    kms_key_id: NotRequired["capo_neptune.types.string.String"]
    """<p> Not supported: The encryption for DB instances is managed by the DB cluster.</p>"""
    dbi_resource_id: NotRequired["capo_neptune.types.string.String"]
    """<p>The Amazon Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB instance is accessed.</p>"""
    ca_certificate_identifier: NotRequired["capo_neptune.types.string.String"]
    """<p>The identifier of the CA certificate for this DB instance.</p>"""
    domain_memberships: NotRequired[
        "capo_neptune.types.domain_membership_list.DomainMembershipList"
    ]
    """<p>Not supported</p>"""
    copy_tags_to_snapshot: NotRequired["capo_neptune.types.boolean.Boolean"]
    """<p>Specifies whether tags are copied from the DB instance to snapshots of the DB instance.</p>"""
    monitoring_interval: NotRequired[
        "capo_neptune.types.integer_optional.IntegerOptional"
    ]
    """<p>The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.</p>"""
    enhanced_monitoring_resource_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.</p>"""
    monitoring_role_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.</p>"""
    promotion_tier: NotRequired["capo_neptune.types.integer_optional.IntegerOptional"]
    """<p>A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance. </p>"""
    db_instance_arn: NotRequired["capo_neptune.types.string.String"]
    """<p>The Amazon Resource Name (ARN) for the DB instance.</p>"""
    timezone: NotRequired["capo_neptune.types.string.String"]
    """<p>Not supported.</p>"""
    iam_database_authentication_enabled: NotRequired[
        "capo_neptune.types.boolean.Boolean"
    ]
    """<p>True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.</p>"""
    performance_insights_enabled: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    performance_insights_kms_key_id: NotRequired["capo_neptune.types.string.String"]
    """<p> <i>(Not supported by Neptune)</i> </p>"""
    enabled_cloudwatch_logs_exports: NotRequired[
        "capo_neptune.types.log_type_list.LogTypeList"
    ]
    """<p>A list of log types that this DB instance is configured to export to CloudWatch Logs.</p>"""
    deletion_protection: NotRequired[
        "capo_neptune.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates whether or not the DB instance has deletion protection enabled. The instance can't be deleted when deletion protection is enabled. See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html">Deleting a DB Instance</a>.</p>"""
    network_type: NotRequired["capo_neptune.types.string.String"]
    """<p>The network type of the DB instance. Inherited from the DB cluster.</p> <p>Valid Values: <code>IPV4</code>, <code>DUAL</code> </p>"""

allocated_storage instance-attribute

allocated_storage: NotRequired[Integer]

Not supported by Neptune.

auto_minor_version_upgrade instance-attribute

auto_minor_version_upgrade: NotRequired[Boolean]

Indicates that minor version patches are applied automatically.

availability_zone instance-attribute

availability_zone: NotRequired[String]

Specifies the name of the Availability Zone the DB instance is located in.

backup_retention_period instance-attribute

backup_retention_period: NotRequired[Integer]

Specifies the number of days for which automatic DB snapshots are retained.

ca_certificate_identifier instance-attribute

ca_certificate_identifier: NotRequired[String]

The identifier of the CA certificate for this DB instance.

character_set_name instance-attribute

character_set_name: NotRequired[String]

(Not supported by Neptune)

copy_tags_to_snapshot instance-attribute

copy_tags_to_snapshot: NotRequired[Boolean]

Specifies whether tags are copied from the DB instance to snapshots of the DB instance.

db_cluster_identifier instance-attribute

db_cluster_identifier: NotRequired[String]

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.

db_instance_arn instance-attribute

db_instance_arn: NotRequired[String]

The Amazon Resource Name (ARN) for the DB instance.

db_instance_class instance-attribute

db_instance_class: NotRequired[String]

Contains the name of the compute and memory capacity class of the DB instance.

db_instance_identifier instance-attribute

db_instance_identifier: NotRequired[String]

Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.

db_instance_port instance-attribute

db_instance_port: NotRequired[Integer]

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.

db_instance_status instance-attribute

db_instance_status: NotRequired[String]

Specifies the current state of this database.

db_name instance-attribute

db_name: NotRequired[String]

The database name.

db_parameter_groups instance-attribute

db_parameter_groups: NotRequired[DBParameterGroupStatusList]

Provides the list of DB parameter groups applied to this DB instance.

db_security_groups instance-attribute

db_security_groups: NotRequired[DBSecurityGroupMembershipList]

Provides List of DB security group elements containing only DBSecurityGroup.Name and DBSecurityGroup.Status subelements.

db_subnet_group instance-attribute

db_subnet_group: NotRequired[DBSubnetGroup]

Specifies information on the subnet group associated with the DB instance, including the name, description, and subnets in the subnet group.

dbi_resource_id instance-attribute

dbi_resource_id: NotRequired[String]

The Amazon Region-unique, immutable identifier for the DB instance. This identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key for the DB instance is accessed.

deletion_protection instance-attribute

deletion_protection: NotRequired[BooleanOptional]

Indicates whether or not the DB instance has deletion protection enabled. The instance can't be deleted when deletion protection is enabled. See Deleting a DB Instance.

domain_memberships instance-attribute

domain_memberships: NotRequired[DomainMembershipList]

Not supported

enabled_cloudwatch_logs_exports instance-attribute

enabled_cloudwatch_logs_exports: NotRequired[LogTypeList]

A list of log types that this DB instance is configured to export to CloudWatch Logs.

endpoint instance-attribute

endpoint: NotRequired[Endpoint]

Specifies the connection endpoint.

engine instance-attribute

engine: NotRequired[String]

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

engine_version instance-attribute

engine_version: NotRequired[String]

Indicates the database engine version.

enhanced_monitoring_resource_arn instance-attribute

enhanced_monitoring_resource_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that receives the Enhanced Monitoring metrics data for the DB instance.

iam_database_authentication_enabled instance-attribute

iam_database_authentication_enabled: NotRequired[Boolean]

True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.

instance_create_time instance-attribute

instance_create_time: NotRequired[TStamp]

Provides the date and time the DB instance was created.

iops instance-attribute

iops: NotRequired[IntegerOptional]

Specifies the Provisioned IOPS (I/O operations per second) value.

kms_key_id instance-attribute

kms_key_id: NotRequired[String]

Not supported: The encryption for DB instances is managed by the DB cluster.

latest_restorable_time instance-attribute

latest_restorable_time: NotRequired[TStamp]

Specifies the latest time to which a database can be restored with point-in-time restore.

license_model instance-attribute

license_model: NotRequired[String]

License model information for this DB instance.

master_username instance-attribute

master_username: NotRequired[String]

Not supported by Neptune.

monitoring_interval instance-attribute

monitoring_interval: NotRequired[IntegerOptional]

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.

monitoring_role_arn instance-attribute

monitoring_role_arn: NotRequired[String]

The ARN for the IAM role that permits Neptune to send Enhanced Monitoring metrics to Amazon CloudWatch Logs.

multi_az instance-attribute

multi_az: NotRequired[Boolean]

Specifies if the DB instance is a Multi-AZ deployment.

network_type instance-attribute

network_type: NotRequired[String]

The network type of the DB instance. Inherited from the DB cluster.

Valid Values: IPV4, DUAL

option_group_memberships instance-attribute

option_group_memberships: NotRequired[OptionGroupMembershipList]

(Not supported by Neptune)

pending_modified_values instance-attribute

pending_modified_values: NotRequired[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.

performance_insights_enabled instance-attribute

performance_insights_enabled: NotRequired[BooleanOptional]

(Not supported by Neptune)

performance_insights_kms_key_id instance-attribute

performance_insights_kms_key_id: NotRequired[String]

(Not supported by Neptune)

preferred_backup_window instance-attribute

preferred_backup_window: NotRequired[String]

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

preferred_maintenance_window instance-attribute

preferred_maintenance_window: NotRequired[String]

Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

promotion_tier instance-attribute

promotion_tier: NotRequired[IntegerOptional]

A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.

publicly_accessible instance-attribute

publicly_accessible: NotRequired[Boolean]

Indicates whether the DB instance is publicly accessible.

When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

read_replica_db_cluster_identifiers instance-attribute

read_replica_db_cluster_identifiers: NotRequired[ReadReplicaDBClusterIdentifierList]

Contains one or more identifiers of DB clusters that are Read Replicas of this DB instance.

read_replica_db_instance_identifiers instance-attribute

read_replica_db_instance_identifiers: NotRequired[ReadReplicaDBInstanceIdentifierList]

Contains one or more identifiers of the Read Replicas associated with this DB instance.

read_replica_source_db_instance_identifier instance-attribute

read_replica_source_db_instance_identifier: NotRequired[String]

Contains the identifier of the source DB instance if this DB instance is a Read Replica.

secondary_availability_zone instance-attribute

secondary_availability_zone: NotRequired[String]

If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.

status_infos instance-attribute

status_infos: NotRequired[DBInstanceStatusInfoList]

The status of a Read Replica. If the instance is not a Read Replica, this is blank.

storage_encrypted instance-attribute

storage_encrypted: NotRequired[Boolean]

Not supported: The encryption for DB instances is managed by the DB cluster.

storage_type instance-attribute

storage_type: NotRequired[String]

Specifies the storage type associated with the DB instance.

tde_credential_arn instance-attribute

tde_credential_arn: NotRequired[String]

The ARN from the key store with which the instance is associated for TDE encryption.

timezone instance-attribute

timezone: NotRequired[String]

Not supported.

vpc_security_groups instance-attribute

vpc_security_groups: NotRequired[VpcSecurityGroupMembershipList]

Provides a list of VPC security group elements that the DB instance belongs to.