Skip to content
v2.278.0

SubnetGroupReference Struct ​

A reference to a SubnetGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dax as interfaces_dax } from 'aws-cdk-lib/interfaces';
const subnetGroupReference: interfaces_dax.SubnetGroupReference = {
  subnetGroupName: 'subnetGroupName',
};
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_dax as interfaces_dax

subnet_group_reference = interfaces_dax.SubnetGroupReference(
    subnet_group_name="subnetGroupName"
)
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.dax.*;

SubnetGroupReference subnetGroupReference = SubnetGroupReference.builder()
        .subnetGroupName("subnetGroupName")
        .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.DAX;

var subnetGroupReference = new SubnetGroupReference {
    SubnetGroupName = "subnetGroupName"
};
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"

subnetGroupReference := &SubnetGroupReference{
	SubnetGroupName: jsii.String("subnetGroupName"),
}

Properties ​

subnetGroupNamestringsubnet_group_namestrsubnetGroupNameStringSubnetGroupNamestringSubnetGroupName*string required #
The SubnetGroupName of the SubnetGroup resource.