Show / Hide Table of Contents

Interface CfnStorageLensGroup.IAndProperty

This resource is a logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnStorageLensGroup.IAndProperty
Syntax (vb)
Public Interface CfnStorageLensGroup.IAndProperty
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-and.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;

             var andProperty = 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
                 }
             };

Synopsis

Properties

MatchAnyPrefix

This property contains a list of prefixes.

MatchAnySuffix

This property contains a list of suffixes.

MatchAnyTag

This property contains the list of object tags.

MatchObjectAge

This property contains DaysGreaterThan and DaysLessThan properties 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).

Properties

MatchAnyPrefix

This property contains a list of prefixes.

string[]? MatchAnyPrefix { get; }
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-and.html#cfn-s3-storagelensgroup-and-matchanyprefix

MatchAnySuffix

This property contains a list of suffixes.

string[]? MatchAnySuffix { get; }
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-and.html#cfn-s3-storagelensgroup-and-matchanysuffix

MatchAnyTag

This property contains the list of object tags.

object? MatchAnyTag { get; }
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-and.html#cfn-s3-storagelensgroup-and-matchanytag

MatchObjectAge

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

object? MatchObjectAge { get; }
Property Value

object

Remarks

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

MatchObjectSize

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

object? MatchObjectSize { get; }
Property Value

object

Remarks

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

Back to top Generated by DocFX