Interface RepositoryEvents.ECRImageScan.ECRImageScanProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RepositoryEvents.ECRImageScan.ECRImageScanProps.Jsii$Proxy
- Enclosing class:
RepositoryEvents.ECRImageScan
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRepositoryEvents.ECRImageScan.ECRImageScanPropsstatic final classAn implementation forRepositoryEvents.ECRImageScan.ECRImageScanProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) finding-severity-counts property.(experimental) image-digest property.(experimental) image-tags property.(experimental) repository-name property.(experimental) scan-status property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Filter with the Repository reference
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-