Skip to content
v2.278.0

RemotePodNetwork Struct ​

Network configuration of pods 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 remotePodNetwork: eks.RemotePodNetwork = {
  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_pod_network = eks.RemotePodNetwork(
    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.*;

RemotePodNetwork remotePodNetwork = RemotePodNetwork.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 remotePodNetwork = new RemotePodNetwork {
    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"

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

Properties ​

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