StorageLensGroupLevelProperty Struct
This resource determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const storageLensGroupLevelProperty: s3.CfnStorageLens.StorageLensGroupLevelProperty = {
storageLensGroupSelectionCriteria: {
exclude: ['exclude'],
include: ['include'],
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3
storage_lens_group_level_property = s3.CfnStorageLens.StorageLensGroupLevelProperty(
storage_lens_group_selection_criteria=s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty(
exclude=["exclude"],
include=["include"]
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
StorageLensGroupLevelProperty storageLensGroupLevelProperty = StorageLensGroupLevelProperty.builder()
.storageLensGroupSelectionCriteria(StorageLensGroupSelectionCriteriaProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 storageLensGroupLevelProperty = new StorageLensGroupLevelProperty {
StorageLensGroupSelectionCriteria = new StorageLensGroupSelectionCriteriaProperty {
Exclude = new [] { "exclude" },
Include = new [] { "include" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
storageLensGroupLevelProperty := &StorageLensGroupLevelProperty{
StorageLensGroupSelectionCriteria: &StorageLensGroupSelectionCriteriaProperty{
Exclude: []*string{
jsii.String("exclude"),
},
Include: []*string{
jsii.String("include"),
},
},
}
Properties
storageLensGroupSelectionCriteriaoptionalIResolvable | CfnStorageLens.storage_lens_group_selection_criteriaoptionaltyping.Union[IResolvable, StorageLensGroupSelectionCriteriaProperty]storageLensGroupSelectionCriteriaoptionalIResolvableStorageLensGroupSelectionCriteriaoptionalIResolvableStorageLensGroupSelectionCriteriaoptionalinterface{} #This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation.
If this value is left null, then all Storage Lens groups are selected.