Skip to content

RosCluster

This class is a base encapsulation around 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.RosCluster;
RosCluster.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 - scope in which this resource is defined.
id java.lang.String - scoped id of the resource.
enableResourcePropertyConstraint java.lang.Boolean No description.
ecsOrderComputeCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderComputeInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderLoginCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderLoginInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderManagerInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
osTag java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
accountType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
additionalVolumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalVolumesProperty> No description.
application com.aliyun.ros.cdk.core.IResolvable OR java.util.ListApplicationProperty> No description.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
clientVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
computeEnableHt java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
computeSpotPriceLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
computeSpotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
deployMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderManagerCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ehpcVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
haEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
imageOwnerAlias java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
inputFileUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
isComputeEss java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
jobQueue java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
keyPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
networkInterfaceTrafficMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
postInstallScript com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPostInstallScriptProperty> No description.
ramNodeTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
remoteDirectory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
remoteVisEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
sccClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
schedulerType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeMountpoint java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
withoutElasticIp java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

scopeRequired

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

scope in which this resource is defined.


idRequired

  • Type: java.lang.String

scoped id of the resource.


enableResourcePropertyConstraintRequired

  • Type: java.lang.Boolean

ecsOrderComputeCountRequired

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

ecsOrderComputeInstanceTypeRequired

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

ecsOrderLoginCountRequired

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

ecsOrderLoginInstanceTypeRequired

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

ecsOrderManagerInstanceTypeRequired

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

nameRequired

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

osTagRequired

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

vSwitchIdRequired

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

accountTypeOptional

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

additionalVolumesOptional

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

applicationOptional

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

autoRenewOptional

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

autoRenewPeriodOptional

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

clientVersionOptional

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

computeEnableHtOptional

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

computeSpotPriceLimitOptional

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

computeSpotStrategyOptional

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

deployModeOptional

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

descriptionOptional

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

ecsChargeTypeOptional

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

ecsOrderManagerCountOptional

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

ehpcVersionOptional

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

haEnableOptional

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

imageIdOptional

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

imageOwnerAliasOptional

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

inputFileUrlOptional

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

isComputeEssOptional

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

jobQueueOptional

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

keyPairNameOptional

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

networkInterfaceTrafficModeOptional

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

passwordOptional

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

periodOptional

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

periodUnitOptional

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

postInstallScriptOptional

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

ramNodeTypesOptional

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

ramRoleNameOptional

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

remoteDirectoryOptional

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

remoteVisEnableOptional

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

resourceGroupIdOptional

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

sccClusterIdOptional

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

schedulerTypeOptional

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

securityGroupIdOptional

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

securityGroupNameOptional

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

systemDiskLevelOptional

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

systemDiskSizeOptional

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

systemDiskTypeOptional

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

volumeIdOptional

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

volumeMountpointOptional

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

volumeProtocolOptional

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

volumeTypeOptional

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

vpcIdOptional

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

withoutElasticIpOptional

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

zoneIdOptional

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

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
addCondition No description.
addCount No description.
addDeletionOverride Syntactic sugar for addOverride(path, undefined).
addDependsOn Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
addDesc No description.
addMetaData No description.
addOverride Adds an override to the synthesized ROS resource.
addPropertyDeletionOverride Adds an override that deletes the value of a property from the resource definition.
addPropertyOverride Adds an override to a resource property.
addRosDependency No description.
applyRemovalPolicy Sets the deletion policy of the resource based on the removal policy specified.
getAtt Returns a token for an runtime attribute of this resource.

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.


overrideLogicalId

public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired

  • Type: java.lang.String

The new logical ID to use for this stack element.


addCondition

public void addCondition(RosCondition con)

conRequired

  • 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

addDeletionOverride

public void addDeletionOverride(java.lang.String path)

Syntactic sugar for addOverride(path, undefined).

pathRequired

  • Type: java.lang.String

The path of the value to delete.


addDependsOn

