DefinitionConfig

class aws_cdk.aws_stepfunctions.DefinitionConfig(*, definition=None, definition_s3_location=None, definition_string=None)

Bases: object

Partial object from the StateMachine L1 construct properties containing definition information.

Parameters:
  • definition (Any) –

  • definition_s3_location (Union[S3LocationProperty, Dict[str, Any], None]) –

  • definition_string (Optional[str]) –

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_stepfunctions as stepfunctions

# definition: Any

definition_config = stepfunctions.DefinitionConfig(
    definition=definition,
    definition_s3_location=stepfunctions.CfnStateMachine.S3LocationProperty(
        bucket="bucket",
        key="key",

        # the properties below are optional
        version="version"
    ),
    definition_string="definitionString"
)

Attributes

definition
definition_s3_location
definition_string