Show / Hide Table of Contents

Interface IEbsDeviceProps

Properties of an EBS block device.

Inherited Members
IEbsDeviceSnapshotOptions.VolumeSize
IEbsDeviceOptions.Encrypted
IEbsDeviceOptions.KmsKey
IEbsDeviceOptionsBase.DeleteOnTermination
IEbsDeviceOptionsBase.Iops
IEbsDeviceOptionsBase.VolumeType
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.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;

EbsDeviceProps ebsDeviceProps = new EbsDeviceProps {
    DeleteOnTermination = false,
    Encrypted = false,
    Iops = 123,
    KmsKey = key,
    SnapshotId = "snapshotId",
    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

Back to top Generated by DocFX