/AWS1/CL_ECSAWSVPCCONF¶
An object representing the networking details for a task or service. For example
awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
it_subnets TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.
All specified subnets must be from the same VPC.
Optional arguments:¶
it_securitygroups TYPE /AWS1/CL_ECSSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.
All specified security groups must be from the same VPC.
iv_assignpublicip TYPE /AWS1/ECSASSIGNPUBLICIP /AWS1/ECSASSIGNPUBLICIP¶
Whether the task's elastic network interface receives a public IP address.
Consider the following when you set this value:
When you use
create-serviceorupdate-service, the default isDISABLED.When the service
deploymentControllerisECS, the value must beDISABLED.
Queryable Attributes¶
subnets¶
The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.
All specified subnets must be from 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 IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.
All specified security groups must be from the same VPC.
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 |
assignPublicIp¶
Whether the task's elastic network interface receives a public IP address.
Consider the following when you set this value:
When you use
create-serviceorupdate-service, the default isDISABLED.When the service
deploymentControllerisECS, the value must beDISABLED.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ASSIGNPUBLICIP() |
Getter for ASSIGNPUBLICIP, with configurable default |
ASK_ASSIGNPUBLICIP() |
Getter for ASSIGNPUBLICIP w/ exceptions if field has no valu |
HAS_ASSIGNPUBLICIP() |
Determine if ASSIGNPUBLICIP has a value |