interface FilterRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.FilterRuleProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.FilterRuleProperty |
Python | aws_cdk.aws_s3.CfnBucket.FilterRuleProperty |
TypeScript | @aws-cdk/aws-s3 » CfnBucket » FilterRuleProperty |
Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3 from '@aws-cdk/aws-s3';
const filterRuleProperty: s3.CfnBucket.FilterRuleProperty = {
name: 'name',
value: 'value',
};
Properties
Name | Type | Description |
---|---|---|
name | string | The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. |
value | string | The value that the filter searches for in object key names. |
name
Type:
string
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies.
The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide .
value
Type:
string
The value that the filter searches for in object key names.