Interface CfnStorageLensPropsMixin.IStorageLensConfigurationProperty
This is the property of the Amazon S3 Storage Lens configuration.
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnStorageLensPropsMixin.IStorageLensConfigurationProperty
Syntax (vb)
Public Interface CfnStorageLensPropsMixin.IStorageLensConfigurationProperty
Remarks
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.Mixins.Preview.AWS.S3.Mixins;
var sses3;
var storageLensConfigurationProperty = new StorageLensConfigurationProperty {
AccountLevel = new AccountLevelProperty {
ActivityMetrics = new ActivityMetricsProperty {
IsEnabled = false
},
AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
IsEnabled = false
},
AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
IsEnabled = false
},
AdvancedPerformanceMetrics = new AdvancedPerformanceMetricsProperty {
IsEnabled = false
},
BucketLevel = new BucketLevelProperty {
ActivityMetrics = new ActivityMetricsProperty {
IsEnabled = false
},
AdvancedCostOptimizationMetrics = new AdvancedCostOptimizationMetricsProperty {
IsEnabled = false
},
AdvancedDataProtectionMetrics = new AdvancedDataProtectionMetricsProperty {
IsEnabled = false
},
AdvancedPerformanceMetrics = new AdvancedPerformanceMetricsProperty {
IsEnabled = false
},
DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
IsEnabled = false
},
PrefixLevel = new PrefixLevelProperty {
StorageMetrics = new PrefixLevelStorageMetricsProperty {
IsEnabled = false,
SelectionCriteria = new SelectionCriteriaProperty {
Delimiter = "delimiter",
MaxDepth = 123,
MinStorageBytesPercentage = 123
}
}
}
},
DetailedStatusCodesMetrics = new DetailedStatusCodesMetricsProperty {
IsEnabled = false
},
StorageLensGroupLevel = new StorageLensGroupLevelProperty {
StorageLensGroupSelectionCriteria = new StorageLensGroupSelectionCriteriaProperty {
Exclude = new [] { "exclude" },
Include = new [] { "include" }
}
}
},
AwsOrg = new AwsOrgProperty {
Arn = "arn"
},
DataExport = new DataExportProperty {
CloudWatchMetrics = new CloudWatchMetricsProperty {
IsEnabled = false
},
S3BucketDestination = new S3BucketDestinationProperty {
AccountId = "accountId",
Arn = "arn",
Encryption = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
},
Format = "format",
OutputSchemaVersion = "outputSchemaVersion",
Prefix = "prefix"
},
StorageLensTableDestination = new StorageLensTableDestinationProperty {
Encryption = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
},
IsEnabled = false
}
},
Exclude = new BucketsAndRegionsProperty {
Buckets = new [] { "buckets" },
Regions = new [] { "regions" }
},
ExpandedPrefixesDataExport = new StorageLensExpandedPrefixesDataExportProperty {
S3BucketDestination = new S3BucketDestinationProperty {
AccountId = "accountId",
Arn = "arn",
Encryption = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
},
Format = "format",
OutputSchemaVersion = "outputSchemaVersion",
Prefix = "prefix"
},
StorageLensTableDestination = new StorageLensTableDestinationProperty {
Encryption = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
},
IsEnabled = false
}
},
Id = "id",
Include = new BucketsAndRegionsProperty {
Buckets = new [] { "buckets" },
Regions = new [] { "regions" }
},
IsEnabled = false,
PrefixDelimiter = "prefixDelimiter",
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. |
| ExpandedPrefixesDataExport | Expanded Prefixes Data Export. |
| 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. |
| PrefixDelimiter | The delimiter to divide S3 key into hierarchy of prefixes. |
| 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
Remarks
AwsOrg
This property contains the details of the AWS Organization for the S3 Storage Lens configuration.
object? AwsOrg { get; }
Property Value
Remarks
DataExport
This property contains the details of this S3 Storage Lens configuration's metrics export.
object? DataExport { get; }
Property Value
Remarks
Exclude
This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration.
object? Exclude { get; }
Property Value
Remarks
ExpandedPrefixesDataExport
Expanded Prefixes Data Export.
object? ExpandedPrefixesDataExport { get; }
Property Value
Remarks
Type union: either IResolvable or CfnStorageLensPropsMixin.IStorageLensExpandedPrefixesDataExportProperty
Id
This property contains the details of the ID of the S3 Storage Lens configuration.
string? Id { get; }
Property Value
Remarks
Include
This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration.
object? Include { get; }
Property Value
Remarks
IsEnabled
This property contains the details of whether the Amazon S3 Storage Lens configuration is enabled.
object? IsEnabled { get; }
Property Value
Remarks
PrefixDelimiter
The delimiter to divide S3 key into hierarchy of prefixes.
string? PrefixDelimiter { get; }
Property Value
Remarks
StorageLensArn
This property contains the details of the ARN of the S3 Storage Lens configuration.
string? StorageLensArn { get; }