ScriptBootstrapActionConfigProperty Struct
ScriptBootstrapActionConfig is a subproperty of the BootstrapActionConfig property type.
ScriptBootstrapActionConfig specifies the arguments and location of the bootstrap script for EMR to run on all cluster nodes before it installs open-source big data applications on them.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const scriptBootstrapActionConfigProperty: emr.CfnCluster.ScriptBootstrapActionConfigProperty = {
path: 'path',
// the properties below are optional
args: ['args'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emr as emr
script_bootstrap_action_config_property = emr.CfnCluster.ScriptBootstrapActionConfigProperty(
path="path",
# the properties below are optional
args=["args"]
)
java
// 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.*;
ScriptBootstrapActionConfigProperty scriptBootstrapActionConfigProperty = ScriptBootstrapActionConfigProperty.builder()
.path("path")
// the properties below are optional
.args(List.of("args"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var scriptBootstrapActionConfigProperty = new ScriptBootstrapActionConfigProperty {
Path = "path",
// the properties below are optional
Args = new [] { "args" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
scriptBootstrapActionConfigProperty := &ScriptBootstrapActionConfigProperty{
Path: jsii.String("path"),
// the properties below are optional
Args: []*string{
jsii.String("args"),
},
}
Properties
argsoptionalstring[]argsoptionaltyping.List[str]argsoptionalList<String>Argsoptionalstring[]Argsoptional*[]*string #A list of command line arguments to pass to the bootstrap action script.
Location in Amazon S3 of the script to run during a bootstrap action.