Skip to content

IInstanceGroup

Represents a InstanceGroup.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrHostNames string | @alicloud/ros-cdk-core.IResolvable Attribute HostNames: Host names of created instances.
attrInnerIps string | @alicloud/ros-cdk-core.IResolvable Attribute InnerIps: Inner IP address list of the specified instances.
attrInstanceIds string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceIds: The instance id list of created ecs instances.
attrIpv6Addresses string | @alicloud/ros-cdk-core.IResolvable Attribute Ipv6Addresses: IPv6 addresses list of created ecs instances.
attrIpv6AddressIds string | @alicloud/ros-cdk-core.IResolvable Attribute Ipv6AddressIds: IPv6 address IDs list of created ecs instances.
attrOrderId string | @alicloud/ros-cdk-core.IResolvable Attribute OrderId: The order id list of created instance.
attrPrivateIps string | @alicloud/ros-cdk-core.IResolvable Attribute PrivateIps: Private IP address list of created ecs instances.
attrPublicIps string | @alicloud/ros-cdk-core.IResolvable Attribute PublicIps: Public IP address list of created ecs instances.
attrZoneIds string | @alicloud/ros-cdk-core.IResolvable Attribute ZoneIds: Zone id of created instances.
props InstanceGroupProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrHostNamesRequired

public readonly attrHostNames: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute HostNames: Host names of created instances.


attrInnerIpsRequired

public readonly attrInnerIps: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

Only for classical instances.


attrInstanceIdsRequired

public readonly attrInstanceIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrIpv6AddressesRequired

public readonly attrIpv6Addresses: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrIpv6AddressIds: string | IResolvable;
  • Type: string | @alicloud/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 readonly attrOrderId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute OrderId: The order id list of created instance.


attrPrivateIpsRequired

public readonly attrPrivateIps: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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

Only for VPC instance.


attrPublicIpsRequired

public readonly attrPublicIps: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrZoneIdsRequired

public readonly attrZoneIds: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Attribute ZoneIds: Zone id of created instances.


propsRequired

public readonly props: InstanceGroupProps;