Class CfnModelQualityJobDefinitionProps
Properties for defining a CfnModelQualityJobDefinition
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnModelQualityJobDefinitionProps : Object, ICfnModelQualityJobDefinitionProps
Syntax (vb)
Public Class CfnModelQualityJobDefinitionProps
Inherits Object
Implements ICfnModelQualityJobDefinitionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnModelQualityJobDefinitionProps = new CfnModelQualityJobDefinitionProps {
JobResources = new MonitoringResourcesProperty {
ClusterConfig = new ClusterConfigProperty {
InstanceCount = 123,
InstanceType = "instanceType",
VolumeSizeInGb = 123,
// the properties below are optional
VolumeKmsKeyId = "volumeKmsKeyId"
}
},
ModelQualityAppSpecification = new ModelQualityAppSpecificationProperty {
ImageUri = "imageUri",
ProblemType = "problemType",
// the properties below are optional
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
PostAnalyticsProcessorSourceUri = "postAnalyticsProcessorSourceUri",
RecordPreprocessorSourceUri = "recordPreprocessorSourceUri"
},
ModelQualityJobInput = new ModelQualityJobInputProperty {
GroundTruthS3Input = new MonitoringGroundTruthS3InputProperty {
S3Uri = "s3Uri"
},
// the properties below are optional
BatchTransformInput = new BatchTransformInputProperty {
DataCapturedDestinationS3Uri = "dataCapturedDestinationS3Uri",
DatasetFormat = new DatasetFormatProperty {
Csv = new CsvProperty {
Header = false
},
Json = new JsonProperty {
Line = false
},
Parquet = false
},
LocalPath = "localPath",
// the properties below are optional
EndTimeOffset = "endTimeOffset",
InferenceAttribute = "inferenceAttribute",
ProbabilityAttribute = "probabilityAttribute",
ProbabilityThresholdAttribute = 123,
S3DataDistributionType = "s3DataDistributionType",
S3InputMode = "s3InputMode",
StartTimeOffset = "startTimeOffset"
},
EndpointInput = new EndpointInputProperty {
EndpointName = "endpointName",
LocalPath = "localPath",
// the properties below are optional
EndTimeOffset = "endTimeOffset",
InferenceAttribute = "inferenceAttribute",
ProbabilityAttribute = "probabilityAttribute",
ProbabilityThresholdAttribute = 123,
S3DataDistributionType = "s3DataDistributionType",
S3InputMode = "s3InputMode",
StartTimeOffset = "startTimeOffset"
}
},
ModelQualityJobOutputConfig = new MonitoringOutputConfigProperty {
MonitoringOutputs = new [] { new MonitoringOutputProperty {
S3Output = new S3OutputProperty {
LocalPath = "localPath",
S3Uri = "s3Uri",
// the properties below are optional
S3UploadMode = "s3UploadMode"
}
} },
// the properties below are optional
KmsKeyId = "kmsKeyId"
},
RoleArn = "roleArn",
// the properties below are optional
EndpointName = "endpointName",
JobDefinitionName = "jobDefinitionName",
ModelQualityBaselineConfig = new ModelQualityBaselineConfigProperty {
BaseliningJobName = "baseliningJobName",
ConstraintsResource = new ConstraintsResourceProperty {
S3Uri = "s3Uri"
}
},
NetworkConfig = new NetworkConfigProperty {
EnableInterContainerTrafficEncryption = false,
EnableNetworkIsolation = false,
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
}
},
StoppingCondition = new StoppingConditionProperty {
MaxRuntimeInSeconds = 123
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnModelQualityJobDefinitionProps() |
Properties
EndpointName | The name of the endpoint used to run the monitoring job. |
JobDefinitionName | The name of the monitoring job definition. |
JobResources | Identifies the resources to deploy for a monitoring job. |
ModelQualityAppSpecification | Container image configuration object for the monitoring job. |
ModelQualityBaselineConfig | Specifies the constraints and baselines for the monitoring job. |
ModelQualityJobInput | A list of the inputs that are monitored. |
ModelQualityJobOutputConfig | The output configuration for monitoring jobs. |
NetworkConfig | Specifies the network configuration for the monitoring job. |
RoleArn | The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. |
StoppingCondition | A time limit for how long the monitoring job is allowed to run before stopping. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnModelQualityJobDefinitionProps()
public CfnModelQualityJobDefinitionProps()
Properties
EndpointName
The name of the endpoint used to run the monitoring job.
public string EndpointName { get; set; }
Property Value
System.String
Remarks
JobDefinitionName
The name of the monitoring job definition.
public string JobDefinitionName { get; set; }
Property Value
System.String
Remarks
JobResources
Identifies the resources to deploy for a monitoring job.
public object JobResources { get; set; }
Property Value
System.Object
Remarks
ModelQualityAppSpecification
Container image configuration object for the monitoring job.
public object ModelQualityAppSpecification { get; set; }
Property Value
System.Object
Remarks
ModelQualityBaselineConfig
Specifies the constraints and baselines for the monitoring job.
public object ModelQualityBaselineConfig { get; set; }
Property Value
System.Object
Remarks
ModelQualityJobInput
A list of the inputs that are monitored.
public object ModelQualityJobInput { get; set; }
Property Value
System.Object
Remarks
ModelQualityJobOutputConfig
The output configuration for monitoring jobs.
public object ModelQualityJobOutputConfig { get; set; }
Property Value
System.Object
Remarks
NetworkConfig
Specifies the network configuration for the monitoring job.
public object NetworkConfig { get; set; }
Property Value
System.Object
Remarks
RoleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
StoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping.
public object StoppingCondition { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]