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 |
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 | Per worker CPU resource. |
memory | string | Per worker memory resource. |
disk? | string | Per worker Disk resource. |
disk | string | Per worker DiskType resource. |
cpu
Type:
string
Per worker CPU resource.
vCPU is the only supported unit and specifying vCPU is optional.
memory
Type:
string
Per worker memory resource.
GB is the only supported unit and specifying GB is optional.
disk?
Type:
string
(optional)
Per worker Disk resource.
GB is the only supported unit and specifying GB is optional
diskType?
Type:
string
(optional)
Per worker DiskType resource.
Shuffle optimized and Standard are only supported types and specifying diskType is optional