Show / Hide Table of Contents

Class CfnBucket.S3KeyFilterProperty

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

Inheritance
System.Object
CfnBucket.S3KeyFilterProperty
Implements
CfnBucket.IS3KeyFilterProperty
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class S3KeyFilterProperty : Object, CfnBucket.IS3KeyFilterProperty
Syntax (vb)
Public Class S3KeyFilterProperty
    Inherits Object
    Implements CfnBucket.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

Constructors

S3KeyFilterProperty()

Properties

Rules

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

Constructors

S3KeyFilterProperty()

public S3KeyFilterProperty()

Properties

Rules

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

public object Rules { get; set; }
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

Implements

CfnBucket.IS3KeyFilterProperty
Back to top Generated by DocFX