Skip to content
v2.277.0

S3OutputProperty Struct ​

The Amazon S3 storage location where the results of a monitoring job are saved.

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 s3OutputProperty: sagemaker.CfnModelExplainabilityJobDefinition.S3OutputProperty = {
  localPath: 'localPath',
  s3Uri: 's3Uri',

  // the properties below are optional
  s3UploadMode: 's3UploadMode',
};
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

s3_output_property = sagemaker.CfnModelExplainabilityJobDefinition.S3OutputProperty(
    local_path="localPath",
    s3_uri="s3Uri",

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

S3OutputProperty s3OutputProperty = S3OutputProperty.builder()
        .localPath("localPath")
        .s3Uri("s3Uri")

        // the properties below are optional
        .s3UploadMode("s3UploadMode")
        .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 s3OutputProperty = new S3OutputProperty {
    LocalPath = "localPath",
    S3Uri = "s3Uri",

    // the properties below are optional
    S3UploadMode = "s3UploadMode"
};
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"

s3OutputProperty := &S3OutputProperty{
	LocalPath: jsii.String("localPath"),
	S3Uri: jsii.String("s3Uri"),

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

Properties ​

localPathstringlocal_pathstrlocalPathStringLocalPathstringLocalPath*string required #
The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.

LocalPath is an absolute path for the output data.

s3UploadModeoptionalstrings3_upload_modeoptionalstrs3UploadModeoptionalStringS3UploadModeoptionalstringS3UploadModeoptional*string #
Whether to upload the results of the monitoring job continuously or after the job completes.
s3Uristrings3_uristrs3UriStringS3UristringS3Uri*string required #
A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.