interface CfnApplicationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMRServerless.CfnApplicationProps |
![]() | software.amazon.awscdk.services.emrserverless.CfnApplicationProps |
![]() | aws_cdk.aws_emrserverless.CfnApplicationProps |
![]() | @aws-cdk/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 * as emrserverless from '@aws-cdk/aws-emrserverless';
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
Name | Type | Description |
---|---|---|
release | string | The EMR release version associated with the application. |
type | string | The type of application, such as Spark or Hive. |
architecture? | string | The CPU architecture type of the application. |
auto | Auto | IResolvable | The configuration for an application to automatically start on job submission. |
auto | IResolvable | Auto | The configuration for an application to automatically stop after a certain amount of time being idle. |
image | IResolvable | Image | AWS::EMRServerless::Application.ImageConfiguration . |
initial | IResolvable | IResolvable | Initial [] | The initial capacity of the application. |
maximum | IResolvable | Maximum | The maximum capacity of the application. |
name? | string | The name of the application. |
network | IResolvable | Network | The network configuration for customer VPC connectivity for the application. |
tags? | Cfn [] | The tags assigned to the application. |
worker | IResolvable | { [string]: IResolvable | Worker } | 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:
Auto
|
IResolvable
(optional)
The configuration for an application to automatically start on job submission.
autoStopConfiguration?
Type:
IResolvable
|
Auto
(optional)
The configuration for an application to automatically stop after a certain amount of time being idle.
imageConfiguration?
Type:
IResolvable
|
Image
(optional)
AWS::EMRServerless::Application.ImageConfiguration
.
initialCapacity?
Type:
IResolvable
|
IResolvable
|
Initial
[]
(optional)
The initial capacity of the application.
maximumCapacity?
Type:
IResolvable
|
Maximum
(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
|
Network
(optional)
The network configuration for customer VPC connectivity for the application.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the application.
workerTypeSpecifications?
Type:
IResolvable
| { [string]:
IResolvable
|
Worker
}
(optional)
AWS::EMRServerless::Application.WorkerTypeSpecifications
.