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.Throughput
IEbsDeviceOptionsBase.VolumeType
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, IEbsDeviceOptions, IEbsDeviceOptionsBase
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.

string? SnapshotId { get; }
Property Value

string

Remarks

Default: - No snapshot will be used

Back to top Generated by DocFX