Mods
AWS

Policy: AWS > IAM > Role > Policy > Trusted Access > Accounts

List of AWS Account IDs that are trusted for cross-account access in the AWS IAM role policy.

Note that Trusted Access > Accounts and Trusted Access > Organizations are evaluated independently. To have access, an AWS principal must be allowed in Trusted Access > Accounts AND be a member of an Organization that is allowed in Trusted Access > Organizations.

example: - "123456789012" Note: Setting the policy to an Empty array will remove all accounts.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Packs

This policy setting is used by the following policy packs:

Policy Specification

Schema Type
array
Default template
{% if $.accounts | length == 0 %}[]{% endif %}{% for item in $.accounts %}- '{{ item }}'
{% endfor %}
Default template input
|
{
accounts: policy(uri: "tmod:@turbot/aws-iam#/policy/types/iamPolicyTrustedAccounts")
}

Category

In Your Workspace

Developers