AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ScheduledInstancesBlockDeviceMapping

import "github.com/aws/aws-sdk-go/service/ec2"

type ScheduledInstancesBlockDeviceMapping struct { DeviceName *string `type:"string"` Ebs *ScheduledInstancesEbs `type:"structure"` NoDevice *string `type:"string"` VirtualName *string `type:"string"` }

Describes a block device mapping for a Scheduled Instance.

DeviceName

Type: *string

The device name (for example, /dev/sdh or xvdh).

Ebs

Describes an EBS volume for a Scheduled Instance.

NoDevice

Type: *string

Suppresses the specified device included in the block device mapping of the AMI.

VirtualName

Type: *string

The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with two available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

Method

GoString

func (s ScheduledInstancesBlockDeviceMapping) GoString() string

GoString returns the string representation

SetDeviceName

func (s *ScheduledInstancesBlockDeviceMapping) SetDeviceName(v string) *ScheduledInstancesBlockDeviceMapping

SetDeviceName sets the DeviceName field's value.

SetEbs

func (s *ScheduledInstancesBlockDeviceMapping) SetEbs(v *ScheduledInstancesEbs) *ScheduledInstancesBlockDeviceMapping

SetEbs sets the Ebs field's value.

SetNoDevice

func (s *ScheduledInstancesBlockDeviceMapping) SetNoDevice(v string) *ScheduledInstancesBlockDeviceMapping

SetNoDevice sets the NoDevice field's value.

SetVirtualName

func (s *ScheduledInstancesBlockDeviceMapping) SetVirtualName(v string) *ScheduledInstancesBlockDeviceMapping

SetVirtualName sets the VirtualName field's value.

String

func (s ScheduledInstancesBlockDeviceMapping) String() string

String returns the string representation

On this page: