Skip to content
v2.278.0

RemoteNodeNetwork Struct ​

Network configuration of nodes run on-premises with EKS Hybrid Nodes.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const remoteNodeNetwork: eks.RemoteNodeNetwork = {
  cidrs: ['cidrs'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks

remote_node_network = eks.RemoteNodeNetwork(
    cidrs=["cidrs"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;

RemoteNodeNetwork remoteNodeNetwork = RemoteNodeNetwork.builder()
        .cidrs(List.of("cidrs"))
        .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.AWS.EKS;

var remoteNodeNetwork = new RemoteNodeNetwork {
    Cidrs = new [] { "cidrs" }
};
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"

remoteNodeNetwork := &RemoteNodeNetwork{
	Cidrs: []*string{
		jsii.String("cidrs"),
	},
}

Properties ​

cidrsstring[]cidrstyping.List[str]cidrsList<String>Cidrsstring[]Cidrs*[]*string required #
Specifies the list of remote node CIDRs.