Interface RepositoryEvents.ECRImageScan.ECRImageScanProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RepositoryEvents.ECRImageScan.ECRImageScanProps.Jsii$Proxy
Enclosing class:
RepositoryEvents.ECRImageScan

@Stability(Experimental) public static interface RepositoryEvents.ECRImageScan.ECRImageScanProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Repository aws.ecr@ECRImageScan 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.ecr.events.*;
 ECRImageScanProps eCRImageScanProps = ECRImageScanProps.builder()
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .findingSeverityCounts(FindingSeverityCounts.builder()
                 .critical(List.of("critical"))
                 .high(List.of("high"))
                 .informational(List.of("informational"))
                 .low(List.of("low"))
                 .medium(List.of("medium"))
                 .undefined(List.of("undefined"))
                 .build())
         .imageDigest(List.of("imageDigest"))
         .imageTags(List.of("imageTags"))
         .repositoryName(List.of("repositoryName"))
         .scanStatus(List.of("scanStatus"))
         .build();
 
  • Method Details

    • getEventMetadata

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

      Default: - -

    • getFindingSeverityCounts

      @Stability(Experimental) @Nullable default RepositoryEvents.ECRImageScan.FindingSeverityCounts getFindingSeverityCounts()
      (experimental) finding-severity-counts property.

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

    • getImageDigest

      @Stability(Experimental) @Nullable default List<String> getImageDigest()
      (experimental) image-digest property.

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

    • getImageTags

      @Stability(Experimental) @Nullable default List<String> getImageTags()
      (experimental) image-tags property.

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

    • getRepositoryName

      @Stability(Experimental) @Nullable default List<String> getRepositoryName()
      (experimental) repository-name property.

      Specify an array of string values to match this event if the actual value of repository-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: - Filter with the Repository reference

    • getScanStatus

      @Stability(Experimental) @Nullable default List<String> getScanStatus()
      (experimental) scan-status property.

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

      @Stability(Experimental) static RepositoryEvents.ECRImageScan.ECRImageScanProps.Builder builder()
      Returns:
      a RepositoryEvents.ECRImageScan.ECRImageScanProps.Builder of RepositoryEvents.ECRImageScan.ECRImageScanProps