# ScriptBootstrapActionConfigProperty

Configuration of the script to run during a bootstrap action.

- Source: [`aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts#L1695)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `args`: string[] — A list of command line arguments to pass to the bootstrap action script.

  **Default:** No args

- `path`: string (required) — Location of the script to run during a bootstrap action.

  Can be either a location in Amazon S3 or on a local file system.
