Skip to content

TagSpecification

Structure Class

TagSpecification dataclass

Bases: _SerdeShape

The tags to apply to resources when creating or modifying a DB instance or DB cluster, or when copying a DB instance snapshot. When you specify a tag, you must specify the resource type to tag, otherwise the request will fail.

Attributes

resource_type class-attribute instance-attribute
resource_type: str | None = ...

The type of resource to tag on creation.

Valid Values:

  • auto-backup - The DB instance's automated backup.

  • cluster-auto-backup - The DB cluster's automated backup.

  • og - The copied option group. Valid only for CopyDBSnapshot.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

A list of tags.

For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.