@Stability(value=Stable)
public static interface CfnMonitoringSchedule.MonitoringScheduleConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
MonitoringScheduleConfigProperty monitoringScheduleConfigProperty = 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()
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.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")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder
A builder for
CfnMonitoringSchedule.MonitoringScheduleConfigProperty |
static class |
CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Jsii$Proxy
An implementation for
CfnMonitoringSchedule.MonitoringScheduleConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder |
builder() |
default Object |
getMonitoringJobDefinition()
Defines the monitoring job.
|
default String |
getMonitoringJobDefinitionName()
The name of the monitoring job definition to schedule.
|
default String |
getMonitoringType()
The type of the monitoring job definition to schedule.
|
default Object |
getScheduleConfig()
Configures the monitoring schedule.
|
@Stability(value=Stable) @Nullable default Object getMonitoringJobDefinition()
@Stability(value=Stable) @Nullable default String getMonitoringJobDefinitionName()
@Stability(value=Stable) @Nullable default String getMonitoringType()
@Stability(value=Stable) @Nullable default Object getScheduleConfig()
@Stability(value=Stable) static CfnMonitoringSchedule.MonitoringScheduleConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.