The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::OpsWorks::BlockDeviceMapping

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::OpsWorks::BlockDeviceMapping object:

  $service_obj->Method(Att1 => { DeviceName => $value, ..., VirtualName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::BlockDeviceMapping object:

  $result = $service_obj->Method(...);
  $result->Att1->DeviceName

DESCRIPTION

Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) data type.

ATTRIBUTES

DeviceName => Str

The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.

Ebs => Paws::OpsWorks::EbsBlockDevice

An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

NoDevice => Str

Suppresses the specified device included in the AMI's block device mapping.

VirtualName => Str

The virtual device name. For more information, see BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::OpsWorks

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues