Show / Hide Table of Contents

Interface CfnStorageLens.IStorageLensConfigurationProperty

This is the property of the Amazon S3 Storage Lens configuration.

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.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 encryption;

StorageLensConfigurationProperty storageLensConfigurationProperty = new StorageLensConfigurationProperty {
    AccountLevel = new AccountLevelProperty {
        BucketLevel = new BucketLevelProperty {
            ActivityMetrics = new ActivityMetricsProperty {
                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
        }
    },
    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 = encryption,
            Prefix = "prefix"
        }
    },
    Exclude = new BucketsAndRegionsProperty {
        Buckets = new [] { "buckets" },
        Regions = new [] { "regions" }
    },
    Include = new BucketsAndRegionsProperty {
        Buckets = new [] { "buckets" },
        Regions = new [] { "regions" }
    },
    StorageLensArn = "storageLensArn"
};

Synopsis

Properties

AccountLevel

This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.

AwsOrg

This property contains the details of the AWS Organization for the S3 Storage Lens configuration.

DataExport

This property contains the details of this S3 Storage Lens configuration's metrics export.

Exclude

This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.

Id

This property contains the details of the ID of the S3 Storage Lens configuration.

Include

This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.

IsEnabled

This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.

StorageLensArn

This property contains the details of the ARN of the S3 Storage Lens configuration.

Properties

AccountLevel

This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration.

object AccountLevel { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-accountlevel

AwsOrg

This property contains the details of the AWS Organization for the S3 Storage Lens configuration.

virtual object AwsOrg { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-awsorg

DataExport

This property contains the details of this S3 Storage Lens configuration's metrics export.

virtual object DataExport { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-dataexport

Exclude

This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.

virtual object Exclude { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-exclude

Id

This property contains the details of the ID of the S3 Storage Lens configuration.

string Id { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-id

Include

This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.

virtual object Include { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-include

IsEnabled

This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.

object IsEnabled { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-isenabled

StorageLensArn

This property contains the details of the ARN of the S3 Storage Lens configuration.

virtual string StorageLensArn { get; }
Property Value

System.String

Remarks

This property is read-only.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html#cfn-s3-storagelens-storagelensconfiguration-storagelensarn

Back to top Generated by DocFX