Class CfnInstanceFleetConfig.EbsConfigurationProperty
EbsConfiguration determines the EBS volumes to attach to EMR cluster instances.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceFleetConfig.EbsConfigurationProperty : CfnInstanceFleetConfig.IEbsConfigurationProperty
Syntax (vb)
Public Class CfnInstanceFleetConfig.EbsConfigurationProperty Implements 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
Constructors
| EbsConfigurationProperty() |
|
Properties
| EbsBlockDeviceConfigs | An array of Amazon EBS volume specifications attached to a cluster instance. |
| EbsOptimized | Indicates whether an Amazon EBS volume is EBS-optimized. |
Constructors
EbsConfigurationProperty()
EbsConfiguration determines the EBS volumes to attach to EMR cluster instances.
public EbsConfigurationProperty()
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
};
Properties
EbsBlockDeviceConfigs
An array of Amazon EBS volume specifications attached to a cluster instance.
public object? EbsBlockDeviceConfigs { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnInstanceFleetConfig.IEbsBlockDeviceConfigProperty)[]
EbsOptimized
Indicates whether an Amazon EBS volume is EBS-optimized.
public object? EbsOptimized { get; set; }
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