interface WorkerConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EMRServerless.CfnApplication.WorkerConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplication_WorkerConfigurationProperty |
Java | software.amazon.awscdk.services.emrserverless.CfnApplication.WorkerConfigurationProperty |
Python | aws_cdk.aws_emrserverless.CfnApplication.WorkerConfigurationProperty |
TypeScript | aws-cdk-lib » aws_emrserverless » CfnApplication » WorkerConfigurationProperty |
The configuration of a worker.
For more information, see Supported worker configurations .
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',
diskType: 'diskType',
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu | string | The CPU requirements of the worker configuration. |
| memory | string | The memory requirements of the worker configuration. |
| disk? | string | The disk requirements of the worker configuration. |
| disk | string | The disk type for every worker instance of the work type. |
cpu
Type:
string
The CPU requirements of the worker configuration.
Each worker can have 1, 2, 4, 8, or 16 vCPUs.
memory
Type:
string
The memory requirements of the worker configuration.
disk?
Type:
string
(optional)
The disk requirements of the worker configuration.
diskType?
Type:
string
(optional)
The disk type for every worker instance of the work type.
Shuffle optimized disks have higher performance characteristics and are better for shuffle heavy workloads. Default is STANDARD .

.NET
Go
Java
Python
TypeScript