Class CfnApplicationPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.emrserverless.CfnApplicationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.348Z")
@Stability(Stable)
public class CfnApplicationPropsMixin
extends Mixin
implements software.constructs.IMixin
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 software.amazon.awscdk.cfnpropertymixins.services.emrserverless.*;
import software.amazon.awscdk.*;
ConfigurationObjectProperty configurationObjectProperty_;
IMergeStrategy mergeStrategy;
CfnApplicationPropsMixin cfnApplicationPropsMixin = CfnApplicationPropsMixin.Builder.create(CfnApplicationMixinProps.builder()
.architecture("architecture")
.autoStartConfiguration(AutoStartConfigurationProperty.builder()
.enabled(false)
.build())
.autoStopConfiguration(AutoStopConfigurationProperty.builder()
.enabled(false)
.idleTimeoutMinutes(123)
.build())
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.identityCenterInstanceArn("identityCenterInstanceArn")
.build())
.imageConfiguration(ImageConfigurationInputProperty.builder()
.imageUri("imageUri")
.build())
.initialCapacity(List.of(InitialCapacityConfigKeyValuePairProperty.builder()
.key("key")
.value(InitialCapacityConfigProperty.builder()
.workerConfiguration(WorkerConfigurationProperty.builder()
.cpu("cpu")
.disk("disk")
.diskType("diskType")
.memory("memory")
.build())
.workerCount(123)
.build())
.build()))
.interactiveConfiguration(InteractiveConfigurationProperty.builder()
.livyEndpointEnabled(false)
.studioEnabled(false)
.build())
.maximumCapacity(MaximumAllowedResourcesProperty.builder()
.cpu("cpu")
.disk("disk")
.memory("memory")
.build())
.monitoringConfiguration(MonitoringConfigurationProperty.builder()
.cloudWatchLoggingConfiguration(CloudWatchLoggingConfigurationProperty.builder()
.enabled(false)
.encryptionKeyArn("encryptionKeyArn")
.logGroupName("logGroupName")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypeMap(List.of(LogTypeMapKeyValuePairProperty.builder()
.key("key")
.value(List.of("value"))
.build()))
.build())
.managedPersistenceMonitoringConfiguration(ManagedPersistenceMonitoringConfigurationProperty.builder()
.enabled(false)
.encryptionKeyArn("encryptionKeyArn")
.build())
.prometheusMonitoringConfiguration(PrometheusMonitoringConfigurationProperty.builder()
.remoteWriteUrl("remoteWriteUrl")
.build())
.s3MonitoringConfiguration(S3MonitoringConfigurationProperty.builder()
.encryptionKeyArn("encryptionKeyArn")
.logUri("logUri")
.build())
.build())
.name("name")
.networkConfiguration(NetworkConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.releaseLabel("releaseLabel")
.runtimeConfiguration(List.of(ConfigurationObjectProperty.builder()
.classification("classification")
.configurations(List.of(configurationObjectProperty_))
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.schedulerConfiguration(SchedulerConfigurationProperty.builder()
.maxConcurrentRuns(123)
.queueTimeoutMinutes(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.workerTypeSpecifications(Map.of(
"workerTypeSpecificationsKey", WorkerTypeSpecificationInputProperty.builder()
.imageConfiguration(ImageConfigurationInputProperty.builder()
.imageUri("imageUri")
.build())
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe configuration for an application to automatically start on job submission.static interfaceThe configuration for an application to automatically stop after a certain amount of time being idle.static final classA fluent builder forCfnApplicationPropsMixin.static interfaceThe Amazon CloudWatch configuration for monitoring logs.static interfaceA configuration specification to be used when provisioning an application.static interfaceThe IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation.static interfaceThe image configuration.static interfaceExample:static interfaceThe initial capacity configuration per worker.static interfaceThe configuration to use to enable the different types of interactive use cases in an application.static interfaceExample:static interfaceThe managed log persistence configuration for a job run.static interfaceThe maximum allowed cumulative resources for an application.static interfaceThe configuration setting for monitoring logs.static interfaceThe network configuration for customer VPC connectivity.static interfaceThe monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.static interfaceThe Amazon S3 configuration for monitoring log publishing.static interfaceThe scheduler configuration for batch and streaming jobs running on this application.static interfaceThe configuration of a worker.static interfaceThe specifications for a worker type.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::EMRServerless::Application.CfnApplicationPropsMixin(CfnApplicationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMRServerless::Application.protectedCfnApplicationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplicationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnApplicationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnApplicationPropsMixin
protected CfnApplicationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplicationPropsMixin
protected CfnApplicationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplicationPropsMixin
@Stability(Stable) public CfnApplicationPropsMixin(@NotNull CfnApplicationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMRServerless::Application.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnApplicationPropsMixin
Create a mixin to apply properties toAWS::EMRServerless::Application.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-