interface VpcConfig
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.StepFunctions.Tasks.VpcConfig | 
  Java | software.amazon.awscdk.services.stepfunctions.tasks.VpcConfig | 
  Python | aws_cdk.aws_stepfunctions_tasks.VpcConfig | 
  TypeScript (source) | @aws-cdk/aws-stepfunctions-tasks » VpcConfig | 
Specifies the VPC that you want your Amazon SageMaker training job to connect to.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
import * as stepfunctions_tasks from '@aws-cdk/aws-stepfunctions-tasks';
declare const subnet: ec2.Subnet;
declare const subnetFilter: ec2.SubnetFilter;
declare const vpc: ec2.Vpc;
const vpcConfig: stepfunctions_tasks.VpcConfig = {
  vpc: vpc,
  // the properties below are optional
  subnets: {
    availabilityZones: ['availabilityZones'],
    onePerAz: false,
    subnetFilters: [subnetFilter],
    subnetGroupName: 'subnetGroupName',
    subnetName: 'subnetName',
    subnets: [subnet],
    subnetType: ec2.SubnetType.ISOLATED,
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| vpc | IVpc | VPC. | 
| subnets? | Subnet | VPC subnets. | 
vpc
Type:
IVpc
VPC.
subnets?
Type:
Subnet
(optional, default: Private Subnets are selected)
VPC subnets.

 .NET
 Java
 Python
 TypeScript (