package awssagemaker import ( "github.com/aws/aws-cdk-go/awscdk/v2" ) // Properties for defining a `CfnDataQualityJobDefinition`. // // 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" // // cfnDataQualityJobDefinitionProps := &CfnDataQualityJobDefinitionProps{ // DataQualityAppSpecification: &DataQualityAppSpecificationProperty{ // ImageUri: jsii.String("imageUri"), // // // 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"), // }, // DataQualityJobInput: &DataQualityJobInputProperty{ // 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 // S3DataDistributionType: jsii.String("s3DataDistributionType"), // S3InputMode: jsii.String("s3InputMode"), // }, // EndpointInput: &EndpointInputProperty{ // EndpointName: jsii.String("endpointName"), // LocalPath: jsii.String("localPath"), // // // the properties below are optional // S3DataDistributionType: jsii.String("s3DataDistributionType"), // S3InputMode: jsii.String("s3InputMode"), // }, // }, // DataQualityJobOutputConfig: &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"), // }, // 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"), // }, // }, // RoleArn: jsii.String("roleArn"), // // // the properties below are optional // DataQualityBaselineConfig: &DataQualityBaselineConfigProperty{ // BaseliningJobName: jsii.String("baseliningJobName"), // ConstraintsResource: &ConstraintsResourceProperty{ // S3Uri: jsii.String("s3Uri"), // }, // StatisticsResource: &StatisticsResourceProperty{ // S3Uri: jsii.String("s3Uri"), // }, // }, // EndpointName: jsii.String("endpointName"), // JobDefinitionName: jsii.String("jobDefinitionName"), // 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-dataqualityjobdefinition.html // type CfnDataQualityJobDefinitionProps struct { // Specifies the container that runs the monitoring job. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityappspecification // DataQualityAppSpecification interface{} `field:"required" json:"dataQualityAppSpecification" yaml:"dataQualityAppSpecification"` // A list of inputs for the monitoring job. // // Currently endpoints are supported as monitoring inputs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityjobinput // DataQualityJobInput interface{} `field:"required" json:"dataQualityJobInput" yaml:"dataQualityJobInput"` // The output configuration for monitoring jobs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualityjoboutputconfig // DataQualityJobOutputConfig interface{} `field:"required" json:"dataQualityJobOutputConfig" yaml:"dataQualityJobOutputConfig"` // Identifies the resources to deploy for a monitoring job. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-jobresources // JobResources interface{} `field:"required" json:"jobResources" yaml:"jobResources"` // 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-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-rolearn // RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"` // Configures the constraints and baselines for the monitoring job. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig // DataQualityBaselineConfig interface{} `field:"optional" json:"dataQualityBaselineConfig" yaml:"dataQualityBaselineConfig"` // The name of the endpoint used to run the monitoring job. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-endpointname // EndpointName *string `field:"optional" json:"endpointName" yaml:"endpointName"` // The name for the monitoring job definition. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-jobdefinitionname // JobDefinitionName *string `field:"optional" json:"jobDefinitionName" yaml:"jobDefinitionName"` // Specifies networking configuration for the monitoring job. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-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-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-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-dataqualityjobdefinition.html#cfn-sagemaker-dataqualityjobdefinition-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }