Skip to content

ICluster

  • Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource

  • Implemented By: Cluster, ICluster

Represents a Cluster.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrClusterId object Attribute ClusterId: Cluster Id.
AttrEcsInfo object Attribute EcsInfo: A data structure describing the number and specifications of ECS for various components of the cluster.
AttrName object Attribute Name: Cluster name.
AttrSecurityGroupId object Attribute SecurityGroupId: Security group ID.
Props ClusterProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrClusterIdRequired

public object AttrClusterId { get; }
  • Type: object

Attribute ClusterId: Cluster Id.


AttrEcsInfoRequired

public object AttrEcsInfo { get; }
  • Type: object

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 object AttrName { get; }
  • Type: object

Attribute Name: Cluster name.


AttrSecurityGroupIdRequired

public object AttrSecurityGroupId { get; }
  • Type: object

Attribute SecurityGroupId: Security group ID.


PropsRequired

public ClusterProps Props { get; }