Table of Contents

Interface IEbsDeviceOptions

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

Block device options for an EBS volume.

public interface IEbsDeviceOptions : IEbsDeviceOptionsBase
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.AutoScaling;

            var ebsDeviceOptions = new EbsDeviceOptions {
                DeleteOnTermination = false,
                Encrypted = false,
                Iops = 123,
                VolumeType = EbsDeviceVolumeType.STANDARD
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

Encrypted

Specifies whether the EBS volume is encrypted.

bool? Encrypted { get; }

Property Value

bool?

Remarks

Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption

Default: false

See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances