StorageLensGroupSelectionCriteriaProperty Struct
This resource indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation.
You can only attach Storage Lens groups to your dashboard if they're included in your Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.
| 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 storageLensGroupSelectionCriteriaProperty: s3.CfnStorageLens.StorageLensGroupSelectionCriteriaProperty = {
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_selection_criteria_property = 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.*;
StorageLensGroupSelectionCriteriaProperty storageLensGroupSelectionCriteriaProperty = StorageLensGroupSelectionCriteriaProperty.builder()
.exclude(List.of("exclude"))
.include(List.of("include"))
.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 storageLensGroupSelectionCriteriaProperty = 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"
storageLensGroupSelectionCriteriaProperty := &StorageLensGroupSelectionCriteriaProperty{
Exclude: []*string{
jsii.String("exclude"),
},
Include: []*string{
jsii.String("include"),
},
}
Properties
excludeoptionalstring[]excludeoptionaltyping.List[str]excludeoptionalList<String>Excludeoptionalstring[]Excludeoptional*[]*string #This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation.
includeoptionalstring[]includeoptionaltyping.List[str]includeoptionalList<String>Includeoptionalstring[]Includeoptional*[]*string #This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.