class CfnClusterPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Redshift.Mixins.CfnClusterPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsredshift/mixins#CfnClusterPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.redshift.mixins.CfnClusterPropsMixin |
Python | aws_cdk.mixins_preview.aws_redshift.mixins.CfnClusterPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_redshift » mixins » CfnClusterPropsMixin |
Implements
IMixin
Extends
Mixin
Specifies a cluster. A cluster is a fully managed data warehouse that consists of a set of compute nodes.
To create a cluster in Virtual Private Cloud (VPC), you must provide a cluster subnet group name. The cluster subnet group identifies the subnets of your VPC that Amazon Redshift uses when creating the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as redshift_mixins } from '@aws-cdk/mixins-preview/aws-redshift';
declare const namespaceResourcePolicy: any;
const cfnClusterPropsMixin = new redshift_mixins.CfnClusterPropsMixin({
allowVersionUpgrade: false,
aquaConfigurationStatus: 'aquaConfigurationStatus',
automatedSnapshotRetentionPeriod: 123,
availabilityZone: 'availabilityZone',
availabilityZoneRelocation: false,
availabilityZoneRelocationStatus: 'availabilityZoneRelocationStatus',
classic: false,
clusterIdentifier: 'clusterIdentifier',
clusterParameterGroupName: 'clusterParameterGroupName',
clusterSecurityGroups: ['clusterSecurityGroups'],
clusterSubnetGroupName: 'clusterSubnetGroupName',
clusterType: 'clusterType',
clusterVersion: 'clusterVersion',
dbName: 'dbName',
deferMaintenance: false,
deferMaintenanceDuration: 123,
deferMaintenanceEndTime: 'deferMaintenanceEndTime',
deferMaintenanceStartTime: 'deferMaintenanceStartTime',
destinationRegion: 'destinationRegion',
elasticIp: 'elasticIp',
encrypted: false,
endpoint: {
address: 'address',
port: 'port',
},
enhancedVpcRouting: false,
hsmClientCertificateIdentifier: 'hsmClientCertificateIdentifier',
hsmConfigurationIdentifier: 'hsmConfigurationIdentifier',
iamRoles: ['iamRoles'],
kmsKeyId: 'kmsKeyId',
loggingProperties: {
bucketName: 'bucketName',
logDestinationType: 'logDestinationType',
logExports: ['logExports'],
s3KeyPrefix: 's3KeyPrefix',
},
maintenanceTrackName: 'maintenanceTrackName',
manageMasterPassword: false,
manualSnapshotRetentionPeriod: 123,
masterPasswordSecretKmsKeyId: 'masterPasswordSecretKmsKeyId',
masterUsername: 'masterUsername',
masterUserPassword: 'masterUserPassword',
multiAz: false,
namespaceResourcePolicy: namespaceResourcePolicy,
nodeType: 'nodeType',
numberOfNodes: 123,
ownerAccount: 'ownerAccount',
port: 123,
preferredMaintenanceWindow: 'preferredMaintenanceWindow',
publiclyAccessible: false,
resourceAction: 'resourceAction',
revisionTarget: 'revisionTarget',
rotateEncryptionKey: false,
snapshotClusterIdentifier: 'snapshotClusterIdentifier',
snapshotCopyGrantName: 'snapshotCopyGrantName',
snapshotCopyManual: false,
snapshotCopyRetentionPeriod: 123,
snapshotIdentifier: 'snapshotIdentifier',
tags: [{
key: 'key',
value: 'value',
}],
vpcSecurityGroupIds: ['vpcSecurityGroupIds'],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnClusterPropsMixin(props: CfnClusterMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Cluster Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Redshift::Cluster.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript