Interface CfnMonitoringSchedulePropsMixin.MonitoringJobDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMonitoringSchedulePropsMixin.MonitoringJobDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnMonitoringSchedulePropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
MonitoringJobDefinitionProperty monitoringJobDefinitionProperty = MonitoringJobDefinitionProperty.builder()
.baselineConfig(BaselineConfigProperty.builder()
.constraintsResource(ConstraintsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.statisticsResource(StatisticsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.environment(Map.of(
"environmentKey", "environment"))
.monitoringAppSpecification(MonitoringAppSpecificationProperty.builder()
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.imageUri("imageUri")
.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())
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.localPath("localPath")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.localPath("localPath")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.build()))
.monitoringOutputConfig(MonitoringOutputConfigProperty.builder()
.kmsKeyId("kmsKeyId")
.monitoringOutputs(List.of(MonitoringOutputProperty.builder()
.s3Output(S3OutputProperty.builder()
.localPath("localPath")
.s3UploadMode("s3UploadMode")
.s3Uri("s3Uri")
.build())
.build()))
.build())
.monitoringResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeKmsKeyId("volumeKmsKeyId")
.volumeSizeInGb(123)
.build())
.build())
.networkConfig(NetworkConfigProperty.builder()
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.roleArn("roleArn")
.stoppingCondition(StoppingConditionProperty.builder()
.maxRuntimeInSeconds(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnMonitoringSchedulePropsMixin.MonitoringJobDefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectBaseline configuration used to validate that the data conforms to the specified constraints and statistics.default ObjectSets the environment variables in the Docker container.default ObjectConfigures the monitoring job to run a specified Docker container image.default ObjectThe array of inputs for the monitoring job.default ObjectThe array of outputs from the monitoring job to be uploaded to Amazon S3.default ObjectIdentifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.default ObjectSpecifies networking options for an monitoring job.default ObjectThe Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.default ObjectSpecifies a time limit for how long the monitoring job is allowed to run.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBaselineConfig
Baseline configuration used to validate that the data conforms to the specified constraints and statistics.Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.BaselineConfigProperty- See Also:
-
getEnvironment
Sets the environment variables in the Docker container.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getMonitoringAppSpecification
Configures the monitoring job to run a specified Docker container image.Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.MonitoringAppSpecificationProperty- See Also:
-
getMonitoringInputs
The array of inputs for the monitoring job.Currently we support monitoring an Amazon SageMaker AI Endpoint.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMonitoringSchedulePropsMixin.MonitoringInputProperty>- See Also:
-
getMonitoringOutputConfig
The array of outputs from the monitoring job to be uploaded to Amazon S3.Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.MonitoringOutputConfigProperty- See Also:
-
getMonitoringResources
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job.In distributed processing, you specify more than one instance.
Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.MonitoringResourcesProperty- See Also:
-
getNetworkConfig
Specifies networking options for an monitoring job.Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.NetworkConfigProperty- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.- See Also:
-
getStoppingCondition
Specifies a time limit for how long the monitoring job is allowed to run.Returns union: either
IResolvableorCfnMonitoringSchedulePropsMixin.StoppingConditionProperty- See Also:
-
builder
@Stability(Stable) static CfnMonitoringSchedulePropsMixin.MonitoringJobDefinitionProperty.Builder builder()
-