Show / Hide Table of Contents

Interface IOnCloudTrailImagePushedOptions

Options for the onCloudTrailImagePushed 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 IOnCloudTrailImagePushedOptions : IOnEventOptions, IEventCommonOptions
Syntax (vb)
Public Interface IOnCloudTrailImagePushedOptions 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 onCloudTrailImagePushedOptions = new OnCloudTrailImagePushedOptions {
                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" }
                },
                ImageTag = "imageTag",
                RuleName = "ruleName",
                Target = ruleTarget
            };

Synopsis

Properties

ImageTag

Only watch changes to this image tag.

Properties

ImageTag

Only watch changes to this image tag.

string? ImageTag { get; }
Property Value

string

Remarks

Default: - Watch changes to all tags

Back to top Generated by DocFX