Skip to content

(stepfunctions): log options include_execution_data default value is False #20040

@ghost

Description

Describe the bug

In the docstring it describes that the include_execution_data argument has a default value of True, but after deploying the StateMachine the configured value is False.

Expected Behavior

Argument include_execution_data be True when ignored.

Current Behavior

Argument include_execution_data is False when ignored.

Reproduction Steps

machine = sfn.StateMachine(
           ...
            logs=sfn.LogOptions(
                ...
                include_execution_data=None,
            ),
        )

Check in aws console if Include execution data is equal to NO.

Possible Solution

Fix the docstring of the class stating that the include_execution_data argument defaults to False.

Additional Information/Context

No response

CDK CLI Version

2.21.0 (build 3f74a81)

Framework Version

No response

Node.js Version

v16.13.2

OS

macOS Big Sur (11.6.1)

Language

Python

Language Version

Python (3.9.12)

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsbugThis issue is a bug.documentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions