interface MatchCapture
Language | Type name |
---|---|
.NET | Amazon.CDK.Assertions.MatchCapture |
Go | github.com/aws/aws-cdk-go/awscdk/v2/assertions#MatchCapture |
Java | software.amazon.awscdk.assertions.MatchCapture |
Python | aws_cdk.assertions.MatchCapture |
TypeScript (source) | aws-cdk-lib » assertions » MatchCapture |
Information about a value captured during match.
Example
// 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
Name | Type | Description |
---|---|---|
capture | Capture | The instance of Capture class to which this capture is associated with. |
value | any | The value that was captured. |
capture
Type:
Capture
The instance of Capture class to which this capture is associated with.
value
Type:
any
The value that was captured.