Class CfnStorageLensGroupProps
Properties for defining a CfnStorageLensGroup
.
Inheritance
System.Object
CfnStorageLensGroupProps
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStorageLensGroupProps : Object, ICfnStorageLensGroupProps
Syntax (vb)
Public Class CfnStorageLensGroupProps
Inherits Object
Implements 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
Constructors
CfnStorageLensGroupProps() |
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. |
Constructors
CfnStorageLensGroupProps()
public CfnStorageLensGroupProps()
Properties
Filter
This property contains the criteria for the Storage Lens group data that is displayed.
public object Filter { get; set; }
Property Value
System.Object
Remarks
Name
This property contains the Storage Lens group name.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
This property contains the AWS resource tags that you're adding to your Storage Lens group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
This parameter is optional.