class CfnApplicationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMRServerless.Mixins.CfnApplicationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemrserverless/mixins#CfnApplicationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.emrserverless.mixins.CfnApplicationPropsMixin |
Python | aws_cdk.mixins_preview.aws_emrserverless.mixins.CfnApplicationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_emrserverless » mixins » CfnApplicationPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::EMRServerless::Application resource specifies an EMR Serverless application.
An application uses open source analytics frameworks to run jobs that process data. To create an application, you must specify the release version for the open source framework version you want to use and the type of application you want, such as Apache Spark or Apache Hive. After you create an application, you can submit data processing jobs or interactive requests to it.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as emrserverless_mixins } from '@aws-cdk/mixins-preview/aws-emrserverless';
declare const configurationObjectProperty_: emrserverless_mixins.CfnApplicationPropsMixin.ConfigurationObjectProperty;
const cfnApplicationPropsMixin = new emrserverless_mixins.CfnApplicationPropsMixin({
architecture: 'architecture',
autoStartConfiguration: {
enabled: false,
},
autoStopConfiguration: {
enabled: false,
idleTimeoutMinutes: 123,
},
identityCenterConfiguration: {
identityCenterInstanceArn: 'identityCenterInstanceArn',
},
imageConfiguration: {
imageUri: 'imageUri',
},
initialCapacity: [{
key: 'key',
value: {
workerConfiguration: {
cpu: 'cpu',
disk: 'disk',
diskType: 'diskType',
memory: 'memory',
},
workerCount: 123,
},
}],
interactiveConfiguration: {
livyEndpointEnabled: false,
studioEnabled: false,
},
maximumCapacity: {
cpu: 'cpu',
disk: 'disk',
memory: 'memory',
},
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'],
},
releaseLabel: 'releaseLabel',
runtimeConfiguration: [{
classification: 'classification',
configurations: [configurationObjectProperty_],
properties: {
propertiesKey: 'properties',
},
}],
schedulerConfiguration: {
maxConcurrentRuns: 123,
queueTimeoutMinutes: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
workerTypeSpecifications: {
workerTypeSpecificationsKey: {
imageConfiguration: {
imageUri: 'imageUri',
},
},
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnApplicationPropsMixin(props: CfnApplicationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Application Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::EMRServerless::Application.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript