The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.
filter
(Attributes) Sets the Storage Lens Group filter. (see below for nested schema)name
(String) The name that identifies the Amazon S3 Storage Lens Group.tags
(Attributes List) A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group. (see below for nested schema)id
(String) Uniquely identifies the resource.storage_lens_group_arn
(String) The ARN for the Amazon S3 Storage Lens Group.filter
Optional:
and
(Attributes) The Storage Lens group will include objects that match all of the specified filter values. (see below for nested schema)match_any_prefix
(Set of String) Filter to match any of the specified prefixes.match_any_suffix
(Set of String) Filter to match any of the specified suffixes.match_any_tag
(Attributes Set) Filter to match any of the specified object tags. (see below for nested schema)match_object_age
(Attributes) Filter to match all of the specified values for the minimum and maximum object age. (see below for nested schema)match_object_size
(Attributes) Filter to match all of the specified values for the minimum and maximum object size. (see below for nested schema)or
(Attributes) The Storage Lens group will include objects that match any of the specified filter values. (see below for nested schema)filter.and
Optional:
match_any_prefix
(Set of String) Filter to match any of the specified prefixes.match_any_suffix
(Set of String) Filter to match any of the specified suffixes.match_any_tag
(Attributes Set) Filter to match any of the specified object tags. (see below for nested schema)match_object_age
(Attributes) Filter to match all of the specified values for the minimum and maximum object age. (see below for nested schema)match_object_size
(Attributes) Filter to match all of the specified values for the minimum and maximum object size. (see below for nested schema)filter.and.match_any_tag
Required:
key
(String)value
(String)filter.and.match_object_age
Optional:
days_greater_than
(Number) Minimum object age to which the rule applies.days_less_than
(Number) Maximum object age to which the rule applies.filter.and.match_object_size
Optional:
bytes_greater_than
(Number) Minimum object size to which the rule applies.bytes_less_than
(Number) Maximum object size to which the rule applies.filter.match_any_tag
Required:
key
(String)value
(String)filter.match_object_age
Optional:
days_greater_than
(Number) Minimum object age to which the rule applies.days_less_than
(Number) Maximum object age to which the rule applies.filter.match_object_size
Optional:
bytes_greater_than
(Number) Minimum object size to which the rule applies.bytes_less_than
(Number) Maximum object size to which the rule applies.filter.or
Optional:
match_any_prefix
(Set of String) Filter to match any of the specified prefixes.match_any_suffix
(Set of String) Filter to match any of the specified suffixes.match_any_tag
(Attributes Set) Filter to match any of the specified object tags. (see below for nested schema)match_object_age
(Attributes) Filter to match all of the specified values for the minimum and maximum object age. (see below for nested schema)match_object_size
(Attributes) Filter to match all of the specified values for the minimum and maximum object size. (see below for nested schema)filter.or.match_any_tag
Required:
key
(String)value
(String)filter.or.match_object_age
Optional:
days_greater_than
(Number) Minimum object age to which the rule applies.days_less_than
(Number) Maximum object age to which the rule applies.filter.or.match_object_size
Optional:
bytes_greater_than
(Number) Minimum object size to which the rule applies.bytes_less_than
(Number) Maximum object size to which the rule applies.tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_s3_storage_lens_group.example <resource ID>