amazonka-ec2-0.0.5: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone




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



Request constructor

Request lenses


Response constructor

Response lenses

diar1DisableApiTermination :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source

If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.

diar1EbsOptimized :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source

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

diar1Groups :: Lens' DescribeInstanceAttributeResponse [GroupIdentifier] Source

The security groups associated with the instance.

diar1InstanceInitiatedShutdownBehavior :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source

Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

diar1RootDeviceName :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source

The name of the root device (for example, '/dev/sda1').

diar1SourceDestCheck :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.