Create Application
| emrserverless_create_application | R Documentation |
Creates an application¶
Description¶
Creates an application.
Usage¶
emrserverless_create_application(name, releaseLabel, type, clientToken,
initialCapacity, maximumCapacity, tags, autoStartConfiguration,
autoStopConfiguration, networkConfiguration, architecture,
imageConfiguration, workerTypeSpecifications, runtimeConfiguration,
monitoringConfiguration, interactiveConfiguration)
Arguments¶
nameThe name of the application.
releaseLabel[required] The Amazon EMR release associated with the application.
type[required] The type of application you want to start, such as Spark or Hive.
clientToken[required] The client idempotency token of the application to create. Its value must be unique for each request.
initialCapacityThe capacity to initialize when the application is created.
maximumCapacityThe maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
tagsThe tags assigned to the application.
autoStartConfigurationThe configuration for an application to automatically start on job submission.
autoStopConfigurationThe configuration for an application to automatically stop after a certain amount of time being idle.
networkConfigurationThe network configuration for customer VPC connectivity.
architectureThe CPU architecture of an application.
imageConfigurationThe image configuration for all worker types. You can either set this parameter or
imageConfigurationfor each worker type inworkerTypeSpecifications.workerTypeSpecificationsThe key-value pairs that specify worker type to
WorkerTypeSpecificationInput. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types includeDriverandExecutorfor Spark applications andHiveDriverandTezTaskfor Hive applications. You can either set image details in this parameter for each worker type, or inimageConfigurationfor all worker types.runtimeConfigurationThe Configuration specifications to use when creating an application. Each configuration consists of a classification and properties. This configuration is applied to all the job runs submitted under the application.
monitoringConfigurationThe configuration setting for monitoring.
interactiveConfigurationThe interactive configuration object that enables the interactive use cases to use when running an application.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_application(
name = "string",
releaseLabel = "string",
type = "string",
clientToken = "string",
initialCapacity = list(
list(
workerCount = 123,
workerConfiguration = list(
cpu = "string",
memory = "string",
disk = "string",
diskType = "string"
)
)
),
maximumCapacity = list(
cpu = "string",
memory = "string",
disk = "string"
),
tags = list(
"string"
),
autoStartConfiguration = list(
enabled = TRUE|FALSE
),
autoStopConfiguration = list(
enabled = TRUE|FALSE,
idleTimeoutMinutes = 123
),
networkConfiguration = list(
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
)
),
architecture = "ARM64"|"X86_64",
imageConfiguration = list(
imageUri = "string"
),
workerTypeSpecifications = list(
list(
imageConfiguration = list(
imageUri = "string"
)
)
),
runtimeConfiguration = list(
list(
classification = "string",
properties = list(
"string"
),
configurations = list()
)
),
monitoringConfiguration = list(
s3MonitoringConfiguration = list(
logUri = "string",
encryptionKeyArn = "string"
),
managedPersistenceMonitoringConfiguration = list(
enabled = TRUE|FALSE,
encryptionKeyArn = "string"
),
cloudWatchLoggingConfiguration = list(
enabled = TRUE|FALSE,
logGroupName = "string",
logStreamNamePrefix = "string",
encryptionKeyArn = "string",
logTypes = list(
list(
"string"
)
)
),
prometheusMonitoringConfiguration = list(
remoteWriteUrl = "string"
)
),
interactiveConfiguration = list(
studioEnabled = TRUE|FALSE,
livyEndpointEnabled = TRUE|FALSE
)
)