CfnExecutionProps

class aws_cdk.aws_states.CfnExecutionProps(*, state_machine_arn, input=None, name=None)

Bases: object

Properties for defining a CfnExecution.

Parameters:
  • state_machine_arn (str) – The Amazon Resource Name (ARN) of the state machine that was executed.

  • input (Optional[str]) – The string that contains the JSON input data for the execution.

  • name (Optional[str]) – The name of the execution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-states-execution.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_states as states

cfn_execution_props = states.CfnExecutionProps(
    state_machine_arn="stateMachineArn",

    # the properties below are optional
    input="input",
    name="name"
)

Attributes

input

The string that contains the JSON input data for the execution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-states-execution.html#cfn-states-execution-input

name

The name of the execution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-states-execution.html#cfn-states-execution-name

state_machine_arn

The Amazon Resource Name (ARN) of the state machine that was executed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-states-execution.html#cfn-states-execution-statemachinearn