Class CfnStorageLensMixinProps
Properties for CfnStorageLensPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.S3.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnStorageLensMixinProps : ICfnStorageLensMixinProps
Syntax (vb)
Public Class CfnStorageLensMixinProps Implements ICfnStorageLensMixinProps
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.Mixins.Preview.AWS.S3.Mixins;
var sses3;
var cfnStorageLensMixinProps = new CfnStorageLensMixinProps {
StorageLensConfiguration = 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"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnStorageLensMixinProps() | Properties for CfnStorageLensPropsMixin. |
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. |
Constructors
CfnStorageLensMixinProps()
Properties for CfnStorageLensPropsMixin.
public CfnStorageLensMixinProps()
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.Mixins.Preview.AWS.S3.Mixins;
var sses3;
var cfnStorageLensMixinProps = new CfnStorageLensMixinProps {
StorageLensConfiguration = 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"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
StorageLensConfiguration
This resource contains the details Amazon S3 Storage Lens configuration.
public object? StorageLensConfiguration { get; set; }
Property Value
Remarks
Tags
A set of tags (key–value pairs) to associate with the Storage Lens configuration.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]