CfnClusterProps

class aws_cdk.aws_redshift.CfnClusterProps(*, cluster_type, db_name, master_username, master_user_password, node_type, allow_version_upgrade=None, automated_snapshot_retention_period=None, availability_zone=None, cluster_identifier=None, cluster_parameter_group_name=None, cluster_security_groups=None, cluster_subnet_group_name=None, cluster_version=None, elastic_ip=None, encrypted=None, hsm_client_certificate_identifier=None, hsm_configuration_identifier=None, iam_roles=None, kms_key_id=None, logging_properties=None, number_of_nodes=None, owner_account=None, port=None, preferred_maintenance_window=None, publicly_accessible=None, snapshot_cluster_identifier=None, snapshot_identifier=None, tags=None, vpc_security_group_ids=None)

Bases: object

Properties for defining a AWS::Redshift::Cluster.

Parameters
  • cluster_type (str) – AWS::Redshift::Cluster.ClusterType.

  • db_name (str) – AWS::Redshift::Cluster.DBName.

  • master_username (str) – AWS::Redshift::Cluster.MasterUsername.

  • master_user_password (str) – AWS::Redshift::Cluster.MasterUserPassword.

  • node_type (str) – AWS::Redshift::Cluster.NodeType.

  • allow_version_upgrade (Union[bool, IResolvable, None]) – AWS::Redshift::Cluster.AllowVersionUpgrade.

  • automated_snapshot_retention_period (Union[int, float, None]) – AWS::Redshift::Cluster.AutomatedSnapshotRetentionPeriod.

  • availability_zone (Optional[str]) – AWS::Redshift::Cluster.AvailabilityZone.

  • cluster_identifier (Optional[str]) – AWS::Redshift::Cluster.ClusterIdentifier.

  • cluster_parameter_group_name (Optional[str]) – AWS::Redshift::Cluster.ClusterParameterGroupName.

  • cluster_security_groups (Optional[List[str]]) – AWS::Redshift::Cluster.ClusterSecurityGroups.

  • cluster_subnet_group_name (Optional[str]) – AWS::Redshift::Cluster.ClusterSubnetGroupName.

  • cluster_version (Optional[str]) – AWS::Redshift::Cluster.ClusterVersion.

  • elastic_ip (Optional[str]) – AWS::Redshift::Cluster.ElasticIp.

  • encrypted (Union[bool, IResolvable, None]) – AWS::Redshift::Cluster.Encrypted.

  • hsm_client_certificate_identifier (Optional[str]) – AWS::Redshift::Cluster.HsmClientCertificateIdentifier.

  • hsm_configuration_identifier (Optional[str]) – AWS::Redshift::Cluster.HsmConfigurationIdentifier.

  • iam_roles (Optional[List[str]]) – AWS::Redshift::Cluster.IamRoles.

  • kms_key_id (Optional[str]) – AWS::Redshift::Cluster.KmsKeyId.

  • logging_properties (Union[IResolvable, LoggingPropertiesProperty, None]) – AWS::Redshift::Cluster.LoggingProperties.

  • number_of_nodes (Union[int, float, None]) – AWS::Redshift::Cluster.NumberOfNodes.

  • owner_account (Optional[str]) – AWS::Redshift::Cluster.OwnerAccount.

  • port (Union[int, float, None]) – AWS::Redshift::Cluster.Port.

  • preferred_maintenance_window (Optional[str]) – AWS::Redshift::Cluster.PreferredMaintenanceWindow.

  • publicly_accessible (Union[bool, IResolvable, None]) – AWS::Redshift::Cluster.PubliclyAccessible.

  • snapshot_cluster_identifier (Optional[str]) – AWS::Redshift::Cluster.SnapshotClusterIdentifier.

  • snapshot_identifier (Optional[str]) – AWS::Redshift::Cluster.SnapshotIdentifier.

  • tags (Optional[List[CfnTag]]) – AWS::Redshift::Cluster.Tags.

  • vpc_security_group_ids (Optional[List[str]]) – AWS::Redshift::Cluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html

