Class CfnApplication.InitialCapacityConfigKeyValuePairProperty
The initial capacity configuration per worker.
Inheritance
System.Object
CfnApplication.InitialCapacityConfigKeyValuePairProperty
Namespace: Amazon.CDK.AWS.EMRServerless
Assembly: Amazon.CDK.AWS.EMRServerless.dll
Syntax (csharp)
public class InitialCapacityConfigKeyValuePairProperty : Object, CfnApplication.IInitialCapacityConfigKeyValuePairProperty
Syntax (vb)
Public Class InitialCapacityConfigKeyValuePairProperty
Inherits Object
Implements CfnApplication.IInitialCapacityConfigKeyValuePairProperty
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 initialCapacityConfigKeyValuePairProperty = new InitialCapacityConfigKeyValuePairProperty {
Key = "key",
Value = new InitialCapacityConfigProperty {
WorkerConfiguration = new WorkerConfigurationProperty {
Cpu = "cpu",
Memory = "memory",
// the properties below are optional
Disk = "disk"
},
WorkerCount = 123
}
};
Synopsis
Constructors
InitialCapacityConfigKeyValuePairProperty() |
Properties
Key | The worker type for an analytics framework. |
Value | The value for the initial capacity configuration per worker. |
Constructors
InitialCapacityConfigKeyValuePairProperty()
public InitialCapacityConfigKeyValuePairProperty()
Properties
Key
The worker type for an analytics framework.
public string Key { get; set; }
Property Value
System.String
Remarks
For Spark applications, the key can either be set to Driver
or Executor
. For Hive applications, it can be set to HiveDriver
or TezTask
.
Minimum : 1
Maximum : 50
Pattern : ^[a-zA-Z]+[-_]*[a-zA-Z]+$
Value
The value for the initial capacity configuration per worker.
public object Value { get; set; }
Property Value
System.Object