Mods
AWS

Policy: AWS > EC2 > Target Group > Approved > Regions

A list of AWS regions in which AWS EC2 target groups are approved for use.

The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.

This policy will be evaluated by the Approved control. If an AWS EC2 target group is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > EC2 > Target Group > Approved policy.

See Approved for more information.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Default template
{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'
{% endfor %}
Default template input
|
{
regions: policy(uri: "tmod:@turbot/aws-ec2#/policy/types/ec2ApprovedRegionsDefault")
}

Category

In Your Workspace

Developers