Skip to content

IInstanceGroup

Represents a InstanceGroup.

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.
attrHostNames java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute HostNames: Host names of created instances.
attrInnerIps java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InnerIps: Inner IP address list of the specified instances.
attrInstanceIds java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceIds: The instance id list of created ecs instances.
attrIpv6Addresses java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Ipv6Addresses: IPv6 addresses list of created ecs instances.
attrIpv6AddressIds java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Ipv6AddressIds: IPv6 address IDs list of created ecs instances.
attrOrderId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OrderId: The order id list of created instance.
attrPrivateIps java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PrivateIps: Private IP address list of created ecs instances.
attrPublicIps java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PublicIps: Public IP address list of created ecs instances.
attrZoneIds java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneIds: Zone id of created instances.
props InstanceGroupProps 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.


attrHostNamesRequired

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

Attribute HostNames: Host names of created instances.


attrInnerIpsRequired

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

Attribute InnerIps: Inner IP address list of the specified instances.

Only for classical instances.


attrInstanceIdsRequired

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

Attribute InstanceIds: The instance id list of created ecs instances.


attrIpv6AddressesRequired

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

Attribute Ipv6Addresses: IPv6 addresses list of created ecs instances.

Note: The return type is a two-tier list. If the instance does not have any IPv6 address, the element at the corresponding position in the list is null. If all instances does not have any IPv address, will return null.


attrIpv6AddressIdsRequired

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

Attribute Ipv6AddressIds: IPv6 address IDs list of created ecs instances.

Note: The return type is a two-tier list.If the instance does not have any IPv6 address, the element at the corresponding position in the list is null. If all instances does not have any IPv address, will return null.


attrOrderIdRequired

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

Attribute OrderId: The order id list of created instance.


attrPrivateIpsRequired

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

Attribute PrivateIps: Private IP address list of created ecs instances.

Only for VPC instance.


attrPublicIpsRequired

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

Attribute PublicIps: Public IP address list of created ecs instances.


attrZoneIdsRequired

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

Attribute ZoneIds: Zone id of created instances.


propsRequired

public InstanceGroupProps getProps();