class_docstr: Accepts network configuration parameters for conversion to request dict.
  
  The `_to_request_dict` provides a method to turn the parameters into a dict.
docstr: Initialize a ``NetworkConfig`` instance.
  
  NetworkConfig accepts network configuration parameters and provides a method to turn
  these parameters into a dictionary.
  
  Args:
      enable_network_isolation (bool or PipelineVariable): Boolean that determines
          whether to enable network isolation.
      security_group_ids (list[str] or list[PipelineVariable]): A list of strings representing
          security group IDs.
      subnets (list[str] or list[PipelineVariable]): A list of strings representing subnets.
      encrypt_inter_container_traffic (bool or PipelineVariable): Boolean that determines
          whether to encrypt inter-container traffic. Default value is None.
docstr_tok: ["Initialize","a","``","NetworkConfig","``","instance",".","NetworkConfig","accepts","network","configuration","parameters","and","provides","a","method","to","turn","these","parameters","into","a","dictionary",".","Args",":","enable_network_isolation","(","bool","or","PipelineVariable",")",":","Boolean","that","determines","whether","to","enable","network","isolation",".","security_group_ids","(","list","[","str","]","or","list","[","PipelineVariable","]",")",":","A","list","of","strings","representing","security","group","IDs",".","subnets","(","list","[","str","]","or","list","[","PipelineVariable","]",")",":","A","list","of","strings","representing","subnets",".","encrypt_inter_container_traffic","(","bool","or","PipelineVariable",")",":","Boolean","that","determines","whether","to","encrypt","inter-container","traffic",".","Default","value","is","None","."]
code: def __init__(
      self,
      enable_network_isolation: Union[bool, PipelineVariable] = None,
      security_group_ids: Optional[
          List[Union[str, PipelineVariable]]
      ] = None,
      subnets: Optional[List[Union[str, PipelineVariable]]] = None,
      encrypt_inter_container_traffic: Optional[
          Union[bool, PipelineVariable]
      ] = None,
  ):
      """Initialize a ``NetworkConfig`` instance.
  
      NetworkConfig accepts network configuration parameters and provides a method to turn
      these parameters into a dictionary.
  
      Args:
          enable_network_isolation (bool or PipelineVariable): Boolean that determines
              whether to enable network isolation.
          security_group_ids (list[str] or list[PipelineVariable]): A list of strings representing
              security group IDs.
          subnets (list[str] or list[PipelineVariable]): A list of strings representing subnets.
          encrypt_inter_container_traffic (bool or PipelineVariable): Boolean that determines
              whether to encrypt inter-container traffic. Default value is None.
      """
      self.enable_network_isolation = enable_network_isolation
      self.security_group_ids = security_group_ids
      self.subnets = subnets
      self.encrypt_inter_container_traffic = (
          encrypt_inter_container_traffic
      )
  
imports: from __future__ import absolute_import
  from typing import Union, Optional, List
  from sagemaker.workflow.entities import PipelineVariable
label_desc: Use image node_id 1 to create a new NetworkConfig object from inherited base classes: object with example: obj = NetworkConfig(enable_network_isolation, security_group_ids, subnets, encrypt_inter_container_traffic)