interface VpcConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.StepFunctions.Tasks.VpcConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#VpcConfig |
![]() | software.amazon.awscdk.services.stepfunctions.tasks.VpcConfig |
![]() | aws_cdk.aws_stepfunctions_tasks.VpcConfig |
![]() | aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
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',
subnets: [subnet],
subnetType: ec2.SubnetType.PRIVATE_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.