-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnModelQualityJobDefinitionProps.go
186 lines (183 loc) · 8.77 KB
/
CfnModelQualityJobDefinitionProps.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
package awssagemaker
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnModelQualityJobDefinition`.
//
// 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"
//
// cfnModelQualityJobDefinitionProps := &CfnModelQualityJobDefinitionProps{
// JobResources: &MonitoringResourcesProperty{
// ClusterConfig: &ClusterConfigProperty{
// InstanceCount: jsii.Number(123),
// InstanceType: jsii.String("instanceType"),
// VolumeSizeInGb: jsii.Number(123),
//
// // the properties below are optional
// VolumeKmsKeyId: jsii.String("volumeKmsKeyId"),
// },
// },
// ModelQualityAppSpecification: &ModelQualityAppSpecificationProperty{
// ImageUri: jsii.String("imageUri"),
// ProblemType: jsii.String("problemType"),
//
// // the properties below are optional
// ContainerArguments: []*string{
// jsii.String("containerArguments"),
// },
// ContainerEntrypoint: []*string{
// jsii.String("containerEntrypoint"),
// },
// Environment: map[string]*string{
// "environmentKey": jsii.String("environment"),
// },
// PostAnalyticsProcessorSourceUri: jsii.String("postAnalyticsProcessorSourceUri"),
// RecordPreprocessorSourceUri: jsii.String("recordPreprocessorSourceUri"),
// },
// ModelQualityJobInput: &ModelQualityJobInputProperty{
// GroundTruthS3Input: &MonitoringGroundTruthS3InputProperty{
// S3Uri: jsii.String("s3Uri"),
// },
//
// // the properties below are optional
// BatchTransformInput: &BatchTransformInputProperty{
// DataCapturedDestinationS3Uri: jsii.String("dataCapturedDestinationS3Uri"),
// DatasetFormat: &DatasetFormatProperty{
// Csv: &CsvProperty{
// Header: jsii.Boolean(false),
// },
// Json: &JsonProperty{
// Line: jsii.Boolean(false),
// },
// Parquet: jsii.Boolean(false),
// },
// LocalPath: jsii.String("localPath"),
//
// // the properties below are optional
// EndTimeOffset: jsii.String("endTimeOffset"),
// InferenceAttribute: jsii.String("inferenceAttribute"),
// ProbabilityAttribute: jsii.String("probabilityAttribute"),
// ProbabilityThresholdAttribute: jsii.Number(123),
// S3DataDistributionType: jsii.String("s3DataDistributionType"),
// S3InputMode: jsii.String("s3InputMode"),
// StartTimeOffset: jsii.String("startTimeOffset"),
// },
// EndpointInput: &EndpointInputProperty{
// EndpointName: jsii.String("endpointName"),
// LocalPath: jsii.String("localPath"),
//
// // the properties below are optional
// EndTimeOffset: jsii.String("endTimeOffset"),
// InferenceAttribute: jsii.String("inferenceAttribute"),
// ProbabilityAttribute: jsii.String("probabilityAttribute"),
// ProbabilityThresholdAttribute: jsii.Number(123),
// S3DataDistributionType: jsii.String("s3DataDistributionType"),
// S3InputMode: jsii.String("s3InputMode"),
// StartTimeOffset: jsii.String("startTimeOffset"),
// },
// },
// ModelQualityJobOutputConfig: &MonitoringOutputConfigProperty{
// MonitoringOutputs: []interface{}{
// &MonitoringOutputProperty{
// S3Output: &S3OutputProperty{
// LocalPath: jsii.String("localPath"),
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// S3UploadMode: jsii.String("s3UploadMode"),
// },
// },
// },
//
// // the properties below are optional
// KmsKeyId: jsii.String("kmsKeyId"),
// },
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// EndpointName: jsii.String("endpointName"),
// JobDefinitionName: jsii.String("jobDefinitionName"),
// ModelQualityBaselineConfig: &ModelQualityBaselineConfigProperty{
// BaseliningJobName: jsii.String("baseliningJobName"),
// ConstraintsResource: &ConstraintsResourceProperty{
// S3Uri: jsii.String("s3Uri"),
// },
// },
// NetworkConfig: &NetworkConfigProperty{
// EnableInterContainerTrafficEncryption: jsii.Boolean(false),
// EnableNetworkIsolation: jsii.Boolean(false),
// VpcConfig: &VpcConfigProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// Subnets: []*string{
// jsii.String("subnets"),
// },
// },
// },
// StoppingCondition: &StoppingConditionProperty{
// MaxRuntimeInSeconds: jsii.Number(123),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html
//
type CfnModelQualityJobDefinitionProps struct {
// Identifies the resources to deploy for a monitoring job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-jobresources
//
JobResources interface{} `field:"required" json:"jobResources" yaml:"jobResources"`
// Container image configuration object for the monitoring job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityappspecification
//
ModelQualityAppSpecification interface{} `field:"required" json:"modelQualityAppSpecification" yaml:"modelQualityAppSpecification"`
// A list of the inputs that are monitored.
//
// Currently endpoints are supported.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjobinput
//
ModelQualityJobInput interface{} `field:"required" json:"modelQualityJobInput" yaml:"modelQualityJobInput"`
// The output configuration for monitoring jobs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualityjoboutputconfig
//
ModelQualityJobOutputConfig interface{} `field:"required" json:"modelQualityJobOutputConfig" yaml:"modelQualityJobOutputConfig"`
// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The name of the endpoint used to run the monitoring job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-endpointname
//
EndpointName *string `field:"optional" json:"endpointName" yaml:"endpointName"`
// The name of the monitoring job definition.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-jobdefinitionname
//
JobDefinitionName *string `field:"optional" json:"jobDefinitionName" yaml:"jobDefinitionName"`
// Specifies the constraints and baselines for the monitoring job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig
//
ModelQualityBaselineConfig interface{} `field:"optional" json:"modelQualityBaselineConfig" yaml:"modelQualityBaselineConfig"`
// Specifies the network configuration for the monitoring job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-networkconfig
//
NetworkConfig interface{} `field:"optional" json:"networkConfig" yaml:"networkConfig"`
// A time limit for how long the monitoring job is allowed to run before stopping.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-stoppingcondition
//
StoppingCondition interface{} `field:"optional" json:"stoppingCondition" yaml:"stoppingCondition"`
// An array of key-value pairs to apply to this resource.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html#cfn-sagemaker-modelqualityjobdefinition-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}