Cluster2Props
Properties for defining a Cluster2
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr"
&alicloudroscdkemr.Cluster2Props {
Applications: interface{},
ClusterName: interface{},
ClusterType: interface{},
NodeAttributes: interface{},
NodeGroups: interface{},
ReleaseVersion: interface{},
ApplicationConfigs: interface{},
BootstrapScripts: interface{},
DeployMode: interface{},
PaymentType: interface{},
ResourceGroupId: interface{},
SecurityMode: interface{},
SubscriptionConfig: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr.RosCluster2.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
Applications |
interface{} |
Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100. |
ClusterName |
interface{} |
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 |
interface{} |
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 |
interface{} |
Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster. |
NodeGroups |
interface{} |
Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100. |
ReleaseVersion |
interface{} |
Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster. |
ApplicationConfigs |
interface{} |
Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000. |
BootstrapScripts |
interface{} |
Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10. |
DeployMode |
interface{} |
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 |
interface{} |
Property paymentType: Payment type. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group ID. |
SecurityMode |
interface{} |
Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode. |
SubscriptionConfig |
interface{} |
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. |
Applications
Required
Applications interface{}
- Type: interface{}
Property applications: Application List.The value range of the number n of the number N group: 1 ~ 100.
ClusterName
Required
ClusterName interface{}
- Type: interface{}
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
Required
ClusterType interface{}
- Type: interface{}
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
Required
NodeAttributes interface{}
- Type: interface{}
Property nodeAttributes: Node attributes.All ECS nodes basic attributes of the cluster.
NodeGroups
Required
NodeGroups interface{}
- Type: interface{}
Property nodeGroups: The node group configuration array.The value range of the number n of the number N group: 1 ~ 100.
ReleaseVersion
Required
ReleaseVersion interface{}
- Type: interface{}
Property releaseVersion: EMR release version.View EMR distribution versions can be viewed through the EMR cluster.
ApplicationConfigs
Optional
ApplicationConfigs interface{}
- Type: interface{}
Property applicationConfigs: Application configuration.The value range of the number n of the array element n: 1 ~ 1000.
BootstrapScripts
Optional
BootstrapScripts interface{}
- Type: interface{}
Property bootstrapScripts: Guide the script group.The value range of the number n of the number N group: 1 ~ 10.
DeployMode
Optional
DeployMode interface{}
- Type: interface{}
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
Optional
PaymentType interface{}
- Type: interface{}
Property paymentType: Payment type.
Ranges: PayAsYouGo: Post-paid, pay-as-you-go. Subscription: Prepaid, yearly and monthly. Default: PayAsYouGo.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group ID.
SecurityMode
Optional
SecurityMode interface{}
- Type: interface{}
Property securityMode: Cluster Kerberos security mode.Ranges: Normal: General mode, does not open the Kerberos mode. Kerberos: Open the Kerberos mode.
SubscriptionConfig
Optional
SubscriptionConfig interface{}
- Type: interface{}
Property subscriptionConfig: Pre -paid allocation.When the value of PaymentType is Subscripting, it must be filled.
Tags
Optional
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.