Show / Hide Table of Contents

Class VolumeAttachmentState

Inheritance
System.Object
InputArgs
ResourceArgs
VolumeAttachmentState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class VolumeAttachmentState : ResourceArgs

Constructors

View Source

VolumeAttachmentState()

Declaration
public VolumeAttachmentState()

Properties

View Source

DeviceName

The device name to expose to the instance (for example, /dev/sdh or xvdh). See Device Naming on Linux Instances and Device Naming on Windows Instances for more information.

Declaration
public Input<string> DeviceName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ForceDetach

Set to true if you want to force the volume to detach. Useful if previous attempts failed, but use this option only as a last resort, as this can result in data loss. See Detaching an Amazon EBS Volume from an Instance for more information.

Declaration
public Input<bool> ForceDetach { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

InstanceId

ID of the Instance to attach to

Declaration
public Input<string> InstanceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SkipDestroy

Set this to true if you do not wish to detach the volume from the instance to which it is attached at destroy time, and instead just remove the attachment from this provider state. This is useful when destroying an instance which has volumes created by some other means attached.

Declaration
public Input<bool> SkipDestroy { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

VolumeId

ID of the Volume to be attached

Declaration
public Input<string> VolumeId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.