Skip to content

Networking

Source code in docs_src/capo_pcs/types/networking.py
class Networking(TypedDict, closed=True):
    subnet_ids: NotRequired["capo_pcs.types.subnet_id_list.SubnetIdList"]
    """<p>The ID of the subnet where PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and PCS resources. The subnet must have an available IP address, cannot reside in Outposts, Wavelength, or an Amazon Web Services Local Zone.</p> <p> Example: <code>subnet-abcd1234</code> </p>"""
    security_group_ids: NotRequired[
        "capo_pcs.types.security_group_id_list.SecurityGroupIdList"
    ]
    """<p>The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.</p> <p>The following rules are required:</p> <ul> <li> <p>Inbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Source: Self</p> </li> </ul> </li> <li> <p>Outbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: 0.0.0.0/0 (IPv4) or ::/0 (IPv6)</p> </li> </ul> </li> <li> <p>Outbound rule 2</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: Self</p> </li> </ul> </li> </ul>"""
    network_type: NotRequired["capo_pcs.types.network_type.NetworkType"]
    """<p>The IP address version the cluster uses. The default is <code>IPV4</code>.</p>"""

network_type instance-attribute

network_type: NotRequired[NetworkType]

The IP address version the cluster uses. The default is IPV4.

security_group_ids instance-attribute

security_group_ids: NotRequired[SecurityGroupIdList]

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

subnet_ids instance-attribute

subnet_ids: NotRequired[SubnetIdList]

The ID of the subnet where PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and PCS resources. The subnet must have an available IP address, cannot reside in Outposts, Wavelength, or an Amazon Web Services Local Zone.

Example: subnet-abcd1234