Skip to content
v2.278.0

NetworkReference Struct ​

A reference to a Network resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wickr as interfaces_wickr } from 'aws-cdk-lib/interfaces';
const networkReference: interfaces_wickr.NetworkReference = {
  networkArn: 'networkArn',
};
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_wickr as interfaces_wickr

network_reference = interfaces_wickr.NetworkReference(
    network_arn="networkArn"
)
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.wickr.*;

NetworkReference networkReference = NetworkReference.builder()
        .networkArn("networkArn")
        .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.Wickr;

var networkReference = new NetworkReference {
    NetworkArn = "networkArn"
};
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"

networkReference := &NetworkReference{
	NetworkArn: jsii.String("networkArn"),
}

Properties ​

networkArnstringnetwork_arnstrnetworkArnStringNetworkArnstringNetworkArn*string required #
The NetworkArn of the Network resource.