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"` }