networkConfiguration 
  construct an aws.sdk.kotlin.services.ecs.model.NetworkConfiguration inside the given block
The network configuration for the task. This parameter is required for task definitions that use the awsvpc network mode to receive their own elastic network interface, and it isn't supported for other network modes. For more information, see Task networking in the Amazon Elastic Container Service Developer Guide.