Interface CfnInstanceFleetConfig.IEbsConfigurationProperty
EbsConfiguration determines the EBS volumes to attach to EMR cluster instances.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInstanceFleetConfig.IEbsConfigurationProperty
Syntax (vb)
Public Interface CfnInstanceFleetConfig.IEbsConfigurationProperty
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.EMR;
var ebsConfigurationProperty = new EbsConfigurationProperty {
EbsBlockDeviceConfigs = new [] { new EbsBlockDeviceConfigProperty {
VolumeSpecification = new VolumeSpecificationProperty {
SizeInGb = 123,
VolumeType = "volumeType",
// the properties below are optional
Iops = 123,
Throughput = 123
},
// the properties below are optional
VolumesPerInstance = 123
} },
EbsOptimized = false
};
Synopsis
Properties
| EbsBlockDeviceConfigs | An array of Amazon EBS volume specifications attached to a cluster instance. |
| EbsOptimized | Indicates whether an Amazon EBS volume is EBS-optimized. |
Properties
EbsBlockDeviceConfigs
An array of Amazon EBS volume specifications attached to a cluster instance.
object? EbsBlockDeviceConfigs { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnInstanceFleetConfig.IEbsBlockDeviceConfigProperty)[]
EbsOptimized
Indicates whether an Amazon EBS volume is EBS-optimized.
object? EbsOptimized { get; }
Property Value
Remarks
The default is false. You should explicitly set this value to true to enable the Amazon EBS-optimized setting for an EC2 instance.
Type union: either bool or IResolvable