Interface IOnImageScanCompletedOptions
Options for the OnImageScanCompleted method.
Inherited Members
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public interface IOnImageScanCompletedOptions : IOnEventOptions
Syntax (vb)
Public Interface IOnImageScanCompletedOptions
Inherits IOnEventOptions
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;
var detail;
IRuleTarget ruleTarget;
var onImageScanCompletedOptions = new OnImageScanCompletedOptions {
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 spedified. |
Properties
ImageTags
Only watch changes to the image tags spedified.
virtual string[] ImageTags { get; }
Property Value
System.String[]
Remarks
Leave it undefined to watch the full repository.
Default: - Watch the changes to the repository with all image tags