Class CfnInstanceFleetConfig.EbsBlockDeviceConfigProperty
EbsBlockDeviceConfig
is a subproperty of the EbsConfiguration
property type.
Inheritance
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EbsBlockDeviceConfigProperty : Object, CfnInstanceFleetConfig.IEbsBlockDeviceConfigProperty
Syntax (vb)
Public Class EbsBlockDeviceConfigProperty
Inherits Object
Implements CfnInstanceFleetConfig.IEbsBlockDeviceConfigProperty
Remarks
EbsBlockDeviceConfig
defines the number and type of EBS volumes to associate with all EC2 instances in an EMR cluster.
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 ebsBlockDeviceConfigProperty = 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
};
Synopsis
Constructors
EbsBlockDeviceConfigProperty() |
Properties
VolumeSpecification | EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster. |
VolumesPerInstance | Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group. |
Constructors
EbsBlockDeviceConfigProperty()
public EbsBlockDeviceConfigProperty()
Properties
VolumeSpecification
EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s) that are requested for the EBS volume attached to an Amazon EC2 instance in the cluster.
public object VolumeSpecification { get; set; }
Property Value
System.Object
Remarks
VolumesPerInstance
Number of EBS volumes with a specific volume configuration that are associated with every instance in the instance group.
public Nullable<double> VolumesPerInstance { get; set; }
Property Value
System.Nullable<System.Double>