ECRImageScan
- class aws_cdk.mixins_preview.aws_ecr.events.ECRImageScan
Bases:
object(experimental) EventBridge event pattern for aws.ecr@ECRImageScan.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecr import events as ecr_events e_cRImage_scan = ecr_events.ECRImageScan()
- Stability:
experimental
Static Methods
- classmethod ecr_image_scan_pattern(*, event_metadata=None, finding_severity_counts=None, image_digest=None, image_tags=None, repository_name=None, scan_status=None)
(experimental) EventBridge event pattern for ECR Image Scan.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -finding_severity_counts (
Union[FindingSeverityCounts,Dict[str,Any],None]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_digest (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_tags (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrepository_name (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the Repository referencescan_status (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
ECRImageScanProps
- class ECRImageScan.ECRImageScanProps(*, event_metadata=None, finding_severity_counts=None, image_digest=None, image_tags=None, repository_name=None, scan_status=None)
Bases:
object(experimental) Props type for aws.ecr@ECRImageScan event.
- Parameters:
event_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -finding_severity_counts (
Union[FindingSeverityCounts,Dict[str,Any],None]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_digest (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage_tags (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrepository_name (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the Repository referencescan_status (
Optional[Sequence[str]]) – (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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecr import events as ecr_events e_cRImage_scan_props = ecr_events.ECRImageScan.ECRImageScanProps( event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), finding_severity_counts=ecr_events.ECRImageScan.FindingSeverityCounts( critical=["critical"], high=["high"], informational=["informational"], low=["low"], medium=["medium"], undefined=["undefined"] ), image_digest=["imageDigest"], image_tags=["imageTags"], repository_name=["repositoryName"], scan_status=["scanStatus"] )
Attributes
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- finding_severity_counts
(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
- Stability:
experimental
- image_digest
(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
- Stability:
experimental
- image_tags
(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
- Stability:
experimental
- repository_name
(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
- Stability:
experimental
- scan_status
(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
- Stability:
experimental
FindingSeverityCounts
- class ECRImageScan.FindingSeverityCounts(*, critical=None, high=None, informational=None, low=None, medium=None, undefined=None)
Bases:
object(experimental) Type definition for FindingSeverityCounts.
- Parameters:
critical (
Optional[Sequence[str]]) – (experimental) CRITICAL property. Specify an array of string values to match this event if the actual value of CRITICAL is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldhigh (
Optional[Sequence[str]]) – (experimental) HIGH property. Specify an array of string values to match this event if the actual value of HIGH is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinformational (
Optional[Sequence[str]]) – (experimental) INFORMATIONAL property. Specify an array of string values to match this event if the actual value of INFORMATIONAL is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldlow (
Optional[Sequence[str]]) – (experimental) LOW property. Specify an array of string values to match this event if the actual value of LOW is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmedium (
Optional[Sequence[str]]) – (experimental) MEDIUM property. Specify an array of string values to match this event if the actual value of MEDIUM is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldundefined (
Optional[Sequence[str]]) – (experimental) UNDEFINED property. Specify an array of string values to match this event if the actual value of UNDEFINED is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ecr import events as ecr_events finding_severity_counts = ecr_events.ECRImageScan.FindingSeverityCounts( critical=["critical"], high=["high"], informational=["informational"], low=["low"], medium=["medium"], undefined=["undefined"] )
Attributes
- critical
(experimental) CRITICAL property.
Specify an array of string values to match this event if the actual value of CRITICAL 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
- Stability:
experimental
- high
(experimental) HIGH property.
Specify an array of string values to match this event if the actual value of HIGH 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
- Stability:
experimental
- informational
(experimental) INFORMATIONAL property.
Specify an array of string values to match this event if the actual value of INFORMATIONAL 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
- Stability:
experimental
- low
(experimental) LOW property.
Specify an array of string values to match this event if the actual value of LOW 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
- Stability:
experimental
- medium
(experimental) MEDIUM property.
Specify an array of string values to match this event if the actual value of MEDIUM 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
- Stability:
experimental
- undefined
(experimental) UNDEFINED property.
Specify an array of string values to match this event if the actual value of UNDEFINED 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
- Stability:
experimental