Skip to content

JavaScript (v3): Deprecate ScenarioOutput #7043

Open
@cpyle0819

Description

@cpyle0819

ScenarioOutput is a sub-class of a scenario Step that offers logging capability for a scenario.

In practice ScenarioOutput has proven to be a bit unwieldy. It puts a lot of distance between logs and functionality, and the output steps obfuscate what's actually happening in a list of scenario steps.

ScenarioOutput should be marked as deprecated, and the shared logger should be copied into to the Step sub-classes and provided as an argument to step functions, e.g.

new ScenarioAction('my-action', (state, logger) => {});
new ScenarioInput('my-input', (state, logger) => {});

Metadata

Metadata

Assignees

Labels

InternalTo help track internal tickets in a single location.Javascript-v3This issue relates to the AWS SDK for Javascript V3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions