Interface ICfnStorageLensGroupProps
Properties for defining a CfnStorageLensGroup
.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnStorageLensGroupProps
Syntax (vb)
Public Interface ICfnStorageLensGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.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 cfnStorageLensGroupProps = new CfnStorageLensGroupProps {
Filter = 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
}
}
},
Name = "name",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Filter | This property contains the criteria for the Storage Lens group data that is displayed. |
Name | This property contains the Storage Lens group name. |
Tags | This property contains the AWS resource tags that you're adding to your Storage Lens group. |
Properties
Filter
This property contains the criteria for the Storage Lens group data that is displayed.
object Filter { get; }
Property Value
System.Object
Remarks
Name
This property contains the Storage Lens group name.
string Name { get; }
Property Value
System.String
Remarks
Tags
This property contains the AWS resource tags that you're adding to your Storage Lens group.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
This parameter is optional.