import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class HadoopJarStepConfig { Args ? : List < Value < string > > ; Jar ! : Value < string > ; MainClass ? : Value < string > ; StepProperties ? : List < KeyValue > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class KeyValue { Key ? : Value < string > ; Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface StepProperties { ActionOnFailure : Value < string > ; HadoopJarStep : HadoopJarStepConfig ; JobFlowId : Value < string > ; Name : Value < string > ; } export default class Step extends ResourceBase < StepProperties > { static HadoopJarStepConfig = HadoopJarStepConfig ; static KeyValue = KeyValue ; constructor ( properties ) { super ( 'AWS::EMR::Step' , properties ) ; } }