aws-cdk-lib.aws_s3.CfnBucket.NotificationFilterProperty

interface NotificationFilterProperty

LanguageType name
.NETAmazon.CDK.AWS.S3.CfnBucket.NotificationFilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_NotificationFilterProperty
Javasoftware.amazon.awscdk.services.s3.CfnBucket.NotificationFilterProperty
Pythonaws_cdk.aws_s3.CfnBucket.NotificationFilterProperty
TypeScript aws-cdk-lib » aws_s3 » CfnBucket » NotificationFilterProperty

Specifies object key name filtering rules.

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const notificationFilterProperty: s3.CfnBucket.NotificationFilterProperty = {
  s3Key: {
    rules: [{
      name: 'name',
      value: 'value',
    }],
  },
};

Properties

NameTypeDescription
s3KeyIResolvable | S3KeyFilterPropertyA container for object key name prefix and suffix filtering rules.

s3Key

Type: IResolvable | S3KeyFilterProperty

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