ActionArtifactBounds

class aws_cdk.aws_codepipeline.ActionArtifactBounds(*, max_inputs, max_outputs, min_inputs, min_outputs)

Bases: object

Specifies the constraints on the number of input and output artifacts an action can have.

The constraints for each action type are documented on the {@link https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html Pipeline Structure Reference} page.

Parameters:
  • max_inputs (Union[int, float]) –

  • max_outputs (Union[int, float]) –

  • min_inputs (Union[int, float]) –

  • min_outputs (Union[int, float]) –

ExampleMetadata:

fixture=action infused

Example:

# MyAction is some action type that produces variables, like EcrSourceAction
my_action = MyAction(
    # ...
    action_name="myAction"
)
OtherAction(
    # ...
    config=my_action.variables.my_variable,
    action_name="otherAction"
)

Attributes

max_inputs
max_outputs
min_inputs
min_outputs