Skip to content

Cluster

This class encapsulates and extends the ROS resource type ALIYUN::EHPC::Cluster, which is used to create an Elastic High Performance Computing (E-HPC) cluster.

Initializers

import com.aliyun.ros.cdk.ehpc.Cluster;
Cluster.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .ecsOrderComputeCount(java.lang.Number)
    .ecsOrderComputeCount(IResolvable)
    .ecsOrderComputeInstanceType(java.lang.String)
    .ecsOrderComputeInstanceType(IResolvable)
    .ecsOrderLoginCount(java.lang.Number)
    .ecsOrderLoginCount(IResolvable)
    .ecsOrderLoginInstanceType(java.lang.String)
    .ecsOrderLoginInstanceType(IResolvable)
    .ecsOrderManagerInstanceType(java.lang.String)
    .ecsOrderManagerInstanceType(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
    .osTag(java.lang.String)
    .osTag(IResolvable)
    .vSwitchId(java.lang.String)
    .vSwitchId(IResolvable)
//  .accountType(java.lang.String)
//  .accountType(IResolvable)
//  .additionalVolumes(IResolvable)
//  .additionalVolumes(java.util.List<IResolvable)
//  .additionalVolumes(AdditionalVolumesProperty>)
//  .application(IResolvable)
//  .application(java.util.List<IResolvable)
//  .application(ApplicationProperty>)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .autoRenewPeriod(java.lang.Number)
//  .autoRenewPeriod(IResolvable)
//  .clientVersion(java.lang.String)
//  .clientVersion(IResolvable)
//  .computeEnableHt(java.lang.Boolean)
//  .computeEnableHt(IResolvable)
//  .computeSpotPriceLimit(java.lang.String)
//  .computeSpotPriceLimit(IResolvable)
//  .computeSpotStrategy(java.lang.String)
//  .computeSpotStrategy(IResolvable)
//  .deployMode(java.lang.String)
//  .deployMode(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .ecsChargeType(java.lang.String)
//  .ecsChargeType(IResolvable)
//  .ecsOrderManagerCount(java.lang.Number)
//  .ecsOrderManagerCount(IResolvable)
//  .ehpcVersion(java.lang.String)
//  .ehpcVersion(IResolvable)
//  .haEnable(java.lang.Boolean)
//  .haEnable(IResolvable)
//  .imageId(java.lang.String)
//  .imageId(IResolvable)
//  .imageOwnerAlias(java.lang.String)
//  .imageOwnerAlias(IResolvable)
//  .inputFileUrl(java.lang.String)
//  .inputFileUrl(IResolvable)
//  .isComputeEss(java.lang.Boolean)
//  .isComputeEss(IResolvable)
//  .jobQueue(java.lang.String)
//  .jobQueue(IResolvable)
//  .keyPairName(java.lang.String)
//  .keyPairName(IResolvable)
//  .networkInterfaceTrafficMode(java.lang.String)
//  .networkInterfaceTrafficMode(IResolvable)
//  .password(java.lang.String)
//  .password(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .periodUnit(java.lang.String)
//  .periodUnit(IResolvable)
//  .postInstallScript(IResolvable)
//  .postInstallScript(java.util.List<IResolvable)
//  .postInstallScript(PostInstallScriptProperty>)
//  .ramNodeTypes(IResolvable)
//  .ramNodeTypes(java.util.List<java.lang.String)
//  .ramNodeTypes(IResolvable>)
//  .ramRoleName(java.lang.String)
//  .ramRoleName(IResolvable)
//  .remoteDirectory(java.lang.String)
//  .remoteDirectory(IResolvable)
//  .remoteVisEnable(java.lang.Boolean)
//  .remoteVisEnable(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .sccClusterId(java.lang.String)
//  .sccClusterId(IResolvable)
//  .schedulerType(java.lang.String)
//  .schedulerType(IResolvable)
//  .securityGroupId(java.lang.String)
//  .securityGroupId(IResolvable)
//  .securityGroupName(java.lang.String)
//  .securityGroupName(IResolvable)
//  .systemDiskLevel(java.lang.String)
//  .systemDiskLevel(IResolvable)
//  .systemDiskSize(java.lang.Number)
//  .systemDiskSize(IResolvable)
//  .systemDiskType(java.lang.String)
//  .systemDiskType(IResolvable)
//  .volumeId(java.lang.String)
//  .volumeId(IResolvable)
//  .volumeMountpoint(java.lang.String)
//  .volumeMountpoint(IResolvable)
//  .volumeProtocol(java.lang.String)
//  .volumeProtocol(IResolvable)
//  .volumeType(java.lang.String)
//  .volumeType(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .withoutElasticIp(java.lang.Boolean)
//  .withoutElasticIp(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
ecsOrderComputeCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.
ecsOrderComputeInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.
ecsOrderLoginCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderLoginCount: Login node number can only be 1.
ecsOrderLoginInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderLoginInstanceType: Log cluster node instance specifications.
ecsOrderManagerInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderManagerInstanceType: Cluster control node instance specifications.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: Cluster name.
osTag java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property osTag: Operating system image tag.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: VPC in switch ID.
accountType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accountType: The service type of the domain account.
additionalVolumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalVolumesProperty> Property additionalVolumes:.
application com.aliyun.ros.cdk.core.IResolvable OR java.util.ListApplicationProperty> Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: true: automatic renewals;
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.
clientVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clientVersion: The version of the E-HPC client.
computeEnableHt java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property computeEnableHt: Specifies whether the compute nodes support hyper-threading.
computeSpotPriceLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range.
computeSpotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.
deployMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property deployMode: The mode in which the cluster is deployed.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Cluster description, 2 to 128 characters.
ecsChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released.
ecsOrderManagerCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ecsOrderManagerCount: Control node number can be 1, 2.
ehpcVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ehpcVersion: The version of E-HPC.
haEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property haEnable: Specifies whether to enable the high availability feature.
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag;
imageOwnerAlias java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageOwnerAlias: Mirror type: system, self, others or marketplace.
inputFileUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
isComputeEss java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property isComputeEss: Specifies whether to enable auto scaling.
jobQueue java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property jobQueue: The queue to which the compute nodes are added.
keyPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property keyPairName: Key pair name.
networkInterfaceTrafficMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkInterfaceTrafficMode: Communication mode of an elastic NIC.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property password: Root password of jump server (login node).
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The purchase of long resources, units: week \/ month \/ year.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodUnit: The purchase of long-resources unit.
postInstallScript com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPostInstallScriptProperty> Property postInstallScript:.
ramNodeTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ramRoleName: The name of the Resource Access Management (RAM) role.
remoteDirectory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property remoteDirectory: Mount shared storage remote directory.
remoteVisEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
sccClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user.
schedulerType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property schedulerType: The type of the scheduler.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: Security group ID.
securityGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy.
systemDiskLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property systemDiskLevel: The performance level of the ESSD that is created as the system disk.
systemDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property systemDiskSize: The size of the system disk.
systemDiskType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property systemDiskType: The type of the system disk.
volumeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property volumeId: The ID of the file system.
volumeMountpoint java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property volumeMountpoint: The mount target of the file system.
volumeProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property volumeProtocol: The type of the protocol that is used by the file system.
volumeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property volumeType: The type of the shared storage.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.
withoutElasticIp java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: Available area ID.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

ecsOrderComputeCountRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.


ecsOrderComputeInstanceTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.


ecsOrderLoginCountRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderLoginCount: Login node number can only be 1.


ecsOrderLoginInstanceTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderLoginInstanceType: Log cluster node instance specifications.


ecsOrderManagerInstanceTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderManagerInstanceType: Cluster control node instance specifications.


nameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: Cluster name.

2-64 characters in length, allowing only include Chinese, letters, numbers, dashes (-) and underscore (_), must begin with a letter or Chinese.


osTagRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property osTag: Operating system image tag.

You can call ListImages API to query.


vSwitchIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: VPC in switch ID.

Products currently only supports VPC network.


accountTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property accountType: The service type of the domain account.

Valid values: nis ldap Default value: nis


additionalVolumesOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalVolumesProperty>

Property additionalVolumes:.


applicationOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListApplicationProperty>

Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.


autoRenewOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenew: true: automatic renewals;

false: no automatic renewals.


autoRenewPeriodOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.


clientVersionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clientVersion: The version of the E-HPC client.

By default, the parameter is set to the latest version number. You can call the ListCurrentClientVersion operation to query the current version of the E-HPC client.


computeEnableHtOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property computeEnableHt: Specifies whether the compute nodes support hyper-threading.

Valid values: true: Hyper-threading is supported. false: Hyper-threading is not supported. Default value: true


computeSpotPriceLimitOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range.


computeSpotStrategyOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.


deployModeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property deployMode: The mode in which the cluster is deployed.

Valid values: Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed. Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed. Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed. Default value: Standard


descriptionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: Cluster description, 2 to 128 characters.


ecsChargeTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released.


ecsOrderManagerCountOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property ecsOrderManagerCount: Control node number can be 1, 2.


ehpcVersionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ehpcVersion: The version of E-HPC.

By default, the parameter is set to the latest version number.


haEnableOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property haEnable: Specifies whether to enable the high availability feature.

Valid values: true: enables the high availability feature false: disables the high availability feature Default value: false Note If high availability is enabled, primary management nodes and secondary management nodes are used.


imageIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag;

if self, others, or marketplace, ImageId is mandatory.


imageOwnerAliasOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property imageOwnerAlias: Mirror type: system, self, others or marketplace.


inputFileUrlOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.


isComputeEssOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property isComputeEss: Specifies whether to enable auto scaling.

Valid values: true: enables auto scaling false: disables auto scaling Default value: false


jobQueueOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property jobQueue: The queue to which the compute nodes are added.


keyPairNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property keyPairName: Key pair name.


networkInterfaceTrafficModeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property networkInterfaceTrafficMode: Communication mode of an elastic NIC.

Value values:

  • Standard: The TCP communication mode is used.
  • HighPerformance: Enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.

passwordOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property password: Root password of jump server (login node).

8 to 30 characters, must contain three (upper and lower case letters, numbers and special symbols). ! Supports the following special characters :() `~ @ # $% ^ & * - + = | {} []:; '<>, / Be sure to use the HTTPS protocol API call to avoid password leaks that may occur.?.


periodOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property period: The purchase of long resources, units: week \/ month \/ year.

When the value of the parameter EcsChargeType when PrePaid take effect and for the selected value will be.


periodUnitOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property periodUnit: The purchase of long-resources unit.

Alternatively value Week / Month / year.


postInstallScriptOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPostInstallScriptProperty>

Property postInstallScript:.


ramNodeTypesOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound.

When the value of DeployMode is Standard, the value range: scheduler, account, login, compute. When the value of DeployMode is Simple, the value range: manager, login, compute. When the value of DeployMode is Tiny, the value range: manager, compute.


ramRoleNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ramRoleName: The name of the Resource Access Management (RAM) role.

You can call the ListRoles operation provided by RAM to query the created RAM roles.


remoteDirectoryOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property remoteDirectory: Mount shared storage remote directory.

The final path to the mount point and mount the remote directory composition: NasMountpoint: / RemoteDirectory


remoteVisEnableOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).

Valid values: true: enables VNC false: disables VNC Default value: false


resourceGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.

You can call the ListResourceGroups operation to obtain the ID of the resource group.


sccClusterIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user.


schedulerTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property schedulerType: The type of the scheduler.

Valid values: pbs slurm opengridscheduler deadline Default value: pbs


securityGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupId: Security group ID.


securityGroupNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy.

Format Requirements Reference ECS security group name.


systemDiskLevelOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property systemDiskLevel: The performance level of the ESSD that is created as the system disk.

Valid values: PL0: A single ESSD can deliver up to 10,000 input/output operations per second (IOPS) of random read/write. PL1: A single ESSD can deliver up to 50,000 IOPS of random read/write. PL2: A single ESSD can deliver up to 100,000 IOPS of random read/write. PL3: A single ESSD can deliver up to 1,000,000 IOPS of random read/write. Default value: PL1


systemDiskSizeOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property systemDiskSize: The size of the system disk.

Unit: GB Valid values: 40 to 500 Default value: 40


systemDiskTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property systemDiskType: The type of the system disk.

Valid values: cloud_efficiency: ultra disk. cloud_ssd: SSD. cloud_essd: ESSD. Default value: cloud_ssd


volumeIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property volumeId: The ID of the file system.

If you leave the parameter empty, a Performance NAS file system is created by default.


volumeMountpointOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property volumeMountpoint: The mount target of the file system.

Take note of the following information: If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.


volumeProtocolOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property volumeProtocol: The type of the protocol that is used by the file system.

Valid values: nfs smb Default value: nfs


volumeTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property volumeType: The type of the shared storage.

Only Apsara File Storage nas file systems are supported.


vpcIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.


withoutElasticIpOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).

Default value: false


zoneIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: Available area ID.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.ehpc.Cluster;
Cluster.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrClusterId com.aliyun.ros.cdk.core.IResolvable Attribute ClusterId: Cluster Id.
attrEcsInfo com.aliyun.ros.cdk.core.IResolvable Attribute EcsInfo: A data structure describing the number and specifications of ECS for various components of the cluster.
attrName com.aliyun.ros.cdk.core.IResolvable Attribute Name: Cluster name.
attrSecurityGroupId com.aliyun.ros.cdk.core.IResolvable Attribute SecurityGroupId: Security group ID.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrClusterIdRequired

public IResolvable getAttrClusterId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ClusterId: Cluster Id.


attrEcsInfoRequired

public IResolvable getAttrEcsInfo();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute EcsInfo: A data structure describing the number and specifications of ECS for various components of the cluster.

You will get results similar to the following: EcsInfo: {"Manager": {"Count": 2, "InstanceType": "ecs.n1.large"}, "Compute": {"Count": 8, "InstanceType": "ecs.n1.large"}, "Login": {"Count": 1, "InstanceType": "ecs.n1.large"}}


attrNameRequired

public IResolvable getAttrName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Name: Cluster name.


attrSecurityGroupIdRequired

public IResolvable getAttrSecurityGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SecurityGroupId: Security group ID.