import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  An activity is a task that you write in any programming language and host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API actions. This function lets Step Functions know the existence of your activity and returns an identifier for use in a state machine and when polling from the activity.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html">the AWS Docs</a>
*/
export function activity(activityProps) {
    return new AwsResource('AWS::StepFunctions::Activity', activityProps, { Arn: 'Arn', Name: 'Name' });
}
