Skip to content

/AWS1/CL_IAMCONTEXTENTRY

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_contextkeyname TYPE /AWS1/IAMCONTEXTKEYNAMETYPE /AWS1/IAMCONTEXTKEYNAMETYPE

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

it_contextkeyvalues TYPE /AWS1/CL_IAMCTXKEYVALLSTTYPE_W=>TT_CONTEXTKEYVALUELISTTYPE TT_CONTEXTKEYVALUELISTTYPE

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

iv_contextkeytype TYPE /AWS1/IAMCONTEXTKEYTYPEENUM /AWS1/IAMCONTEXTKEYTYPEENUM

The data type of the value (or values) specified in the ContextKeyValues parameter.


Queryable Attributes

ContextKeyName

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Accessible with the following methods

Method Description
GET_CONTEXTKEYNAME() Getter for CONTEXTKEYNAME, with configurable default
ASK_CONTEXTKEYNAME() Getter for CONTEXTKEYNAME w/ exceptions if field has no valu
HAS_CONTEXTKEYNAME() Determine if CONTEXTKEYNAME has a value

ContextKeyValues

The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Accessible with the following methods

Method Description
GET_CONTEXTKEYVALUES() Getter for CONTEXTKEYVALUES, with configurable default
ASK_CONTEXTKEYVALUES() Getter for CONTEXTKEYVALUES w/ exceptions if field has no va
HAS_CONTEXTKEYVALUES() Determine if CONTEXTKEYVALUES has a value

ContextKeyType

The data type of the value (or values) specified in the ContextKeyValues parameter.

Accessible with the following methods

Method Description
GET_CONTEXTKEYTYPE() Getter for CONTEXTKEYTYPE, with configurable default
ASK_CONTEXTKEYTYPE() Getter for CONTEXTKEYTYPE w/ exceptions if field has no valu
HAS_CONTEXTKEYTYPE() Determine if CONTEXTKEYTYPE has a value

Public Local Types In This Class

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

TT_CONTEXTENTRYLISTTYPE

TYPES TT_CONTEXTENTRYLISTTYPE TYPE STANDARD TABLE OF REF TO /AWS1/CL_IAMCONTEXTENTRY WITH DEFAULT KEY
.