MonitoringAppSpecificationProperty Struct
Container image configuration object for the monitoring job.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const monitoringAppSpecificationProperty: sagemaker.CfnMonitoringSchedule.MonitoringAppSpecificationProperty = {
imageUri: 'imageUri',
// the properties below are optional
containerArguments: ['containerArguments'],
containerEntrypoint: ['containerEntrypoint'],
postAnalyticsProcessorSourceUri: 'postAnalyticsProcessorSourceUri',
recordPreprocessorSourceUri: 'recordPreprocessorSourceUri',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
monitoring_app_specification_property = sagemaker.CfnMonitoringSchedule.MonitoringAppSpecificationProperty(
image_uri="imageUri",
# the properties below are optional
container_arguments=["containerArguments"],
container_entrypoint=["containerEntrypoint"],
post_analytics_processor_source_uri="postAnalyticsProcessorSourceUri",
record_preprocessor_source_uri="recordPreprocessorSourceUri"
)
java
// 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.*;
MonitoringAppSpecificationProperty monitoringAppSpecificationProperty = MonitoringAppSpecificationProperty.builder()
.imageUri("imageUri")
// the properties below are optional
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.postAnalyticsProcessorSourceUri("postAnalyticsProcessorSourceUri")
.recordPreprocessorSourceUri("recordPreprocessorSourceUri")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 monitoringAppSpecificationProperty = new MonitoringAppSpecificationProperty {
ImageUri = "imageUri",
// the properties below are optional
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
PostAnalyticsProcessorSourceUri = "postAnalyticsProcessorSourceUri",
RecordPreprocessorSourceUri = "recordPreprocessorSourceUri"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
monitoringAppSpecificationProperty := &MonitoringAppSpecificationProperty{
ImageUri: jsii.String("imageUri"),
// the properties below are optional
ContainerArguments: []*string{
jsii.String("containerArguments"),
},
ContainerEntrypoint: []*string{
jsii.String("containerEntrypoint"),
},
PostAnalyticsProcessorSourceUri: jsii.String("postAnalyticsProcessorSourceUri"),
RecordPreprocessorSourceUri: jsii.String("recordPreprocessorSourceUri"),
}
Properties
containerArgumentsoptionalstring[]container_argumentsoptionaltyping.List[str]containerArgumentsoptionalList<String>ContainerArgumentsoptionalstring[]ContainerArgumentsoptional*[]*string #An array of arguments for the container used to run the monitoring job.
containerEntrypointoptionalstring[]container_entrypointoptionaltyping.List[str]containerEntrypointoptionalList<String>ContainerEntrypointoptionalstring[]ContainerEntrypointoptional*[]*string #Specifies the entrypoint for a container used to run the monitoring job.
The container image to be run by the monitoring job.
postAnalyticsProcessorSourceUrioptionalstringpost_analytics_processor_source_urioptionalstrpostAnalyticsProcessorSourceUrioptionalStringPostAnalyticsProcessorSourceUrioptionalstringPostAnalyticsProcessorSourceUrioptional*string #An Amazon S3 URI to a script that is called after analysis has been performed.
Applicable only for the built-in (first party) containers.
recordPreprocessorSourceUrioptionalstringrecord_preprocessor_source_urioptionalstrrecordPreprocessorSourceUrioptionalStringRecordPreprocessorSourceUrioptionalstringRecordPreprocessorSourceUrioptional*string #An Amazon S3 URI to a script that is called per row prior to running analysis.
It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.