View a markdown version of this page

DataGroup - Amazon Relational Database Service

DataGroup

Describes a data group. A data group is a container for one or more databases in an Aurora DB cluster that you manage as a single unit.

This data type is used as a response element in the CreateDataGroup, DeleteDataGroup, DescribeDataGroups, ModifyDataGroup, and MoveDataGroup actions.

Contents

Note

In the following list, the required parameters are described first.

AdditionalEncryptionContext
AdditionalEncryptionContext.entry.N.key (key)
AdditionalEncryptionContext.entry.N.value (value)

The encryption context for the data group. For more information, see Encryption context in the AWS Key Management Service Developer Guide.

Type: String to string map

Required: No

DataGroupArn

The Amazon Resource Name (ARN) for the data group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: arn:aws[a-z\-]*:rds(-[a-z]*)?:[a-z0-9\-]*:[0-9]*:data-group:dg-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: No

DataGroupCreateTime

The time when the data group was created, in Universal Coordinated Time (UTC).

Type: Timestamp

Required: No

DataGroupIdentifier

The identifier of the data group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: (arn:aws[a-z\-]*:rds(-[a-z]*)?:[a-z0-9\-]*:[0-9]*:data-group:)?dg-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: No

DataGroupName

The name of the data group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9]*([-][a-zA-Z0-9]+)*

Required: No

DBClusterIdentifier

The identifier of the DB cluster that contains the data group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [A-Za-z][0-9A-Za-z-:._]*

Required: No

Endpoint

The writer endpoint of the data group. This value is returned only when the data group endpoint is enabled.

Type: String

Required: No

HostedZoneId

The ID of the Amazon Route 53 hosted zone of the data group endpoint.

Type: String

Required: No

KmsKeyId

The AWS KMS key identifier for the key used to encrypt the data group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [a-zA-Z0-9_:\-\/]+

Required: No

ReaderEndpoint

The reader endpoint of the data group. This value is returned only when the data group endpoint is enabled.

Type: String

Required: No

Status

The status of the data group.

Valid Values:

  • creating – Amazon RDS is creating the data group.

  • create-failed – Amazon RDS couldn't create the data group. This status is final. Delete the data group and create it again.

  • active – The data group is ready to use.

  • modifying – Amazon RDS is modifying the data group.

  • preparing-for-move – Amazon RDS is preparing to move the data group to the target DB cluster. Schema changes (DDL) are refused until the move ends or is canceled. You can run cancel-move.

  • ready-to-move – The data group is ready to move. You can run execute-move or cancel-move.

  • move-in-progress – Amazon RDS is moving the data group to the target DB cluster. Writes to the data group are refused. You can't cancel the move.

  • cancelling-move – Amazon RDS is canceling the move.

  • restoring – Amazon RDS is restoring the data group in a restored DB cluster. The data group becomes active after the DB cluster has an available writer DB instance.

  • inaccessible-encryption-credentials – Amazon RDS can't access the KMS key for the data group. This status is final. Enabling the KMS key again doesn't recover the data group. You can delete the data group, or restore the DB cluster from a backup.

  • deleting – Amazon RDS is deleting the data group.

Type: String

Valid Values: creating | create-failed | active | inaccessible-encryption-credentials | preparing-for-move | cancelling-move | ready-to-move | move-in-progress | deleting | restoring | modifying

Required: No

StorageEncryptionType

The type of encryption used to protect data at rest in the data group. Possible values:

  • none – The data group isn't encrypted.

  • sse-rds – The data group is encrypted using an AWS owned KMS key.

  • sse-kms – The data group is encrypted using a customer managed KMS key or AWS managed KMS key.

Type: String

Valid Values: none | sse-kms | sse-rds

Required: No

TagList.Tag.N

The tags assigned to the data group.

Type: Array of Tag objects

Required: No

TargetDBClusterIdentifier

The identifier of the DB cluster that the data group is moving to. This value is returned only while a move is pending.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [A-Za-z][0-9A-Za-z-:._]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: