Interface DevOpsGuruNewRecommendationCreated.RelatedAnomaly

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

@Stability(Experimental) public static interface DevOpsGuruNewRecommendationCreated.RelatedAnomaly extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for RelatedAnomaly.

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.devopsguru.events.*;
 RelatedAnomaly relatedAnomaly = RelatedAnomaly.builder()
         .associatedResourceArns(List.of("associatedResourceArns"))
         .resources(List.of(AnomalyResource.builder()
                 .name(List.of("name"))
                 .type(List.of("type"))
                 .build()))
         .sourceDetails(List.of(RelatedAnomalySourceDetail.builder()
                 .cloudWatchMetrics(List.of(CloudWatchDimension.builder()
                         .metricName(List.of("metricName"))
                         .namespace(List.of("namespace"))
                         .build()))
                 .build()))
         .build();
 
  • Method Details

    • getAssociatedResourceArns

      @Stability(Experimental) @Nullable default List<String> getAssociatedResourceArns()
      (experimental) associatedResourceArns property.

      Specify an array of string values to match this event if the actual value of associatedResourceArns 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

    • getResources

      @Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.AnomalyResource> getResources()
      (experimental) resources property.

      Specify an array of string values to match this event if the actual value of resources 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

    • getSourceDetails

      @Stability(Experimental) @Nullable default List<DevOpsGuruNewRecommendationCreated.RelatedAnomalySourceDetail> getSourceDetails()
      (experimental) sourceDetails property.

      Specify an array of string values to match this event if the actual value of sourceDetails 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

      @Stability(Experimental) static DevOpsGuruNewRecommendationCreated.RelatedAnomaly.Builder builder()
      Returns:
      a DevOpsGuruNewRecommendationCreated.RelatedAnomaly.Builder of DevOpsGuruNewRecommendationCreated.RelatedAnomaly