Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
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())
.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")
.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())
.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())
.runtimeConfiguration(List.of(ConfigurationObjectProperty.builder()
.classification("classification")
// the properties below are optional
.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()))
.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 IAM Identity Center configuration applied to enable trusted identity propagation.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.default ObjectThe scheduler configuration for batch and streaming jobs running on this 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.Returns union: either
IResolvableorCfnApplication.AutoStartConfigurationProperty- See Also:
-
getAutoStopConfiguration
The configuration for an application to automatically stop after a certain amount of time being idle.Returns union: either
IResolvableorCfnApplication.AutoStopConfigurationProperty- See Also:
-
getIdentityCenterConfiguration
The IAM Identity Center configuration applied to enable trusted identity propagation.Returns union: either
IResolvableorCfnApplication.IdentityCenterConfigurationProperty- See Also:
-
getImageConfiguration
The image configuration applied to all worker types.Returns union: either
IResolvableorCfnApplication.ImageConfigurationInputProperty- See Also:
-
getInitialCapacity
The initial capacity of the application.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.InitialCapacityConfigKeyValuePairProperty>- See Also:
-
getInteractiveConfiguration
The interactive configuration object that enables the interactive use cases for an application.Returns union: either
IResolvableorCfnApplication.InteractiveConfigurationProperty- 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.
Returns union: either
IResolvableorCfnApplication.MaximumAllowedResourcesProperty- 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.
Returns union: either
IResolvableorCfnApplication.MonitoringConfigurationProperty- See Also:
-
getName
The name of the application.- See Also:
-
getNetworkConfiguration
The network configuration for customer VPC connectivity for the application.Returns union: either
IResolvableorCfnApplication.NetworkConfigurationProperty- 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplication.ConfigurationObjectProperty>- See Also:
-
getSchedulerConfiguration
The scheduler configuration for batch and streaming jobs running on this application.Supported with release labels emr-7.0.0 and above.
Returns union: either
IResolvableorCfnApplication.SchedulerConfigurationProperty- See Also:
-
getTags
The tags assigned to the application.- See Also:
-
getWorkerTypeSpecifications
The specification applied to each worker type.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnApplication.WorkerTypeSpecificationInputProperty>- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-