Attributes

allow_version_upgrade

AWS::Redshift::Cluster.AllowVersionUpgrade.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-allowversionupgrade

Return type

Union[bool, IResolvable, None]

automated_snapshot_retention_period

AWS::Redshift::Cluster.AutomatedSnapshotRetentionPeriod.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-automatedsnapshotretentionperiod

Return type

Union[int, float, None]

availability_zone

AWS::Redshift::Cluster.AvailabilityZone.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-availabilityzone

Return type

Optional[str]

cluster_identifier

AWS::Redshift::Cluster.ClusterIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusteridentifier

Return type

Optional[str]

cluster_parameter_group_name

AWS::Redshift::Cluster.ClusterParameterGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterparametergroupname

Return type

Optional[str]

cluster_security_groups

AWS::Redshift::Cluster.ClusterSecurityGroups.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersecuritygroups

Return type

Optional[List[str]]

cluster_subnet_group_name

AWS::Redshift::Cluster.ClusterSubnetGroupName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustersubnetgroupname

Return type

Optional[str]

cluster_type

AWS::Redshift::Cluster.ClusterType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clustertype

Return type

str

cluster_version

AWS::Redshift::Cluster.ClusterVersion.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-clusterversion

Return type

Optional[str]

db_name

AWS::Redshift::Cluster.DBName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-dbname

Return type

str

elastic_ip

AWS::Redshift::Cluster.ElasticIp.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-elasticip

Return type

Optional[str]

encrypted

AWS::Redshift::Cluster.Encrypted.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-encrypted

Return type

Union[bool, IResolvable, None]

hsm_client_certificate_identifier

AWS::Redshift::Cluster.HsmClientCertificateIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-hsmclientcertidentifier

Return type

Optional[str]

hsm_configuration_identifier

AWS::Redshift::Cluster.HsmConfigurationIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-HsmConfigurationIdentifier

Return type

Optional[str]

iam_roles

AWS::Redshift::Cluster.IamRoles.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-iamroles

Return type

Optional[List[str]]

kms_key_id

AWS::Redshift::Cluster.KmsKeyId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-kmskeyid

Return type

Optional[str]

logging_properties

AWS::Redshift::Cluster.LoggingProperties.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-loggingproperties

Return type

Union[IResolvable, LoggingPropertiesProperty, None]

master_user_password

AWS::Redshift::Cluster.MasterUserPassword.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masteruserpassword

Return type

str

master_username

AWS::Redshift::Cluster.MasterUsername.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-masterusername

Return type

str

node_type

AWS::Redshift::Cluster.NodeType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype

Return type

str

number_of_nodes

AWS::Redshift::Cluster.NumberOfNodes.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-nodetype

Return type

Union[int, float, None]

owner_account

AWS::Redshift::Cluster.OwnerAccount.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-owneraccount

Return type

Optional[str]

port

AWS::Redshift::Cluster.Port.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-port

Return type

Union[int, float, None]

preferred_maintenance_window

AWS::Redshift::Cluster.PreferredMaintenanceWindow.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-preferredmaintenancewindow

Return type

Optional[str]

publicly_accessible

AWS::Redshift::Cluster.PubliclyAccessible.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-publiclyaccessible

Return type

Union[bool, IResolvable, None]

snapshot_cluster_identifier

AWS::Redshift::Cluster.SnapshotClusterIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotclusteridentifier

Return type

Optional[str]

snapshot_identifier

AWS::Redshift::Cluster.SnapshotIdentifier.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-snapshotidentifier

Return type

Optional[str]

tags

AWS::Redshift::Cluster.Tags.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-tags

Return type

Optional[List[CfnTag]]

vpc_security_group_ids

AWS::Redshift::Cluster.VpcSecurityGroupIds.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-vpcsecuritygroupids

Return type

Optional[List[str]]