Skip to content

OptimizationVpcConfig

Source code in docs_src/capo_sagemaker/types/optimization_vpc_config.py
class OptimizationVpcConfig(TypedDict, closed=True):
    security_group_ids: NotRequired[
        "capo_sagemaker.types.optimization_vpc_security_group_ids.OptimizationVpcSecurityGroupIds"
    ]
    """<p>The VPC security group IDs, in the form <code>sg-xxxxxxxx</code>. Specify the security groups for the VPC that is specified in the <code>Subnets</code> field.</p>"""
    subnets: NotRequired[
        "capo_sagemaker.types.optimization_vpc_subnets.OptimizationVpcSubnets"
    ]
    """<p>The ID of the subnets in the VPC to which you want to connect your optimized model.</p>"""

security_group_ids instance-attribute

security_group_ids: NotRequired[OptimizationVpcSecurityGroupIds]

The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

subnets instance-attribute

subnets: NotRequired[OptimizationVpcSubnets]

The ID of the subnets in the VPC to which you want to connect your optimized model.