interface InitialCapacityConfigKeyValuePairProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMRServerless.CfnApplication.InitialCapacityConfigKeyValuePairProperty |
![]() | software.amazon.awscdk.services.emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty |
![]() | aws_cdk.aws_emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty |
![]() | @aws-cdk/aws-emrserverless » CfnApplication » InitialCapacityConfigKeyValuePairProperty |
The initial capacity configuration per worker.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as emrserverless from '@aws-cdk/aws-emrserverless';
const initialCapacityConfigKeyValuePairProperty: emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty = {
key: 'key',
value: {
workerConfiguration: {
cpu: 'cpu',
memory: 'memory',
// the properties below are optional
disk: 'disk',
},
workerCount: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
key | string | The worker type for an analytics framework. |
value | IResolvable | Initial | The value for the initial capacity configuration per worker. |
key
Type:
string
The worker type for an analytics framework.
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
Type:
IResolvable
|
Initial
The value for the initial capacity configuration per worker.