RecommendationJobInputConfig - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


The input configuration of the recommendation job.



Specifies the endpoint configuration to use for a job.

Type: Array of EndpointInputConfiguration objects

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Required: No


Specifies the maximum duration of the job, in seconds.>

Type: Integer

Valid Range: Minimum value of 1.

Required: No


The Amazon Resource Name (ARN) of a versioned model package.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:model-package/.*

Required: Yes


Defines the resource limit of the job.

Type: RecommendationJobResourceLimit object

Required: No


Specifies the traffic pattern of the job.

Type: TrafficPattern object

Required: No


The Amazon Resource Name (ARN) of a Amazon Key Management Service (Amazon KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This key will be passed to SageMaker Hosting for endpoint creation.

The SageMaker execution role must have kms:CreateGrant permission in order to encrypt data on the storage volume of the endpoints created for inference recommendation. The inference recommendation job will fail asynchronously during endpoint configuration creation if the role passed does not have kms:CreateGrant permission.

The KmsKeyId can be any of the following formats:

  • // KMS Key ID


  • // Amazon Resource Name (ARN) of a KMS Key


  • // KMS Key Alias


  • // Amazon Resource Name (ARN) of a KMS Key Alias


For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Key Management Service (Amazon KMS) documentation.

Type: String

Length Constraints: Maximum length of 2048.

Pattern: .*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: