Class CfnStorageLensGroup
The AWS::S3::StorageLensGroup
resource creates an S3 Storage Lens group.
Inherited Members
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStorageLensGroup : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnStorageLensGroup Inherits CfnResource Implements IInspectable, ITaggableV2
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
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 cfnStorageLensGroup = new CfnStorageLensGroup(this, "MyCfnStorageLensGroup", 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
CfnStorageLensGroup(Construct, string, ICfnStorageLensGroupProps) | The |
Properties
AttrStorageLensGroupArn | The ARN for the Amazon S3 Storage Lens Group. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CfnProperties | The |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnStorageLensGroup(Construct, string, ICfnStorageLensGroupProps)
The AWS::S3::StorageLensGroup
resource creates an S3 Storage Lens group.
public CfnStorageLensGroup(Construct scope, string id, ICfnStorageLensGroupProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnStorageLensGroupProps
Resource properties.
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
Properties
AttrStorageLensGroupArn
The ARN for the Amazon S3 Storage Lens Group.
public virtual string AttrStorageLensGroupArn { get; }
Property Value
Remarks
CloudformationAttribute: StorageLensGroupArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::S3::StorageLensGroup
resource creates an S3 Storage Lens group.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
Filter
This property contains the criteria for the Storage Lens group data that is displayed.
public virtual object Filter { get; set; }
Property Value
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
Name
This property contains the Storage Lens group name.
public virtual string Name { get; set; }
Property Value
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
Tags
This property contains the AWS resource tags that you're adding to your Storage Lens group.
public virtual ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::S3::StorageLensGroup
resource creates an S3 Storage Lens group.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A Storage Lens group is a custom grouping of objects that include filters for prefixes, suffixes, object tags, object size, or object age. You can create an S3 Storage Lens group that includes a single filter or multiple filter conditions. To specify multiple filter conditions, you use AND
or OR
logical operators. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
CloudformationResource: AWS::S3::StorageLensGroup
ExampleMetadata: fixture=_generated