aws-cdk-lib.aws_emr.CfnCluster.BootstrapActionConfigProperty

interface BootstrapActionConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnCluster.BootstrapActionConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_BootstrapActionConfigProperty
Javasoftware.amazon.awscdk.services.emr.CfnCluster.BootstrapActionConfigProperty
Pythonaws_cdk.aws_emr.CfnCluster.BootstrapActionConfigProperty
TypeScript aws-cdk-lib » aws_emr » CfnCluster » BootstrapActionConfigProperty

BootstrapActionConfig is a property of AWS::EMR::Cluster that can be used to run bootstrap actions on EMR clusters.

You can use a bootstrap action to install software and configure EC2 instances for all cluster nodes before EMR installs and configures open-source big data applications on cluster instances. For more information, see Create Bootstrap Actions to Install Additional Software in the Amazon EMR Management Guide .

Example

// 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 bootstrapActionConfigProperty: emr.CfnCluster.BootstrapActionConfigProperty = {
  name: 'name',
  scriptBootstrapAction: {
    path: 'path',

    // the properties below are optional
    args: ['args'],
  },
};

Properties

NameTypeDescription
namestringThe name of the bootstrap action.
scriptBootstrapActionIResolvable | ScriptBootstrapActionConfigPropertyThe script run by the bootstrap action.

name

Type: string

The name of the bootstrap action.


scriptBootstrapAction

Type: IResolvable | ScriptBootstrapActionConfigProperty

The script run by the bootstrap action.