Interface CfnMonitoringSchedule.IMonitoringScheduleConfigProperty
Configures the monitoring schedule and defines the monitoring job.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMonitoringScheduleConfigProperty
Syntax (vb)
Public Interface 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 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 = 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
}
},
MonitoringJobDefinitionName = "monitoringJobDefinitionName",
MonitoringType = "monitoringType",
ScheduleConfig = new ScheduleConfigProperty {
ScheduleExpression = "scheduleExpression",
// the properties below are optional
DataAnalysisEndTime = "dataAnalysisEndTime",
DataAnalysisStartTime = "dataAnalysisStartTime"
}
};
Synopsis
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. |
Properties
MonitoringJobDefinition
Defines the monitoring job.
virtual object MonitoringJobDefinition { get; }
Property Value
System.Object
Remarks
MonitoringJobDefinitionName
The name of the monitoring job definition to schedule.
virtual string MonitoringJobDefinitionName { get; }
Property Value
System.String
Remarks
MonitoringType
The type of the monitoring job definition to schedule.
virtual string MonitoringType { get; }
Property Value
System.String
Remarks
ScheduleConfig
Configures the monitoring schedule.
virtual object ScheduleConfig { get; }
Property Value
System.Object