-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnModelQualityJobDefinition_NetworkConfigProperty.go
44 lines (41 loc) · 2.52 KB
/
CfnModelQualityJobDefinition_NetworkConfigProperty.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
38
39
40
41
42
43
package awssagemaker
// Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.
//
// 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"
//
// networkConfigProperty := &NetworkConfigProperty{
// EnableInterContainerTrafficEncryption: jsii.Boolean(false),
// EnableNetworkIsolation: jsii.Boolean(false),
// VpcConfig: &VpcConfigProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// Subnets: []*string{
// jsii.String("subnets"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html
//
type CfnModelQualityJobDefinition_NetworkConfigProperty struct {
// Whether to encrypt all communications between distributed processing jobs.
//
// Choose `True` to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-enableintercontainertrafficencryption
//
EnableInterContainerTrafficEncryption interface{} `field:"optional" json:"enableInterContainerTrafficEncryption" yaml:"enableInterContainerTrafficEncryption"`
// Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-enablenetworkisolation
//
EnableNetworkIsolation interface{} `field:"optional" json:"enableNetworkIsolation" yaml:"enableNetworkIsolation"`
// Specifies a VPC that your training jobs and hosted models have access to.
//
// Control access to and from your training and model containers by configuring the VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-networkconfig.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig-vpcconfig
//
VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}