CfnStorageLensMixinProps
- class aws_cdk.mixins_preview.aws_s3.mixins.CfnStorageLensMixinProps(*, storage_lens_configuration=None, tags=None)
Bases:
objectProperties for CfnStorageLensPropsMixin.
- Parameters:
storage_lens_configuration (
Union[IResolvable,StorageLensConfigurationProperty,Dict[str,Any],None]) – This resource contains the details Amazon S3 Storage Lens configuration.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A set of tags (key–value pairs) to associate with the Storage Lens configuration.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.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 # sses3: Any cfn_storage_lens_mixin_props = s3_mixins.CfnStorageLensMixinProps( storage_lens_configuration=s3_mixins.CfnStorageLensPropsMixin.StorageLensConfigurationProperty( account_level=s3_mixins.CfnStorageLensPropsMixin.AccountLevelProperty( activity_metrics=s3_mixins.CfnStorageLensPropsMixin.ActivityMetricsProperty( is_enabled=False ), advanced_cost_optimization_metrics=s3_mixins.CfnStorageLensPropsMixin.AdvancedCostOptimizationMetricsProperty( is_enabled=False ), advanced_data_protection_metrics=s3_mixins.CfnStorageLensPropsMixin.AdvancedDataProtectionMetricsProperty( is_enabled=False ), bucket_level=s3_mixins.CfnStorageLensPropsMixin.BucketLevelProperty( activity_metrics=s3_mixins.CfnStorageLensPropsMixin.ActivityMetricsProperty( is_enabled=False ), advanced_cost_optimization_metrics=s3_mixins.CfnStorageLensPropsMixin.AdvancedCostOptimizationMetricsProperty( is_enabled=False ), advanced_data_protection_metrics=s3_mixins.CfnStorageLensPropsMixin.AdvancedDataProtectionMetricsProperty( is_enabled=False ), detailed_status_codes_metrics=s3_mixins.CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty( is_enabled=False ), prefix_level=s3_mixins.CfnStorageLensPropsMixin.PrefixLevelProperty( storage_metrics=s3_mixins.CfnStorageLensPropsMixin.PrefixLevelStorageMetricsProperty( is_enabled=False, selection_criteria=s3_mixins.CfnStorageLensPropsMixin.SelectionCriteriaProperty( delimiter="delimiter", max_depth=123, min_storage_bytes_percentage=123 ) ) ) ), detailed_status_codes_metrics=s3_mixins.CfnStorageLensPropsMixin.DetailedStatusCodesMetricsProperty( is_enabled=False ), storage_lens_group_level=s3_mixins.CfnStorageLensPropsMixin.StorageLensGroupLevelProperty( storage_lens_group_selection_criteria=s3_mixins.CfnStorageLensPropsMixin.StorageLensGroupSelectionCriteriaProperty( exclude=["exclude"], include=["include"] ) ) ), aws_org=s3_mixins.CfnStorageLensPropsMixin.AwsOrgProperty( arn="arn" ), data_export=s3_mixins.CfnStorageLensPropsMixin.DataExportProperty( cloud_watch_metrics=s3_mixins.CfnStorageLensPropsMixin.CloudWatchMetricsProperty( is_enabled=False ), s3_bucket_destination=s3_mixins.CfnStorageLensPropsMixin.S3BucketDestinationProperty( account_id="accountId", arn="arn", encryption=s3_mixins.CfnStorageLensPropsMixin.EncryptionProperty( ssekms=s3_mixins.CfnStorageLensPropsMixin.SSEKMSProperty( key_id="keyId" ), sses3=sses3 ), format="format", output_schema_version="outputSchemaVersion", prefix="prefix" ) ), exclude=s3_mixins.CfnStorageLensPropsMixin.BucketsAndRegionsProperty( buckets=["buckets"], regions=["regions"] ), id="id", include=s3_mixins.CfnStorageLensPropsMixin.BucketsAndRegionsProperty( buckets=["buckets"], regions=["regions"] ), is_enabled=False, storage_lens_arn="storageLensArn" ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- storage_lens_configuration
This resource contains the details Amazon S3 Storage Lens configuration.
- tags
A set of tags (key–value pairs) to associate with the Storage Lens configuration.