vpc_sanitize: Checks VpcConfig

View source: R/vpc_utils.R

vpc_sanitizeR Documentation

Checks VpcConfig

Description

Checks that an instance of VpcConfig has the expected keys and values, removes unexpected keys, and raises ValueErrors if any expectations are violated

Usage

vpc_sanitize(vpc_config = NULL)

Arguments

vpc_config

(list): a VpcConfig dict containing 'Subnets' and SecurityGroupIds'

Value

A valid VpcConfig dict containing only 'Subnets' and 'SecurityGroupIds' from the vpc_config parameter If vpc_config parameter is None, returns None

See Also

Other vpc_utils: vpc_configuration_env, vpc_from_list(), vpc_to_list()


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