Skip to content

AuthorizeSnapshotAccessMessage

Source code in docs_src/capo_redshift/types/authorize_snapshot_access_message.py
class AuthorizeSnapshotAccessMessage(TypedDict, closed=True):
    snapshot_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier of the snapshot the account is authorized to restore.</p>"""
    snapshot_arn: NotRequired["capo_redshift.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the snapshot to authorize access to.</p>"""
    snapshot_cluster_identifier: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier of the cluster the snapshot was created from.</p> <ul> <li> <p> <i>If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots</i> - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.</p> </li> <li> <p> <i>If the snapshot to access exists</i> - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.</p> </li> </ul>"""
    account_with_restore_access: NotRequired["capo_redshift.types.string.String"]
    """<p>The identifier of the Amazon Web Services account authorized to restore the specified snapshot.</p> <p>To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.</p>"""

account_with_restore_access instance-attribute

account_with_restore_access: NotRequired[String]

The identifier of the Amazon Web Services account authorized to restore the specified snapshot.

To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

snapshot_arn instance-attribute

snapshot_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the snapshot to authorize access to.

snapshot_cluster_identifier instance-attribute

snapshot_cluster_identifier: NotRequired[String]

The identifier of the cluster the snapshot was created from.

  • If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots - This parameter is required. Otherwise, permissions aren't available to check if the snapshot exists.

  • If the snapshot to access exists - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to validate snapshot authorization.

snapshot_identifier instance-attribute

snapshot_identifier: NotRequired[String]

The identifier of the snapshot the account is authorized to restore.