-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCluster_StepConfigProperty.go
53 lines (50 loc) · 2.04 KB
/
CfnCluster_StepConfigProperty.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package awsemr
// `StepConfig` is a property of the `AWS::EMR::Cluster` resource.
//
// The `StepConfig` property type specifies a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to the cluster.
//
// 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"
//
// stepConfigProperty := &StepConfigProperty{
// HadoopJarStep: &HadoopJarStepConfigProperty{
// Jar: jsii.String("jar"),
//
// // the properties below are optional
// Args: []*string{
// jsii.String("args"),
// },
// MainClass: jsii.String("mainClass"),
// StepProperties: []interface{}{
// &KeyValueProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// },
// Name: jsii.String("name"),
//
// // the properties below are optional
// ActionOnFailure: jsii.String("actionOnFailure"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-stepconfig.html
//
type CfnCluster_StepConfigProperty struct {
// The JAR file used for the step.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-stepconfig.html#cfn-emr-cluster-stepconfig-hadoopjarstep
//
HadoopJarStep interface{} `field:"required" json:"hadoopJarStep" yaml:"hadoopJarStep"`
// The name of the step.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-stepconfig.html#cfn-emr-cluster-stepconfig-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The action to take when the cluster step fails.
//
// Possible values are `CANCEL_AND_WAIT` and `CONTINUE` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-stepconfig.html#cfn-emr-cluster-stepconfig-actiononfailure
//
ActionOnFailure *string `field:"optional" json:"actionOnFailure" yaml:"actionOnFailure"`
}