interface WorkerConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMRServerless.Mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemrserverless/mixins#CfnApplicationPropsMixin_WorkerConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.emrserverless.mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_emrserverless.mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emrserverless » mixins » CfnApplicationPropsMixin » 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 { mixins as emrserverless_mixins } from '@aws-cdk/mixins-preview/aws-emrserverless';
const workerConfigurationProperty: emrserverless_mixins.CfnApplicationPropsMixin.WorkerConfigurationProperty = {
cpu: 'cpu',
disk: 'disk',
diskType: 'diskType',
memory: 'memory',
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu? | string | The CPU 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. |
| memory? | string | The memory requirements of the worker configuration. |
cpu?
Type:
string
(optional)
The CPU requirements of the worker configuration.
Each worker can have 1, 2, 4, 8, or 16 vCPUs.
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 .
memory?
Type:
string
(optional)
The memory requirements of the worker configuration.

.NET
Go
Java
Python
TypeScript