Sets the attribute to return.
![](../icons/collapse_all.gif)
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public DescribeInstanceAttributeRequest WithAttribute( string attribute )
![](../icons/collapse_all.gif)
- attribute (String)
- Specifies the attribute to return. Values are "instanceType", "kernel", "ramdisk", "userData", "disableApiTermination", "instanceInitiatedShutdownBehavior", "sourceDestCheck", "groupSet", "rootDeviceName", "blockDeviceMapping", "productCodes" and "ebsOptimized"
![](../icons/collapse_all.gif)
this instance