@Stability(value=Stable)
public static interface CfnCluster.ApplicationProperty
extends software.amazon.jsii.JsiiSerializable
The Application property type defines the open-source big data applications for EMR to install and configure when a cluster is created.
With Amazon EMR release version 4.0 and later, the only accepted parameter is the application Name . To pass arguments to these applications, you use configuration classifications specified using JSON objects in a Configuration property. For more information, see Configuring Applications .
With earlier Amazon EMR releases, the application is any AWS or third-party software that you can add to the cluster. You can specify the version of the application and arguments to pass to it. Amazon EMR accepts and forwards the argument list to the corresponding installation script as a bootstrap action argument.
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.emr.*;
ApplicationProperty applicationProperty = ApplicationProperty.builder()
.additionalInfo(Map.of(
"additionalInfoKey", "additionalInfo"))
.args(List.of("args"))
.name("name")
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.ApplicationProperty.Builder
A builder for
CfnCluster.ApplicationProperty |
static class |
CfnCluster.ApplicationProperty.Jsii$Proxy
An implementation for
CfnCluster.ApplicationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.ApplicationProperty.Builder |
builder() |
default Object |
getAdditionalInfo()
This option is for advanced users only.
|
default List<String> |
getArgs()
Arguments for Amazon EMR to pass to the application.
|
default String |
getName()
The name of the application.
|
default String |
getVersion()
The version of the application.
|
@Stability(value=Stable) @Nullable default Object getAdditionalInfo()
This is meta information about clusters and applications that are used for testing and troubleshooting.
@Stability(value=Stable) @Nullable default List<String> getArgs()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnCluster.ApplicationProperty.Builder builder()
Copyright © 2022. All rights reserved.