Skip to content

IInstance

Represents a Instance.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_host_name typing.Union[str, ros_cdk_core.IResolvable] Attribute HostName: Host name of created instance.
attr_inner_ip typing.Union[str, ros_cdk_core.IResolvable] Attribute InnerIp: Inner IP address of the specified instance.
attr_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceId: The instance ID of created ecs instance.
attr_primary_network_interface_id typing.Union[str, ros_cdk_core.IResolvable] Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.
attr_private_ip typing.Union[str, ros_cdk_core.IResolvable] Attribute PrivateIp: Private IP address of created ecs instance.
attr_public_ip typing.Union[str, ros_cdk_core.IResolvable] Attribute PublicIp: Public IP address of created ecs instance.
attr_security_group_ids typing.Union[str, ros_cdk_core.IResolvable] Attribute SecurityGroupIds: Security group ID list of created instance.
attr_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ZoneId: Zone ID of created instance.
props InstanceProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_host_nameRequired

attr_host_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute HostName: Host name of created instance.


attr_inner_ipRequired

attr_inner_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute InnerIp: Inner IP address of the specified instance.

Only for classical instance.


attr_instance_idRequired

attr_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute InstanceId: The instance ID of created ecs instance.


attr_primary_network_interface_idRequired

attr_primary_network_interface_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PrimaryNetworkInterfaceId: Primary network interface ID of created instance.


attr_private_ipRequired

attr_private_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PrivateIp: Private IP address of created ecs instance.

Only for VPC instance.


attr_public_ipRequired

attr_public_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute PublicIp: Public IP address of created ecs instance.


attr_security_group_idsRequired

attr_security_group_ids: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute SecurityGroupIds: Security group ID list of created instance.


attr_zone_idRequired

attr_zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ZoneId: Zone ID of created instance.


propsRequired

props: InstanceProps