You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RDS::Types::DBCluster

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_storageInteger

For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gigabytes (GB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size is not fixed, but instead automatically adjusts as needed.

Returns:

  • (Integer)

    For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gigabytes (GB).

#associated_rolesArray<Types::DBClusterRole>

Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.

Returns:

  • (Array<Types::DBClusterRole>)

    Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster.

#availability_zonesArray<String>

Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.

Returns:

  • (Array<String>)

    Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.

#backup_retention_periodInteger

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

Returns:

  • (Integer)

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

#character_set_nameString

If present, specifies the name of the character set that this cluster is associated with.

Returns:

  • (String)

    If present, specifies the name of the character set that this cluster is associated with.

#clone_group_idString

Identifies the clone group to which the DB cluster is associated.

Returns:

  • (String)

    Identifies the clone group to which the DB cluster is associated.

#cluster_create_timeTime

Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

Returns:

  • (Time)

    Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

#database_nameString

Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created. This same name is returned for the life of the DB cluster.

Returns:

  • (String)

    Contains the name of the initial database of this DB cluster that was provided at create time, if one was specified when the DB cluster was created.

#db_cluster_arnString

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

Returns:

  • (String)

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

#db_cluster_identifierString

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

Returns:

  • (String)

    Contains a user-supplied DB cluster identifier.

#db_cluster_membersArray<Types::DBClusterMember>

Provides the list of instances that make up the DB cluster.

Returns:

#db_cluster_option_group_membershipsArray<Types::DBClusterOptionGroupStatus>

Provides the list of option group memberships for this DB cluster.

Returns:

#db_cluster_parameter_groupString

Specifies the name of the DB cluster parameter group for the DB cluster.

Returns:

  • (String)

    Specifies the name of the DB cluster parameter group for the DB cluster.

#db_cluster_resource_idString

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

Returns:

  • (String)

    The AWS Region-unique, immutable identifier for the DB cluster.

#db_subnet_groupString

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

Returns:

  • (String)

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

#earliest_restorable_timeTime

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

Returns:

  • (Time)

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

#endpointString

Specifies the connection endpoint for the primary instance of the DB cluster.

Returns:

  • (String)

    Specifies the connection endpoint for the primary instance of the DB cluster.

#engineString

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

Returns:

  • (String)

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

#engine_versionString

Indicates the database engine version.

Returns:

  • (String)

    Indicates the database engine version.

#hosted_zone_idString

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

Returns:

  • (String)

    Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

#iam_database_authentication_enabledBoolean

True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

Returns:

  • (Boolean)

    True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

#kms_key_idString

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster.

Returns:

  • (String)

    If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster.

#latest_restorable_timeTime

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

Returns:

  • (Time)

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

#master_usernameString

Contains the master username for the DB cluster.

Returns:

  • (String)

    Contains the master username for the DB cluster.

#multi_azBoolean

Specifies whether the DB cluster has instances in multiple Availability Zones.

Returns:

  • (Boolean)

    Specifies whether the DB cluster has instances in multiple Availability Zones.

#percent_progressString

Specifies the progress of the operation as a percentage.

Returns:

  • (String)

    Specifies the progress of the operation as a percentage.

#portInteger

Specifies the port that the database engine is listening on.

Returns:

  • (Integer)

    Specifies the port that the database engine is listening on.

#preferred_backup_windowString

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

Returns:

  • (String)

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

#preferred_maintenance_windowString

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

Returns:

  • (String)

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

#read_replica_identifiersArray<String>

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

Returns:

  • (Array<String>)

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

#reader_endpointString

The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.

If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.

Returns:

  • (String)

    The reader endpoint for the DB cluster.

#replication_source_identifierString

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

Returns:

  • (String)

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

#statusString

Specifies the current state of this DB cluster.

Returns:

  • (String)

    Specifies the current state of this DB cluster.

#storage_encryptedBoolean

Specifies whether the DB cluster is encrypted.

Returns:

  • (Boolean)

    Specifies whether the DB cluster is encrypted.

#vpc_security_groupsArray<Types::VpcSecurityGroupMembership>

Provides a list of VPC security groups that the DB cluster belongs to.

Returns: