Skip to content

/AWS1/CL_ECSMANAGEDINSNETCONF

The network configuration for Amazon ECS Managed Instances. This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

CONSTRUCTOR

IMPORTING

Optional arguments:

it_subnets TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.

it_securitygroups TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.


Queryable Attributes

subnets

The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances. Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.

Accessible with the following methods

Method Description
GET_SUBNETS() Getter for SUBNETS, with configurable default
ASK_SUBNETS() Getter for SUBNETS w/ exceptions if field has no value
HAS_SUBNETS() Determine if SUBNETS has a value

securityGroups

The list of security group IDs to apply to Amazon ECS Managed Instances. These security groups control the network traffic allowed to and from the instances.

Accessible with the following methods

Method Description
GET_SECURITYGROUPS() Getter for SECURITYGROUPS, with configurable default
ASK_SECURITYGROUPS() Getter for SECURITYGROUPS w/ exceptions if field has no valu
HAS_SECURITYGROUPS() Determine if SECURITYGROUPS has a value