DescribeInstanceAttribute

GET /?Action=DescribeInstanceAttribute
Description

Describes a specified attribute of an instance.
You can specify only one attribute at a time. You can describe the sourceDestCheck attribute only if the instance is in a Virtual Private Cloud (VPC).

Note

If you exceed the number of identical requests allowed for a configured time period, the RequestLimitExceeded error message is returned.

Body parameter

Required: false
Name: DescribeInstanceAttributeRequest

Name Description Required Schema Default Example

Attribute

The instance attribute (ramdisk | userData | instanceInitiatedShutdownBehavior | rootDeviceName | instanceType | blockDeviceMapping | groupSet | ebsOptimized | sourceDestCheck | disableApiTermination).

true

string

InstanceId

The ID of the instance.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

InstanceAttribute

Response 200

Response 200

Name Description Required Schema Default Example

blockDeviceMapping.N

The block device mapping of the instance.

false

InstanceBlockDeviceMapping

disableApiTermination

If true, you cannot terminate the instance using Cockpit, the CLI or the API. If false, you can.

false

AttributeBooleanValue

ebsOptimized

Indicates whether the instance is optimized for BSU I/O.

false

AttributeBooleanValue

groupSet.N

The security groups associated with the instance.

false

GroupIdentifier

instanceId

The ID of the instance.

false

string

instanceInitiatedShutdownBehavior

Indicates whether the instance stops, terminates or restarts when you stop or terminate it.

false

AttributeValue

instanceType

The type of instance.

false

AttributeValue

ramdisk

The ID of the RAM disk.

false

AttributeValue

requestId

The ID of the request.

false

string

rootDeviceName

The name of the root device.

false

AttributeValue

sourceDestCheck

(VPC only) If true, the source/destination check is enabled. If false, it is disabled. This value must be false for a NAT instance to perform Network Address Translation (NAT) in a VPC.

false

AttributeBooleanValue

userData

The Base64-encoded MIME user data.

false

AttributeValue