Skip to content

/AWS1/CL_EL2RULE

Information about a rule.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_rulearn TYPE /AWS1/EL2RULEARN /AWS1/EL2RULEARN

The Amazon Resource Name (ARN) of the rule.

iv_priority TYPE /AWS1/EL2STRING /AWS1/EL2STRING

The priority.

it_conditions TYPE /AWS1/CL_EL2RULECONDITION=>TT_RULECONDITIONLIST TT_RULECONDITIONLIST

The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.

it_actions TYPE /AWS1/CL_EL2ACTION=>TT_ACTIONS TT_ACTIONS

The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.

iv_isdefault TYPE /AWS1/EL2ISDEFAULT /AWS1/EL2ISDEFAULT

Indicates whether this is the default rule.


Queryable Attributes

RuleArn

The Amazon Resource Name (ARN) of the rule.

Accessible with the following methods

Method Description
GET_RULEARN() Getter for RULEARN, with configurable default
ASK_RULEARN() Getter for RULEARN w/ exceptions if field has no value
HAS_RULEARN() Determine if RULEARN has a value

Priority

The priority.

Accessible with the following methods

Method Description
GET_PRIORITY() Getter for PRIORITY, with configurable default
ASK_PRIORITY() Getter for PRIORITY w/ exceptions if field has no value
HAS_PRIORITY() Determine if PRIORITY has a value

Conditions

The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.

Accessible with the following methods

Method Description
GET_CONDITIONS() Getter for CONDITIONS, with configurable default
ASK_CONDITIONS() Getter for CONDITIONS w/ exceptions if field has no value
HAS_CONDITIONS() Determine if CONDITIONS has a value

Actions

The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.

Accessible with the following methods

Method Description
GET_ACTIONS() Getter for ACTIONS, with configurable default
ASK_ACTIONS() Getter for ACTIONS w/ exceptions if field has no value
HAS_ACTIONS() Determine if ACTIONS has a value

IsDefault

Indicates whether this is the default rule.

Accessible with the following methods

Method Description
GET_ISDEFAULT() Getter for ISDEFAULT, with configurable default
ASK_ISDEFAULT() Getter for ISDEFAULT w/ exceptions if field has no value
HAS_ISDEFAULT() Determine if ISDEFAULT 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_RULES

TYPES TT_RULES TYPE STANDARD TABLE OF REF TO /AWS1/CL_EL2RULE WITH DEFAULT KEY
.