Show / Hide Table of Contents

Class CfnBucketPropsMixin.ReplicationRuleFilterProperty

A filter that identifies the subset of objects to which the replication rule applies.

Inheritance
object
CfnBucketPropsMixin.ReplicationRuleFilterProperty
Implements
CfnBucketPropsMixin.IReplicationRuleFilterProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.S3
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBucketPropsMixin.ReplicationRuleFilterProperty : CfnBucketPropsMixin.IReplicationRuleFilterProperty
Syntax (vb)
Public Class CfnBucketPropsMixin.ReplicationRuleFilterProperty Implements CfnBucketPropsMixin.IReplicationRuleFilterProperty
Remarks

A Filter must specify exactly one Prefix , TagFilter , or an And child element.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.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.CfnPropertyMixins.AWS.S3;

             var replicationRuleFilterProperty = new ReplicationRuleFilterProperty {
                 And = new ReplicationRuleAndOperatorProperty {
                     Prefix = "prefix",
                     TagFilters = new [] { new TagFilterProperty {
                         Key = "key",
                         Value = "value"
                     } }
                 },
                 Prefix = "prefix",
                 TagFilter = new TagFilterProperty {
                     Key = "key",
                     Value = "value"
                 }
             };

Synopsis

Constructors

ReplicationRuleFilterProperty()

A filter that identifies the subset of objects to which the replication rule applies.

Properties

And

A container for specifying rule filters.

Prefix

An object key name prefix that identifies the subset of objects to which the rule applies.

TagFilter

A container for specifying a tag key and value.

Constructors

ReplicationRuleFilterProperty()

A filter that identifies the subset of objects to which the replication rule applies.

public ReplicationRuleFilterProperty()
Remarks

A Filter must specify exactly one Prefix , TagFilter , or an And child element.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.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.CfnPropertyMixins.AWS.S3;

             var replicationRuleFilterProperty = new ReplicationRuleFilterProperty {
                 And = new ReplicationRuleAndOperatorProperty {
                     Prefix = "prefix",
                     TagFilters = new [] { new TagFilterProperty {
                         Key = "key",
                         Value = "value"
                     } }
                 },
                 Prefix = "prefix",
                 TagFilter = new TagFilterProperty {
                     Key = "key",
                     Value = "value"
                 }
             };

Properties

And

A container for specifying rule filters.

public object? And { get; set; }
Property Value

object

Remarks

The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.html#cfn-s3-bucket-replicationrulefilter-and

    Type union: either IResolvable or CfnBucketPropsMixin.IReplicationRuleAndOperatorProperty

    Prefix

    An object key name prefix that identifies the subset of objects to which the rule applies.

    public string? Prefix { get; set; }
    Property Value

    string

    Remarks
    Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints">XML related object key constraints</a> .
    

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.html#cfn-s3-bucket-replicationrulefilter-prefix

    TagFilter

    A container for specifying a tag key and value.

    public object? TagFilter { get; set; }
    Property Value

    object

    Remarks

    The rule applies only to objects that have the tag in their tag set.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationrulefilter.html#cfn-s3-bucket-replicationrulefilter-tagfilter

    Type union: either IResolvable or CfnBucketPropsMixin.ITagFilterProperty

    Implements

    CfnBucketPropsMixin.IReplicationRuleFilterProperty
    Back to top Generated by DocFX