/AWS1/CL_IAMGETROLEPOLICYRSP¶
Contains the response to a successful GetRolePolicy request.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_rolename
TYPE /AWS1/IAMROLENAMETYPE
/AWS1/IAMROLENAMETYPE
¶
The role the policy is associated with.
iv_policyname
TYPE /AWS1/IAMPOLICYNAMETYPE
/AWS1/IAMPOLICYNAMETYPE
¶
The name of the policy.
iv_policydocument
TYPE /AWS1/IAMPOLICYDOCUMENTTYPE
/AWS1/IAMPOLICYDOCUMENTTYPE
¶
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
Queryable Attributes¶
RoleName¶
The role the policy is associated with.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ROLENAME() |
Getter for ROLENAME, with configurable default |
ASK_ROLENAME() |
Getter for ROLENAME w/ exceptions if field has no value |
HAS_ROLENAME() |
Determine if ROLENAME has a value |
PolicyName¶
The name of the policy.
Accessible with the following methods¶
Method | Description |
---|---|
GET_POLICYNAME() |
Getter for POLICYNAME, with configurable default |
ASK_POLICYNAME() |
Getter for POLICYNAME w/ exceptions if field has no value |
HAS_POLICYNAME() |
Determine if POLICYNAME has a value |
PolicyDocument¶
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
Accessible with the following methods¶
Method | Description |
---|---|
GET_POLICYDOCUMENT() |
Getter for POLICYDOCUMENT, with configurable default |
ASK_POLICYDOCUMENT() |
Getter for POLICYDOCUMENT w/ exceptions if field has no valu |
HAS_POLICYDOCUMENT() |
Determine if POLICYDOCUMENT has a value |