interface CfnApplicationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMRServerless.CfnApplicationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsemrserverless#CfnApplicationProps |
![]() | software.amazon.awscdk.services.emrserverless.CfnApplicationProps |
![]() | aws_cdk.aws_emrserverless.CfnApplicationProps |
![]() | 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';
declare const configurationObjectProperty_: emrserverless.CfnApplication.ConfigurationObjectProperty;
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',
diskType: 'diskType',
},
workerCount: 123,
},
}],
interactiveConfiguration: {
livyEndpointEnabled: false,
studioEnabled: false,
},
maximumCapacity: {
cpu: 'cpu',
memory: 'memory',
// the properties below are optional
disk: 'disk',
},
monitoringConfiguration: {
cloudWatchLoggingConfiguration: {
enabled: false,
encryptionKeyArn: 'encryptionKeyArn',
logGroupName: 'logGroupName',
logStreamNamePrefix: 'logStreamNamePrefix',
logTypeMap: [{
key: 'key',
value: ['value'],
}],
},
managedPersistenceMonitoringConfiguration: {
enabled: false,
encryptionKeyArn: 'encryptionKeyArn',
},
prometheusMonitoringConfiguration: {
remoteWriteUrl: 'remoteWriteUrl',
},
s3MonitoringConfiguration: {
encryptionKeyArn: 'encryptionKeyArn',
logUri: 'logUri',
},
},
name: 'name',
networkConfiguration: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
runtimeConfiguration: [{
classification: 'classification',
// the properties below are optional
configurations: [configurationObjectProperty_],
properties: {
propertiesKey: 'properties',
},
}],
schedulerConfiguration: {
maxConcurrentRuns: 123,
queueTimeoutMinutes: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
workerTypeSpecifications: {
workerTypeSpecificationsKey: {
imageConfiguration: {
imageUri: 'imageUri',
},
},
},
};
Properties
Name | Type | Description |
---|---|---|
release | string | The EMR release associated with the application. |
type | string | The type of application, such as Spark or Hive. |
architecture? | string | The CPU architecture of an application. |
auto | IResolvable | Auto | 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 | The image configuration applied to all worker types. |
initial | IResolvable | IResolvable | Initial [] | The initial capacity of the application. |
interactive | IResolvable | Interactive | The interactive configuration object that enables the interactive use cases for an application. |
maximum | IResolvable | Maximum | The maximum capacity of the application. |
monitoring | IResolvable | Monitoring | A configuration specification to be used when provisioning an application. |
name? | string | The name of the application. |
network | IResolvable | Network | The network configuration for customer VPC connectivity for the application. |
runtime | IResolvable | IResolvable | Configuration [] | The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation. |
scheduler | IResolvable | Scheduler | The scheduler configuration for batch and streaming jobs running on this application. |
tags? | Cfn [] | The tags assigned to the application. |
worker | IResolvable | { [string]: IResolvable | Worker } | The specification applied to each worker type. |
releaseLabel
Type:
string
The EMR release associated with the application.
type
Type:
string
The type of application, such as Spark or Hive.
architecture?
Type:
string
(optional)
The CPU architecture of an application.
autoStartConfiguration?
Type:
IResolvable
|
Auto
(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)
The image configuration applied to all worker types.
initialCapacity?
Type:
IResolvable
|
IResolvable
|
Initial
[]
(optional)
The initial capacity of the application.
interactiveConfiguration?
Type:
IResolvable
|
Interactive
(optional)
The interactive configuration object that enables the interactive use cases for an 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.
monitoringConfiguration?
Type:
IResolvable
|
Monitoring
(optional)
A configuration specification to be used when provisioning an application.
A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
name?
Type:
string
(optional)
The name of the application.
networkConfiguration?
Type:
IResolvable
|
Network
(optional)
The network configuration for customer VPC connectivity for the application.
runtimeConfiguration?
Type:
IResolvable
|
IResolvable
|
Configuration
[]
(optional)
The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.
schedulerConfiguration?
Type:
IResolvable
|
Scheduler
(optional)
The scheduler configuration for batch and streaming jobs running on this application.
Supported with release labels emr-7.0.0 and above.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the application.
workerTypeSpecifications?
Type:
IResolvable
| { [string]:
IResolvable
|
Worker
}
(optional)
The specification applied to each worker type.