-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnModel_ImageConfigProperty.go
37 lines (34 loc) · 1.9 KB
/
CfnModel_ImageConfigProperty.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
package awssagemaker
// Specifies whether the model container is in Amazon ECR or a private Docker registry accessible from your Amazon Virtual Private Cloud (VPC).
//
// 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"
//
// imageConfigProperty := &ImageConfigProperty{
// RepositoryAccessMode: jsii.String("repositoryAccessMode"),
//
// // the properties below are optional
// RepositoryAuthConfig: &RepositoryAuthConfigProperty{
// RepositoryCredentialsProviderArn: jsii.String("repositoryCredentialsProviderArn"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-imageconfig.html
//
type CfnModel_ImageConfigProperty struct {
// Set this to one of the following values:.
//
// - `Platform` - The model image is hosted in Amazon ECR.
// - `Vpc` - The model image is hosted in a private Docker registry in your VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-imageconfig.html#cfn-sagemaker-model-imageconfig-repositoryaccessmode
//
RepositoryAccessMode *string `field:"required" json:"repositoryAccessMode" yaml:"repositoryAccessMode"`
// (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.
//
// Specify a value for this property only if you specified `Vpc` as the value for the `RepositoryAccessMode` field, and the private Docker registry where the model image is hosted requires authentication.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-imageconfig.html#cfn-sagemaker-model-imageconfig-repositoryauthconfig
//
RepositoryAuthConfig interface{} `field:"optional" json:"repositoryAuthConfig" yaml:"repositoryAuthConfig"`
}