We recommend new projects start with resources from the AWS provider.
aws-native.s3.StorageLensGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 string
- The unique name of the resource.
- args StorageLensGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args StorageLensGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageLensGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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
Pulumi.
Aws Native. S3. Inputs. Storage Lens Group Filter - This property contains the criteria for the Storage Lens group data that is displayed
- Name string
- This property contains the Storage Lens group name.
- List<Pulumi.
Aws Native. Inputs. Tag> - A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- Filter
Storage
Lens Group Filter Args - This property contains the criteria for the Storage Lens group data that is displayed
- Name string
- This property contains the Storage Lens group name.
- Tag
Args - A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter - This property contains the criteria for the Storage Lens group data that is displayed
- name String
- This property contains the Storage Lens group name.
- List<Tag>
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter - This property contains the criteria for the Storage Lens group data that is displayed
- name string
- This property contains the Storage Lens group name.
- Tag[]
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter Args - This property contains the criteria for the Storage Lens group data that is displayed
- name str
- This property contains the Storage Lens group name.
- Sequence[Tag
Args] - 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
- name String
- This property contains the Storage Lens group name.
- 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.
- Storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Lens StringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id string
- The provider-assigned unique ID for this managed resource.
- storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id str
- The provider-assigned unique ID for this managed resource.
- storage_
lens_ strgroup_ arn - The ARN for the Amazon S3 Storage Lens Group.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Lens StringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
Supporting Types
StorageLensGroupAnd, StorageLensGroupAndArgs
- Match
Any List<string>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any List<string>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any 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.
- Match
Object Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age - This property contains
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - Match
Object Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).
- Match
Any []stringPrefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any []stringSuffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any []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
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - Match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).
- match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- match
Object StorageAge Lens Group Match Object Age - This property contains
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).
- match
Any string[]Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any string[]Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
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 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
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - match_
object_ Storagesize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).
- match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- match
Object Property MapAge - This property contains
DaysGreaterThan
andDaysLessThan
properties to define the object age range (minimum and maximum number of days). - match
Object Property MapSize - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes).
StorageLensGroupFilter, StorageLensGroupFilterArgs
- And
Pulumi.
Aws Native. S3. Inputs. Storage Lens Group And - 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 theAnd
logical operator. Only one of each filter condition is allowed. - Match
Any List<string>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any List<string>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any 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.
- Match
Object Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age - This property contains
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - Match
Object Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to 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
Or
logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by theOr
logical operator. Only one of each filter condition is allowed.
- And
Storage
Lens Group And - 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 theAnd
logical operator. Only one of each filter condition is allowed. - Match
Any []stringPrefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any []stringSuffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any []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
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - Match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes). - Or
Storage
Lens Group Or - 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 theOr
logical operator. Only one of each filter condition is allowed.
- and
Storage
Lens Group And - 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 theAnd
logical operator. Only one of each filter condition is allowed. - match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- match
Object StorageAge Lens Group Match Object Age - This property contains
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes). - or
Storage
Lens Group Or - 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 theOr
logical operator. Only one of each filter condition is allowed.
- and
Storage
Lens Group And - 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 theAnd
logical operator. Only one of each filter condition is allowed. - match
Any string[]Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any string[]Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - match
Object StorageSize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes). - or
Storage
Lens Group Or - 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 theOr
logical operator. Only one of each filter condition is allowed.
- and_
Storage
Lens Group And - 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 theAnd
logical 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
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - match_
object_ Storagesize Lens Group Match Object Size - This property contains
BytesGreaterThan
andBytesLessThan
to define the object size range (minimum and maximum number of Bytes). - or_
Storage
Lens Group Or - 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 theOr
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 theAnd
logical operator. Only one of each filter condition is allowed. - match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- match
Object Property MapAge - This property contains
DaysGreaterThan
andDaysLessThan
to define the object age range (minimum and maximum number of days). - match
Object Property MapSize - This property contains
BytesGreaterThan
andBytesLessThan
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 theOr
logical operator. Only one of each filter condition is allowed.
StorageLensGroupMatchObjectAge, StorageLensGroupMatchObjectAgeArgs
- Days
Greater intThan - Minimum object age to which the rule applies.
- Days
Less intThan - 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.
- days
Greater IntegerThan - Minimum object age to which the rule applies.
- days
Less IntegerThan - Maximum object age to which the rule applies.
- days
Greater numberThan - Minimum object age to which the rule applies.
- days
Less 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.
- days
Greater NumberThan - Minimum object age to which the rule applies.
- days
Less NumberThan - Maximum object age to which the rule applies.
StorageLensGroupMatchObjectSize, StorageLensGroupMatchObjectSizeArgs
- Bytes
Greater intThan - Minimum object size to which the rule applies.
- Bytes
Less intThan - 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.
- bytes
Greater IntegerThan - Minimum object size to which the rule applies.
- bytes
Less IntegerThan - Maximum object size to which the rule applies.
- bytes
Greater numberThan - Minimum object size to which the rule applies.
- bytes
Less 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.
- bytes
Greater NumberThan - Minimum object size to which the rule applies.
- bytes
Less NumberThan - Maximum object size to which the rule applies.
StorageLensGroupOr, StorageLensGroupOrArgs
- Match
Any List<string>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any List<string>Suffix - This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any 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.
- Match
Object Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age - This property filters objects that match the specified object age range.
- Match
Object Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size - This property contains the
BytesGreaterThan
andBytesLessThan
values to define the object size range (minimum and maximum number of Bytes).
- Match
Any []stringPrefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- Match
Any []stringSuffix - This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- Match
Any []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
BytesGreaterThan
andBytesLessThan
values to define the object size range (minimum and maximum number of Bytes).
- match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- 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
BytesGreaterThan
andBytesLessThan
values to define the object size range (minimum and maximum number of Bytes).
- match
Any string[]Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any string[]Suffix - This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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
BytesGreaterThan
andBytesLessThan
values 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
BytesGreaterThan
andBytesLessThan
values to define the object size range (minimum and maximum number of Bytes).
- match
Any List<String>Prefix - This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
- match
Any List<String>Suffix - This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
- match
Any 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.
- match
Object Property MapAge - This property filters objects that match the specified object age range.
- match
Object Property MapSize - This property contains the
BytesGreaterThan
andBytesLessThan
values to define the object size range (minimum and maximum number of Bytes).
StorageLensGroupTag, StorageLensGroupTagArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.