Skip to content
v2.277.0

MonitoringOutputConfigProperty Struct ​

The output configuration for monitoring jobs.

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 monitoringOutputConfigProperty: sagemaker.CfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty = {
  monitoringOutputs: [{
    s3Output: {
      localPath: 'localPath',
      s3Uri: 's3Uri',

      // the properties below are optional
      s3UploadMode: 's3UploadMode',
    },
  }],

  // the properties below are optional
  kmsKeyId: 'kmsKeyId',
};
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_output_config_property = sagemaker.CfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty(
    monitoring_outputs=[sagemaker.CfnModelExplainabilityJobDefinition.MonitoringOutputProperty(
        s3_output=sagemaker.CfnModelExplainabilityJobDefinition.S3OutputProperty(
            local_path="localPath",
            s3_uri="s3Uri",

            # the properties below are optional
            s3_upload_mode="s3UploadMode"
        )
    )],

    # the properties below are optional
    kms_key_id="kmsKeyId"
)
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.*;

MonitoringOutputConfigProperty monitoringOutputConfigProperty = 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();
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 monitoringOutputConfigProperty = 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"
};
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"

monitoringOutputConfigProperty := &MonitoringOutputConfigProperty{
	MonitoringOutputs: []interface{}{
		&MonitoringOutputProperty{
			S3Output: &S3OutputProperty{
				LocalPath: jsii.String("localPath"),
				S3Uri: jsii.String("s3Uri"),

				// the properties below are optional
				S3UploadMode: jsii.String("s3UploadMode"),
			},
		},
	},

	// the properties below are optional
	KmsKeyId: jsii.String("kmsKeyId"),
}

Properties ​

kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #
The AWS Key Management Service ( AWS ) key that Amazon SageMaker AI uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
monitoringOutputsIResolvable | IResolvable | CfnModelExplainabilityJobDefinition.MonitoringOutputProperty[]monitoring_outputstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MonitoringOutputProperty]]]monitoringOutputsIResolvableMonitoringOutputsIResolvableMonitoringOutputsinterface{} required #
Monitoring outputs for monitoring jobs.

This is where the output of the periodic monitoring jobs is uploaded.