Show / Hide Table of Contents

Interface IOnImageScanCompletedOptions

Options for the OnImageScanCompleted method.

Inherited Members
IOnEventOptions.Target
IEventCommonOptions.CrossStackScope
IEventCommonOptions.Description
IEventCommonOptions.EventPattern
IEventCommonOptions.RuleName
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOnImageScanCompletedOptions : IOnEventOptions, IEventCommonOptions
Syntax (vb)
Public Interface IOnImageScanCompletedOptions Inherits IOnEventOptions, IEventCommonOptions
Remarks

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.AWS.ECR;
            using Amazon.CDK.AWS.Events;
            using Constructs;

            Construct construct;
            var detail;
            IRuleTarget ruleTarget;
            var onImageScanCompletedOptions = new OnImageScanCompletedOptions {
                CrossStackScope = construct,
                Description = "description",
                EventPattern = new EventPattern {
                    Account = new [] { "account" },
                    Detail = new Dictionary<string, object> {
                        { "detailKey", detail }
                    },
                    DetailType = new [] { "detailType" },
                    Id = new [] { "id" },
                    Region = new [] { "region" },
                    Resources = new [] { "resources" },
                    Source = new [] { "source" },
                    Time = new [] { "time" },
                    Version = new [] { "version" }
                },
                ImageTags = new [] { "imageTags" },
                RuleName = "ruleName",
                Target = ruleTarget
            };

Synopsis

Properties

ImageTags

Only watch changes to the image tags specified.

Properties

ImageTags

Only watch changes to the image tags specified.

string[]? ImageTags { get; }
Property Value

string[]

Remarks

Leave it undefined to watch the full repository.

Default: - Watch the changes to the repository with all image tags

Back to top Generated by DocFX