Skip to content

Cluster2Props

Properties for defining a Cluster2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2

Initializer

import { Cluster2Props } from '@alicloud/ros-cdk-emr'
const cluster2Props: Cluster2Props = { ... }

Properties

Name Type Description
applications @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ApplicationsProperty[] Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.
clusterName string | @alicloud/ros-cdk-core.IResolvable Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).
clusterType string | @alicloud/ros-cdk-core.IResolvable Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).
nodeAttributes @alicloud/ros-cdk-core.IResolvable | NodeAttributesProperty Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.
nodeGroups @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | NodeGroupsProperty[] Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.
releaseVersion string | @alicloud/ros-cdk-core.IResolvable Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.
applicationConfigs @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ApplicationConfigsProperty[] Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.
bootstrapScripts @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | BootstrapScriptsProperty[] Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.
deployMode string | @alicloud/ros-cdk-core.IResolvable Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: Payment type.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: Resource group ID.
securityMode string | @alicloud/ros-cdk-core.IResolvable Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.
subscriptionConfig @alicloud/ros-cdk-core.IResolvable | SubscriptionConfigProperty Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.
tags TagsProperty[] Property tags: Tags to attach to cluster.

applicationsRequired

public readonly applications: IResolvable | IResolvable | ApplicationsProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ApplicationsProperty[]

Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.


clusterNameRequired

public readonly clusterName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterName: Cluster name.The length is 1 ~ 128 characters, and the alphabet or Chinese must be started. It cannot start with http:\/\/ and https: \/\/.It can include Chinese, English, numbers, half-horn colons (:), down line (_), half-angle period (.) Or short lines (-).


clusterTypeRequired

public readonly clusterType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterType: Cluster type.Ranges: DATALAKE: The new version of the data lake. OLAP: Data analysis. DATAFLOW: Real -time data stream. DATASERVING: Data service. HADOOP: The old version of the data lake (not recommended, it is recommended to use the new version of the data lake).


nodeAttributesRequired

public readonly nodeAttributes: IResolvable | NodeAttributesProperty;

Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.


nodeGroupsRequired

public readonly nodeGroups: IResolvable | IResolvable | NodeGroupsProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | NodeGroupsProperty[]

Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.


releaseVersionRequired

public readonly releaseVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.


applicationConfigsOptional

public readonly applicationConfigs: IResolvable | IResolvable | ApplicationConfigsProperty[];

Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.


bootstrapScriptsOptional

public readonly bootstrapScripts: IResolvable | IResolvable | BootstrapScriptsProperty[];

Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.


deployModeOptional

public readonly deployMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property deployMode: Application deployment mode in the cluster.Ranges: Normal: non -high available deployment.Cluster 1 master node. HA: High availability deployment.High availability deployment requires at least 3 master nodes.


paymentTypeOptional

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: Payment type.

Ranges: PayAsYouGo: Post-paid, pay-as-you-go. Subscription: Prepaid, yearly and monthly. Default: PayAsYouGo.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: Resource group ID.


securityModeOptional

public readonly securityMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.


subscriptionConfigOptional

public readonly subscriptionConfig: IResolvable | SubscriptionConfigProperty;

Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.


tagsOptional

public readonly tags: TagsProperty[];

Property tags: Tags to attach to cluster.

Max support 20 tags to add during create cluster. Each tag with two properties Key and Value, and Key is required.