Show / Hide Table of Contents

Interface CfnBucket.IS3KeyFilterProperty

A container for object key name prefix and suffix filtering rules.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public interface IS3KeyFilterProperty
Syntax (vb)
Public Interface IS3KeyFilterProperty
Remarks

For more information about object key name filtering, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide .

The same type of filter rule cannot be used more than once. For example, you cannot specify two prefix rules.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html

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.S3;

S3KeyFilterProperty s3KeyFilterProperty = new S3KeyFilterProperty {
    Rules = new [] { new FilterRuleProperty {
        Name = "name",
        Value = "value"
    } }
};

Synopsis

Properties

Rules

A list of containers for the key-value pair that defines the criteria for the filter rule.

Properties

Rules

A list of containers for the key-value pair that defines the criteria for the filter rule.

object Rules { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules

Back to top Generated by DocFX