aws-cdk-lib.aws_emrserverless.CfnApplicationProps

interface CfnApplicationProps

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

Properties for defining a CfnApplication.

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 cfnApplicationProps: emrserverless.CfnApplicationProps = {
  releaseLabel: 'releaseLabel',
  type: 'type',

  // the properties below are optional
  architecture: 'architecture',
  autoStartConfiguration: {
    enabled: false,
  },
  autoStopConfiguration: {
    enabled: false,
    idleTimeoutMinutes: 123,
  },
  imageConfiguration: {
    imageUri: 'imageUri',
  },
  initialCapacity: [{
    key: 'key',
    value: {
      workerConfiguration: {
        cpu: 'cpu',
        memory: 'memory',

        // the properties below are optional
        disk: 'disk',
      },
      workerCount: 123,
    },
  }],
  maximumCapacity: {
    cpu: 'cpu',
    memory: 'memory',

    // the properties below are optional
    disk: 'disk',
  },
  name: 'name',
  networkConfiguration: {
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
  workerTypeSpecifications: {
    workerTypeSpecificationsKey: {
      imageConfiguration: {
        imageUri: 'imageUri',
      },
    },
  },
};

Properties

NameTypeDescription
releaseLabelstringThe EMR release version associated with the application.
typestringThe type of application, such as Spark or Hive.
architecture?stringThe CPU architecture type of the application.
autoStartConfiguration?IResolvable | AutoStartConfigurationPropertyThe configuration for an application to automatically start on job submission.
autoStopConfiguration?IResolvable | AutoStopConfigurationPropertyThe configuration for an application to automatically stop after a certain amount of time being idle.
imageConfiguration?IResolvable | ImageConfigurationInputPropertyAWS::EMRServerless::Application.ImageConfiguration.
initialCapacity?IResolvable | IResolvable | InitialCapacityConfigKeyValuePairProperty[]The initial capacity of the application.
maximumCapacity?IResolvable | MaximumAllowedResourcesPropertyThe maximum capacity of the application.
name?stringThe name of the application.
networkConfiguration?IResolvable | NetworkConfigurationPropertyThe network configuration for customer VPC connectivity for the application.
tags?CfnTag[]The tags assigned to the application.
workerTypeSpecifications?IResolvable | { [string]: IResolvable | WorkerTypeSpecificationInputProperty }AWS::EMRServerless::Application.WorkerTypeSpecifications.

releaseLabel

Type: string

The EMR release version associated with the application.

Minimum : 1

Maximum : 64

Pattern : ^[A-Za-z0-9._/-]+$


type

Type: string

The type of application, such as Spark or Hive.


architecture?

Type: string (optional)

The CPU architecture type of the application.

Allowed values: X86_64 or ARM64


autoStartConfiguration?

Type: IResolvable | AutoStartConfigurationProperty (optional)

The configuration for an application to automatically start on job submission.


autoStopConfiguration?

Type: IResolvable | AutoStopConfigurationProperty (optional)

The configuration for an application to automatically stop after a certain amount of time being idle.


imageConfiguration?

Type: IResolvable | ImageConfigurationInputProperty (optional)

AWS::EMRServerless::Application.ImageConfiguration.


initialCapacity?

Type: IResolvable | IResolvable | InitialCapacityConfigKeyValuePairProperty[] (optional)

The initial capacity of the application.


maximumCapacity?

Type: IResolvable | MaximumAllowedResourcesProperty (optional)

The maximum capacity of the application.

This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.


name?

Type: string (optional)

The name of the application.

Minimum : 1

Maximum : 64

Pattern : ^[A-Za-z0-9._\\/#-]+$


networkConfiguration?

Type: IResolvable | NetworkConfigurationProperty (optional)

The network configuration for customer VPC connectivity for the application.


tags?

Type: CfnTag[] (optional)

The tags assigned to the application.


workerTypeSpecifications?

Type: IResolvable | { [string]: IResolvable | WorkerTypeSpecificationInputProperty } (optional)

AWS::EMRServerless::Application.WorkerTypeSpecifications.