Mods

Control: AWS > ECS > Task Definition > Allowed > Region

Take an action when an AWS ECS task definition is created in a region that is not allowed.

The Allowed > Region control checks if the task definition is created in an allowed region based on the Allowed > Region > * policies. If the task definition is created in a region that is not in the allowed list, this control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete if region not allowed and task definition is new, this control will only take the enforcement actions for resources created within the last 60 minutes.

Resource Types

This control targets the following resource types:

Policies

The following policies can be used to configure this control:

This control type relies on these other policies when running actions:

Permissions

Cloud permissions used by this control and its actions:

  • ecs:DeregisterTaskDefinition

Category

In Your Workspace

Developers