Add-VSEC2InstanceVolume

Add-VSEC2InstanceVolume

SYNOPSIS

Adds an AWS::EC2::Instance.Volume resource property to the template. Specifies a volume to attach to an instance.

SYNTAX

Add-VSEC2InstanceVolume [-Device] <Object> [-VolumeId] <Object> [<CommonParameters>]

DESCRIPTION

Adds an AWS::EC2::Instance.Volume resource property to the template. Specifies a volume to attach to an instance.

Volume is an embedded property of the AWS::EC2::Instance: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html resource.

PARAMETERS

-Device

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

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-device PrimitiveType: String UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-VolumeId

The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-volumeid PrimitiveType: String UpdateType: Mutable

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Vaporshell.Resource.EC2.Instance.Volume

NOTES

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html