ClusterAttributes

class aws_cdk.aws_redshift.ClusterAttributes(*, cluster_endpoint_address, cluster_endpoint_port, cluster_name, security_groups=None)

Bases: object

(experimental) Properties that describe an existing cluster instance.

Parameters
  • cluster_endpoint_address (str) – (experimental) Cluster endpoint address.

  • cluster_endpoint_port (Union[int, float]) – (experimental) Cluster endpoint port.

  • cluster_name (str) – (experimental) Identifier for the cluster.

  • security_groups (Optional[Sequence[ISecurityGroup]]) – (experimental) The security groups of the redshift cluster. Default: no security groups will be attached to the import

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2
import aws_cdk.aws_redshift as redshift

# security_group is of type SecurityGroup

cluster_attributes = redshift.ClusterAttributes(
    cluster_endpoint_address="clusterEndpointAddress",
    cluster_endpoint_port=123,
    cluster_name="clusterName",

    # the properties below are optional
    security_groups=[security_group]
)

Attributes

cluster_endpoint_address

(experimental) Cluster endpoint address.

Stability

experimental

Return type

str

cluster_endpoint_port

(experimental) Cluster endpoint port.

Stability

experimental

Return type

Union[int, float]

cluster_name

(experimental) Identifier for the cluster.

Stability

experimental

Return type

str

security_groups

(experimental) The security groups of the redshift cluster.

Default

no security groups will be attached to the import

Stability

experimental

Return type

Optional[List[ISecurityGroup]]