Skip to content
v2.274.0

Experimental

@aws-cdk/aws-redshift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ClusterAttributes Struct ​

Properties that describe an existing cluster instance.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
const clusterAttributes: redshift_alpha.ClusterAttributes = {
  clusterEndpointAddress: 'clusterEndpointAddress',
  clusterEndpointPort: 123,
  clusterName: 'clusterName',

  // the properties below are optional
  securityGroups: [securityGroup],
};

Properties ​

clusterEndpointAddressstringcluster_endpoint_addressstrclusterEndpointAddressStringClusterEndpointAddressstringClusterEndpointAddress*stringrequired#
Cluster endpoint address.
clusterEndpointPortnumbercluster_endpoint_portint | floatclusterEndpointPortNumberClusterEndpointPortdoubleClusterEndpointPort*float64required#
Cluster endpoint port.
clusterNamestringcluster_namestrclusterNameStringClusterNamestringClusterName*stringrequired#
Identifier for the cluster.
securityGroupsoptionalISecurityGroup[]security_groupsoptionaltyping.List[ISecurityGroup]securityGroupsoptionalList<ISecurityGroup>SecurityGroupsoptionalISecurityGroup[]SecurityGroupsoptional*[]ISecurityGroup#
The security groups of the redshift cluster.

Default: no security groups will be attached to the import