network Configuration
Parameters
value
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launch_type
is FARGATE
because the awsvpc mode is required for Fargate tasks.
suspend fun networkConfiguration(argument: suspend EventTargetEcsTargetNetworkConfigurationArgsBuilder.() -> Unit)
Parameters
argument
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launch_type
is FARGATE
because the awsvpc mode is required for Fargate tasks.