NetworkConfig: NetworkConfig class

NetworkConfigR Documentation

NetworkConfig class

Description

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

Methods

Public methods


Method new()

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

Usage
NetworkConfig$new(
  enable_network_isolation = FALSE,
  security_group_ids = NULL,
  subnets = NULL,
  encrypt_inter_container_traffic = NULL
)
Arguments
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.

encrypt_inter_container_traffic

(bool): Boolean that determines whether to encrypt inter-container traffic. Default value is None.


Method to_request_list()

Generates a request dictionary using the parameters provided to the class.

Usage
NetworkConfig$to_request_list()

Method format()

format class

Usage
NetworkConfig$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
NetworkConfig$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-common documentation built on June 14, 2022, 10:31 p.m.