Interface IEbsDeviceProps
Properties of an EBS block device.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEbsDeviceProps : IEbsDeviceSnapshotOptions, IEbsDeviceOptions, IEbsDeviceOptionsBase
Syntax (vb)
Public Interface IEbsDeviceProps
Inherits IEbsDeviceSnapshotOptions, IEbsDeviceOptionsBase, IEbsDeviceOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.KMS;
Key key;
var ebsDeviceProps = new EbsDeviceProps {
DeleteOnTermination = false,
Encrypted = false,
Iops = 123,
KmsKey = key,
SnapshotId = "snapshotId",
Throughput = 123,
VolumeSize = 123,
VolumeType = EbsDeviceVolumeType.STANDARD
};
Synopsis
Properties
SnapshotId | The snapshot ID of the volume to use. |
Properties
SnapshotId
The snapshot ID of the volume to use.
virtual string SnapshotId { get; }
Property Value
System.String
Remarks
Default: - No snapshot will be used