The default connection id is aws_default. ĭefault_iam_role_arn ( str | None) – ARN for the IAM role.Īws_conn_id ( str) – str = The Airflow connection used for AWS credentials. Snapshot_schedule_identifier ( str | None) – A unique identifier for the snapshot schedule.Īvailability_zone_relocation ( bool | None) – Enable relocation for a Redshift clusterīetween Availability Zones after the cluster is created.Īqua_configuration_status ( str | None) – The cluster is configured to use AQUA. Maintenance_track_name ( str | None) – Name of the maintenance track for the cluster. Iam_roles ( list | None) – A list of IAM roles that can be used by the cluster to access other AWS services. Kms_key_id ( str | None) – KMS key id of encryption key.Įnhanced_vpc_routing ( bool) – Whether to create the cluster with enhanced VPC routing enabled Tags ( list | None) – A list of tag instances Hsm_configuration_identifier ( str | None) – Name of the HSM configurationĮlastic_ip ( str | None) – The Elastic IP (EIP) address for the cluster. The Amazon Redshift cluster uses to retrieve the data. Hsm_client_certificate_identifier ( str | None) – Name of the HSM client certificate Publicly_accessible ( bool) – Whether cluster can be accessed from a public network.Įncrypted ( bool) – Whether data in the cluster is encrypted at rest. Port ( int) – The port number on which the cluster accepts incoming connections.Ĭluster_version ( str) – The version of a Redshift engine software that you want to deploy on the cluster.Īllow_version_upgrade ( bool) – Whether major version upgrades can be applied during the maintenance window. Manual_snapshot_retention_period ( int | None) – The default number of days to retain a manual snapshot. Preferred_maintenance_window ( str | None) – The time range (in UTC) during which automated clusterĬluster_parameter_group_name ( str | None) – The name of the parameter group to be associated with this cluster.Īutomated_snapshot_retention_period ( int) – The number of days that automated snapshots are retained. Vpc_security_group_ids ( list | None) – A list of VPC security groups to be associated with the cluster.Ĭluster_subnet_group_name ( str | None) – The name of a cluster subnet group to be associated with this cluster.Īvailability_zone ( str | None) – The EC2 Availability Zone (AZ). This param require when cluster_type is multi-node.Ĭluster_security_groups ( list | None) – A list of security groups to be associated with this cluster. Number_of_nodes ( int) – The number of compute nodes in the cluster. Master_user_password ( str) – The password associated with the admin user account forĬluster_type ( str) – The type of the cluster single-node or multi-node.ĭb_name ( str) – The name of the first database to be created when the cluster is created. Master_username ( str) – The username associated with the admin user account for Valid Values: ds2.xlarge, ds2.8xlarge, dc1.large,ĭc1.8xlarge, dc2.large, dc2.8xlarge, ra3.xlplus, Node_type ( str) – The node type to be provisioned for the cluster. RedshiftCreateClusterOperator ( *, cluster_identifier, node_type, master_username, master_user_password, cluster_type = 'multi-node', db_name = 'dev', number_of_nodes = 1, cluster_security_groups = None, vpc_security_group_ids = None, cluster_subnet_group_name = None, availability_zone = None, preferred_maintenance_window = None, cluster_parameter_group_name = None, automated_snapshot_retention_period = 1, manual_snapshot_retention_period = None, port = 5439, cluster_version = '1.0', allow_version_upgrade = True, publicly_accessible = True, encrypted = False, hsm_client_certificate_identifier = None, hsm_configuration_identifier = None, elastic_ip = None, tags = None, kms_key_id = None, enhanced_vpc_routing = False, additional_info = None, iam_roles = None, maintenance_track_name = None, snapshot_schedule_identifier = None, availability_zone_relocation = None, aqua_configuration_status = None, default_iam_role_arn = None, aws_conn_id = 'aws_default', wait_for_completion = False, max_attempt = 5, poll_interval = 60, deferrable = conf.getboolean('operators', 'default_deferrable', fallback=False), ** kwargs ) ¶įor more information on how to use this operator, take a look at the guide:Ĭreate an Amazon Redshift cluster ParametersĬluster_identifier ( str) – A unique identifier for the cluster. Pause an AWS Redshift Cluster if it has status available.Ĭlass .operators.redshift_cluster. The cluster must be in the available state. Creates a new cluster with the specified parameters.Ĭreates a manual snapshot of the specified cluster.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |