class_docstr: Creates a manual snapshot of the specified cluster. The cluster must be in the available state.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:RedshiftCreateClusterSnapshotOperator`
  
  :param snapshot_identifier: A unique identifier for the snapshot that you are requesting
  :param cluster_identifier: The cluster identifier for which you want a snapshot
  :param retention_period: The number of days that a manual snapshot is retained.
      If the value is -1, the manual snapshot is retained indefinitely.
  :param tags: A list of tag instances
  :param wait_for_completion: Whether wait for the cluster snapshot to be in ``available`` state
  :param poll_interval: Time (in seconds) to wait between two consecutive calls to check state
  :param max_attempt: The maximum number of attempts to be made to check the state
  :param aws_conn_id: The Airflow connection used for AWS credentials.
      The default connection id is ``aws_default``
  :param deferrable: If True, the operator will run as a deferrable operator.
code: def __init__(
      self,
      *,
      snapshot_identifier: str,
      cluster_identifier: str,
      retention_period: int = -1,
      tags: list[Any] | None = None,
      wait_for_completion: bool = False,
      poll_interval: int = 15,
      max_attempt: int = 20,
      aws_conn_id: str = "aws_default",
      deferrable: bool = conf.getboolean(
          "operators", "default_deferrable", fallback=False
      ),
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.snapshot_identifier = snapshot_identifier
      self.cluster_identifier = cluster_identifier
      self.retention_period = retention_period
      self.tags = tags
      self.wait_for_completion = wait_for_completion
      self.poll_interval = poll_interval
      self.max_attempt = max_attempt
      self.deferrable = deferrable
      self.aws_conn_id = aws_conn_id
      self.redshift_hook = RedshiftHook(aws_conn_id=aws_conn_id)
  
imports: from __future__ import annotations
  import time
  from datetime import timedelta
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator
  from airflow.providers.amazon.aws.hooks.redshift_cluster import RedshiftHook
  from airflow.providers.amazon.aws.triggers.redshift_cluster import RedshiftCreateClusterSnapshotTrigger, RedshiftCreateClusterTrigger, RedshiftDeleteClusterTrigger, RedshiftPauseClusterTrigger, RedshiftResumeClusterTrigger
label_desc: Use image node_id 1 to create a new RedshiftCreateClusterSnapshotOperator object from inherited base classes: BaseOperator with example: obj = RedshiftCreateClusterSnapshotOperator()