GradientEdge CDK Utils
    Preparing search index...
    interface SfnSqsSendMessageProps {
        assign?: { [name: string]: any };
        comment?: string;
        credentials?: Credentials;
        delay?: Duration;
        heartbeat?: Duration;
        heartbeatTimeout?: Timeout;
        inputPath?: string;
        integrationPattern?: IntegrationPattern;
        messageBody: TaskInput;
        messageDeduplicationId?: string;
        messageGroupId?: string;
        name: string;
        outputPath?: string;
        outputs?: any;
        queryLanguage?: QueryLanguage;
        queue: IQueue;
        resultPath?: string;
        resultSelector?: { [key: string]: any };
        retries?: SfnRetryProps[];
        stateName?: string;
        taskTimeout?: Timeout;
        timeout?: Duration;
    }

    Hierarchy

    • SqsSendMessageProps
      • SfnSqsSendMessageProps
    Index

    Properties

    assign?: { [name: string]: any }

    Workflow variables to store in this step. Using workflow variables, you can store data in a step and retrieve that data in future steps.

    comment?: string

    A comment describing this state

    No comment
    
    credentials?: Credentials

    Credentials for an IAM Role that the State Machine assumes for executing the task. This enables cross-account resource invocations.

    - None (Task is executed using the State Machine's execution role)
    
    delay?: Duration

    The length of time, for which to delay a message. Messages that you send to the queue remain invisible to consumers for the duration of the delay period. The maximum allowed delay is 15 minutes.

    - delay set on the queue. If a delay is not set on the queue,
    messages are sent immediately (0 seconds).
    heartbeat?: Duration

    Timeout for the heartbeat

    - None
    

    use heartbeatTimeout

    heartbeatTimeout?: Timeout

    Timeout for the heartbeat

    [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface

    - None
    
    inputPath?: string

    JSONPath expression to select part of the state to be the input to this state.

    May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.

    $
    
    integrationPattern?: IntegrationPattern

    AWS Step Functions integrates with services directly in the Amazon States Language. You can control these AWS services using service integration patterns.

    Depending on the AWS Service, the Service Integration Pattern availability will vary.

    • IntegrationPattern.REQUEST_RESPONSE for most tasks. IntegrationPattern.RUN_JOB for the following exceptions: BatchSubmitJob, EmrAddStep, EmrCreateCluster, EmrTerminationCluster, and EmrContainersStartJobRun.
    messageBody: TaskInput

    The text message to send to the queue.

    messageDeduplicationId?: string

    The token used for deduplication of sent messages. Any messages sent with the same deduplication ID are accepted successfully, but aren't delivered during the 5-minute deduplication interval.

    - None
    
    messageGroupId?: string

    The tag that specifies that a message belongs to a specific message group.

    Messages that belong to the same message group are processed in a FIFO manner. Messages in different message groups might be processed out of order.

    - None
    
    name: string
    outputPath?: string

    JSONPath expression to select part of the state to be the output to this state.

    May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

    $
    
    outputs?: any

    Used to specify and transform output from the state. When specified, the value overrides the state output default. The output field accepts any JSON value (object, array, string, number, boolean, null). Any string value, including those inside objects or arrays, will be evaluated as JSONata if surrounded by {% %} characters. Output also accepts a JSONata expression directly.

    queryLanguage?: QueryLanguage

    The name of the query language used by the state. If the state does not contain a queryLanguage field, then it will use the query language specified in the top-level queryLanguage field.

    - JSONPath
    
    queue: IQueue

    The SQS queue that messages will be sent to

    resultPath?: string

    JSONPath expression to indicate where to inject the state's output

    May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.

    $
    
    resultSelector?: { [key: string]: any }

    The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.

    You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.

    retries?: SfnRetryProps[]
    stateName?: string

    Optional name for this state

    - The construct ID will be used as state name
    
    taskTimeout?: Timeout

    Timeout for the task

    [disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface

    - None
    
    timeout?: Duration

    Timeout for the task

    - None
    

    use taskTimeout