Skip to content

CreateRelationalDatabaseSnapshotRequest

Source code in docs_src/capo_lightsail/types/create_relational_database_snapshot_request.py
class CreateRelationalDatabaseSnapshotRequest(TypedDict, closed=True):
    relational_database_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the database on which to base your new snapshot.</p>"""
    relational_database_snapshot_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name for your new database snapshot.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 2 to 255 alphanumeric characters, or hyphens.</p> </li> <li> <p>The first and last character must be a letter or number.</p> </li> </ul>"""
    tags: NotRequired["capo_lightsail.types.tag_list.TagList"]
    """<p>The tag keys and optional values to add to the resource during create.</p> <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>"""

relational_database_name instance-attribute

relational_database_name: ResourceName

The name of the database on which to base your new snapshot.

relational_database_snapshot_name instance-attribute

relational_database_snapshot_name: ResourceName

The name for your new database snapshot.

Constraints:

  • Must contain from 2 to 255 alphanumeric characters, or hyphens.

  • The first and last character must be a letter or number.

tags instance-attribute

tags: NotRequired[TagList]

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.