S3OutputProperty Struct
Configuration for uploading output data to Amazon S3 from the processing container.
| 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 s3OutputProperty: sagemaker.CfnProcessingJob.S3OutputProperty = {
s3UploadMode: 's3UploadMode',
s3Uri: 's3Uri',
// the properties below are optional
localPath: 'localPath',
};
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.CfnProcessingJob.S3OutputProperty(
s3_upload_mode="s3UploadMode",
s3_uri="s3Uri",
# the properties below are optional
local_path="localPath"
)
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()
.s3UploadMode("s3UploadMode")
.s3Uri("s3Uri")
// the properties below are optional
.localPath("localPath")
.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 {
S3UploadMode = "s3UploadMode",
S3Uri = "s3Uri",
// the properties below are optional
LocalPath = "localPath"
};
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{
S3UploadMode: jsii.String("s3UploadMode"),
S3Uri: jsii.String("s3Uri"),
// the properties below are optional
LocalPath: jsii.String("localPath"),
}
Properties
localPathoptionalstringlocal_pathoptionalstrlocalPathoptionalStringLocalPathoptionalstringLocalPathoptional*string #The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3.
LocalPath is an absolute path to a directory containing output files. This directory will be created by the platform and exist when your container's entrypoint is invoked.
s3UploadModestrings3_upload_modestrs3UploadModeStringS3UploadModestringS3UploadMode*string required #Whether to upload the results of the processing job continuously or after the job completes.
The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.