Show / Hide Table of Contents

Class CfnStorageLensGroupPropsMixin.FilterProperty

This resource sets the criteria for the Storage Lens group data that is displayed.

Inheritance
object
CfnStorageLensGroupPropsMixin.FilterProperty
Implements
CfnStorageLensGroupPropsMixin.IFilterProperty
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 CfnStorageLensGroupPropsMixin.FilterProperty : CfnStorageLensGroupPropsMixin.IFilterProperty
Syntax (vb)
Public Class CfnStorageLensGroupPropsMixin.FilterProperty Implements CfnStorageLensGroupPropsMixin.IFilterProperty
Remarks

For multiple filter conditions, the AND or OR logical operator is used.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.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 filterProperty = new FilterProperty {
                 And = new AndProperty {
                     MatchAnyPrefix = new [] { "matchAnyPrefix" },
                     MatchAnySuffix = new [] { "matchAnySuffix" },
                     MatchAnyTag = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } },
                     MatchObjectAge = new MatchObjectAgeProperty {
                         DaysGreaterThan = 123,
                         DaysLessThan = 123
                     },
                     MatchObjectSize = new MatchObjectSizeProperty {
                         BytesGreaterThan = 123,
                         BytesLessThan = 123
                     }
                 },
                 MatchAnyPrefix = new [] { "matchAnyPrefix" },
                 MatchAnySuffix = new [] { "matchAnySuffix" },
                 MatchAnyTag = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 MatchObjectAge = new MatchObjectAgeProperty {
                     DaysGreaterThan = 123,
                     DaysLessThan = 123
                 },
                 MatchObjectSize = new MatchObjectSizeProperty {
                     BytesGreaterThan = 123,
                     BytesLessThan = 123
                 },
                 Or = new OrProperty {
                     MatchAnyPrefix = new [] { "matchAnyPrefix" },
                     MatchAnySuffix = new [] { "matchAnySuffix" },
                     MatchAnyTag = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } },
                     MatchObjectAge = new MatchObjectAgeProperty {
                         DaysGreaterThan = 123,
                         DaysLessThan = 123
                     },
                     MatchObjectSize = new MatchObjectSizeProperty {
                         BytesGreaterThan = 123,
                         BytesLessThan = 123
                     }
                 }
             };

Synopsis

Constructors

FilterProperty()

This resource sets the criteria for the Storage Lens group data that is displayed.

Properties

And

This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.

MatchAnyPrefix

This property contains a list of prefixes.

MatchAnySuffix

This property contains a list of suffixes.

MatchAnyTag

This property contains the list of S3 object tags.

MatchObjectAge

This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).

MatchObjectSize

This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).

Or

This property contains the Or logical operator, which allows multiple filter conditions to be joined.

Constructors

FilterProperty()

This resource sets the criteria for the Storage Lens group data that is displayed.

public FilterProperty()
Remarks

For multiple filter conditions, the AND or OR logical operator is used.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.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 filterProperty = new FilterProperty {
                 And = new AndProperty {
                     MatchAnyPrefix = new [] { "matchAnyPrefix" },
                     MatchAnySuffix = new [] { "matchAnySuffix" },
                     MatchAnyTag = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } },
                     MatchObjectAge = new MatchObjectAgeProperty {
                         DaysGreaterThan = 123,
                         DaysLessThan = 123
                     },
                     MatchObjectSize = new MatchObjectSizeProperty {
                         BytesGreaterThan = 123,
                         BytesLessThan = 123
                     }
                 },
                 MatchAnyPrefix = new [] { "matchAnyPrefix" },
                 MatchAnySuffix = new [] { "matchAnySuffix" },
                 MatchAnyTag = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 MatchObjectAge = new MatchObjectAgeProperty {
                     DaysGreaterThan = 123,
                     DaysLessThan = 123
                 },
                 MatchObjectSize = new MatchObjectSizeProperty {
                     BytesGreaterThan = 123,
                     BytesLessThan = 123
                 },
                 Or = new OrProperty {
                     MatchAnyPrefix = new [] { "matchAnyPrefix" },
                     MatchAnySuffix = new [] { "matchAnySuffix" },
                     MatchAnyTag = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } },
                     MatchObjectAge = new MatchObjectAgeProperty {
                         DaysGreaterThan = 123,
                         DaysLessThan = 123
                     },
                     MatchObjectSize = new MatchObjectSizeProperty {
                         BytesGreaterThan = 123,
                         BytesLessThan = 123
                     }
                 }
             };

Properties

And

This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.

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

object

Remarks

Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.

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

Type union: either IResolvable or CfnStorageLensGroupPropsMixin.IAndProperty

MatchAnyPrefix

This property contains a list of prefixes.

public string[]? MatchAnyPrefix { get; set; }
Property Value

string[]

Remarks

At least one prefix must be specified. Up to 10 prefixes are allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanyprefix

MatchAnySuffix

This property contains a list of suffixes.

public string[]? MatchAnySuffix { get; set; }
Property Value

string[]

Remarks

At least one suffix must be specified. Up to 10 suffixes are allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanysuffix

MatchAnyTag

This property contains the list of S3 object tags.

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

object

Remarks

At least one object tag must be specified. Up to 10 object tags are allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchanytag

Type union: either IResolvable or (either IResolvable or ICfnTag)[]

MatchObjectAge

This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchobjectage

Type union: either IResolvable or CfnStorageLensGroupPropsMixin.IMatchObjectAgeProperty

MatchObjectSize

This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-matchobjectsize

Type union: either IResolvable or CfnStorageLensGroupPropsMixin.IMatchObjectSizeProperty

Or

This property contains the Or logical operator, which allows multiple filter conditions to be joined.

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

object

Remarks

Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelensgroup-filter.html#cfn-s3-storagelensgroup-filter-or

Type union: either IResolvable or CfnStorageLensGroupPropsMixin.IOrProperty

Implements

CfnStorageLensGroupPropsMixin.IFilterProperty
Back to top Generated by DocFX