-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsemr_CfnCluster_BootstrapActionConfigProperty.go
31 lines (28 loc) · 1.34 KB
/
awsemr_CfnCluster_BootstrapActionConfigProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package awsemr
// `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](https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-plan-bootstrap.html) 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 "github.com/aws/aws-cdk-go/awscdk"
//
// bootstrapActionConfigProperty := &bootstrapActionConfigProperty{
// name: jsii.String("name"),
// scriptBootstrapAction: &scriptBootstrapActionConfigProperty{
// path: jsii.String("path"),
//
// // the properties below are optional
// args: []*string{
// jsii.String("args"),
// },
// },
// }
//
type CfnCluster_BootstrapActionConfigProperty struct {
// The name of the bootstrap action.
Name *string `field:"required" json:"name" yaml:"name"`
// The script run by the bootstrap action.
ScriptBootstrapAction interface{} `field:"required" json:"scriptBootstrapAction" yaml:"scriptBootstrapAction"`
}