Class CfnMonitoringSchedule.MonitoringScheduleConfigProperty
Configures the monitoring schedule and defines the monitoring job.
Inheritance
System.Object
CfnMonitoringSchedule.MonitoringScheduleConfigProperty
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class MonitoringScheduleConfigProperty : Object, CfnMonitoringSchedule.IMonitoringScheduleConfigProperty
Syntax (vb)
Public Class MonitoringScheduleConfigProperty
Inherits Object
Implements CfnMonitoringSchedule.IMonitoringScheduleConfigProperty
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 json;
var monitoringScheduleConfigProperty = new MonitoringScheduleConfigProperty {
MonitoringJobDefinition = 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 = json,
Parquet = false
},
LocalPath = "localPath",
// the properties below are optional
S3DataDistributionType = "s3DataDistributionType",
S3InputMode = "s3InputMode"
},
EndpointInput = new EndpointInputProperty {
EndpointName = "endpointName",
LocalPath = "localPath",
// the properties below are optional
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
}
},
MonitoringJobDefinitionName = "monitoringJobDefinitionName",
MonitoringType = "monitoringType",
ScheduleConfig = new ScheduleConfigProperty {
ScheduleExpression = "scheduleExpression"
}
};
Synopsis
Constructors
MonitoringScheduleConfigProperty() |
Properties
MonitoringJobDefinition | Defines the monitoring job. |
MonitoringJobDefinitionName | The name of the monitoring job definition to schedule. |
MonitoringType | The type of the monitoring job definition to schedule. |
ScheduleConfig | Configures the monitoring schedule. |
Constructors
MonitoringScheduleConfigProperty()
public MonitoringScheduleConfigProperty()
Properties
MonitoringJobDefinition
Defines the monitoring job.
public object MonitoringJobDefinition { get; set; }
Property Value
System.Object
Remarks
MonitoringJobDefinitionName
The name of the monitoring job definition to schedule.
public string MonitoringJobDefinitionName { get; set; }
Property Value
System.String
Remarks
MonitoringType
The type of the monitoring job definition to schedule.
public string MonitoringType { get; set; }
Property Value
System.String
Remarks
ScheduleConfig
Configures the monitoring schedule.
public object ScheduleConfig { get; set; }
Property Value
System.Object