Skip to content
v2.278.0

NetworkSettingsReference Struct ​

A reference to a NetworkSettings resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as interfaces_workspacesweb } from 'aws-cdk-lib/interfaces';
const networkSettingsReference: interfaces_workspacesweb.NetworkSettingsReference = {
  networkSettingsArn: 'networkSettingsArn',
};
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_workspacesweb as interfaces_workspacesweb

network_settings_reference = interfaces_workspacesweb.NetworkSettingsReference(
    network_settings_arn="networkSettingsArn"
)
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.workspacesweb.*;

NetworkSettingsReference networkSettingsReference = NetworkSettingsReference.builder()
        .networkSettingsArn("networkSettingsArn")
        .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.WorkSpacesWeb;

var networkSettingsReference = new NetworkSettingsReference {
    NetworkSettingsArn = "networkSettingsArn"
};
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"

networkSettingsReference := &NetworkSettingsReference{
	NetworkSettingsArn: jsii.String("networkSettingsArn"),
}

Properties ​

networkSettingsArnstringnetwork_settings_arnstrnetworkSettingsArnStringNetworkSettingsArnstringNetworkSettingsArn*string required #
The NetworkSettingsArn of the NetworkSettings resource.