assume Role Policy
Policy that grants an entity permission to assume the role.
NOTE: The
assume_role_policyis very similar to but slightly different than a standard IAM policy and cannot use anaws.iam.Policyresource. However, it can use anaws.iam.getPolicyDocumentdata source. See the example above of how this works. The following arguments are optional: