Skip to content

/AWS1/CL_OWXINSTANCEIDENTITY

Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_DOCUMENT TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

A JSON document that contains the metadata.

IV_SIGNATURE TYPE /AWS1/OWXSTRING /AWS1/OWXSTRING

A signature that can be used to verify the document's accuracy and authenticity.


Queryable Attributes

Document

A JSON document that contains the metadata.

Accessible with the following methods

Method Description
GET_DOCUMENT() Getter for DOCUMENT, with configurable default
ASK_DOCUMENT() Getter for DOCUMENT w/ exceptions if field has no value
HAS_DOCUMENT() Determine if DOCUMENT has a value

Signature

A signature that can be used to verify the document's accuracy and authenticity.

Accessible with the following methods

Method Description
GET_SIGNATURE() Getter for SIGNATURE, with configurable default
ASK_SIGNATURE() Getter for SIGNATURE w/ exceptions if field has no value
HAS_SIGNATURE() Determine if SIGNATURE has a value