PolicyCreateRequest

PolicyCreateRequest

NameDescriptionSchemaDefault
default_version_id
optional
Default Version Id
Example : c1b1fc611eb34eccbccfb563f77395ee
any of [string, null]
description
optional
Description
Example : Descriptions for policy
any of [string, null]
policy_category
optional
Policy Category
Example : IDENTITY_BASED
enum (IDENTITY_BASED, RESOURCE_BASED, SESSION)IDENTITY_BASED
policy_name
required
Policy Name
Example : PolicyName
Pattern : ^[a-zA-Z0-9\-.,_+=@ㄱ-ㅎㅏ-ㅣ가-힣]*$
Minimum length : 3
Maximum length : 128
string
policy_type
optional
Policy Type
Example : USER_DEFINED
enum (SYSTEM_MANAGED, USER_DEFINED, INLINE)USER_DEFINED
policy_version
required
Policy Version
PolicyVersionCreateRequest
service_type
optional
Service Type
Example : scp-iam
any of [string, null]
tags
optional
Policy Tag
Example : [{'key': 'foo', 'value': 'bar'}]
any of [array[object[string]], null]