Interface SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps.Jsii$Proxy
- Enclosing class:
SyntheticsCanaryTestRunFailure
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.synthetics.events.*;
SyntheticsCanaryTestRunFailureProps syntheticsCanaryTestRunFailureProps = SyntheticsCanaryTestRunFailureProps.builder()
.accountId(List.of("accountId"))
.artifactLocation(List.of("artifactLocation"))
.canaryId(List.of("canaryId"))
.canaryName(List.of("canaryName"))
.canaryRunId(List.of("canaryRunId"))
.canaryRunTimeline(CanaryRunTimeline.builder()
.completed(List.of("completed"))
.started(List.of("started"))
.build())
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.message(List.of("message"))
.stateReason(List.of("stateReason"))
.testRunStatus(List.of("testRunStatus"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forSyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) account-id property.(experimental) artifact-location property.(experimental) canary-id property.(experimental) canary-name property.(experimental) canary-run-id property.(experimental) canary-run-timeline property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) message property.(experimental) state-reason property.(experimental) test-run-status property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
(experimental) account-id property.Specify an array of string values to match this event if the actual value of account-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getArtifactLocation
(experimental) artifact-location property.Specify an array of string values to match this event if the actual value of artifact-location is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCanaryId
(experimental) canary-id property.Specify an array of string values to match this event if the actual value of canary-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCanaryName
(experimental) canary-name property.Specify an array of string values to match this event if the actual value of canary-name is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCanaryRunId
(experimental) canary-run-id property.Specify an array of string values to match this event if the actual value of canary-run-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getCanaryRunTimeline
@Stability(Experimental) @Nullable default SyntheticsCanaryTestRunFailure.CanaryRunTimeline getCanaryRunTimeline()(experimental) canary-run-timeline property.Specify an array of string values to match this event if the actual value of canary-run-timeline is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getMessage
(experimental) message property.Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getStateReason
(experimental) state-reason property.Specify an array of string values to match this event if the actual value of state-reason is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getTestRunStatus
(experimental) test-run-status property.Specify an array of string values to match this event if the actual value of test-run-status is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps.Builder builder()
-