SCP::IAM::Policy

SCP::IAM::Policy

SCP::IAM::Policy

Description

An IAM Policy that defines permissions. The policy document contains statements that allow or deny specific actions on resources, and can be bound to users, groups, or roles.

Version

1.4.0

Syntax

To declare this entity in your Infrastructure Builder template, use the following syntax:

JSON

{
  "Type" : "SCP::IAM::Policy",
  "Properties" : {
    "PolicyName" : "String",
    "Description" : "String",
    "PolicyVersion" : "PolicyVersion"
  }
}

YAML

Type: SCP::IAM::Policy
Properties:
  PolicyName: String
  Description: String
  PolicyVersion: PolicyVersion

Properties

PolicyName

The name of the policy. Used to identify the policy within the account. After creation, the name cannot be changed. - minLength : 3 - maxLength : 128 - pattern : ^[a-zA-Z0-9-.,_+=@ㄱ-ㅎㅏ-ㅣ가-힣]*$

AttributeValue
RequiredYes
TypeString
Pattern^[a-zA-Z0-9\-.,_+=@ㄱ-ㅎㅏ-ㅣ가-힣]*$
Length constraints3–128
Update requiresNo interruption

Description

A brief explanation or note about this policy. This helps identify the purpose or usage of the policy. - maxLength : 1000

AttributeValue
RequiredNo
TypeString
Length constraintsMax: 1000
Update requiresNo interruption

PolicyVersion

The version of the policy. Contains the policy document that defines the policy permissions.

AttributeValue
RequiredYes
TypePolicyVersion
Update requiresNo interruption

For more information, see PolicyVersion.

Return Values

Ref

When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.

Fn::GetAtt

AttributeDescription
PolicyNameThe name of the policy. Used to identify the policy within the account. After creation, the name cannot be changed. - minLength : 3 - maxLength : 128 - pattern : ^[a-zA-Z0-9-.,_+=@ㄱ-ㅎㅏ-ㅣ가-힣]*$
DescriptionA brief explanation or note about this policy. This helps identify the purpose or usage of the policy. - maxLength : 1000
PolicyTypeThe type of the policy. - enum : [SYSTEM_MANAGED, USER_DEFINED, INLINE]
PolicyCategoryThe category of the policy. - enum : [IDENTITY_BASED, RESOURCE_BASED, SESSION]
StateThe state of the policy. - enum : [ACTIVE, INACTIVE, DELETED]
DefaultVersionIdThe default version id of the policy. Used when the policy version is not specified explicitly.
SrnThe Samsung resource name (SRN) of the policy. Uniquely identifies the policy within the platform.
AccountIdThe account ID that owns the policy.
DomainNameThe domain name where the policy belongs.
ServiceTypeThe service type of the policy.
ServiceNameThe service name of the policy.
ResourceTypeThe resource type of the policy.
CreatorNameThe name of the user who created the policy.
CreatorEmailThe email of the user who created the policy.
ModifierNameThe name of the user who last modified the policy.
ModifierEmailThe email of the user who last modified the policy.