ScriptBootstrapActionConfigProperty Struct
Configuration of the script to run during a bootstrap action.
| 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 scriptBootstrapActionConfigProperty: stepfunctions_tasks.EmrCreateCluster.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_stepfunctions_tasks as stepfunctions_tasks
script_bootstrap_action_config_property = 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.*;
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.StepFunctions.Tasks;
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.
Default: No args
Location of the script to run during a bootstrap action.
Can be either a location in Amazon S3 or on a local file system.