Interface IS3EventSelector
Selecting an S3 bucket and an optional prefix to be logged for data events.
Namespace: Amazon.CDK.AWS.CloudTrail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IS3EventSelector
Syntax (vb)
Public Interface IS3EventSelector
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.CloudTrail;
using Amazon.CDK.AWS.S3;
Bucket bucket;
var s3EventSelector = new S3EventSelector {
Bucket = bucket,
// the properties below are optional
ObjectPrefix = "objectPrefix"
};
Synopsis
Properties
Bucket | S3 bucket. |
ObjectPrefix | Data events for objects whose key matches this prefix will be logged. |
Properties
Bucket
ObjectPrefix
Data events for objects whose key matches this prefix will be logged.
virtual string ObjectPrefix { get; }
Property Value
System.String
Remarks
Default: - all objects