CrossAccountRole
Specifies a cross-account IAM role ARN and optional external ID.
Contents
- crossAccountRoleArn
-
ARN of the IAM Role for the profile. Null if the permission profile is the 'Admin' profile.
Type: String
Length Constraints: Minimum length of 32.
Pattern:
arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):iam::[0-9]{12}:role/(([^/][!-~]+/){1,511})?[A-Za-z0-9_+=,.@-]{1,64}Required: Yes
- externalId
-
The external ID used for assuming the cross-account role.
Type: String
Length Constraints: Minimum length of 2. Maximum length of 1224.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: