aws-cdk-lib.aws_emrserverless.CfnApplication.MaximumAllowedResourcesProperty

interface MaximumAllowedResourcesProperty

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

The maximum allowed cumulative resources for an application.

No new resources will be created once the limit is hit.

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

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

Properties

NameTypeDescription
cpustringThe maximum allowed CPU for an application.
memorystringThe maximum allowed resources for an application.
disk?stringThe maximum allowed disk for an application.

cpu

Type: string

The maximum allowed CPU for an application.

Minimum : 1

Maximum : 15

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


memory

Type: string

The maximum allowed resources for an application.

Minimum : 1

Maximum : 15

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


disk?

Type: string (optional)

The maximum allowed disk for an application.

Minimum : 1

Maximum : 15

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