StorageLensGroupReference Struct
A reference to a StorageLensGroup resource.
| 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 interfaces_s3 } from 'aws-cdk-lib/interfaces';
const storageLensGroupReference: interfaces_s3.StorageLensGroupReference = {
storageLensGroupArn: 'storageLensGroupArn',
storageLensGroupName: 'storageLensGroupName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_s3 as interfaces_s3
storage_lens_group_reference = interfaces_s3.StorageLensGroupReference(
storage_lens_group_arn="storageLensGroupArn",
storage_lens_group_name="storageLensGroupName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.s3.*;
StorageLensGroupReference storageLensGroupReference = StorageLensGroupReference.builder()
.storageLensGroupArn("storageLensGroupArn")
.storageLensGroupName("storageLensGroupName")
.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.Interfaces.S3;
var storageLensGroupReference = new StorageLensGroupReference {
StorageLensGroupArn = "storageLensGroupArn",
StorageLensGroupName = "storageLensGroupName"
};
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"
storageLensGroupReference := &StorageLensGroupReference{
StorageLensGroupArn: jsii.String("storageLensGroupArn"),
StorageLensGroupName: jsii.String("storageLensGroupName"),
}
Properties
storageLensGroupArnstringstorage_lens_group_arnstrstorageLensGroupArnStringStorageLensGroupArnstringStorageLensGroupArn*string required #The ARN of the StorageLensGroup resource.
storageLensGroupNamestringstorage_lens_group_namestrstorageLensGroupNameStringStorageLensGroupNamestringStorageLensGroupName*string required #The Name of the StorageLensGroup resource.