interface WorkerConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EMRServerless.CfnApplication.WorkerConfigurationProperty |
Java | software.amazon.awscdk.services.emrserverless.CfnApplication.WorkerConfigurationProperty |
Python | aws_cdk.aws_emrserverless.CfnApplication.WorkerConfigurationProperty |
TypeScript | @aws-cdk/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 * as emrserverless from '@aws-cdk/aws-emrserverless';
const workerConfigurationProperty: emrserverless.CfnApplication.WorkerConfigurationProperty = {
cpu: 'cpu',
memory: 'memory',
// the properties below are optional
disk: 'disk',
};
Properties
Name | Type | Description |
---|---|---|
cpu | string | Minimum : 1. |
memory | string | Minimum : 1. |
disk? | string | Minimum : 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)$"