1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. sagemaker
  6. Algorithm

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.73.1
published on Monday, Jul 27, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.73.1
published on Monday, Jul 27, 2026 by Pulumi

    Resource Type definition for AWS::SageMaker::Algorithm

    Create Algorithm Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Algorithm(name: string, args: AlgorithmArgs, opts?: CustomResourceOptions);
    @overload
    def Algorithm(resource_name: str,
                  args: AlgorithmArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Algorithm(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  training_specification: Optional[AlgorithmTrainingSpecificationArgs] = None,
                  algorithm_description: Optional[str] = None,
                  algorithm_name: Optional[str] = None,
                  certify_for_marketplace: Optional[bool] = None,
                  inference_specification: Optional[AlgorithmInferenceSpecificationArgs] = None,
                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAlgorithm(ctx *Context, name string, args AlgorithmArgs, opts ...ResourceOption) (*Algorithm, error)
    public Algorithm(string name, AlgorithmArgs args, CustomResourceOptions? opts = null)
    public Algorithm(String name, AlgorithmArgs args)
    public Algorithm(String name, AlgorithmArgs args, CustomResourceOptions options)
    
    type: aws-native:sagemaker:Algorithm
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_sagemaker_algorithm" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AlgorithmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AlgorithmArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AlgorithmArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlgorithmArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlgorithmArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Algorithm Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Algorithm resource accepts the following input properties:

    TrainingSpecification Pulumi.AwsNative.SageMaker.Inputs.AlgorithmTrainingSpecification
    AlgorithmDescription string
    A description of the algorithm.
    AlgorithmName string
    The name of the algorithm.
    CertifyForMarketplace bool
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    InferenceSpecification Pulumi.AwsNative.SageMaker.Inputs.AlgorithmInferenceSpecification
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    TrainingSpecification AlgorithmTrainingSpecificationArgs
    AlgorithmDescription string
    A description of the algorithm.
    AlgorithmName string
    The name of the algorithm.
    CertifyForMarketplace bool
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    InferenceSpecification AlgorithmInferenceSpecificationArgs
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    training_specification object
    algorithm_description string
    A description of the algorithm.
    algorithm_name string
    The name of the algorithm.
    certify_for_marketplace bool
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    inference_specification object
    tags list(object)
    An array of key-value pairs to apply to this resource.
    trainingSpecification AlgorithmTrainingSpecification
    algorithmDescription String
    A description of the algorithm.
    algorithmName String
    The name of the algorithm.
    certifyForMarketplace Boolean
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    inferenceSpecification AlgorithmInferenceSpecification
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    trainingSpecification AlgorithmTrainingSpecification
    algorithmDescription string
    A description of the algorithm.
    algorithmName string
    The name of the algorithm.
    certifyForMarketplace boolean
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    inferenceSpecification AlgorithmInferenceSpecification
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    training_specification AlgorithmTrainingSpecificationArgs
    algorithm_description str
    A description of the algorithm.
    algorithm_name str
    The name of the algorithm.
    certify_for_marketplace bool
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    inference_specification AlgorithmInferenceSpecificationArgs
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    trainingSpecification Property Map
    algorithmDescription String
    A description of the algorithm.
    algorithmName String
    The name of the algorithm.
    certifyForMarketplace Boolean
    Whether to certify the algorithm so that it can be listed in AWS Marketplace.
    inferenceSpecification Property Map
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Algorithm resource produces the following output properties:

    AlgorithmArn string
    The Amazon Resource Name (ARN) of the algorithm.
    CreationTime string
    A timestamp specifying when the algorithm was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    AlgorithmArn string
    The Amazon Resource Name (ARN) of the algorithm.
    CreationTime string
    A timestamp specifying when the algorithm was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    algorithm_arn string
    The Amazon Resource Name (ARN) of the algorithm.
    creation_time string
    A timestamp specifying when the algorithm was created.
    id string
    The provider-assigned unique ID for this managed resource.
    algorithmArn String
    The Amazon Resource Name (ARN) of the algorithm.
    creationTime String
    A timestamp specifying when the algorithm was created.
    id String
    The provider-assigned unique ID for this managed resource.
    algorithmArn string
    The Amazon Resource Name (ARN) of the algorithm.
    creationTime string
    A timestamp specifying when the algorithm was created.
    id string
    The provider-assigned unique ID for this managed resource.
    algorithm_arn str
    The Amazon Resource Name (ARN) of the algorithm.
    creation_time str
    A timestamp specifying when the algorithm was created.
    id str
    The provider-assigned unique ID for this managed resource.
    algorithmArn String
    The Amazon Resource Name (ARN) of the algorithm.
    creationTime String
    A timestamp specifying when the algorithm was created.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AlgorithmCategoricalParameterRangeSpecification, AlgorithmCategoricalParameterRangeSpecificationArgs

    Values List<string>
    Values []string
    values list(string)
    values List<String>
    values string[]
    values Sequence[str]
    values List<String>

    AlgorithmChannelSpecification, AlgorithmChannelSpecificationArgs

    AlgorithmChannelSpecificationSupportedCompressionTypesItem, AlgorithmChannelSpecificationSupportedCompressionTypesItemArgs

    None
    None
    Gzip
    Gzip
    AlgorithmChannelSpecificationSupportedCompressionTypesItemNone
    None
    AlgorithmChannelSpecificationSupportedCompressionTypesItemGzip
    Gzip
    "None"
    None
    "Gzip"
    Gzip
    None
    None
    Gzip
    Gzip
    None
    None
    Gzip
    Gzip
    NONE
    None
    GZIP
    Gzip
    "None"
    None
    "Gzip"
    Gzip

    AlgorithmChannelSpecificationSupportedInputModesItem, AlgorithmChannelSpecificationSupportedInputModesItemArgs

    Pipe
    Pipe
    File
    File
    FastFile
    FastFile
    AlgorithmChannelSpecificationSupportedInputModesItemPipe
    Pipe
    AlgorithmChannelSpecificationSupportedInputModesItemFile
    File
    AlgorithmChannelSpecificationSupportedInputModesItemFastFile
    FastFile
    "Pipe"
    Pipe
    "File"
    File
    "FastFile"
    FastFile
    Pipe
    Pipe
    File
    File
    FastFile
    FastFile
    Pipe
    Pipe
    File
    File
    FastFile
    FastFile
    PIPE
    Pipe
    FILE
    File
    FAST_FILE
    FastFile
    "Pipe"
    Pipe
    "File"
    File
    "FastFile"
    FastFile

    AlgorithmContinuousParameterRangeSpecification, AlgorithmContinuousParameterRangeSpecificationArgs

    MaxValue string
    MinValue string
    MaxValue string
    MinValue string
    max_value string
    min_value string
    maxValue String
    minValue String
    maxValue string
    minValue string
    maxValue String
    minValue String

    AlgorithmHyperParameterSpecification, AlgorithmHyperParameterSpecificationArgs

    AlgorithmHyperParameterSpecificationType, AlgorithmHyperParameterSpecificationTypeArgs

    Integer
    Integer
    Continuous
    Continuous
    Categorical
    Categorical
    FreeText
    FreeText
    AlgorithmHyperParameterSpecificationTypeInteger
    Integer
    AlgorithmHyperParameterSpecificationTypeContinuous
    Continuous
    AlgorithmHyperParameterSpecificationTypeCategorical
    Categorical
    AlgorithmHyperParameterSpecificationTypeFreeText
    FreeText
    "Integer"
    Integer
    "Continuous"
    Continuous
    "Categorical"
    Categorical
    "FreeText"
    FreeText
    Integer
    Integer
    Continuous
    Continuous
    Categorical
    Categorical
    FreeText
    FreeText
    Integer
    Integer
    Continuous
    Continuous
    Categorical
    Categorical
    FreeText
    FreeText
    INTEGER
    Integer
    CONTINUOUS
    Continuous
    CATEGORICAL
    Categorical
    FREE_TEXT
    FreeText
    "Integer"
    Integer
    "Continuous"
    Continuous
    "Categorical"
    Categorical
    "FreeText"
    FreeText

    AlgorithmHyperParameterTuningJobObjective, AlgorithmHyperParameterTuningJobObjectiveArgs

    AlgorithmHyperParameterTuningJobObjectiveType, AlgorithmHyperParameterTuningJobObjectiveTypeArgs

    Maximize
    Maximize
    Minimize
    Minimize
    AlgorithmHyperParameterTuningJobObjectiveTypeMaximize
    Maximize
    AlgorithmHyperParameterTuningJobObjectiveTypeMinimize
    Minimize
    "Maximize"
    Maximize
    "Minimize"
    Minimize
    Maximize
    Maximize
    Minimize
    Minimize
    Maximize
    Maximize
    Minimize
    Minimize
    MAXIMIZE
    Maximize
    MINIMIZE
    Minimize
    "Maximize"
    Maximize
    "Minimize"
    Minimize

    AlgorithmInferenceSpecification, AlgorithmInferenceSpecificationArgs

    AlgorithmIntegerParameterRangeSpecification, AlgorithmIntegerParameterRangeSpecificationArgs

    MaxValue string
    MinValue string
    MaxValue string
    MinValue string
    max_value string
    min_value string
    maxValue String
    minValue String
    maxValue string
    minValue string
    maxValue String
    minValue String

    AlgorithmMetricDefinition, AlgorithmMetricDefinitionArgs

    Name string
    Regex string
    Name string
    Regex string
    name string
    regex string
    name String
    regex String
    name string
    regex string
    name str
    regex str
    name String
    regex String

    AlgorithmModelInput, AlgorithmModelInputArgs

    AlgorithmModelPackageContainerDefinition, AlgorithmModelPackageContainerDefinitionArgs

    AlgorithmParameterRange, AlgorithmParameterRangeArgs

    AlgorithmTrainingSpecification, AlgorithmTrainingSpecificationArgs

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.73.1
    published on Monday, Jul 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial