/
CfnModel_VpcConfigProperty.go
38 lines (35 loc) · 1.85 KB
/
CfnModel_VpcConfigProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awssagemaker
// Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
//
// You can control access to and from your resources by configuring a VPC. For more information, see [Give SageMaker Access to Resources in your Amazon VPC](https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html) .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// vpcConfigProperty := &VpcConfigProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// Subnets: []*string{
// jsii.String("subnets"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html
//
type CfnModel_VpcConfigProperty struct {
// The VPC security group IDs, in the form `sg-xxxxxxxx` .
//
// Specify the security groups for the VPC that is specified in the `Subnets` field.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-securitygroupids
//
SecurityGroupIds *[]*string `field:"required" json:"securityGroupIds" yaml:"securityGroupIds"`
// The ID of the subnets in the VPC to which you want to connect your training job or model.
//
// For information about the availability of specific instance types, see [Supported Instance Types and Availability Zones](https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-subnets
//
Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"`
}