Interface CfnMonitoringScheduleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitoringScheduleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:48.211Z")
@Stability(Stable)
public interface CfnMonitoringScheduleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMonitoringSchedule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnMonitoringScheduleProps cfnMonitoringScheduleProps = CfnMonitoringScheduleProps.builder()
.monitoringScheduleConfig(MonitoringScheduleConfigProperty.builder()
.monitoringJobDefinition(MonitoringJobDefinitionProperty.builder()
.monitoringAppSpecification(MonitoringAppSpecificationProperty.builder()
.imageUri("imageUri")
// the properties below are optional
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.postAnalyticsProcessorSourceUri("postAnalyticsProcessorSourceUri")
.recordPreprocessorSourceUri("recordPreprocessorSourceUri")
.build())
.monitoringInputs(List.of(MonitoringInputProperty.builder()
.batchTransformInput(BatchTransformInputProperty.builder()
.dataCapturedDestinationS3Uri("dataCapturedDestinationS3Uri")
.datasetFormat(DatasetFormatProperty.builder()
.csv(CsvProperty.builder()
.header(false)
.build())
.json(JsonProperty.builder()
.line(false)
.build())
.parquet(false)
.build())
.localPath("localPath")
// the properties below are optional
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.build()))
.monitoringOutputConfig(MonitoringOutputConfigProperty.builder()
.monitoringOutputs(List.of(MonitoringOutputProperty.builder()
.s3Output(S3OutputProperty.builder()
.localPath("localPath")
.s3Uri("s3Uri")
// the properties below are optional
.s3UploadMode("s3UploadMode")
.build())
.build()))
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.monitoringResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeSizeInGb(123)
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.baselineConfig(BaselineConfigProperty.builder()
.constraintsResource(ConstraintsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.statisticsResource(StatisticsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.environment(Map.of(
"environmentKey", "environment"))
.networkConfig(NetworkConfigProperty.builder()
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.stoppingCondition(StoppingConditionProperty.builder()
.maxRuntimeInSeconds(123)
.build())
.build())
.monitoringJobDefinitionName("monitoringJobDefinitionName")
.monitoringType("monitoringType")
.scheduleConfig(ScheduleConfigProperty.builder()
.scheduleExpression("scheduleExpression")
// the properties below are optional
.dataAnalysisEndTime("dataAnalysisEndTime")
.dataAnalysisStartTime("dataAnalysisStartTime")
.build())
.build())
.monitoringScheduleName("monitoringScheduleName")
// the properties below are optional
.endpointName("endpointName")
.failureReason("failureReason")
.lastMonitoringExecutionSummary(MonitoringExecutionSummaryProperty.builder()
.creationTime("creationTime")
.lastModifiedTime("lastModifiedTime")
.monitoringExecutionStatus("monitoringExecutionStatus")
.monitoringScheduleName("monitoringScheduleName")
.scheduledTime("scheduledTime")
// the properties below are optional
.endpointName("endpointName")
.failureReason("failureReason")
.processingJobArn("processingJobArn")
.build())
.monitoringScheduleStatus("monitoringScheduleStatus")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMonitoringSchedulePropsstatic final classAn implementation forCfnMonitoringScheduleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the endpoint using the monitoring schedule.default StringContains the reason a monitoring job failed, if it failed.default ObjectDescribes metadata on the last execution to run, if there was one.The configuration object that specifies the monitoring schedule and defines the monitoring job.The name of the monitoring schedule.default StringThe status of the monitoring schedule.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMonitoringScheduleConfig
The configuration object that specifies the monitoring schedule and defines the monitoring job.Returns union: either
IResolvableorCfnMonitoringSchedule.MonitoringScheduleConfigProperty- See Also:
-
getMonitoringScheduleName
The name of the monitoring schedule.- See Also:
-
getEndpointName
The name of the endpoint using the monitoring schedule.- See Also:
-
getFailureReason
Contains the reason a monitoring job failed, if it failed.- See Also:
-
getLastMonitoringExecutionSummary
Describes metadata on the last execution to run, if there was one.Returns union: either
IResolvableorCfnMonitoringSchedule.MonitoringExecutionSummaryProperty- See Also:
-
getMonitoringScheduleStatus
The status of the monitoring schedule.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnMonitoringScheduleProps.BuilderofCfnMonitoringScheduleProps
-