Class CfnMonitoringSchedule.MonitoringJobDefinitionProperty
Defines the monitoring job.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MonitoringJobDefinitionProperty : Object, CfnMonitoringSchedule.IMonitoringJobDefinitionProperty
Syntax (vb)
Public Class MonitoringJobDefinitionProperty
Inherits Object
Implements CfnMonitoringSchedule.IMonitoringJobDefinitionProperty
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 monitoringJobDefinitionProperty = new MonitoringJobDefinitionProperty {
MonitoringAppSpecification = new MonitoringAppSpecificationProperty {
ImageUri = "imageUri",
// the properties below are optional
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
PostAnalyticsProcessorSourceUri = "postAnalyticsProcessorSourceUri",
RecordPreprocessorSourceUri = "recordPreprocessorSourceUri"
},
MonitoringInputs = new [] { new MonitoringInputProperty {
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
ExcludeFeaturesAttribute = "excludeFeaturesAttribute",
S3DataDistributionType = "s3DataDistributionType",
S3InputMode = "s3InputMode"
},
EndpointInput = new EndpointInputProperty {
EndpointName = "endpointName",
LocalPath = "localPath",
// the properties below are optional
ExcludeFeaturesAttribute = "excludeFeaturesAttribute",
S3DataDistributionType = "s3DataDistributionType",
S3InputMode = "s3InputMode"
}
} },
MonitoringOutputConfig = 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"
},
MonitoringResources = new MonitoringResourcesProperty {
ClusterConfig = new ClusterConfigProperty {
InstanceCount = 123,
InstanceType = "instanceType",
VolumeSizeInGb = 123,
// the properties below are optional
VolumeKmsKeyId = "volumeKmsKeyId"
}
},
RoleArn = "roleArn",
// the properties below are optional
BaselineConfig = new BaselineConfigProperty {
ConstraintsResource = new ConstraintsResourceProperty {
S3Uri = "s3Uri"
},
StatisticsResource = new StatisticsResourceProperty {
S3Uri = "s3Uri"
}
},
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
NetworkConfig = new NetworkConfigProperty {
EnableInterContainerTrafficEncryption = false,
EnableNetworkIsolation = false,
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
Subnets = new [] { "subnets" }
}
},
StoppingCondition = new StoppingConditionProperty {
MaxRuntimeInSeconds = 123
}
};
Synopsis
Constructors
MonitoringJobDefinitionProperty() |
Properties
BaselineConfig | Baseline configuration used to validate that the data conforms to the specified constraints and statistics. |
Environment | Sets the environment variables in the Docker container. |
MonitoringAppSpecification | Configures the monitoring job to run a specified Docker container image. |
MonitoringInputs | The array of inputs for the monitoring job. |
MonitoringOutputConfig | The array of outputs from the monitoring job to be uploaded to Amazon S3. |
MonitoringResources | Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. |
NetworkConfig | Specifies networking options for an monitoring job. |
RoleArn | The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. |
StoppingCondition | Specifies a time limit for how long the monitoring job is allowed to run. |
Constructors
MonitoringJobDefinitionProperty()
public MonitoringJobDefinitionProperty()
Properties
BaselineConfig
Baseline configuration used to validate that the data conforms to the specified constraints and statistics.
public object BaselineConfig { get; set; }
Property Value
System.Object
Remarks
Environment
Sets the environment variables in the Docker container.
public object Environment { get; set; }
Property Value
System.Object
Remarks
MonitoringAppSpecification
Configures the monitoring job to run a specified Docker container image.
public object MonitoringAppSpecification { get; set; }
Property Value
System.Object
Remarks
MonitoringInputs
The array of inputs for the monitoring job.
public object MonitoringInputs { get; set; }
Property Value
System.Object
Remarks
Currently we support monitoring an Amazon SageMaker Endpoint.
MonitoringOutputConfig
The array of outputs from the monitoring job to be uploaded to Amazon S3.
public object MonitoringOutputConfig { get; set; }
Property Value
System.Object
Remarks
MonitoringResources
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.
public object MonitoringResources { get; set; }
Property Value
System.Object
Remarks
In distributed processing, you specify more than one instance.
NetworkConfig
Specifies networking options for an 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
Specifies a time limit for how long the monitoring job is allowed to run.
public object StoppingCondition { get; set; }
Property Value
System.Object