CfnStorageLensGroupMixinProps
- class aws_cdk.mixins_preview.aws_s3.mixins.CfnStorageLensGroupMixinProps(*, filter=None, name=None, tags=None)
Bases:
objectProperties for CfnStorageLensGroupPropsMixin.
- Parameters:
filter (
Union[IResolvable,FilterProperty,Dict[str,Any],None]) – This property contains the criteria for the Storage Lens group data that is displayed.name (
Optional[str]) – This property contains the Storage Lens group name.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – This property contains the AWS resource tags that you’re adding to your Storage Lens group. This parameter is optional.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelensgroup.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_s3 import mixins as s3_mixins cfn_storage_lens_group_mixin_props = s3_mixins.CfnStorageLensGroupMixinProps( filter=s3_mixins.CfnStorageLensGroupPropsMixin.FilterProperty( and=s3_mixins.CfnStorageLensGroupPropsMixin.AndProperty( match_any_prefix=["matchAnyPrefix"], match_any_suffix=["matchAnySuffix"], match_any_tag=[CfnTag( key="key", value="value" )], match_object_age=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty( days_greater_than=123, days_less_than=123 ), match_object_size=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty( bytes_greater_than=123, bytes_less_than=123 ) ), match_any_prefix=["matchAnyPrefix"], match_any_suffix=["matchAnySuffix"], match_any_tag=[CfnTag( key="key", value="value" )], match_object_age=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty( days_greater_than=123, days_less_than=123 ), match_object_size=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty( bytes_greater_than=123, bytes_less_than=123 ), or=s3_mixins.CfnStorageLensGroupPropsMixin.OrProperty( match_any_prefix=["matchAnyPrefix"], match_any_suffix=["matchAnySuffix"], match_any_tag=[CfnTag( key="key", value="value" )], match_object_age=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectAgeProperty( days_greater_than=123, days_less_than=123 ), match_object_size=s3_mixins.CfnStorageLensGroupPropsMixin.MatchObjectSizeProperty( bytes_greater_than=123, bytes_less_than=123 ) ) ), name="name", tags=[CfnTag( key="key", value="value" )] )
Attributes
- 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.
This parameter is optional.