1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3
  5. StorageLensGroup

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.s3.StorageLensGroup

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.

Create StorageLensGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StorageLensGroup(name: string, args: StorageLensGroupArgs, opts?: CustomResourceOptions);
@overload
def StorageLensGroup(resource_name: str,
                     args: StorageLensGroupArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def StorageLensGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     filter: Optional[StorageLensGroupFilterArgs] = None,
                     name: Optional[str] = None,
                     tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewStorageLensGroup(ctx *Context, name string, args StorageLensGroupArgs, opts ...ResourceOption) (*StorageLensGroup, error)
public StorageLensGroup(string name, StorageLensGroupArgs args, CustomResourceOptions? opts = null)
public StorageLensGroup(String name, StorageLensGroupArgs args)
public StorageLensGroup(String name, StorageLensGroupArgs args, CustomResourceOptions options)
type: aws-native:s3:StorageLensGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StorageLensGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StorageLensGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StorageLensGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StorageLensGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StorageLensGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

StorageLensGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The StorageLensGroup resource accepts the following input properties:

Filter This property is required. Pulumi.AwsNative.S3.Inputs.StorageLensGroupFilter
This property contains the criteria for the Storage Lens group data that is displayed
Name string
This property contains the Storage Lens group name.
Tags List<Pulumi.AwsNative.Inputs.Tag>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
Filter This property is required. StorageLensGroupFilterArgs
This property contains the criteria for the Storage Lens group data that is displayed
Name string
This property contains the Storage Lens group name.
Tags TagArgs
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
filter This property is required. StorageLensGroupFilter
This property contains the criteria for the Storage Lens group data that is displayed
name String
This property contains the Storage Lens group name.
tags List<Tag>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
filter This property is required. StorageLensGroupFilter
This property contains the criteria for the Storage Lens group data that is displayed
name string
This property contains the Storage Lens group name.
tags Tag[]
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
filter This property is required. StorageLensGroupFilterArgs
This property contains the criteria for the Storage Lens group data that is displayed
name str
This property contains the Storage Lens group name.
tags Sequence[TagArgs]
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
filter This property is required. Property Map
This property contains the criteria for the Storage Lens group data that is displayed
name String
This property contains the Storage Lens group name.
tags List<Property Map>
A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.

Outputs

All input properties are implicitly available as output properties. Additionally, the StorageLensGroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
StorageLensGroupArn string
The ARN for the Amazon S3 Storage Lens Group.
Id string
The provider-assigned unique ID for this managed resource.
StorageLensGroupArn string
The ARN for the Amazon S3 Storage Lens Group.
id String
The provider-assigned unique ID for this managed resource.
storageLensGroupArn String
The ARN for the Amazon S3 Storage Lens Group.
id string
The provider-assigned unique ID for this managed resource.
storageLensGroupArn string
The ARN for the Amazon S3 Storage Lens Group.
id str
The provider-assigned unique ID for this managed resource.
storage_lens_group_arn str
The ARN for the Amazon S3 Storage Lens Group.
id String
The provider-assigned unique ID for this managed resource.
storageLensGroupArn String
The ARN for the Amazon S3 Storage Lens Group.

Supporting Types

StorageLensGroupAnd
, StorageLensGroupAndArgs

MatchAnyPrefix List<string>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix List<string>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
MatchAnyPrefix []string
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix []string
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag []StorageLensGroupTag
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
MatchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<StorageLensGroupTag>
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
matchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix string[]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix string[]
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag StorageLensGroupTag[]
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
matchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
match_any_prefix Sequence[str]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
match_any_suffix Sequence[str]
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
match_any_tag Sequence[StorageLensGroupTag]
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
match_object_age StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
match_object_size StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<Property Map>
This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge Property Map
This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
matchObjectSize Property Map
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).

StorageLensGroupFilter
, StorageLensGroupFilterArgs

