Skip to content

/AWS1/CL_EC2=>DESCRIBEINSTANCEATTRIBUTE()

About DescribeInstanceAttribute

Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: instanceType | kernel | ramdisk | userData | disableApiTermination | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping | productCodes | sourceDestCheck | groupSet | ebsOptimized | sriovNetSupport

Method Signature

IMPORTING

Required arguments:

IV_ATTRIBUTE TYPE /AWS1/EC2INSTANCEATTRIBUTENAME /AWS1/EC2INSTANCEATTRIBUTENAME

The instance attribute.

Note: The enaSupport attribute is not supported at this time.

IV_INSTANCEID TYPE /AWS1/EC2INSTANCEID /AWS1/EC2INSTANCEID

The ID of the instance.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2INSTANCEATTRIBUTE /AWS1/CL_EC2INSTANCEATTRIBUTE