Show / Hide Table of Contents

Class CfnStorageLensGroup

The AWS::S3::StorageLensGroup resource creates an S3 Storage Lens group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnStorageLensGroup
Implements
IInspectable
ITaggableV2
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
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 AWS::S3::StorageLensGroup resource creates an S3 Storage Lens group.

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 AWS::S3::StorageLensGroup resource creates an S3 Storage Lens group.

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 AWS::S3::StorageLensGroup resource creates an S3 Storage Lens group.

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

string

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

string

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

TagManager

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

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
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

object

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

string

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

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
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

Implements

IInspectable
ITaggableV2
Back to top Generated by DocFX