How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    import * as cdk from '@aws-cdk/core';
    
    declare const taskInput: stepfunctions.TaskInput;
    const sendToQueueProps: stepfunctions_tasks.SendToQueueProps = {
      messageBody: taskInput,
    
      // the properties below are optional
      delay: cdk.Duration.minutes(30),
      integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
      messageDeduplicationId: 'messageDeduplicationId',
      messageGroupId: 'messageGroupId',
    };
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    import * as cdk from '@aws-cdk/core';
    const cloudWatchAlarmDefinitionProperty: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmDefinitionProperty = {
      comparisonOperator: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmComparisonOperator.GREATER_THAN_OR_EQUAL,
      metricName: 'metricName',
      period: cdk.Duration.minutes(30),
    
      // the properties below are optional
      dimensions: [{
        key: 'key',
        value: 'value',
      }],
      evaluationPeriods: 123,
      namespace: 'namespace',
      statistic: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmStatistic.SAMPLE_COUNT,
      threshold: 123,
      unit: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmUnit.NONE,
    };
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    import * as cdk from '@aws-cdk/core';
    const runGlueJobTask = new stepfunctions_tasks.RunGlueJobTask('glueJobName', /* all optional props */ {
      arguments: {
        argumentsKey: 'arguments',
      },
      integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
      notifyDelayAfter: cdk.Duration.minutes(30),
      securityConfiguration: 'securityConfiguration',
      timeout: cdk.Duration.minutes(30),
    });
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    import * as cdk from '@aws-cdk/core';
    const scalingTriggerProperty: stepfunctions_tasks.EmrCreateCluster.ScalingTriggerProperty = {
      cloudWatchAlarmDefinition: {
        comparisonOperator: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmComparisonOperator.GREATER_THAN_OR_EQUAL,
        metricName: 'metricName',
        period: cdk.Duration.minutes(30),
    
        // the properties below are optional
        dimensions: [{
          key: 'key',
          value: 'value',
        }],
        evaluationPeriods: 123,
        namespace: 'namespace',
        statistic: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmStatistic.SAMPLE_COUNT,
        threshold: 123,
        unit: stepfunctions_tasks.EmrCreateCluster.CloudWatchAlarmUnit.NONE,
      },
    };
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as sqs from '@aws-cdk/aws-sqs';
    import * as stepfunctions from '@aws-cdk/aws-stepfunctions';
    import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
    import * as cdk from '@aws-cdk/core';
    
    declare const queue: sqs.Queue;
    declare const taskInput: stepfunctions.TaskInput;
    const sendToQueue = new stepfunctions_tasks.SendToQueue(queue, {
      messageBody: taskInput,
    
      // the properties below are optional
      delay: cdk.Duration.minutes(30),
      integrationPattern: stepfunctions.ServiceIntegrationPattern.FIRE_AND_FORGET,
      messageDeduplicationId: 'messageDeduplicationId',
      messageGroupId: 'messageGroupId',
    });
    
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples