Skip to content
v2.278.0

ClusterSubnetGroupReference Struct ​

A reference to a ClusterSubnetGroup resource.

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 clusterSubnetGroupReference: interfaces_redshift.ClusterSubnetGroupReference = {
  clusterSubnetGroupName: 'clusterSubnetGroupName',
};
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

cluster_subnet_group_reference = interfaces_redshift.ClusterSubnetGroupReference(
    cluster_subnet_group_name="clusterSubnetGroupName"
)
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.*;

ClusterSubnetGroupReference clusterSubnetGroupReference = ClusterSubnetGroupReference.builder()
        .clusterSubnetGroupName("clusterSubnetGroupName")
        .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 clusterSubnetGroupReference = new ClusterSubnetGroupReference {
    ClusterSubnetGroupName = "clusterSubnetGroupName"
};
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"

clusterSubnetGroupReference := &ClusterSubnetGroupReference{
	ClusterSubnetGroupName: jsii.String("clusterSubnetGroupName"),
}

Properties ​

clusterSubnetGroupNamestringcluster_subnet_group_namestrclusterSubnetGroupNameStringClusterSubnetGroupNamestringClusterSubnetGroupName*string required #
The ClusterSubnetGroupName of the ClusterSubnetGroup resource.