

# ecs-task-definition-network-mode-not-host
<a name="ecs-task-definition-network-mode-not-host"></a>

Checks if the latest active revision of Amazon ECS task definitions use host network mode. The rule is NON\_COMPLIANT if the latest active revision of the ECS task definition uses host network mode. 



**Identifier:** ECS\_TASK\_DEFINITION\_NETWORK\_MODE\_NOT\_HOST

**Resource Types:** AWS::ECS::TaskDefinition

**Trigger type:** Configuration changes

**Amazon Web Services Region:** All supported Amazon regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Mexico (Central), Asia Pacific (Taipei) Region

**Parameters:**

None  

## Amazon CloudFormation template
<a name="w2aac20c16c17b7d677c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).