RemotePodNetwork Struct
Remote network configuration for pods on hybrid nodes.
| Source | aws-eks-v2/lib/cluster.ts |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const remotePodNetwork: eks_v2.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_v2 as eks_v2
remote_pod_network = eks_v2.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_v2.*;
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.EKSv2;
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
IPv4 CIDR blocks for the remote pod network.