Class CfnApplication.WorkerConfigurationProperty
Inheritance
System.Object
CfnApplication.WorkerConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WorkerConfigurationProperty : Object, CfnApplication.IWorkerConfigurationProperty
Syntax (vb)
Public Class WorkerConfigurationProperty
Inherits Object
Implements CfnApplication.IWorkerConfigurationProperty
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.EMRServerless;
var workerConfigurationProperty = new WorkerConfigurationProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
};
Synopsis
Constructors
WorkerConfigurationProperty() |
Properties
Cpu | Per worker CPU resource. |
Disk | Per worker Disk resource. |
Memory | Per worker memory resource. |
Constructors
WorkerConfigurationProperty()
public WorkerConfigurationProperty()
Properties
Cpu
Per worker CPU resource.
public string Cpu { get; set; }
Property Value
System.String
Remarks
vCPU is the only supported unit and specifying vCPU is optional.
Disk
Per worker Disk resource.
public string Disk { get; set; }
Property Value
System.String
Remarks
GB is the only supported unit and specifying GB is optional
Memory
Per worker memory resource.
public string Memory { get; set; }
Property Value
System.String
Remarks
GB is the only supported unit and specifying GB is optional.