Skip to main content

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.

External Documentation

To learn more, visit the AWS documentation.

Basic Parameters

ParameterDescription
AWS Region(s)Enter the desired AWS Region(s).To execute the action in multiple regions, provide a comma-separated list.For example: us-east-1,eu-west-2.If you wish to run the action in all available regions, use the asterisk symbol (*) instead.
AttributeThe instance attribute.Note: The enaSupport attribute is not supported at this time.
Instance IDThe ID of the instance.

Advanced Parameters

ParameterDescription
Disable XML To JSON Auto ConvertWhen checked, XML responses are not automatically converted into JSON format.
Dry RunChecks 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.

Example Output

{
"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

Workflow LibraryPreview this Workflow on desktop