> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EC2 Describe Instance Attribute

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`.

<Note>
  External Documentation

  To learn more, visit the [AWS documentation](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceAttribute.html).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter     | Description                                                                                                                                                                                                                                                               |
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | AWS Region(s) | Enter the desired AWS Region(s).<br /><br />To execute the action in multiple regions, provide a comma-separated list.<br />For example: `us-east-1,eu-west-2`.<br /><br />If you wish to run the action in all available regions, use the asterisk symbol (`*`) instead. |
  | Attribute     | The instance attribute.<br /><br />Note: The `enaSupport` attribute is not supported at this time.                                                                                                                                                                        |
  | Instance ID   | The ID of the instance.                                                                                                                                                                                                                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                        | Description                                                                                                                                                                                                                                                    |
  | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format.                                                                                                                                                                                  |
  | Dry Run                          | 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`. |
</div>

## Example Output

```json theme={"dark"}
{
	"BlockDeviceMappings": [
		{
			"DeviceName": "/dev/sda1",
			"Ebs": {
				"AttachTime": "2013-05-17T22:42:34.000Z",
				"DeleteOnTermination": true,
				"Status": "attached",
				"VolumeId": "vol-049df61146c4d7901"
			}
		},
		{
			"DeviceName": "/dev/sdf",
			"Ebs": {
				"AttachTime": "2013-09-10T23:07:00.000Z",
				"DeleteOnTermination": false,
				"Status": "attached",
				"VolumeId": "vol-049df61146c4d7901"
			}
		}
	],
	"InstanceId": "i-1234567890abcdef0"
}
```

## Workflow Library Example

[Ec2 Describe Instance Attribute with Aws and Send Results Via Email](https://library.blinkops.com/workflows/ec2-describe-instance-attribute-with-aws-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/ec2-describe-instance-attribute-with-aws-and-send-results-via-email/canvas" />
</div>
