AWS SDK for .NET Documentation
WithDeviceName Method (deviceName)
Amazon ► Amazon.EC2.Model ► InstanceBlockDeviceMapping ► WithDeviceName(String)
Did this page help you? Yes No Tell us about it...
Sets the device name exposed to the instance (e.g., /dev/sdh).
Declaration Syntax

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 InstanceBlockDeviceMapping WithDeviceName(
    	string deviceName
    )

Parameters

deviceName (String)
  The device name (e.g., /dev/sdh).

Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)