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-11-06T23:25:10.194Z")
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsstatic final classAn implementation forCfnApplicationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builderbuilder()default StringThe CPU architecture of an application.default ObjectThe configuration for an application to automatically start on job submission.default ObjectThe configuration for an application to automatically stop after a certain amount of time being idle.default ObjectThe image configuration applied to all worker types.default ObjectThe initial capacity of the application.default ObjectThe interactive configuration object that enables the interactive use cases for an application.default ObjectThe maximum capacity of the application.default ObjectA configuration specification to be used when provisioning an application.default StringgetName()The name of the application.default ObjectThe network configuration for customer VPC connectivity for the application.The EMR release associated with the application.default ObjectThe Configuration specifications of an application.getTags()The tags assigned to the application.getType()The type of application, such as Spark or Hive.default ObjectThe specification applied to each worker type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getReleaseLabel
The EMR release associated with the application.- See Also:
-
getType
The type of application, such as Spark or Hive.- See Also:
-
getArchitecture
The CPU architecture of an application.- See Also:
-
getAutoStartConfiguration
The configuration for an application to automatically start on job submission.- See Also:
-
getAutoStopConfiguration
The configuration for an application to automatically stop after a certain amount of time being idle.- See Also:
-
getImageConfiguration
The image configuration applied to all worker types.- See Also:
-
getInitialCapacity
The initial capacity of the application.- See Also:
-
getInteractiveConfiguration
The interactive configuration object that enables the interactive use cases for an application.- See Also:
-
getMaximumCapacity
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.
- See Also:
-
getMonitoringConfiguration
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.
- See Also:
-
getName
The name of the application.- See Also:
-
getNetworkConfiguration
The network configuration for customer VPC connectivity for the application.- See Also:
-
getRuntimeConfiguration
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.- See Also:
-
getTags
The tags assigned to the application.- See Also:
-
getWorkerTypeSpecifications
The specification applied to each worker type.- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-