@Stability(value=Stable)
public static interface CfnCanary.BaseScreenshotProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCanary.BaseScreenshotProperty.Builder
A builder for
CfnCanary.BaseScreenshotProperty |
static class |
CfnCanary.BaseScreenshotProperty.Jsii$Proxy
An implementation for
CfnCanary.BaseScreenshotProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCanary.BaseScreenshotProperty.Builder |
builder() |
default List<String> |
getIgnoreCoordinates()
Coordinates that define the part of a screen to ignore during screenshot comparisons.
|
String |
getScreenshotName()
The name of the screenshot.
|
@Stability(value=Stable) @NotNull String getScreenshotName()
This is generated the first time the canary is run after the UpdateCanary operation that specified for this canary to perform visual monitoring.
@Stability(value=Stable) @Nullable default List<String> getIgnoreCoordinates()
To obtain the coordinates to use here, use the CloudWatch Logs console to draw the boundaries on the screen. For more information, see {LINK}
@Stability(value=Stable) static CfnCanary.BaseScreenshotProperty.Builder builder()
Copyright © 2022. All rights reserved.