Show / Hide Table of Contents

Class CfnStorageLensGroup.OrProperty

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

Inheritance
object
CfnStorageLensGroup.OrProperty
Implements
CfnStorageLensGroup.IOrProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStorageLensGroup.OrProperty : CfnStorageLensGroup.IOrProperty
Syntax (vb)
Public Class CfnStorageLensGroup.OrProperty Implements CfnStorageLensGroup.IOrProperty
Remarks

Objects can match any of the listed filter conditions that 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-or.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 orProperty = 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

OrProperty()

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

Properties

MatchAnyPrefix

This property contains a list of prefixes.

MatchAnySuffix

This property contains the list of suffixes.

MatchAnyTag

This property contains the list of S3 object tags.

MatchObjectAge

This property filters objects that match the specified object age range.

MatchObjectSize

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

Constructors

OrProperty()

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

public OrProperty()
Remarks

Objects can match any of the listed filter conditions that 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-or.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 orProperty = 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

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-or.html#cfn-s3-storagelensgroup-or-matchanyprefix

MatchAnySuffix

This property contains the 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-or.html#cfn-s3-storagelensgroup-or-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-or.html#cfn-s3-storagelensgroup-or-matchanytag

MatchObjectAge

This property filters objects that match the specified object age range.

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

object

Remarks

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

MatchObjectSize

This property contains the BytesGreaterThan and BytesLessThan values 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-or.html#cfn-s3-storagelensgroup-or-matchobjectsize

Implements

CfnStorageLensGroup.IOrProperty
Back to top Generated by DocFX