We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi
aws-native.s3.getStorageLensGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi
The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.
Using getStorageLensGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageLensGroup(args: GetStorageLensGroupArgs, opts?: InvokeOptions): Promise<GetStorageLensGroupResult>
function getStorageLensGroupOutput(args: GetStorageLensGroupOutputArgs, opts?: InvokeOptions): Output<GetStorageLensGroupResult>def get_storage_lens_group(name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetStorageLensGroupResult
def get_storage_lens_group_output(name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetStorageLensGroupResult]func LookupStorageLensGroup(ctx *Context, args *LookupStorageLensGroupArgs, opts ...InvokeOption) (*LookupStorageLensGroupResult, error)
func LookupStorageLensGroupOutput(ctx *Context, args *LookupStorageLensGroupOutputArgs, opts ...InvokeOption) LookupStorageLensGroupResultOutput> Note: This function is named LookupStorageLensGroup in the Go SDK.
public static class GetStorageLensGroup 
{
    public static Task<GetStorageLensGroupResult> InvokeAsync(GetStorageLensGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetStorageLensGroupResult> Invoke(GetStorageLensGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageLensGroupResult> getStorageLensGroup(GetStorageLensGroupArgs args, InvokeOptions options)
public static Output<GetStorageLensGroupResult> getStorageLensGroup(GetStorageLensGroupArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:s3:getStorageLensGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- This property contains the Storage Lens group name.
- Name string
- This property contains the Storage Lens group name.
- name String
- This property contains the Storage Lens group name.
- name string
- This property contains the Storage Lens group name.
- name str
- This property contains the Storage Lens group name.
- name String
- This property contains the Storage Lens group name.
getStorageLensGroup Result
The following output properties are available:
- Filter
Pulumi.Aws Native. S3. Outputs. Storage Lens Group Filter 
- This property contains the criteria for the Storage Lens group data that is displayed
- StorageLens stringGroup Arn 
- The ARN for the Amazon S3 Storage Lens Group.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- Filter
StorageLens Group Filter 
- This property contains the criteria for the Storage Lens group data that is displayed
- StorageLens stringGroup Arn 
- The ARN for the Amazon S3 Storage Lens Group.
- Tag
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
StorageLens Group Filter 
- This property contains the criteria for the Storage Lens group data that is displayed
- storageLens StringGroup Arn 
- The ARN for the Amazon S3 Storage Lens Group.
- List<Tag>
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
StorageLens Group Filter 
- This property contains the criteria for the Storage Lens group data that is displayed
- storageLens stringGroup Arn 
- The ARN for the Amazon S3 Storage Lens Group.
- Tag[]
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
StorageLens Group Filter 
- This property contains the criteria for the Storage Lens group data that is displayed
- storage_lens_ strgroup_ arn 
- The ARN for the Amazon S3 Storage Lens Group.
- Sequence[root_Tag]
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter Property Map
- This property contains the criteria for the Storage Lens group data that is displayed
- storageLens StringGroup Arn 
- The ARN for the Amazon S3 Storage Lens Group.
- List<Property Map>
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
Supporting Types
StorageLensGroupAnd   
- MatchAny List<string>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny List<string>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny List<Pulumi.Tag Aws Native. S3. Inputs. Storage Lens Group Tag> 
- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- MatchObject Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- MatchAny []stringPrefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny []stringSuffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny []StorageTag Lens Group Tag 
- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- MatchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<StorageTag Lens Group Tag> 
- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- matchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- matchAny string[]Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny string[]Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny StorageTag Lens Group Tag[] 
- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- matchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- match_any_ Sequence[str]prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match_any_ Sequence[str]suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match_any_ Sequence[Storagetag Lens Group Tag] 
- 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_ Storageage Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- match_object_ Storagesize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<Property Map>Tag 
- This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject Property MapAge 
- This property contains DaysGreaterThanandDaysLessThanproperties to define the object age range (minimum and maximum number of days).
- matchObject Property MapSize 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
StorageLensGroupFilter   
- And
Pulumi.Aws Native. S3. Inputs. Storage Lens Group And 
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- MatchAny List<string>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny List<string>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny List<Pulumi.Tag Aws Native. S3. Inputs. Storage Lens Group Tag> 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- MatchObject Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- Or
Pulumi.Aws Native. S3. Inputs. Storage Lens Group Or 
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
- And
StorageLens Group And 
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- MatchAny []stringPrefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny []stringSuffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny []StorageTag Lens Group Tag 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- MatchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- Or
StorageLens Group Or 
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
- and
StorageLens Group And 
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<StorageTag Lens Group Tag> 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- matchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- or
StorageLens Group Or 
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
- and
StorageLens Group And 
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- matchAny string[]Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny string[]Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny StorageTag Lens Group Tag[] 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- matchObject StorageSize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- or
StorageLens Group Or 
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
- and_
StorageLens Group And 
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- match_any_ Sequence[str]prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match_any_ Sequence[str]suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match_any_ Sequence[Storagetag Lens Group Tag] 
- 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_ Storageage Lens Group Match Object Age 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- match_object_ Storagesize Lens Group Match Object Size 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- or_
StorageLens Group Or 
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
- and Property Map
- This property contains the Andlogical 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 theAndlogical operator. Only one of each filter condition is allowed.
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<Property Map>Tag 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject Property MapAge 
- This property contains DaysGreaterThanandDaysLessThanto define the object age range (minimum and maximum number of days).
- matchObject Property MapSize 
- This property contains BytesGreaterThanandBytesLessThanto define the object size range (minimum and maximum number of Bytes).
- or Property Map
- This property contains the Orlogical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOrlogical operator. Only one of each filter condition is allowed.
StorageLensGroupMatchObjectAge     
- DaysGreater intThan 
- Minimum object age to which the rule applies.
- DaysLess intThan 
- Maximum object age to which the rule applies.
- DaysGreater intThan 
- Minimum object age to which the rule applies.
- DaysLess intThan 
- Maximum object age to which the rule applies.
- daysGreater IntegerThan 
- Minimum object age to which the rule applies.
- daysLess IntegerThan 
- Maximum object age to which the rule applies.
- daysGreater numberThan 
- Minimum object age to which the rule applies.
- daysLess numberThan 
- Maximum object age to which the rule applies.
- days_greater_ intthan 
- Minimum object age to which the rule applies.
- days_less_ intthan 
- Maximum object age to which the rule applies.
- daysGreater NumberThan 
- Minimum object age to which the rule applies.
- daysLess NumberThan 
- Maximum object age to which the rule applies.
StorageLensGroupMatchObjectSize     
- BytesGreater intThan 
- Minimum object size to which the rule applies.
- BytesLess intThan 
- Maximum object size to which the rule applies.
- BytesGreater intThan 
- Minimum object size to which the rule applies.
- BytesLess intThan 
- Maximum object size to which the rule applies.
- bytesGreater IntegerThan 
- Minimum object size to which the rule applies.
- bytesLess IntegerThan 
- Maximum object size to which the rule applies.
- bytesGreater numberThan 
- Minimum object size to which the rule applies.
- bytesLess numberThan 
- Maximum object size to which the rule applies.
- bytes_greater_ intthan 
- Minimum object size to which the rule applies.
- bytes_less_ intthan 
- Maximum object size to which the rule applies.
- bytesGreater NumberThan 
- Minimum object size to which the rule applies.
- bytesLess NumberThan 
- Maximum object size to which the rule applies.
StorageLensGroupOr   
- MatchAny List<string>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny List<string>Suffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny List<Pulumi.Tag Aws Native. S3. Inputs. Storage Lens Group Tag> 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age 
- This property filters objects that match the specified object age range.
- MatchObject Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
- MatchAny []stringPrefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- MatchAny []stringSuffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- MatchAny []StorageTag Lens Group Tag 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- MatchObject StorageAge Lens Group Match Object Age 
- This property filters objects that match the specified object age range.
- MatchObject StorageSize Lens Group Match Object Size 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<StorageTag Lens Group Tag> 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property filters objects that match the specified object age range.
- matchObject StorageSize Lens Group Match Object Size 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
- matchAny string[]Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny string[]Suffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny StorageTag Lens Group Tag[] 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject StorageAge Lens Group Match Object Age 
- This property filters objects that match the specified object age range.
- matchObject StorageSize Lens Group Match Object Size 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
- match_any_ Sequence[str]prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match_any_ Sequence[str]suffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match_any_ Sequence[Storagetag Lens Group Tag] 
- 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_ Storageage Lens Group Match Object Age 
- This property filters objects that match the specified object age range.
- match_object_ Storagesize Lens Group Match Object Size 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
- matchAny List<String>Prefix 
- This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- matchAny List<String>Suffix 
- This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- matchAny List<Property Map>Tag 
- This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
- matchObject Property MapAge 
- This property filters objects that match the specified object age range.
- matchObject Property MapSize 
- This property contains the BytesGreaterThanandBytesLessThanvalues to define the object size range (minimum and maximum number of Bytes).
StorageLensGroupTag   
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.27.0 published on Monday, Apr 14, 2025 by Pulumi