Skip to content

VPCOptions

Source code in docs_src/capo_opensearch/types/vpc_options.py
class VPCOptions(TypedDict, closed=True):
    subnet_ids: NotRequired["capo_opensearch.types.string_list.StringList"]
    """<p>A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.</p>"""
    security_group_ids: NotRequired["capo_opensearch.types.string_list.StringList"]
    """<p>The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.</p>"""
    egress_enabled: NotRequired["capo_opensearch.types.boolean.Boolean"]
    """<p>Controls whether egress traffic from the domain is routed through the customer VPC. When <code>true</code>, outbound traffic flows through the VPC. When <code>false</code>, outbound traffic goes through the public internet.</p>"""

egress_enabled instance-attribute

egress_enabled: NotRequired[Boolean]

Controls whether egress traffic from the domain is routed through the customer VPC. When true, outbound traffic flows through the VPC. When false, outbound traffic goes through the public internet.

security_group_ids instance-attribute

security_group_ids: NotRequired[StringList]

The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.

subnet_ids instance-attribute

subnet_ids: NotRequired[StringList]

A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.