Class CfnStorageLensGroupPropsMixin.AndProperty
This resource is a logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnStorageLensGroupPropsMixin.AndProperty : CfnStorageLensGroupPropsMixin.IAndProperty
Syntax (vb)
Public Class CfnStorageLensGroupPropsMixin.AndProperty Implements CfnStorageLensGroupPropsMixin.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.
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.Mixins.Preview.AWS.S3.Mixins;
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
Constructors
| AndProperty() | This resource is a logical operator that 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 a list of suffixes. |
| MatchAnyTag | This property contains the list of object tags. |
| MatchObjectAge | This property contains |
| MatchObjectSize | This property contains |
Constructors
AndProperty()
This resource is a logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.
public AndProperty()
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.
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.Mixins.Preview.AWS.S3.Mixins;
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
}
};
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.
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.
MatchAnyTag
This property contains the list of object tags.
public object? MatchAnyTag { get; set; }
Property Value
Remarks
At least one object tag must be specified. Up to 10 object tags are allowed.
Type union: either IResolvable or (either IResolvable or ICfnTag)[]
MatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
public object? MatchObjectAge { get; set; }
Property Value
Remarks
MatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
public object? MatchObjectSize { get; set; }