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: The cluster type. |
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: The EMR release version. |
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: The cluster type.
Valid values: - DATALAKE: new data lake. - OLAP: data analytics. - DATAFLOW: real-time data stream. - DATASERVING: data serving. - CUSTOM: custom cluster. - HADOOP: earlier-version data lake. We recommend that you use the new data lake. If you create an EMR cluster for the first time after 17:00 (UTC+8) on December 19, 2022, you cannot select HADOOP, DATA_SCIENCE, PRESTO, or ZOOKEEPER as the cluster type.
nodeAttributesRequired
public readonly nodeAttributes: IResolvable | NodeAttributesProperty;
- Type: @alicloud/ros-cdk-core.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: The EMR release version.
You can find the EMR release versions on the EMR cluster purchase page.
applicationConfigsOptional
public readonly applicationConfigs: IResolvable | IResolvable | ApplicationConfigsProperty[];
- Type: @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.
bootstrapScriptsOptional
public readonly bootstrapScripts: IResolvable | IResolvable | BootstrapScriptsProperty[];
- Type: @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.
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;
- Type: @alicloud/ros-cdk-core.IResolvable | SubscriptionConfigProperty
Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.
tagsOptional
public readonly tags: TagsProperty[];
- Type: 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.