@Stability(value=Stable)
public static interface CfnCluster.BootstrapActionConfigProperty
extends software.amazon.jsii.JsiiSerializable
You can use a bootstrap action to install software and configure EC2 instances for all cluster nodes before EMR installs and configures open-source big data applications on cluster instances. For more information, see Create Bootstrap Actions to Install Additional Software in the Amazon EMR Management Guide .
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.*;
BootstrapActionConfigProperty bootstrapActionConfigProperty = BootstrapActionConfigProperty.builder()
.name("name")
.scriptBootstrapAction(ScriptBootstrapActionConfigProperty.builder()
.path("path")
// the properties below are optional
.args(List.of("args"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.BootstrapActionConfigProperty.Builder
A builder for
CfnCluster.BootstrapActionConfigProperty |
static class |
CfnCluster.BootstrapActionConfigProperty.Jsii$Proxy
An implementation for
CfnCluster.BootstrapActionConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.BootstrapActionConfigProperty.Builder |
builder() |
String |
getName()
The name of the bootstrap action.
|
Object |
getScriptBootstrapAction()
The script run by the bootstrap action.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getScriptBootstrapAction()
@Stability(value=Stable) static CfnCluster.BootstrapActionConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.