aws-cdk-lib.aws_emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty

interface InitialCapacityConfigKeyValuePairProperty

LanguageType name
.NETAmazon.CDK.AWS.EMRServerless.CfnApplication.InitialCapacityConfigKeyValuePairProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplication_InitialCapacityConfigKeyValuePairProperty
Javasoftware.amazon.awscdk.services.emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty
Pythonaws_cdk.aws_emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty
TypeScript aws-cdk-lib » 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 { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const initialCapacityConfigKeyValuePairProperty: emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty = {
  key: 'key',
  value: {
    workerConfiguration: {
      cpu: 'cpu',
      memory: 'memory',

      // the properties below are optional
      disk: 'disk',
    },
    workerCount: 123,
  },
};

Properties

NameTypeDescription
keystringThe worker type for an analytics framework.
valueIResolvable | InitialCapacityConfigPropertyThe 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 | InitialCapacityConfigProperty

The value for the initial capacity configuration per worker.