interface NetworkingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_pcs.CfnCluster.NetworkingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnCluster_NetworkingProperty |
![]() | software.amazon.awscdk.services.pcs.CfnCluster.NetworkingProperty |
![]() | aws_cdk.aws_pcs.CfnCluster.NetworkingProperty |
![]() | aws-cdk-lib » aws_pcs » CfnCluster » NetworkingProperty |
The networking configuration for the cluster's control plane.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const networkingProperty: pcs.CfnCluster.NetworkingProperty = {
networkType: 'networkType',
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
};
Properties
Name | Type | Description |
---|---|---|
network | string | The IP address version the cluster uses. |
security | string[] | The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets. |
subnet | string[] | The ID of the subnet where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources. |
networkType?
Type:
string
(optional)
The IP address version the cluster uses.
The default is IPV4
.
securityGroupIds?
Type:
string[]
(optional)
The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
The following rules are required:
Inbound rule 1
Protocol: All
Ports: All
Source: Self
Outbound rule 1
Protocol: All
Ports: All
Destination: 0.0.0.0/0 (IPv4) or ::/0 (IPv6)
Outbound rule 2
Protocol: All
Ports: All
Destination: Self
subnetIds?
Type:
string[]
(optional)
The ID of the subnet where AWS PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and AWS PCS resources.
The subnet must have an available IP address, cannot reside in AWS Outposts , AWS Wavelength , or an AWS Local Zone.
Example: subnet-abcd1234