Skip to content

/AWS1/CL_CWFMONILOCALRESOURCE

A local resource is the host where the agent is installed. Local resources can be a a subnet, a VPC, an Availability Zone, an EKS cluster or an Amazon Web Services Region.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/CWFMONILOCALRESOURCETYPE /AWS1/CWFMONILOCALRESOURCETYPE

The type of the local resource. Valid values are AWS::EC2::VPC AWS::AvailabilityZone, AWS::EC2::Subnet, AWS::EKS::Cluster, or AWS::Region.

iv_identifier TYPE /AWS1/CWFSTRING /AWS1/CWFSTRING

The identifier of the local resource. The values you can specify are the following:

  • For a VPC, subnet or EKS cluster, this identifier is the VPC Amazon Resource Name (ARN), subnet ARN or cluster ARN.

  • For an Availability Zone, this identifier is the AZ name, for example, us-west-2b.

  • For a Region, this identifier is the Region name, for example, us-west-2.


Queryable Attributes

type

The type of the local resource. Valid values are AWS::EC2::VPC AWS::AvailabilityZone, AWS::EC2::Subnet, AWS::EKS::Cluster, or AWS::Region.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

identifier

The identifier of the local resource. The values you can specify are the following:

  • For a VPC, subnet or EKS cluster, this identifier is the VPC Amazon Resource Name (ARN), subnet ARN or cluster ARN.

  • For an Availability Zone, this identifier is the AZ name, for example, us-west-2b.

  • For a Region, this identifier is the Region name, for example, us-west-2.

Accessible with the following methods

Method Description
GET_IDENTIFIER() Getter for IDENTIFIER, with configurable default
ASK_IDENTIFIER() Getter for IDENTIFIER w/ exceptions if field has no value
HAS_IDENTIFIER() Determine if IDENTIFIER 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_MONITORLOCALRESOURCES

TYPES TT_MONITORLOCALRESOURCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWFMONILOCALRESOURCE WITH DEFAULT KEY
.