BootstrapActionConfigProperty Struct
Configuration of a bootstrap action.
See the RunJobFlow API for complete documentation on input parameters
| Source | aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const bootstrapActionConfigProperty: stepfunctions_tasks.EmrCreateCluster.BootstrapActionConfigProperty = {
name: 'name',
scriptBootstrapAction: {
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_stepfunctions_tasks as stepfunctions_tasks
bootstrap_action_config_property = stepfunctions_tasks.EmrCreateCluster.BootstrapActionConfigProperty(
name="name",
script_bootstrap_action=stepfunctions_tasks.EmrCreateCluster.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.stepfunctions.tasks.*;
BootstrapActionConfigProperty bootstrapActionConfigProperty = BootstrapActionConfigProperty.builder()
.name("name")
.scriptBootstrapAction(ScriptBootstrapActionConfigProperty.builder()
.path("path")
// the properties below are optional
.args(List.of("args"))
.build())
.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.StepFunctions.Tasks;
var bootstrapActionConfigProperty = new BootstrapActionConfigProperty {
Name = "name",
ScriptBootstrapAction = 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"
bootstrapActionConfigProperty := &BootstrapActionConfigProperty{
Name: jsii.String("name"),
ScriptBootstrapAction: &ScriptBootstrapActionConfigProperty{
Path: jsii.String("path"),
// the properties below are optional
Args: []*string{
jsii.String("args"),
},
},
}
Properties
The name of the bootstrap action.
scriptBootstrapActionEmrCreateCluster.script_bootstrap_actionScriptBootstrapActionConfigPropertyscriptBootstrapActionScriptBootstrapActionConfigPropertyScriptBootstrapActionScriptBootstrapActionConfigPropertyScriptBootstrapActionScriptBootstrapActionConfigProperty required #The script run by the bootstrap action.