aws-cdk-lib.aws_emrserverless.CfnApplication.InitialCapacityConfigProperty

interface InitialCapacityConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.EMRServerless.CfnApplication.InitialCapacityConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplication_InitialCapacityConfigProperty
Javasoftware.amazon.awscdk.services.emrserverless.CfnApplication.InitialCapacityConfigProperty
Pythonaws_cdk.aws_emrserverless.CfnApplication.InitialCapacityConfigProperty
TypeScript aws-cdk-lib » aws_emrserverless » CfnApplication » InitialCapacityConfigProperty

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 initialCapacityConfigProperty: emrserverless.CfnApplication.InitialCapacityConfigProperty = {
  workerConfiguration: {
    cpu: 'cpu',
    memory: 'memory',

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

Properties

NameTypeDescription
workerConfigurationIResolvable | WorkerConfigurationPropertyThe resource configuration of the initial capacity configuration.
workerCountnumberThe number of workers in the initial capacity configuration.

workerConfiguration

Type: IResolvable | WorkerConfigurationProperty

The resource configuration of the initial capacity configuration.


workerCount

Type: number

The number of workers in the initial capacity configuration.

Minimum : 1

Maximum : 1000000