RoleCreateRequestV1Dot3
RoleCreateRequestV1Dot3
| Name | Description | Schema | Default |
|---|---|---|---|
| account_id optional | Account ID Example : | any of [string, null] | |
| assume_role_policy_document optional | Role Trust Policy Example : {'Statement': [{'Action': ['sts:AssumeRole'], 'Condition': {}, 'Effect': 'Allow', 'Principal': 'srn:e:1234:::iam:user/abc1234', 'Resource': [], 'Sid': 'statement1'}], 'Version': '2024-07-01'} | any of [PolicyDocument, null] | |
| description optional | Role Description Example : | any of [string, null] | |
| max_session_duration optional | Role Maximum Session Duration (seconds) Example : 3600Minimum : 3600Maximum : 43200 | integer | 3600 |
| name required | Role Name Example : Pattern : ^[a-zA-Z0-9\+\=\,\.\@\-\_]*$Maximum length : 64 | string | |
| policy_ids required | Policy ID List to Attach to Role Example : ['37f2e31ff86b415698d7e8eeafab445d'] | array[string] | |
| principals optional | Trust Policy Principal List Example : [{'type': 'SRN', 'value': 'srn:e:1234:::iam:user/abc1234'}] | any of [array[RoleTrustPolicyPrincipal], null] | |
| role_type optional | Role Type Example : USER_DEFINED | any of [string, null] | USER_DEFINED |
| tags optional | Role Tag Example : [{'key': 'company', 'value': 'SDS'}] | any of [array[object[string]], null] |