Skip to content

IInstanceClone

Represents a InstanceClone.

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.
attrHostName string | @alicloud/ros-cdk-core.IResolvable Attribute HostName: Host name of created instance.
attrInnerIp string | @alicloud/ros-cdk-core.IResolvable Attribute InnerIp: Inner IP address of the specified instance.
attrInstanceId string | @alicloud/ros-cdk-core.IResolvable Attribute InstanceId: The instance ID of created ecs instance.
attrPrimaryNetworkInterfaceId string | @alicloud/ros-cdk-core.IResolvable Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.
attrPrivateIp string | @alicloud/ros-cdk-core.IResolvable Attribute PrivateIp: Private IP address of created ecs instance.
attrPublicIp string | @alicloud/ros-cdk-core.IResolvable Attribute PublicIp: Public IP address of created ecs instance.
attrSecurityGroupIds string | @alicloud/ros-cdk-core.IResolvable Attribute SecurityGroupIds: Security group ID list of created instance.
attrZoneId string | @alicloud/ros-cdk-core.IResolvable Attribute ZoneId: Zone ID of created instance.
props InstanceCloneProps 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.


attrHostNameRequired

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

Attribute HostName: Host name of created instance.


attrInnerIpRequired

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

Attribute InnerIp: Inner IP address of the specified instance.

Only for classical instance.


attrInstanceIdRequired

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

Attribute InstanceId: The instance ID of created ecs instance.


attrPrimaryNetworkInterfaceIdRequired

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

Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.


attrPrivateIpRequired

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

Attribute PrivateIp: Private IP address of created ecs instance.

Only for VPC instance.


attrPublicIpRequired

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

Attribute PublicIp: Public IP address of created ecs instance.


attrSecurityGroupIdsRequired

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

Attribute SecurityGroupIds: Security group ID list of created instance.


attrZoneIdRequired

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

Attribute ZoneId: Zone ID of created instance.


propsRequired

public readonly props: InstanceCloneProps;