Skip to content
v2.275.0

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.

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'],
};

Properties ​

argsoptionalstring[]argsoptionaltyping.List[str]argsoptionalList<String>Argsoptionalstring[]Argsoptional*[]*string#
A list of command line arguments to pass to the bootstrap action script.
pathstringpathstrpathStringPathstringPath*stringrequired#
Location in Amazon S3 of the script to run during a bootstrap action.