Skip to content

/AWS1/CL_REVRESOURCE

Represents an AWS resource discovered by Resilience Hub.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_identifier TYPE /AWS1/REVSTRING /AWS1/REVSTRING

The identifier of the resource.

Optional arguments:

iv_awsregion TYPE /AWS1/REVAWSREGION /AWS1/REVAWSREGION

The AWS Region where the resource is located.

iv_awsaccountid TYPE /AWS1/REVAWSACCOUNTID /AWS1/REVAWSACCOUNTID

The AWS account ID that owns the resource.

iv_resourcetype TYPE /AWS1/REVSTRING /AWS1/REVSTRING

The type of the resource.


Queryable Attributes

identifier

The identifier of the resource.

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

awsRegion

The AWS Region where the resource is located.

Accessible with the following methods

Method Description
GET_AWSREGION() Getter for AWSREGION, with configurable default
ASK_AWSREGION() Getter for AWSREGION w/ exceptions if field has no value
HAS_AWSREGION() Determine if AWSREGION has a value

awsAccountId

The AWS account ID that owns the resource.

Accessible with the following methods

Method Description
GET_AWSACCOUNTID() Getter for AWSACCOUNTID, with configurable default
ASK_AWSACCOUNTID() Getter for AWSACCOUNTID w/ exceptions if field has no value
HAS_AWSACCOUNTID() Determine if AWSACCOUNTID has a value

resourceType

The type of the resource.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value