Skip to content
v2.277.0

Experimental

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

NodeType Enum ​

Possible Node Types to use in the cluster used for defining ClusterProps.nodeType.

Example ​

ts
import * as ec2 from 'aws-cdk-lib/aws-ec2';

declare const vpc: ec2.IVpc;

const cluster = new Cluster(this, 'Redshift', {
  masterUser: {
    masterUsername: 'admin',
  },
  vpc,
  nodeType: NodeType.RA3_XLPLUS,
});
python
from aws_cdk.aws_redshift_alpha import Login
import aws_cdk.aws_ec2 as ec2

# vpc: ec2.IVpc


cluster = Cluster(self, "Redshift",
    master_user=Login(
        master_username="admin"
    ),
    vpc=vpc,
    node_type=NodeType.RA3_XLPLUS
)
java
import software.amazon.awscdk.services.ec2.*;

IVpc vpc;


Cluster cluster = Cluster.Builder.create(this, "Redshift")
        .masterUser(Login.builder()
                .masterUsername("admin")
                .build())
        .vpc(vpc)
        .nodeType(NodeType.getRA3_XLPLUS())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.Redshift.Alpha
using Amazon.CDK.AWS.EC2;

IVpc vpc;


var cluster = new Cluster(this, "Redshift", new ClusterProps {
    MasterUser = new Login {
        MasterUsername = "admin"
    },
    Vpc = vpc,
    NodeType = NodeType.RA3_XLPLUS
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdkredshiftalpha/v2
import ec2 "github.com/aws/aws-cdk-go/awscdk"

var vpc IVpc


cluster := awscdkredshiftalpha.NewCluster(this, jsii.String("Redshift"), &ClusterProps{
	MasterUser: &Login{
		MasterUsername: jsii.String("admin"),
	},
	Vpc: Vpc,
	NodeType: nodeType_RA3_XLPLUS,
})

Members ​

MemberDescription
DS2_XLARGEds2.xlarge.
DS2_8XLARGEds2.8xlarge.
DC1_LARGEdc1.large.
DC1_8XLARGEdc1.8xlarge.
DC2_LARGEdc2.large.
DC2_8XLARGEdc2.8xlarge.
RA3_LARGEra3.large.
RA3_XLPLUSra3.xlplus.
RA3_4XLARGEra3.4xlarge.
RA3_16XLARGEra3.16xlarge.

Referenced by ​