aws-cdk-lib.aws_emrserverless.CfnApplication.WorkerConfigurationProperty

interface WorkerConfigurationProperty

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

The resource configuration of the initial capacity configuration.

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 workerConfigurationProperty: emrserverless.CfnApplication.WorkerConfigurationProperty = {
  cpu: 'cpu',
  memory: 'memory',

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

Properties

NameTypeDescription
cpustringMinimum : 1.
memorystringMinimum : 1.
disk?stringMinimum : 1.

cpu

Type: string

Minimum : 1.

Maximum : 15

Pattern : ^[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?$


memory

Type: string

Minimum : 1.

Maximum : 15

Pattern : ^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?$


disk?

Type: string (optional)

Minimum : 1.

Maximum : 15

Pattern : ^[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)$"