Skip to content

IContainerGroup

Represents a ContainerGroup.

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_container_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ContainerGroupId: The ID of the container group.
attr_container_group_name typing.Union[str, ros_cdk_core.IResolvable] Attribute ContainerGroupName: The name of the container group.
attr_eni_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute EniInstanceId: ENI instance ID.
attr_internet_ip typing.Union[str, ros_cdk_core.IResolvable] Attribute InternetIp: Internet IP.
attr_intranet_ip typing.Union[str, ros_cdk_core.IResolvable] Attribute IntranetIp: Intranet IP.
attr_ipv6_address typing.Union[str, ros_cdk_core.IResolvable] Attribute Ipv6Address: Ipv6 address.
attr_region_id typing.Union[str, ros_cdk_core.IResolvable] Attribute RegionId: The ID of the region in which the instance resides.
attr_security_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SecurityGroupId: The ID of the security group to which the instance belongs.
attr_v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VSwitchId: The ID of the VSwitch.
attr_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ZoneId: The ID of the zone in which the instance resides.
props ContainerGroupProps 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_container_group_idRequired

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

Attribute ContainerGroupId: The ID of the container group.


attr_container_group_nameRequired

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

Attribute ContainerGroupName: The name of the container group.


attr_eni_instance_idRequired

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

Attribute EniInstanceId: ENI instance ID.


attr_internet_ipRequired

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

Attribute InternetIp: Internet IP.


attr_intranet_ipRequired

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

Attribute IntranetIp: Intranet IP.


attr_ipv6_addressRequired

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

Attribute Ipv6Address: Ipv6 address.


attr_region_idRequired

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

Attribute RegionId: The ID of the region in which the instance resides.


attr_security_group_idRequired

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

Attribute SecurityGroupId: The ID of the security group to which the instance belongs.

Instances in the same security group can access one another.


attr_v_switch_idRequired

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

Attribute VSwitchId: The ID of the VSwitch.

Currently, ECI instances can only be deployed in VPCs.


attr_zone_idRequired

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

Attribute ZoneId: The ID of the zone in which the instance resides.

If you leave the parameter blank, the system assigns a zone for you. The default value is blank.


propsRequired

props: ContainerGroupProps