RoleCreateRequest

RoleCreateRequest

NameDescriptionSchemaDefault
account_id
optional
역할이 속한 계정의 ID
Example :
any of [string, null]
assume_role_policy_document
optional
역할 신뢰 정책
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
역할 설명
Example :
any of [string, null]
max_session_duration
optional
역할 세션 최대 지속 시간(초)
Example : 3600
Minimum : 3600
Maximum : 43200
integer3600
name
required
역할명
Example :
Pattern : ^[a-zA-Z0-9\+\=\,\.\@\-\_]*$
Maximum length : 64
string
policy_ids
required
역할에 연결할 정책 ID 목록
Example : ['37f2e31ff86b415698d7e8eeafab445d']
array[string]
principals
optional
신뢰 정책 수행 주체 목록
Example : [{'type': 'SRN', 'value': 'srn:e:1234:::iam:user/abc1234'}]
any of [array[RoleTrustPolicyPrincipal], null]
tags
optional
역할 태그
Example : [{'key': 'company', 'value': 'SDS'}]
any of [array[object[string]], null]