Interface CfnApplicationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:19.231Z") @Stability(Stable) public interface CfnApplicationProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.emrserverless.*;
 ConfigurationObjectProperty configurationObjectProperty_;
 CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
         .releaseLabel("releaseLabel")
         .type("type")
         // the properties below are optional
         .architecture("architecture")
         .autoStartConfiguration(AutoStartConfigurationProperty.builder()
                 .enabled(false)
                 .build())
         .autoStopConfiguration(AutoStopConfigurationProperty.builder()
                 .enabled(false)
                 .idleTimeoutMinutes(123)
                 .build())
         .imageConfiguration(ImageConfigurationInputProperty.builder()
                 .imageUri("imageUri")
                 .build())
         .initialCapacity(List.of(InitialCapacityConfigKeyValuePairProperty.builder()
                 .key("key")
                 .value(InitialCapacityConfigProperty.builder()
                         .workerConfiguration(WorkerConfigurationProperty.builder()
                                 .cpu("cpu")
                                 .memory("memory")
                                 // the properties below are optional
                                 .disk("disk")
                                 .diskType("diskType")
                                 .build())
                         .workerCount(123)
                         .build())
                 .build()))
         .interactiveConfiguration(InteractiveConfigurationProperty.builder()
                 .livyEndpointEnabled(false)
                 .studioEnabled(false)
                 .build())
         .maximumCapacity(MaximumAllowedResourcesProperty.builder()
                 .cpu("cpu")
                 .memory("memory")
                 // the properties below are optional
                 .disk("disk")
                 .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())
                 .s3MonitoringConfiguration(S3MonitoringConfigurationProperty.builder()
                         .encryptionKeyArn("encryptionKeyArn")
                         .logUri("logUri")
                         .build())
                 .build())
         .name("name")
         .networkConfiguration(NetworkConfigurationProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnetIds(List.of("subnetIds"))
                 .build())
         .runtimeConfiguration(List.of(ConfigurationObjectProperty.builder()
                 .classification("classification")
                 // the properties below are optional
                 .configurations(List.of(configurationObjectProperty_))
                 .properties(Map.of(
                         "propertiesKey", "properties"))
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .workerTypeSpecifications(Map.of(
                 "workerTypeSpecificationsKey", WorkerTypeSpecificationInputProperty.builder()
                         .imageConfiguration(ImageConfigurationInputProperty.builder()
                                 .imageUri("imageUri")
                                 .build())
                         .build()))
         .build();
 

See Also: