Class VpcConfig
Specifies the VPC that you want your Amazon SageMaker training job to connect to.
Inheritance
System.Object
VpcConfig
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class VpcConfig : Object, IVpcConfig
Syntax (vb)
Public Class VpcConfig
Inherits Object
Implements IVpcConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.StepFunctions.Tasks;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
var vpcConfig = new VpcConfig {
Vpc = vpc,
// the properties below are optional
Subnets = new SubnetSelection {
AvailabilityZones = new [] { "availabilityZones" },
OnePerAz = false,
SubnetFilters = new [] { subnetFilter },
SubnetGroupName = "subnetGroupName",
SubnetName = "subnetName",
Subnets = new [] { subnet },
SubnetType = SubnetType.ISOLATED
}
};
Synopsis
Constructors
VpcConfig() |
Properties
Subnets | VPC subnets. |
Vpc | VPC. |
Constructors
VpcConfig()
public VpcConfig()
Properties
Subnets
VPC subnets.
public ISubnetSelection Subnets { get; set; }
Property Value
Remarks
Default: - Private Subnets are selected