Skip to content

/AWS1/CL_IAMPOLICYIDENTIFIER

Identifies one or more policies as a union type. Specify exactly one of PolicyType, PolicyArn, or InlinePolicyIdentifier to identify policies by their type, by Amazon Resource Name (ARN), or by the name of an inline policy and the entity it is attached to.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_policytype TYPE /AWS1/IAMPOLICYIDPOLICYTYPE /AWS1/IAMPOLICYIDPOLICYTYPE

The policy type to identify. All policies of the specified type are matched.

iv_policyarn TYPE /AWS1/IAMARNTYPE /AWS1/IAMARNTYPE

The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role. Wildcard characters are supported in the resource name portion of the ARN to match multiple managed policies: use at most one * (matches any sequence of characters, including none), and any number of ? (each matches exactly one character).

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

io_inlinepolicyidentifier TYPE REF TO /AWS1/CL_IAMINLINEPOLICYIDTYPE /AWS1/CL_IAMINLINEPOLICYIDTYPE

An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (* and ?) in the entity name can match multiple entities.


Queryable Attributes

PolicyType

The policy type to identify. All policies of the specified type are matched.

Accessible with the following methods

Method Description
GET_POLICYTYPE() Getter for POLICYTYPE, with configurable default
ASK_POLICYTYPE() Getter for POLICYTYPE w/ exceptions if field has no value
HAS_POLICYTYPE() Determine if POLICYTYPE has a value

PolicyArn

The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy that is attached to an IAM user, group, or role. Wildcard characters are supported in the resource name portion of the ARN to match multiple managed policies: use at most one * (matches any sequence of characters, including none), and any number of ? (each matches exactly one character).

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Accessible with the following methods

Method Description
GET_POLICYARN() Getter for POLICYARN, with configurable default
ASK_POLICYARN() Getter for POLICYARN w/ exceptions if field has no value
HAS_POLICYARN() Determine if POLICYARN has a value

InlinePolicyIdentifier

An inline policy identifier consisting of a policy name and the entity it is attached to. Wildcard characters (* and ?) in the entity name can match multiple entities.

Accessible with the following methods

Method Description
GET_INLINEPOLICYIDENTIFIER() Getter for INLINEPOLICYIDENTIFIER

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_POLICYEXCLUSIONSLISTTYPE

TYPES TT_POLICYEXCLUSIONSLISTTYPE TYPE STANDARD TABLE OF REF TO /AWS1/CL_IAMPOLICYIDENTIFIER WITH DEFAULT KEY
.