Create Role
GET {{aws_identtity_and_access_management_base_url}}/?AssumeRolePolicyDocument&Description&MaxSessionDuration&Path&PermissionsBoundary&RoleName&Tags.member.N&Version=2010-05-08
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
AssumeRolePolicyDocument | null | The trust relationship policy document that grants an entity permission to assume the role. | |
Description | null | A description of the role. | |
MaxSessionDuration | null | The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours. | |
Path | null | The path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide. | |
PermissionsBoundary | null | The ARN of the policy that is used to set the permissions boundary for the role. | |
RoleName | null | The name of the role to create. | |
Tags.member.N | null | A list of tags that you want to attach to the newly created role. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide. | |
Version | string | The version of the API. |