Interface CfnCanary.BaseScreenshotProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCanary.BaseScreenshotProperty.Jsii$Proxy
- Enclosing class:
CfnCanary
@Stability(Stable)
public static interface CfnCanary.BaseScreenshotProperty
extends software.amazon.jsii.JsiiSerializable
A structure representing a screenshot that is used as a baseline during visual monitoring comparisons made by the canary.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.synthetics.*; BaseScreenshotProperty baseScreenshotProperty = BaseScreenshotProperty.builder() .screenshotName("screenshotName") // the properties below are optional .ignoreCoordinates(List.of("ignoreCoordinates")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCanary.BaseScreenshotProperty
static final class
An implementation forCfnCanary.BaseScreenshotProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Coordinates that define the part of a screen to ignore during screenshot comparisons.The name of the screenshot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScreenshotName
The name of the screenshot.This is generated the first time the canary is run after the
UpdateCanary
operation that specified for this canary to perform visual monitoring.- See Also:
-
getIgnoreCoordinates
Coordinates that define the part of a screen to ignore during screenshot comparisons.To obtain the coordinates to use here, use the CloudWatch console to draw the boundaries on the screen. For more information, see Edit or delete a canary .
- See Also:
-
builder
-