Skip to content

/AWS1/CL_CWSSERVICEENTITY

A structure that contains identifying information for a service entity.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_type TYPE /AWS1/CWSSTRING /AWS1/CWSSTRING

The type of the service entity.

iv_name TYPE /AWS1/CWSSTRING /AWS1/CWSSTRING

The name of the service.

iv_environment TYPE /AWS1/CWSSTRING /AWS1/CWSSTRING

The environment where the service is deployed.

iv_awsaccountid TYPE /AWS1/CWSSTRING /AWS1/CWSSTRING

The Amazon Web Services account ID where the service is located. Provide this value only for cross-account access.


Queryable Attributes

Type

The type of the service entity.

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

Name

The name of the service.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Environment

The environment where the service is deployed.

Accessible with the following methods

Method Description
GET_ENVIRONMENT() Getter for ENVIRONMENT, with configurable default
ASK_ENVIRONMENT() Getter for ENVIRONMENT w/ exceptions if field has no value
HAS_ENVIRONMENT() Determine if ENVIRONMENT has a value

AwsAccountId

The Amazon Web Services account ID where the service is located. Provide this value only for cross-account access.

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