interface FindingSeverityCounts
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECR.Events.RepositoryEvents.ECRImageScan.FindingSeverityCounts |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecr/events#RepositoryEvents_ECRImageScan_FindingSeverityCounts |
Java | software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.ECRImageScan.FindingSeverityCounts |
Python | aws_cdk.mixins_preview.aws_ecr.events.RepositoryEvents.ECRImageScan.FindingSeverityCounts |
TypeScript | @aws-cdk/mixins-preview ยป aws_ecr ยป events ยป RepositoryEvents ยป ECRImageScan ยป FindingSeverityCounts |
Type definition for FindingSeverityCounts.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ecr_events } from '@aws-cdk/mixins-preview/aws-ecr';
const findingSeverityCounts: ecr_events.RepositoryEvents.ECRImageScan.FindingSeverityCounts = {
critical: ['critical'],
high: ['high'],
informational: ['informational'],
low: ['low'],
medium: ['medium'],
undefined: ['undefined'],
};
Properties
| Name | Type | Description |
|---|---|---|
| critical? | string[] | CRITICAL property. |
| high? | string[] | HIGH property. |
| informational? | string[] | INFORMATIONAL property. |
| low? | string[] | LOW property. |
| medium? | string[] | MEDIUM property. |
| undefined? | string[] | UNDEFINED property. |
critical?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
high?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
informational?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
low?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
medium?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
undefined?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript