# ScriptBootstrapActionConfigProperty

`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: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

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

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

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

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.EMR;

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.

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