SnapshotCopyGrantReference Struct
A reference to a SnapshotCopyGrant 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_redshift as interfaces_redshift } from 'aws-cdk-lib/interfaces';
const snapshotCopyGrantReference: interfaces_redshift.SnapshotCopyGrantReference = {
snapshotCopyGrantArn: 'snapshotCopyGrantArn',
};
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_redshift as interfaces_redshift
snapshot_copy_grant_reference = interfaces_redshift.SnapshotCopyGrantReference(
snapshot_copy_grant_arn="snapshotCopyGrantArn"
)
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.redshift.*;
SnapshotCopyGrantReference snapshotCopyGrantReference = SnapshotCopyGrantReference.builder()
.snapshotCopyGrantArn("snapshotCopyGrantArn")
.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.Redshift;
var snapshotCopyGrantReference = new SnapshotCopyGrantReference {
SnapshotCopyGrantArn = "snapshotCopyGrantArn"
};
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"
snapshotCopyGrantReference := &SnapshotCopyGrantReference{
SnapshotCopyGrantArn: jsii.String("snapshotCopyGrantArn"),
}
Properties
snapshotCopyGrantArnstringsnapshot_copy_grant_arnstrsnapshotCopyGrantArnStringSnapshotCopyGrantArnstringSnapshotCopyGrantArn*string required #The Arn of the SnapshotCopyGrant resource.