public void addDependsOn(RosResource target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

targetRequired

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

addDesc

public void addDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

addMetaData

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

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

addOverride

public void addOverride(java.lang.String path, java.lang.Object value)

Adds an override to the synthesized ROS resource.

To add a property override, either use addPropertyOverride or prefix path with "Properties." (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

For example,

addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')

would add the overrides

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}

pathRequired

  • Type: java.lang.String

The path of the property, you can use dot notation to override values in complex types.

Any intermdediate keys will be created as needed.


valueRequired

  • Type: java.lang.Object

The value.

Could be primitive or complex.


addPropertyDeletionOverride

public void addPropertyDeletionOverride(java.lang.String propertyPath)

Adds an override that deletes the value of a property from the resource definition.

propertyPathRequired

  • Type: java.lang.String

The path to the property.


addPropertyOverride

public void addPropertyOverride(java.lang.String propertyPath, java.lang.Object value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

propertyPathRequired

  • Type: java.lang.String

The path of the property.


valueRequired

  • Type: java.lang.Object

The value.


addRosDependency

public void addRosDependency(java.lang.String target)

targetRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy()
public void applyRemovalPolicy(RemovalPolicy policy)
public void applyRemovalPolicy(RemovalPolicy policy, RemovalPolicyOptions options)

Sets the deletion policy of the resource based on the removal policy specified.

policyOptional

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

optionsOptional

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

getAtt

public Reference getAtt(java.lang.String attributeName)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

attributeNameRequired

  • Type: java.lang.String

The name of the attribute.


Static Functions

Name Description
isConstruct Return whether the given object is a Construct.
isRosElement Returns true if a construct is a stack element (i.e. part of the synthesized template).
isRosResource Check whether the given construct is a RosResource.

isConstruct

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

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

isRosElement

import com.aliyun.ros.cdk.ehpc.RosCluster;
RosCluster.isRosElement(java.lang.Object x)

Returns true if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

xRequired

  • Type: java.lang.Object

isRosResource

import com.aliyun.ros.cdk.ehpc.RosCluster;
RosCluster.isRosResource(IConstruct construct)

Check whether the given construct is a RosResource.

constructRequired

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

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
creationStack java.util.List No description.
logicalId java.lang.String The logical ID for this stack element.
stack com.aliyun.ros.cdk.core.Stack The stack in which this element is defined.
ref java.lang.String Return a string that will be resolved to a RosTemplate { Ref } for this element.
rosOptions com.aliyun.ros.cdk.core.IRosResourceOptions Options for this resource, such as condition, update policy etc.
rosResourceType java.lang.String ROS resource type.
attrClusterId com.aliyun.ros.cdk.core.IResolvable No description.
attrEcsInfo com.aliyun.ros.cdk.core.IResolvable No description.
attrName com.aliyun.ros.cdk.core.IResolvable No description.
attrSecurityGroupId com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderComputeCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderComputeInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderLoginCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderLoginInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderManagerInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
osTag java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
accountType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
additionalVolumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalVolumesProperty> No description.
application com.aliyun.ros.cdk.core.IResolvable OR java.util.ListApplicationProperty> No description.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
clientVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
computeEnableHt java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
computeSpotPriceLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
computeSpotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
deployMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ecsOrderManagerCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ehpcVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
haEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
imageId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
imageOwnerAlias java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
inputFileUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
isComputeEss java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
jobQueue java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
keyPairName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
networkInterfaceTrafficMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
password java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
postInstallScript com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPostInstallScriptProperty> No description.
ramNodeTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
remoteDirectory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
remoteVisEnable java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
sccClusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
schedulerType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
systemDiskType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeMountpoint java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
volumeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
withoutElasticIp java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

nodeRequired

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

The construct tree node associated with this construct.


creationStackRequired

public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List

logicalIdRequired

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

The logical ID for this stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).


stackRequired

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

The stack in which this element is defined.

RosElements must be defined within a stack scope (directly or indirectly).


refRequired

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

Return a string that will be resolved to a RosTemplate { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).


rosOptionsRequired

public IRosResourceOptions getRosOptions();
  • Type: com.aliyun.ros.cdk.core.IRosResourceOptions

Options for this resource, such as condition, update policy etc.


rosResourceTypeRequired

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

ROS resource type.


attrClusterIdRequired

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

attrEcsInfoRequired

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

attrNameRequired

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

attrSecurityGroupIdRequired

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

ecsOrderComputeCountRequired

public java.lang.Object getEcsOrderComputeCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

ecsOrderComputeInstanceTypeRequired

public java.lang.Object getEcsOrderComputeInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

ecsOrderLoginCountRequired

public java.lang.Object getEcsOrderLoginCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

ecsOrderLoginInstanceTypeRequired

public java.lang.Object getEcsOrderLoginInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

ecsOrderManagerInstanceTypeRequired

public java.lang.Object getEcsOrderManagerInstanceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

enableResourcePropertyConstraintRequired

public java.lang.Boolean getEnableResourcePropertyConstraint();
  • Type: java.lang.Boolean

nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

osTagRequired

public java.lang.Object getOsTag();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

vSwitchIdRequired

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

accountTypeOptional

public java.lang.Object getAccountType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

additionalVolumesOptional

public java.lang.Object getAdditionalVolumes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAdditionalVolumesProperty>

applicationOptional

public java.lang.Object getApplication();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListApplicationProperty>

autoRenewOptional

public java.lang.Object getAutoRenew();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

autoRenewPeriodOptional

public java.lang.Object getAutoRenewPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

clientVersionOptional

public java.lang.Object getClientVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

computeEnableHtOptional

public java.lang.Object getComputeEnableHt();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

computeSpotPriceLimitOptional

public java.lang.Object getComputeSpotPriceLimit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

computeSpotStrategyOptional

public java.lang.Object getComputeSpotStrategy();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

deployModeOptional

public java.lang.Object getDeployMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

ecsChargeTypeOptional

public java.lang.Object getEcsChargeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

ecsOrderManagerCountOptional

public java.lang.Object getEcsOrderManagerCount();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

ehpcVersionOptional

public java.lang.Object getEhpcVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

haEnableOptional

public java.lang.Object getHaEnable();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

imageIdOptional

public java.lang.Object getImageId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

imageOwnerAliasOptional

public java.lang.Object getImageOwnerAlias();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

inputFileUrlOptional

public java.lang.Object getInputFileUrl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

isComputeEssOptional

public java.lang.Object getIsComputeEss();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

jobQueueOptional

public java.lang.Object getJobQueue();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

keyPairNameOptional

public java.lang.Object getKeyPairName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

networkInterfaceTrafficModeOptional

public java.lang.Object getNetworkInterfaceTrafficMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

passwordOptional

public java.lang.Object getPassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

periodOptional

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

periodUnitOptional

public java.lang.Object getPeriodUnit();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

postInstallScriptOptional

public java.lang.Object getPostInstallScript();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListPostInstallScriptProperty>

ramNodeTypesOptional

public java.lang.Object getRamNodeTypes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

ramRoleNameOptional

public java.lang.Object getRamRoleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

remoteDirectoryOptional

public java.lang.Object getRemoteDirectory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

remoteVisEnableOptional

public java.lang.Object getRemoteVisEnable();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

sccClusterIdOptional

public java.lang.Object getSccClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

schedulerTypeOptional

public java.lang.Object getSchedulerType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

securityGroupIdOptional

public java.lang.Object getSecurityGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

securityGroupNameOptional

public java.lang.Object getSecurityGroupName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

systemDiskLevelOptional

public java.lang.Object getSystemDiskLevel();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

systemDiskSizeOptional

public java.lang.Object getSystemDiskSize();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

systemDiskTypeOptional

public java.lang.Object getSystemDiskType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

volumeIdOptional

public java.lang.Object getVolumeId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

volumeMountpointOptional

public java.lang.Object getVolumeMountpoint();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

volumeProtocolOptional

public java.lang.Object getVolumeProtocol();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

volumeTypeOptional

public java.lang.Object getVolumeType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

vpcIdOptional

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

withoutElasticIpOptional

public java.lang.Object getWithoutElasticIp();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

zoneIdOptional

public java.lang.Object getZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Constants

Name Type Description
ROS_RESOURCE_TYPE_NAME java.lang.String The resource type name for this resource class.

ROS_RESOURCE_TYPE_NAMERequired

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

The resource type name for this resource class.