Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:08.146Z")
@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.*;
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")
.build())
.workerCount(123)
.build())
.build()))
.maximumCapacity(MaximumAllowedResourcesProperty.builder()
.cpu("cpu")
.memory("memory")
// the properties below are optional
.disk("disk")
.build())
.name("name")
.networkConfiguration(NetworkConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.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 maximum capacity of the application.default StringgetName()The name of the application.default ObjectThe network configuration for customer VPC connectivity for the application.The Amazon EMR release associated with the 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 Amazon 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:
-
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:
-
getName
The name of the application.- See Also:
-
getNetworkConfiguration
The network configuration for customer VPC connectivity for the application.- 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
-