Interface SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps.Jsii$Proxy
Enclosing class:
SyntheticsCanaryTestRunFailure

@Stability(Experimental) public static interface SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for aws.synthetics@SyntheticsCanaryTestRunFailure event.

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();
 
  • Method Details

    • getAccountId

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getArtifactLocation

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCanaryId

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCanaryName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCanaryRunId

      @Stability(Experimental) @Nullable default List<String> 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.Match for 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getMessage

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getStateReason

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getTestRunStatus

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      Returns:
      a SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps.Builder of SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps