pub fn network_configuration(
        &self,
    ) -> std::option::Option<&crate::model::NetworkConfiguration> {
        self.network_configuration.as_ref()
    }
/// <p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if <code>LaunchType</code> is <code>FARGATE</code> because the <code>awsvpc</code> mode is required for Fargate tasks.</p>
/// <p>If you specify <code>NetworkConfiguration</code> when the target ECS task does not use the <code>awsvpc</code> network mode, the task fails.</p>
Use this structure if the Amazon ECS task uses the awsvpc network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks.
If you specify NetworkConfiguration when the target ECS task does not use the awsvpc network mode, the task fails.
Use this structure if the Amazon ECS task uses the awsvpc network mode . This structure specifies the VPC subnets and security groups associated with the task and whether a public IP address is to be used . This structure is required if LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks . If you specify NetworkConfiguration when the target ECS task does not use the awsvpc network mode the task fails .
pub fn network_configuration(
        &self,
    ) -> std::option::Option<&crate::model::NetworkConfiguration> {
        self.network_configuration.as_ref()
    }
pub fn network_configuration ( & self , ) -> std :: option :: Option < & crate :: model :: NetworkConfiguration > { self . network_configuration . as_ref ( ) }
<p>Use this structure if the Amazon ECS task uses the <code>awsvpc</code> network mode.
<p > Use this structure if the Amazon ECS task uses the <code > awsvpc< / code > network mode .
&self
&self