Skip to content
v2.278.0

AppSpecificationProperty Struct ​

Configuration to run a processing job in a specified container image.

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 appSpecificationProperty: sagemaker.CfnProcessingJob.AppSpecificationProperty = {
  imageUri: 'imageUri',

  // the properties below are optional
  containerArguments: ['containerArguments'],
  containerEntrypoint: ['containerEntrypoint'],
};
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

app_specification_property = sagemaker.CfnProcessingJob.AppSpecificationProperty(
    image_uri="imageUri",

    # the properties below are optional
    container_arguments=["containerArguments"],
    container_entrypoint=["containerEntrypoint"]
)
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.*;

AppSpecificationProperty appSpecificationProperty = AppSpecificationProperty.builder()
        .imageUri("imageUri")

        // the properties below are optional
        .containerArguments(List.of("containerArguments"))
        .containerEntrypoint(List.of("containerEntrypoint"))
        .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 appSpecificationProperty = new AppSpecificationProperty {
    ImageUri = "imageUri",

    // the properties below are optional
    ContainerArguments = new [] { "containerArguments" },
    ContainerEntrypoint = new [] { "containerEntrypoint" }
};
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"

appSpecificationProperty := &AppSpecificationProperty{
	ImageUri: jsii.String("imageUri"),

	// the properties below are optional
	ContainerArguments: []*string{
		jsii.String("containerArguments"),
	},
	ContainerEntrypoint: []*string{
		jsii.String("containerEntrypoint"),
	},
}

Properties ​

containerArgumentsoptionalstring[]container_argumentsoptionaltyping.List[str]containerArgumentsoptionalList<String>ContainerArgumentsoptionalstring[]ContainerArgumentsoptional*[]*string #
The arguments for a container used to run a processing job.
containerEntrypointoptionalstring[]container_entrypointoptionaltyping.List[str]containerEntrypointoptionalList<String>ContainerEntrypointoptionalstring[]ContainerEntrypointoptional*[]*string #
The entrypoint for a container used to run a processing job.
imageUristringimage_uristrimageUriStringImageUristringImageUri*string required #
The container image to be run by the processing job.