BlockDeviceMapping

public struct BlockDeviceMapping : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.

    Declaration

    Swift

    public let deviceName: String
  • ebs

    Parameters used to automatically set up EBS volumes when an instance is launched. You can specify either VirtualName or Ebs, but not both.

    Declaration

    Swift

    public let ebs: Ebs?
  • Setting this value to true suppresses the specified device included in the block device mapping of the AMI. If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances. If you specify NoDevice, you cannot specify Ebs.

    Declaration

    Swift

    public let noDevice: Bool?
  • The name of the virtual device (for example, ephemeral0). You can specify either VirtualName or Ebs, but not both.

    Declaration

    Swift

    public let virtualName: String?
  • Undocumented

    Declaration

    Swift

    public init(deviceName: String, ebs: Ebs? = nil, noDevice: Bool? = nil, virtualName: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws