Class AmiEbsBlockDeviceArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class AmiEbsBlockDeviceArgs : ResourceArgs
Constructors
View SourceAmiEbsBlockDeviceArgs()
Declaration
public AmiEbsBlockDeviceArgs()
Properties
View SourceDeleteOnTermination
Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.
Declaration
public Input<bool> DeleteOnTermination { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Boolean> |
DeviceName
The path at which the device is exposed to created instances.
Declaration
public Input<string> DeviceName { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
Encrypted
Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with snapshot_id
.
Declaration
public Input<bool> Encrypted { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Boolean> |
Iops
Number of I/O operations per second the created volumes will support.
Declaration
public Input<int> Iops { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Int32> |
SnapshotId
The id of an EBS snapshot that will be used to initialize the created
EBS volumes. If set, the volume_size
attribute must be at least as large as the referenced
snapshot.
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
VolumeSize
The size of created volumes in GiB.
If snapshot_id
is set and volume_size
is omitted then the volume will have the same size
as the selected snapshot.
Declaration
public Input<int> VolumeSize { get; set; }
Property Value
Type | Description |
---|---|
Input<System.Int32> |
VolumeType
The type of EBS volume to create. Can be one of "standard" (the default), "io1" or "gp2".
Declaration
public Input<string> VolumeType { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |