ICluster
Represents a Cluster.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrClusterId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute ClusterId: Cluster ID. |
attrEngineVersions | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute EngineVersions: Engine Versions. |
attrMasterInstanceInfos | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MasterInstanceInfos: Master instance infos. |
attrOrderId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute OrderId: Order ID. |
attrSecurityGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SecurityGroupId: Security group Id. |
attrSlaveInstanceInfos | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute SlaveInstanceInfos: Slave instance infos. |
attrState | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute State: Cluster status. |
attrVSwitchIds | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute VSwitchIds: VSwitch Ids. |
props | ClusterProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.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 getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrClusterIdRequired
public java.lang.Object getAttrClusterId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute ClusterId: Cluster ID.
attrEngineVersionsRequired
public java.lang.Object getAttrEngineVersions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute EngineVersions: Engine Versions.
attrMasterInstanceInfosRequired
public java.lang.Object getAttrMasterInstanceInfos();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MasterInstanceInfos: Master instance infos.
attrOrderIdRequired
public java.lang.Object getAttrOrderId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute OrderId: Order ID.
attrSecurityGroupIdRequired
public java.lang.Object getAttrSecurityGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SecurityGroupId: Security group Id.
attrSlaveInstanceInfosRequired
public java.lang.Object getAttrSlaveInstanceInfos();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute SlaveInstanceInfos: Slave instance infos.
attrStateRequired
public java.lang.Object getAttrState();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute State: Cluster status.
attrVSwitchIdsRequired
public java.lang.Object getAttrVSwitchIds();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute VSwitchIds: VSwitch Ids.
propsRequired
public ClusterProps getProps();
- Type: ClusterProps