Class CfnStepPropsMixin
Use Step to specify a cluster (job flow) step, which runs only on the master node.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnStepPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnStepPropsMixin Inherits Mixin Implements IMixin
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins;
var cfnStepPropsMixin = new CfnStepPropsMixin(new CfnStepMixinProps {
ActionOnFailure = "actionOnFailure",
HadoopJarStep = new HadoopJarStepConfigProperty {
Args = new [] { "args" },
Jar = "jar",
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
JobFlowId = "jobFlowId",
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnStepPropsMixin(ICfnStepMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Use |
| Props | Use |
| Strategy | Use |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnStepPropsMixin(ICfnStepMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EMR::Step.
public CfnStepPropsMixin(ICfnStepMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnStepMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Use Step to specify a cluster (job flow) step, which runs only on the master node.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins;
var cfnStepPropsMixin = new CfnStepPropsMixin(new CfnStepMixinProps {
ActionOnFailure = "actionOnFailure",
HadoopJarStep = new HadoopJarStepConfigProperty {
Args = new [] { "args" },
Jar = "jar",
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
JobFlowId = "jobFlowId",
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Use Step to specify a cluster (job flow) step, which runs only on the master node.
protected virtual ICfnStepMixinProps Props { get; }
Property Value
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins;
var cfnStepPropsMixin = new CfnStepPropsMixin(new CfnStepMixinProps {
ActionOnFailure = "actionOnFailure",
HadoopJarStep = new HadoopJarStepConfigProperty {
Args = new [] { "args" },
Jar = "jar",
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
JobFlowId = "jobFlowId",
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Use Step to specify a cluster (job flow) step, which runs only on the master node.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins;
var cfnStepPropsMixin = new CfnStepPropsMixin(new CfnStepMixinProps {
ActionOnFailure = "actionOnFailure",
HadoopJarStep = new HadoopJarStepConfigProperty {
Args = new [] { "args" },
Jar = "jar",
MainClass = "mainClass",
StepProperties = new [] { new KeyValueProperty {
Key = "key",
Value = "value"
} }
},
JobFlowId = "jobFlowId",
Name = "name"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
Steps are used to submit data processing jobs to a cluster.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
CloudformationResource: AWS::EMR::Step
Mixin: true
ExampleMetadata: fixture=_generated