Interface IOnCloudTrailBucketEventOptions
Options for the onCloudTrailPutObject method.
Inherited Members
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOnCloudTrailBucketEventOptions : IOnEventOptions, IEventCommonOptions
Syntax (vb)
Public Interface IOnCloudTrailBucketEventOptions
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.Events;
using Amazon.CDK.AWS.S3;
using Constructs;
Construct construct;
var detail;
IRuleTarget ruleTarget;
var onCloudTrailBucketEventOptions = new OnCloudTrailBucketEventOptions {
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" }
},
Paths = new [] { "paths" },
RuleName = "ruleName",
Target = ruleTarget
};
Synopsis
Properties
Paths | Only watch changes to these object paths. |
Properties
Paths
Only watch changes to these object paths.
virtual string[] Paths { get; }
Property Value
System.String[]
Remarks
Default: - Watch changes to all objects