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

KeyDatatypeRequiredDescription
AssumeRolePolicyDocumentnullThe trust relationship policy document that grants an entity permission to assume the role.
DescriptionnullA description of the role.
MaxSessionDurationnullThe 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.
PathnullThe path to the role. For more information about paths, see IAM Identifiers in the IAM User Guide.
PermissionsBoundarynullThe ARN of the policy that is used to set the permissions boundary for the role.
RoleNamenullThe name of the role to create.
Tags.member.NnullA 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.
VersionstringThe version of the API.