And Pulumi.AwsNative.S3.Inputs.StorageLensGroupAnd
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
MatchAnyPrefix List<string>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix List<string>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
Or Pulumi.AwsNative.S3.Inputs.StorageLensGroupOr
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
And StorageLensGroupAnd
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
MatchAnyPrefix []string
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix []string
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag []StorageLensGroupTag
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
MatchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
Or StorageLensGroupOr
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
and StorageLensGroupAnd
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<StorageLensGroupTag>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
matchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
or StorageLensGroupOr
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
and StorageLensGroupAnd
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
matchAnyPrefix string[]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix string[]
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag StorageLensGroupTag[]
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
matchObjectSize StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
or StorageLensGroupOr
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
and_ StorageLensGroupAnd
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
match_any_prefix Sequence[str]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
match_any_suffix Sequence[str]
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
match_any_tag Sequence[StorageLensGroupTag]
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
match_object_age StorageLensGroupMatchObjectAge
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
match_object_size StorageLensGroupMatchObjectSize
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
or_ StorageLensGroupOr
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
and Property Map
This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. 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.
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<Property Map>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge Property Map
This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
matchObjectSize Property Map
This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
or Property Map
This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

StorageLensGroupMatchObjectAge
, StorageLensGroupMatchObjectAgeArgs

DaysGreaterThan int
Minimum object age to which the rule applies.
DaysLessThan int
Maximum object age to which the rule applies.
DaysGreaterThan int
Minimum object age to which the rule applies.
DaysLessThan int
Maximum object age to which the rule applies.
daysGreaterThan Integer
Minimum object age to which the rule applies.
daysLessThan Integer
Maximum object age to which the rule applies.
daysGreaterThan number
Minimum object age to which the rule applies.
daysLessThan number
Maximum object age to which the rule applies.
days_greater_than int
Minimum object age to which the rule applies.
days_less_than int
Maximum object age to which the rule applies.
daysGreaterThan Number
Minimum object age to which the rule applies.
daysLessThan Number
Maximum object age to which the rule applies.

StorageLensGroupMatchObjectSize
, StorageLensGroupMatchObjectSizeArgs

BytesGreaterThan int
Minimum object size to which the rule applies.
BytesLessThan int
Maximum object size to which the rule applies.
BytesGreaterThan int
Minimum object size to which the rule applies.
BytesLessThan int
Maximum object size to which the rule applies.
bytesGreaterThan Integer
Minimum object size to which the rule applies.
bytesLessThan Integer
Maximum object size to which the rule applies.
bytesGreaterThan number
Minimum object size to which the rule applies.
bytesLessThan number
Maximum object size to which the rule applies.
bytes_greater_than int
Minimum object size to which the rule applies.
bytes_less_than int
Maximum object size to which the rule applies.
bytesGreaterThan Number
Minimum object size to which the rule applies.
bytesLessThan Number
Maximum object size to which the rule applies.

StorageLensGroupOr
, StorageLensGroupOrArgs

MatchAnyPrefix List<string>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix List<string>
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
This property filters objects that match the specified object age range.
MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
MatchAnyPrefix []string
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
MatchAnySuffix []string
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
MatchAnyTag []StorageLensGroupTag
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
MatchObjectAge StorageLensGroupMatchObjectAge
This property filters objects that match the specified object age range.
MatchObjectSize StorageLensGroupMatchObjectSize
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<StorageLensGroupTag>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property filters objects that match the specified object age range.
matchObjectSize StorageLensGroupMatchObjectSize
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix string[]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix string[]
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag StorageLensGroupTag[]
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge StorageLensGroupMatchObjectAge
This property filters objects that match the specified object age range.
matchObjectSize StorageLensGroupMatchObjectSize
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
match_any_prefix Sequence[str]
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
match_any_suffix Sequence[str]
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
match_any_tag Sequence[StorageLensGroupTag]
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
match_object_age StorageLensGroupMatchObjectAge
This property filters objects that match the specified object age range.
match_object_size StorageLensGroupMatchObjectSize
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
matchAnyPrefix List<String>
This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
matchAnySuffix List<String>
This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
matchAnyTag List<Property Map>
This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
matchObjectAge Property Map
This property filters objects that match the specified object age range.
matchObjectSize Property Map
This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).

StorageLensGroupTag
, StorageLensGroupTagArgs

Key This property is required. string
Value This property is required. string
Key This property is required. string
Value This property is required. string
key This property is required. String
value This property is required. String
key This property is required. string
value This property is required. string
key This property is required. str
value This property is required. str
key This property is required. String
value This property is required. String

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi