Skip to content

/AWS1/CL_EC2STALEIPPERMISSION

Describes a stale rule in a security group.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_FROMPORT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

IV_IPPROTOCOL TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).

IT_IPRANGES TYPE /AWS1/CL_EC2IPRANGES_W=>TT_IPRANGES TT_IPRANGES

The IP ranges. Not applicable for stale security group rules.

IT_PREFIXLISTIDS TYPE /AWS1/CL_EC2PREFIXLISTIDSET_W=>TT_PREFIXLISTIDSET TT_PREFIXLISTIDSET

The prefix list IDs. Not applicable for stale security group rules.

IV_TOPORT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

IT_USERIDGROUPPAIRS TYPE /AWS1/CL_EC2USERIDGROUPPAIR=>TT_USERIDGROUPPAIRSET TT_USERIDGROUPPAIRSET

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.


Queryable Attributes

FromPort

If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types).

Accessible with the following methods

Method Description
GET_FROMPORT() Getter for FROMPORT, with configurable default
ASK_FROMPORT() Getter for FROMPORT w/ exceptions if field has no value
HAS_FROMPORT() Determine if FROMPORT has a value

IpProtocol

The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).

Accessible with the following methods

Method Description
GET_IPPROTOCOL() Getter for IPPROTOCOL, with configurable default
ASK_IPPROTOCOL() Getter for IPPROTOCOL w/ exceptions if field has no value
HAS_IPPROTOCOL() Determine if IPPROTOCOL has a value

IpRanges

The IP ranges. Not applicable for stale security group rules.

Accessible with the following methods

Method Description
GET_IPRANGES() Getter for IPRANGES, with configurable default
ASK_IPRANGES() Getter for IPRANGES w/ exceptions if field has no value
HAS_IPRANGES() Determine if IPRANGES has a value

PrefixListIds

The prefix list IDs. Not applicable for stale security group rules.

Accessible with the following methods

Method Description
GET_PREFIXLISTIDS() Getter for PREFIXLISTIDS, with configurable default
ASK_PREFIXLISTIDS() Getter for PREFIXLISTIDS w/ exceptions if field has no value
HAS_PREFIXLISTIDS() Determine if PREFIXLISTIDS has a value

ToPort

If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes).

Accessible with the following methods

Method Description
GET_TOPORT() Getter for TOPORT, with configurable default
ASK_TOPORT() Getter for TOPORT w/ exceptions if field has no value
HAS_TOPORT() Determine if TOPORT has a value

UserIdGroupPairs

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Accessible with the following methods

Method Description
GET_USERIDGROUPPAIRS() Getter for USERIDGROUPPAIRS, with configurable default
ASK_USERIDGROUPPAIRS() Getter for USERIDGROUPPAIRS w/ exceptions if field has no va
HAS_USERIDGROUPPAIRS() Determine if USERIDGROUPPAIRS 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_STALEIPPERMISSIONSET

TYPES TT_STALEIPPERMISSIONSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2STALEIPPERMISSION WITH DEFAULT KEY
.