MatchCapture

class aws_cdk.assertions.MatchCapture(*, capture, value)

Bases: object

Information about a value captured during match.

Parameters:
  • capture (Capture) – The instance of Capture class to which this capture is associated with.

  • value (Any) – The value that was captured.

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 assertions

# capture: assertions.Capture
# value: Any

match_capture = assertions.MatchCapture(
    capture=capture,
    value=value
)

Attributes

capture

The instance of Capture class to which this capture is associated with.

value

The value that was captured.