Skip to content
v2.273.0

MatchCapture Struct ​

Information about a value captured during match.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { assertions } from 'aws-cdk-lib';

declare const capture: assertions.Capture;
declare const value: any;
const matchCapture: assertions.MatchCapture = {
  capture: capture,
  value: value,
};

Properties ​

captureCapturecaptureCapturecaptureCaptureCaptureCaptureCaptureCapturerequired#
The instance of Capture class to which this capture is associated with.
valueanyvalueAnyvalueObjectValueobjectValueinterface{}required#
The value that was captured.