ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-cluster
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr"
&alicloudroscdkemr.ClusterProps {
ChargeType: interface{},
ClusterType: interface{},
EmrVer: interface{},
HostGroup: interface{},
Name: interface{},
NetType: interface{},
UseLocalMetaDb: interface{},
ZoneId: interface{},
AuthorizeContent: interface{},
AutoRenew: interface{},
BootstrapAction: interface{},
ClickHouseConf: interface{},
Config: interface{},
Configurations: interface{},
DepositType: interface{},
EasEnable: interface{},
HighAvailabilityEnable: interface{},
InitCustomHiveMetaDb: interface{},
InstanceGeneration: interface{},
IoOptimized: interface{},
IsOpenPublicIp: interface{},
KeyPairName: interface{},
LogPath: interface{},
MachineType: interface{},
MasterPwd: interface{},
MetaStoreConf: interface{},
MetaStoreType: interface{},
OptionSoftWareList: interface{},
Period: interface{},
RelatedClusterId: interface{},
ResourceGroupId: interface{},
SecurityGroupId: interface{},
SecurityGroupName: interface{},
SshEnable: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr.RosCluster.TagsProperty,
UseCustomHiveMetaDb: interface{},
UserDefinedEmrEcsRole: interface{},
UserInfo: interface{},
VpcId: interface{},
VSwitchId: interface{},
WhiteListType: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ChargeType |
interface{} |
Property chargeType: The billing method. |
ClusterType |
interface{} |
Property clusterType: The type of the cluster. |
EmrVer |
interface{} |
Property emrVer: The version of EMR. |
HostGroup |
interface{} |
Property hostGroup:. |
Name |
interface{} |
Property name: The name of the cluster. |
NetType |
interface{} |
Property netType: The type of the network. |
UseLocalMetaDb |
interface{} |
Property useLocalMetaDb: Indicates whether the local Hive metadatabase is used. |
ZoneId |
interface{} |
Property zoneId: The zone ID. |
AuthorizeContent |
interface{} |
Property authorizeContent: Not required. |
AutoRenew |
interface{} |
Property autoRenew: Indicates whether the subscription cluster is auto-renewed. |
BootstrapAction |
interface{} |
Property bootstrapAction:. |
ClickHouseConf |
interface{} |
Property clickHouseConf: undefined. |
Config |
interface{} |
Property config:. |
Configurations |
interface{} |
Property configurations: Not required. |
DepositType |
interface{} |
Property depositType: The hosting type. |
EasEnable |
interface{} |
Property easEnable: Indicates whether the cluster is a high-security cluster. |
HighAvailabilityEnable |
interface{} |
Property highAvailabilityEnable: Indicates whether the cluster is a high-availability cluster. |
InitCustomHiveMetaDb |
interface{} |
Property initCustomHiveMetaDb: A reserved parameter. |
InstanceGeneration |
interface{} |
Property instanceGeneration: The generation of the ECS instances. |
IoOptimized |
interface{} |
Property ioOptimized: Indicates wether I\/O optimization is enabled. |
IsOpenPublicIp |
interface{} |
Property isOpenPublicIp: Indicates whether a public IP address is assigned. |
KeyPairName |
interface{} |
Property keyPairName: The name of the key pair. |
LogPath |
interface{} |
Property logPath: The log path in OSS. |
MachineType |
interface{} |
Property machineType: The type of the machine. |
MasterPwd |
interface{} |
Property masterPwd: The SSH password for the master node. |
MetaStoreConf |
interface{} |
Property metaStoreConf: Meta store conf of specific meta store type. |
MetaStoreType |
interface{} |
Property metaStoreType: Meta store type. |
OptionSoftWareList |
interface{} |
Property optionSoftWareList: The list of optional services. |
Period |
interface{} |
Property period: The length of the subscription. |
RelatedClusterId |
interface{} |
Property relatedClusterId: The ID of the primary cluster (when the cluster that you create is a Gateway cluster). |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
SecurityGroupId |
interface{} |
Property securityGroupId: The ID of the security group. |
SecurityGroupName |
interface{} |
Property securityGroupName: The name of the security group to create. |
SshEnable |
interface{} |
Property sshEnable: Indicates whether SSH is enabled. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
UseCustomHiveMetaDb |
interface{} |
Property useCustomHiveMetaDb: A reserved parameter. |
UserDefinedEmrEcsRole |
interface{} |
Property userDefinedEmrEcsRole: The role that is assigned to EMR for calling ECS resources. |
UserInfo |
interface{} |
Property userInfo:. |
VpcId |
interface{} |
Property vpcId: The ID of the VPC. |
VSwitchId |
interface{} |
Property vSwitchId: The ID of the Vswitch. |
WhiteListType |
interface{} |
Property whiteListType: Not required. |
ChargeType
Required
ChargeType interface{}
- Type: interface{}
Property chargeType: The billing method.
Valid values: PostPaid and PrePaid. PostPaid: pay-as-you-go. PrePaid: subscription.
ClusterType
Required
ClusterType interface{}
- Type: interface{}
Property clusterType: The type of the cluster.
Allowd values: HADOOP, KAFKA, DRUID, ZOOKEEPER, DATA_SCIENCE, GATEWAY etc.
EmrVer
Required
EmrVer interface{}
- Type: interface{}
Property emrVer: The version of EMR.
HostGroup
Required
HostGroup interface{}
- Type: interface{}
Property hostGroup:.
Name
Required
Name interface{}
- Type: interface{}
Property name: The name of the cluster.
The name can be 1 to 64 characters in length and only contain Chinese characters, letters, numbers, hyphens (-), and underscores (_).
NetType
Required
NetType interface{}
- Type: interface{}
Property netType: The type of the network.
UseLocalMetaDb
Required
UseLocalMetaDb interface{}
- Type: interface{}
Property useLocalMetaDb: Indicates whether the local Hive metadatabase is used.
ZoneId
Required
ZoneId interface{}
- Type: interface{}
Property zoneId: The zone ID.
AuthorizeContent
Optional
AuthorizeContent interface{}
- Type: interface{}
Property authorizeContent: Not required.
AutoRenew
Optional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Indicates whether the subscription cluster is auto-renewed.
BootstrapAction
Optional
BootstrapAction interface{}
- Type: interface{}
Property bootstrapAction:.
ClickHouseConf
Optional
ClickHouseConf interface{}
- Type: interface{}
Property clickHouseConf: undefined.
Config
Optional
Config interface{}
- Type: interface{}
Property config:.
Configurations
Optional
Configurations interface{}
- Type: interface{}
Property configurations: Not required.
DepositType
Optional
DepositType interface{}
- Type: interface{}
Property depositType: The hosting type.
EasEnable
Optional
EasEnable interface{}
- Type: interface{}
Property easEnable: Indicates whether the cluster is a high-security cluster.
HighAvailabilityEnable
Optional
HighAvailabilityEnable interface{}
- Type: interface{}
Property highAvailabilityEnable: Indicates whether the cluster is a high-availability cluster.
A value of true indicates that two master nodes are required.
InitCustomHiveMetaDb
Optional
InitCustomHiveMetaDb interface{}
- Type: interface{}
Property initCustomHiveMetaDb: A reserved parameter.
Not required.
InstanceGeneration
Optional
InstanceGeneration interface{}
- Type: interface{}
Property instanceGeneration: The generation of the ECS instances.
IoOptimized
Optional
IoOptimized interface{}
- Type: interface{}
Property ioOptimized: Indicates wether I\/O optimization is enabled.
Default value: true.
IsOpenPublicIp
Optional
IsOpenPublicIp interface{}
- Type: interface{}
Property isOpenPublicIp: Indicates whether a public IP address is assigned.
A value of true indicates that a bandwidth of 8 MB is set by default.
KeyPairName
Optional
KeyPairName interface{}
- Type: interface{}
Property keyPairName: The name of the key pair.
LogPath
Optional
LogPath interface{}
- Type: interface{}
Property logPath: The log path in OSS.
MachineType
Optional
MachineType interface{}
- Type: interface{}
Property machineType: The type of the machine.
MasterPwd
Optional
MasterPwd interface{}
- Type: interface{}
Property masterPwd: The SSH password for the master node.
The password must meet the following requirements. Length constraints: Minimum length of 8 characters. Maximum length of 30 characters. It must contain three types of characters (uppercase letters, lowercase letters, numbers, and special symbols).
MetaStoreConf
Optional
MetaStoreConf interface{}
- Type: interface{}
Property metaStoreConf: Meta store conf of specific meta store type.
If MetaStoreType=user_rds, MetaStoreConf should be like {"dbUrl":"jdbc:mysql://xxxxxx", "dbUserName":"username", "dbPassword":"password"}
MetaStoreType
Optional
MetaStoreType interface{}
- Type: interface{}
Property metaStoreType: Meta store type.
Allow types: local: Local cluster unified: Unified meta data user_rds: User's RDS
OptionSoftWareList
Optional
OptionSoftWareList interface{}
- Type: interface{}
Property optionSoftWareList: The list of optional services.
Period
Optional
Period interface{}
- Type: interface{}
Property period: The length of the subscription.
Unit: months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, and 36. A value is required when ChargeType=PrePaid.
RelatedClusterId
Optional
RelatedClusterId interface{}
- Type: interface{}
Property relatedClusterId: The ID of the primary cluster (when the cluster that you create is a Gateway cluster).
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
SecurityGroupId
Optional
SecurityGroupId interface{}
- Type: interface{}
Property securityGroupId: The ID of the security group.
You can create a security group in the ECS console and use it. Note: If you use an existing security group, the default security group policy is applied to this security group: Only port 22 is open at the inbound and all ports are open at the outbound. You need to specify either SecurityGroupId or SecurityGroupName.
SecurityGroupName
Optional
SecurityGroupName interface{}
- Type: interface{}
Property securityGroupName: The name of the security group to create.
If the ID of the security group is not specified, this name is used to create a new security group. After the cluster is created, you can view the ID of the security group on the Cluster Management page. The default security group policy is applied to this security group: Only port 22 is open at the inbound and all ports are open at the outbound. You need to specify either SecurityGroupId or SecurityGroupName.
SshEnable
Optional
SshEnable interface{}
- Type: interface{}
Property sshEnable: Indicates whether SSH is enabled.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
UseCustomHiveMetaDb
Optional
UseCustomHiveMetaDb interface{}
- Type: interface{}
Property useCustomHiveMetaDb: A reserved parameter.
Not required.
UserDefinedEmrEcsRole
Optional
UserDefinedEmrEcsRole interface{}
- Type: interface{}
Property userDefinedEmrEcsRole: The role that is assigned to EMR for calling ECS resources.
UserInfo
Optional
UserInfo interface{}
- Type: interface{}
Property userInfo:.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the VPC.
A value is required when NetType=vpc.
VSwitchId
Optional
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: The ID of the Vswitch.
A value is required when NetType=vpc.
WhiteListType
Optional
WhiteListType interface{}
- Type: interface{}
Property whiteListType: Not required.