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.List |
No description. |
application |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
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.List |
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. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
scope in which this resource is defined.
id
Required
- Type: java.lang.String
scoped id of the resource.
enableResourcePropertyConstraint
Required
- Type: java.lang.Boolean
ecsOrderComputeCount
Required
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderComputeInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderLoginCount
Required
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderLoginInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderManagerInstanceType
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
name
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
osTag
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
vSwitchId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
accountType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
additionalVolumes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AdditionalVolumesProperty>
application
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ApplicationProperty>
autoRenew
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
autoRenewPeriod
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
clientVersion
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
computeEnableHt
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
computeSpotPriceLimit
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
computeSpotStrategy
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
deployMode
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
description
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsChargeType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderManagerCount
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ehpcVersion
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
haEnable
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
imageId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
imageOwnerAlias
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
inputFileUrl
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
isComputeEss
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
jobQueue
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
keyPairName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
networkInterfaceTrafficMode
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
password
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
period
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
periodUnit
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
postInstallScript
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
PostInstallScriptProperty>
ramNodeTypes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ramRoleName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
remoteDirectory
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
remoteVisEnable
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
resourceGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
sccClusterId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
schedulerType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
systemDiskLevel
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
systemDiskSize
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
systemDiskType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeMountpoint
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeProtocol
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeType
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
vpcId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
withoutElasticIp
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
zoneId
Optional
- 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.
- 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.
- Type: java.lang.String
The new logical ID to use for this stack element.
addCondition
public void addCondition(RosCondition con)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- 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)
.
- 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.
- Type: com.aliyun.ros.cdk.core.RosResource
addDesc
public void addDesc(java.lang.String desc)
- Type: java.lang.String
addMetaData
public void addMetaData(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- 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"
...
},
]
...
}
- 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.
- 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.
- 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)
.
- Type: java.lang.String
The path of the property.
- Type: java.lang.Object
The value.
addRosDependency
public void addRosDependency(java.lang.String target)
- 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.
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
- 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.
- 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.
- 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.
- Type: java.lang.Object
isRosResource
import com.aliyun.ros.cdk.ehpc.RosCluster;
RosCluster.isRosResource(IConstruct construct)
Check whether the given construct is a RosResource.
- 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.List |
No description. |
application |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
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.List |
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. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
creationStack
Required
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List
logicalId
Required
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)
.
stack
Required
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).
ref
Required
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 })
.
rosOptions
Required
public IRosResourceOptions getRosOptions();
- Type: com.aliyun.ros.cdk.core.IRosResourceOptions
Options for this resource, such as condition, update policy etc.
rosResourceType
Required
public java.lang.String getRosResourceType();
- Type: java.lang.String
ROS resource type.
attrClusterId
Required
public IResolvable getAttrClusterId();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrEcsInfo
Required
public IResolvable getAttrEcsInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrName
Required
public IResolvable getAttrName();
- Type: com.aliyun.ros.cdk.core.IResolvable
attrSecurityGroupId
Required
public IResolvable getAttrSecurityGroupId();
- Type: com.aliyun.ros.cdk.core.IResolvable
ecsOrderComputeCount
Required
public java.lang.Object getEcsOrderComputeCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderComputeInstanceType
Required
public java.lang.Object getEcsOrderComputeInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderLoginCount
Required
public java.lang.Object getEcsOrderLoginCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderLoginInstanceType
Required
public java.lang.Object getEcsOrderLoginInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderManagerInstanceType
Required
public java.lang.Object getEcsOrderManagerInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
enableResourcePropertyConstraint
Required
public java.lang.Boolean getEnableResourcePropertyConstraint();
- Type: java.lang.Boolean
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
osTag
Required
public java.lang.Object getOsTag();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
vSwitchId
Required
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
accountType
Optional
public java.lang.Object getAccountType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
additionalVolumes
Optional
public java.lang.Object getAdditionalVolumes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AdditionalVolumesProperty>
application
Optional
public java.lang.Object getApplication();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ApplicationProperty>
autoRenew
Optional
public java.lang.Object getAutoRenew();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
autoRenewPeriod
Optional
public java.lang.Object getAutoRenewPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
clientVersion
Optional
public java.lang.Object getClientVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
computeEnableHt
Optional
public java.lang.Object getComputeEnableHt();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
computeSpotPriceLimit
Optional
public java.lang.Object getComputeSpotPriceLimit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
computeSpotStrategy
Optional
public java.lang.Object getComputeSpotStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
deployMode
Optional
public java.lang.Object getDeployMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsChargeType
Optional
public java.lang.Object getEcsChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ecsOrderManagerCount
Optional
public java.lang.Object getEcsOrderManagerCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ehpcVersion
Optional
public java.lang.Object getEhpcVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
haEnable
Optional
public java.lang.Object getHaEnable();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
imageId
Optional
public java.lang.Object getImageId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
imageOwnerAlias
Optional
public java.lang.Object getImageOwnerAlias();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
inputFileUrl
Optional
public java.lang.Object getInputFileUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
isComputeEss
Optional
public java.lang.Object getIsComputeEss();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
jobQueue
Optional
public java.lang.Object getJobQueue();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
keyPairName
Optional
public java.lang.Object getKeyPairName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
networkInterfaceTrafficMode
Optional
public java.lang.Object getNetworkInterfaceTrafficMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
password
Optional
public java.lang.Object getPassword();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
period
Optional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
periodUnit
Optional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
postInstallScript
Optional
public java.lang.Object getPostInstallScript();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
PostInstallScriptProperty>
ramNodeTypes
Optional
public java.lang.Object getRamNodeTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ramRoleName
Optional
public java.lang.Object getRamRoleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
remoteDirectory
Optional
public java.lang.Object getRemoteDirectory();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
remoteVisEnable
Optional
public java.lang.Object getRemoteVisEnable();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
sccClusterId
Optional
public java.lang.Object getSccClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
schedulerType
Optional
public java.lang.Object getSchedulerType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupId
Optional
public java.lang.Object getSecurityGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupName
Optional
public java.lang.Object getSecurityGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
systemDiskLevel
Optional
public java.lang.Object getSystemDiskLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
systemDiskSize
Optional
public java.lang.Object getSystemDiskSize();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
systemDiskType
Optional
public java.lang.Object getSystemDiskType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeId
Optional
public java.lang.Object getVolumeId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeMountpoint
Optional
public java.lang.Object getVolumeMountpoint();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeProtocol
Optional
public java.lang.Object getVolumeProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
volumeType
Optional
public java.lang.Object getVolumeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
vpcId
Optional
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
withoutElasticIp
Optional
public java.lang.Object getWithoutElasticIp();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
zoneId
Optional
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_NAME
Required
public java.lang.String getRosResourceTypeName();
- Type: java.lang.String
The resource type name for this resource class.