File: //usr/lib/python3/dist-packages/boto/rds/__pycache__/dbinstance.cpython-310.pyc
o
ckF[�C � @ s| d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ G dd� de�Z
G d d
� d
e�ZG dd� de�Zd
S )� )�DBSecurityGroup)�ParameterGroup)�
StatusInfo)�
DBSubnetGroup)�VPCSecurityGroupMembership)� ResultSetc @ s� e Zd ZdZddd�Zdd� Zdd� Zd d
� Zedd� �Z ed
d� �Z
dd� Zdd� Zddd�Z
ddd�Z ddd�ZdS )�
DBInstancea�
Represents a RDS DBInstance
Properties reference available from the AWS documentation at
http://goo.gl/sC2Kn
:ivar connection: connection
:ivar id: The name and identifier of the DBInstance
:ivar create_time: The date and time of creation
:ivar engine: The database engine being used
:ivar status: The status of the database in a string. e.g. "available"
:ivar allocated_storage: The size of the disk in gigabytes (int).
:ivar auto_minor_version_upgrade: Indicates that minor version patches
are applied automatically.
:ivar endpoint: A tuple that describes the hostname and port of
the instance. This is only available when the database is
in status "available".
:ivar instance_class: Contains the name of the compute and memory
capacity class of the DB Instance.
:ivar master_username: The username that is set as master username
at creation time.
:ivar parameter_groups: Provides the list of DB Parameter Groups
applied to this DB Instance.
:ivar security_groups: Provides List of DB Security Group elements
containing only DBSecurityGroup.Name and DBSecurityGroup.Status
subelements.
:ivar availability_zone: Specifies the name of the Availability Zone
the DB Instance is located in.
:ivar backup_retention_period: Specifies the number of days for
which automatic DB Snapshots are retained.
:ivar preferred_backup_window: Specifies the daily time range during
which automated backups are created if automated backups are
enabled, as determined by the backup_retention_period.
:ivar preferred_maintenance_window: Specifies the weekly time
range (in UTC) during which system maintenance can occur. (string)
:ivar latest_restorable_time: Specifies the latest time to which
a database can be restored with point-in-time restore. (string)
:ivar multi_az: Boolean that specifies if the DB Instance is a
Multi-AZ deployment.
:ivar iops: The current number of provisioned IOPS for the DB Instance.
Can be None if this is a standard instance.
:ivar vpc_security_groups: List of VPC Security Group Membership elements
containing only VpcSecurityGroupMembership.VpcSecurityGroupId and
VpcSecurityGroupMembership.Status subelements.
:ivar pending_modified_values: Specifies that changes to the
DB Instance are pending. This element is only included when changes
are pending. Specific changes are identified by subelements.
:ivar read_replica_dbinstance_identifiers: List of read replicas
associated with this DB instance.
:ivar status_infos: The status of a Read Replica. If the instance is not a
for a read replica, this will be blank.
:ivar character_set_name: If present, specifies the name of the character
set that this instance is associated with.
:ivar subnet_group: Specifies information on the subnet group associated
with the DB instance, including the name, description, and subnets
in the subnet group.
:ivar engine_version: Indicates the database engine version.
:ivar license_model: License model information for this DB instance.
Nc C s� || _ || _d | _d | _d | _d | _d | _d | _d | _d | _ g | _
g | _g | _d | _
d | _d | _d | _d | _d| _d | _d | _d | _d| _d | _d | _d | _d | _d | _d | _d | _d S )NF)�
connection�id�create_time�engine�status�allocated_storage�auto_minor_version_upgrade�endpoint�instance_class�master_username�parameter_groups�security_groups�#read_replica_dbinstance_identifiers�availability_zone�backup_retention_period�preferred_backup_window�preferred_maintenance_window�latest_restorable_time�multi_az�iops�vpc_security_groups�pending_modified_values�_in_endpoint�_port�_address�status_infos�character_set_name�subnet_group�engine_version�
license_model)�selfr r
� r( �5/usr/lib/python3/dist-packages/boto/rds/dbinstance.py�__init__[ s<