Show / Hide Table of Contents

Class RepositoryEvents.ECRImageScan.ECRImageScanProps

(experimental) Props type for Repository aws.ecr@ECRImageScan event.

Inheritance
object
RepositoryEvents.ECRImageScan.ECRImageScanProps
Implements
RepositoryEvents.ECRImageScan.IECRImageScanProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.ECR.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class RepositoryEvents.ECRImageScan.ECRImageScanProps : RepositoryEvents.ECRImageScan.IECRImageScanProps
Syntax (vb)
Public Class RepositoryEvents.ECRImageScan.ECRImageScanProps Implements RepositoryEvents.ECRImageScan.IECRImageScanProps
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ECR.Events;

             var eCRImageScanProps = new ECRImageScanProps {
                 EventMetadata = new AWSEventMetadataProps {
                     Region = new [] { "region" },
                     Resources = new [] { "resources" },
                     Version = new [] { "version" }
                 },
                 FindingSeverityCounts = new FindingSeverityCounts {
                     Critical = new [] { "critical" },
                     High = new [] { "high" },
                     Informational = new [] { "informational" },
                     Low = new [] { "low" },
                     Medium = new [] { "medium" },
                     Undefined = new [] { "undefined" }
                 },
                 ImageDigest = new [] { "imageDigest" },
                 ImageTags = new [] { "imageTags" },
                 RepositoryName = new [] { "repositoryName" },
                 ScanStatus = new [] { "scanStatus" }
             };

Synopsis

Constructors

ECRImageScanProps()

(experimental) Props type for Repository aws.ecr@ECRImageScan event.

Properties

EventMetadata

(experimental) EventBridge event metadata.

FindingSeverityCounts

(experimental) finding-severity-counts property.

ImageDigest

(experimental) image-digest property.

ImageTags

(experimental) image-tags property.

RepositoryName

(experimental) repository-name property.

ScanStatus

(experimental) scan-status property.

Constructors

ECRImageScanProps()

(experimental) Props type for Repository aws.ecr@ECRImageScan event.

public ECRImageScanProps()
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ECR.Events;

             var eCRImageScanProps = new ECRImageScanProps {
                 EventMetadata = new AWSEventMetadataProps {
                     Region = new [] { "region" },
                     Resources = new [] { "resources" },
                     Version = new [] { "version" }
                 },
                 FindingSeverityCounts = new FindingSeverityCounts {
                     Critical = new [] { "critical" },
                     High = new [] { "high" },
                     Informational = new [] { "informational" },
                     Low = new [] { "low" },
                     Medium = new [] { "medium" },
                     Undefined = new [] { "undefined" }
                 },
                 ImageDigest = new [] { "imageDigest" },
                 ImageTags = new [] { "imageTags" },
                 RepositoryName = new [] { "repositoryName" },
                 ScanStatus = new [] { "scanStatus" }
             };

Properties

EventMetadata

(experimental) EventBridge event metadata.

public IAWSEventMetadataProps? EventMetadata { get; set; }
Property Value

IAWSEventMetadataProps

Remarks

Default: - -

Stability: Experimental

FindingSeverityCounts

(experimental) finding-severity-counts property.

public RepositoryEvents.ECRImageScan.IFindingSeverityCounts? FindingSeverityCounts { get; set; }
Property Value

RepositoryEvents.ECRImageScan.IFindingSeverityCounts

Remarks

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

Stability: Experimental

ImageDigest

(experimental) image-digest property.

public string[]? ImageDigest { get; set; }
Property Value

string[]

Remarks

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

Stability: Experimental

ImageTags

(experimental) image-tags property.

public string[]? ImageTags { get; set; }
Property Value

string[]

Remarks

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

Stability: Experimental

RepositoryName

(experimental) repository-name property.

public string[]? RepositoryName { get; set; }
Property Value

string[]

Remarks

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

Stability: Experimental

ScanStatus

(experimental) scan-status property.

public string[]? ScanStatus { get; set; }
Property Value

string[]

Remarks

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

Stability: Experimental

Implements

RepositoryEvents.ECRImageScan.IECRImageScanProps
Back to top Generated by DocFX