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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::EMRServerless::Application.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnApplicationPropsMixin

      @Stability(Stable) public CfnApplicationPropsMixin(@NotNull CfnApplicationMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnApplicationMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()