Network Configuration

This file contains code related to network configuration, including encryption, network isolation, and VPC configurations.

class sagemaker.network.NetworkConfig(enable_network_isolation=False, security_group_ids=None, subnets=None)

Bases: object

Accepts network configuration parameters and provides a method to turn these parameters into a dictionary.

Initialize a NetworkConfig instance. NetworkConfig accepts network configuration parameters and provides a method to turn these parameters into a dictionary.

Parameters:
  • enable_network_isolation (bool) – Boolean that determines whether to enable network isolation.
  • security_group_ids ([str]) – A list of strings representing security group IDs.
  • subnets ([str]) – A list of strings representing subnets.