

# ecs-containers-nonprivileged
<a name="ecs-containers-nonprivileged"></a>

Checks if the privileged parameter in the container definition of ECSTaskDefinitions is set to ‘true’. The rule is NON\_COMPLIANT if the privileged parameter is ‘true’. 

**Note**  
This rule only evaluates the latest active revision of an Amazon ECS task definition.

**Identifier:** ECS\_CONTAINERS\_NONPRIVILEGED

**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="w2aac20c16c17b7d657c19"></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).