Show / Hide Table of Contents

Interface ICfnStorageLensProps

Properties for defining a CfnStorageLens.

Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnStorageLensProps
Syntax (vb)
Public Interface ICfnStorageLensProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.S3;

             var sses3;

             var cfnStorageLensProps = new CfnStorageLensProps {
                 StorageLensConfiguration = new StorageLensConfigurationProperty {
                     AccountLevel = new AccountLevelProperty {
                         BucketLevel = new BucketLevelProperty {
                             ActivityMetrics = new ActivityMetricsProperty {
                                 IsEnabled = false
                             },
                             AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
                                 IsEnabled = false
                             },
                             AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
                                 IsEnabled = false
                             },
                             DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
                                 IsEnabled = false
                             },
                             PrefixLevel = new PrefixLevelProperty {
                                 StorageMetrics = new PrefixLevelStorageMetricsProperty {
                                     IsEnabled = false,
                                     SelectionCriteria = new SelectionCriteriaProperty {
                                         Delimiter = "delimiter",
                                         MaxDepth = 123,
                                         MinStorageBytesPercentage = 123
                                     }
                                 }
                             }
                         },

                         // the properties below are optional
                         ActivityMetrics = new ActivityMetricsProperty {
                             IsEnabled = false
                         },
                         AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
                             IsEnabled = false
                         },
                         AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
                             IsEnabled = false
                         },
                         DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
                             IsEnabled = false
                         },
                         StorageLensGroupLevel = new StorageLensGroupLevelProperty {
                             StorageLensGroupSelectionCriteria = new StorageLensGroupSelectionCriteriaProperty {
                                 Exclude = new [] { "exclude" },
                                 Include = new [] { "include" }
                             }
                         }
                     },
                     Id = "id",
                     IsEnabled = false,

                     // the properties below are optional
                     AwsOrg = new AwsOrgProperty {
                         Arn = "arn"
                     },
                     DataExport = new DataExportProperty {
                         CloudWatchMetrics = new CloudWatchMetricsProperty {
                             IsEnabled = false
                         },
                         S3BucketDestination = new S3BucketDestinationProperty {
                             AccountId = "accountId",
                             Arn = "arn",
                             Format = "format",
                             OutputSchemaVersion = "outputSchemaVersion",

                             // the properties below are optional
                             Encryption = new EncryptionProperty {
                                 Ssekms = new SSEKMSProperty {
                                     KeyId = "keyId"
                                 },
                                 Sses3 = sses3
                             },
                             Prefix = "prefix"
                         }
                     },
                     Exclude = new BucketsAndRegionsProperty {
                         Buckets = new [] { "buckets" },
                         Regions = new [] { "regions" }
                     },
                     Include = new BucketsAndRegionsProperty {
                         Buckets = new [] { "buckets" },
                         Regions = new [] { "regions" }
                     },
                     StorageLensArn = "storageLensArn"
                 },

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Properties

StorageLensConfiguration

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.

Properties

StorageLensConfiguration

This resource contains the details Amazon S3 Storage Lens configuration.

object StorageLensConfiguration { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html#cfn-s3-storagelens-storagelensconfiguration

Tags

A set of tags (key–value pairs) to associate with the Storage Lens configuration.

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html#cfn-s3-storagelens-tags

Back to top Generated by DocFX