published on Thursday, May 14, 2026 by Pulumi
published on Thursday, May 14, 2026 by Pulumi
Manages an AWS SageMaker AI Hyper Parameter Tuning Job.
NOTE: This resource does not wait for the tuning job to complete before returning. Terraform may complete apply before the job reaches a terminal state.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sagemaker.HyperParameterTuningJob("example", {
name: "example",
config: {
strategy: "Bayesian",
objective: {
metricName: "test:msd",
type: "Minimize",
},
parameterRanges: {
categoricalParameterRanges: [{
name: "init_method",
values: [
"kmeans++",
"random",
],
}],
integerParameterRanges: [
{
name: "epochs",
minValue: "1",
maxValue: "10",
scalingType: "Auto",
},
{
name: "extra_center_factor",
minValue: "4",
maxValue: "10",
scalingType: "Auto",
},
{
name: "mini_batch_size",
minValue: "3000",
maxValue: "15000",
scalingType: "Auto",
},
],
},
resourceLimits: {
maxNumberOfTrainingJobs: 2,
maxParallelTrainingJobs: 1,
},
},
trainingJobDefinition: {
roleArn: "arn:aws:iam::123456789012:role/example-sagemaker-execution-role",
algorithmSpecification: {
trainingImage: "174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1",
trainingInputMode: "File",
},
staticHyperParameters: {
feature_dim: "3",
k: "2",
},
inputDataConfigs: [
{
channelName: "train",
contentType: "text/csv",
inputMode: "File",
dataSource: {
s3DataSource: {
s3DataType: "S3Prefix",
s3Uri: "s3://example-bucket/input/",
},
},
},
{
channelName: "test",
contentType: "text/csv",
inputMode: "File",
dataSource: {
s3DataSource: {
s3DataType: "S3Prefix",
s3Uri: "s3://example-bucket/input/",
},
},
},
],
outputDataConfig: {
s3OutputPath: "s3://example-bucket/output/",
},
resourceConfig: {
instanceCount: 1,
instanceType: "ml.m5.large",
volumeSizeInGb: 30,
},
stoppingCondition: {
maxRuntimeInSeconds: 3600,
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.sagemaker.HyperParameterTuningJob("example",
name="example",
config={
"strategy": "Bayesian",
"objective": {
"metric_name": "test:msd",
"type": "Minimize",
},
"parameter_ranges": {
"categorical_parameter_ranges": [{
"name": "init_method",
"values": [
"kmeans++",
"random",
],
}],
"integer_parameter_ranges": [
{
"name": "epochs",
"min_value": "1",
"max_value": "10",
"scaling_type": "Auto",
},
{
"name": "extra_center_factor",
"min_value": "4",
"max_value": "10",
"scaling_type": "Auto",
},
{
"name": "mini_batch_size",
"min_value": "3000",
"max_value": "15000",
"scaling_type": "Auto",
},
],
},
"resource_limits": {
"max_number_of_training_jobs": 2,
"max_parallel_training_jobs": 1,
},
},
training_job_definition={
"role_arn": "arn:aws:iam::123456789012:role/example-sagemaker-execution-role",
"algorithm_specification": {
"training_image": "174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1",
"training_input_mode": "File",
},
"static_hyper_parameters": {
"feature_dim": "3",
"k": "2",
},
"input_data_configs": [
{
"channel_name": "train",
"content_type": "text/csv",
"input_mode": "File",
"data_source": {
"s3_data_source": {
"s3_data_type": "S3Prefix",
"s3_uri": "s3://example-bucket/input/",
},
},
},
{
"channel_name": "test",
"content_type": "text/csv",
"input_mode": "File",
"data_source": {
"s3_data_source": {
"s3_data_type": "S3Prefix",
"s3_uri": "s3://example-bucket/input/",
},
},
},
],
"output_data_config": {
"s3_output_path": "s3://example-bucket/output/",
},
"resource_config": {
"instance_count": 1,
"instance_type": "ml.m5.large",
"volume_size_in_gb": 30,
},
"stopping_condition": {
"max_runtime_in_seconds": 3600,
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sagemaker.NewHyperParameterTuningJob(ctx, "example", &sagemaker.HyperParameterTuningJobArgs{
Name: pulumi.String("example"),
Config: &sagemaker.HyperParameterTuningJobConfigArgs{
Strategy: pulumi.String("Bayesian"),
Objective: &sagemaker.HyperParameterTuningJobConfigObjectiveArgs{
MetricName: pulumi.String("test:msd"),
Type: pulumi.String("Minimize"),
},
ParameterRanges: &sagemaker.HyperParameterTuningJobConfigParameterRangesArgs{
CategoricalParameterRanges: sagemaker.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs{
Name: pulumi.String("init_method"),
Values: pulumi.StringArray{
pulumi.String("kmeans++"),
pulumi.String("random"),
},
},
},
IntegerParameterRanges: sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs{
Name: pulumi.String("epochs"),
MinValue: pulumi.String("1"),
MaxValue: pulumi.String("10"),
ScalingType: pulumi.String("Auto"),
},
&sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs{
Name: pulumi.String("extra_center_factor"),
MinValue: pulumi.String("4"),
MaxValue: pulumi.String("10"),
ScalingType: pulumi.String("Auto"),
},
&sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs{
Name: pulumi.String("mini_batch_size"),
MinValue: pulumi.String("3000"),
MaxValue: pulumi.String("15000"),
ScalingType: pulumi.String("Auto"),
},
},
},
ResourceLimits: &sagemaker.HyperParameterTuningJobConfigResourceLimitsArgs{
MaxNumberOfTrainingJobs: pulumi.Int(2),
MaxParallelTrainingJobs: pulumi.Int(1),
},
},
TrainingJobDefinition: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionArgs{
RoleArn: pulumi.String("arn:aws:iam::123456789012:role/example-sagemaker-execution-role"),
AlgorithmSpecification: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs{
TrainingImage: pulumi.String("174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1"),
TrainingInputMode: pulumi.String("File"),
},
StaticHyperParameters: pulumi.StringMap{
"feature_dim": pulumi.String("3"),
"k": pulumi.String("2"),
},
InputDataConfigs: sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs{
ChannelName: pulumi.String("train"),
ContentType: pulumi.String("text/csv"),
InputMode: pulumi.String("File"),
DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs{
S3DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs{
S3DataType: pulumi.String("S3Prefix"),
S3Uri: pulumi.String("s3://example-bucket/input/"),
},
},
},
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs{
ChannelName: pulumi.String("test"),
ContentType: pulumi.String("text/csv"),
InputMode: pulumi.String("File"),
DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs{
S3DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs{
S3DataType: pulumi.String("S3Prefix"),
S3Uri: pulumi.String("s3://example-bucket/input/"),
},
},
},
},
OutputDataConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs{
S3OutputPath: pulumi.String("s3://example-bucket/output/"),
},
ResourceConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs{
InstanceCount: pulumi.Int(1),
InstanceType: pulumi.String("ml.m5.large"),
VolumeSizeInGb: pulumi.Int(30),
},
StoppingCondition: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs{
MaxRuntimeInSeconds: pulumi.Int(3600),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Sagemaker.HyperParameterTuningJob("example", new()
{
Name = "example",
Config = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigArgs
{
Strategy = "Bayesian",
Objective = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigObjectiveArgs
{
MetricName = "test:msd",
Type = "Minimize",
},
ParameterRanges = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesArgs
{
CategoricalParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs
{
Name = "init_method",
Values = new[]
{
"kmeans++",
"random",
},
},
},
IntegerParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs
{
Name = "epochs",
MinValue = "1",
MaxValue = "10",
ScalingType = "Auto",
},
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs
{
Name = "extra_center_factor",
MinValue = "4",
MaxValue = "10",
ScalingType = "Auto",
},
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs
{
Name = "mini_batch_size",
MinValue = "3000",
MaxValue = "15000",
ScalingType = "Auto",
},
},
},
ResourceLimits = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigResourceLimitsArgs
{
MaxNumberOfTrainingJobs = 2,
MaxParallelTrainingJobs = 1,
},
},
TrainingJobDefinition = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionArgs
{
RoleArn = "arn:aws:iam::123456789012:role/example-sagemaker-execution-role",
AlgorithmSpecification = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs
{
TrainingImage = "174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1",
TrainingInputMode = "File",
},
StaticHyperParameters =
{
{ "feature_dim", "3" },
{ "k", "2" },
},
InputDataConfigs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs
{
ChannelName = "train",
ContentType = "text/csv",
InputMode = "File",
DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs
{
S3DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs
{
S3DataType = "S3Prefix",
S3Uri = "s3://example-bucket/input/",
},
},
},
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs
{
ChannelName = "test",
ContentType = "text/csv",
InputMode = "File",
DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs
{
S3DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs
{
S3DataType = "S3Prefix",
S3Uri = "s3://example-bucket/input/",
},
},
},
},
OutputDataConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs
{
S3OutputPath = "s3://example-bucket/output/",
},
ResourceConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs
{
InstanceCount = 1,
InstanceType = "ml.m5.large",
VolumeSizeInGb = 30,
},
StoppingCondition = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs
{
MaxRuntimeInSeconds = 3600,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.HyperParameterTuningJob;
import com.pulumi.aws.sagemaker.HyperParameterTuningJobArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobConfigArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobConfigObjectiveArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobConfigParameterRangesArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobConfigResourceLimitsArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobTrainingJobDefinitionArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs;
import com.pulumi.aws.sagemaker.inputs.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new HyperParameterTuningJob("example", HyperParameterTuningJobArgs.builder()
.name("example")
.config(HyperParameterTuningJobConfigArgs.builder()
.strategy("Bayesian")
.objective(HyperParameterTuningJobConfigObjectiveArgs.builder()
.metricName("test:msd")
.type("Minimize")
.build())
.parameterRanges(HyperParameterTuningJobConfigParameterRangesArgs.builder()
.categoricalParameterRanges(HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs.builder()
.name("init_method")
.values(
"kmeans++",
"random")
.build())
.integerParameterRanges(
HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs.builder()
.name("epochs")
.minValue("1")
.maxValue("10")
.scalingType("Auto")
.build(),
HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs.builder()
.name("extra_center_factor")
.minValue("4")
.maxValue("10")
.scalingType("Auto")
.build(),
HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs.builder()
.name("mini_batch_size")
.minValue("3000")
.maxValue("15000")
.scalingType("Auto")
.build())
.build())
.resourceLimits(HyperParameterTuningJobConfigResourceLimitsArgs.builder()
.maxNumberOfTrainingJobs(2)
.maxParallelTrainingJobs(1)
.build())
.build())
.trainingJobDefinition(HyperParameterTuningJobTrainingJobDefinitionArgs.builder()
.roleArn("arn:aws:iam::123456789012:role/example-sagemaker-execution-role")
.algorithmSpecification(HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs.builder()
.trainingImage("174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1")
.trainingInputMode("File")
.build())
.staticHyperParameters(Map.ofEntries(
Map.entry("feature_dim", "3"),
Map.entry("k", "2")
))
.inputDataConfigs(
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs.builder()
.channelName("train")
.contentType("text/csv")
.inputMode("File")
.dataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs.builder()
.s3DataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs.builder()
.s3DataType("S3Prefix")
.s3Uri("s3://example-bucket/input/")
.build())
.build())
.build(),
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs.builder()
.channelName("test")
.contentType("text/csv")
.inputMode("File")
.dataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs.builder()
.s3DataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs.builder()
.s3DataType("S3Prefix")
.s3Uri("s3://example-bucket/input/")
.build())
.build())
.build())
.outputDataConfig(HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs.builder()
.s3OutputPath("s3://example-bucket/output/")
.build())
.resourceConfig(HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs.builder()
.instanceCount(1)
.instanceType("ml.m5.large")
.volumeSizeInGb(30)
.build())
.stoppingCondition(HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs.builder()
.maxRuntimeInSeconds(3600)
.build())
.build())
.build());
}
}
resources:
example:
type: aws:sagemaker:HyperParameterTuningJob
properties:
name: example
config:
strategy: Bayesian
objective:
metricName: test:msd
type: Minimize
parameterRanges:
categoricalParameterRanges:
- name: init_method
values:
- kmeans++
- random
integerParameterRanges:
- name: epochs
minValue: '1'
maxValue: '10'
scalingType: Auto
- name: extra_center_factor
minValue: '4'
maxValue: '10'
scalingType: Auto
- name: mini_batch_size
minValue: '3000'
maxValue: '15000'
scalingType: Auto
resourceLimits:
maxNumberOfTrainingJobs: 2
maxParallelTrainingJobs: 1
trainingJobDefinition:
roleArn: arn:aws:iam::123456789012:role/example-sagemaker-execution-role
algorithmSpecification:
trainingImage: 174872318107.dkr.ecr.us-west-2.amazonaws.com/kmeans:1
trainingInputMode: File
staticHyperParameters:
feature_dim: '3'
k: '2'
inputDataConfigs:
- channelName: train
contentType: text/csv
inputMode: File
dataSource:
s3DataSource:
s3DataType: S3Prefix
s3Uri: s3://example-bucket/input/
- channelName: test
contentType: text/csv
inputMode: File
dataSource:
s3DataSource:
s3DataType: S3Prefix
s3Uri: s3://example-bucket/input/
outputDataConfig:
s3OutputPath: s3://example-bucket/output/
resourceConfig:
instanceCount: 1
instanceType: ml.m5.large
volumeSizeInGb: 30
stoppingCondition:
maxRuntimeInSeconds: 3600
Example coming soon!
Create HyperParameterTuningJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HyperParameterTuningJob(name: string, args: HyperParameterTuningJobArgs, opts?: CustomResourceOptions);@overload
def HyperParameterTuningJob(resource_name: str,
args: HyperParameterTuningJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HyperParameterTuningJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[HyperParameterTuningJobConfigArgs] = None,
autotune: Optional[HyperParameterTuningJobAutotuneArgs] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[HyperParameterTuningJobTimeoutsArgs] = None,
training_job_definition: Optional[HyperParameterTuningJobTrainingJobDefinitionArgs] = None,
training_job_definitions: Optional[Sequence[HyperParameterTuningJobTrainingJobDefinitionArgs]] = None,
warm_start_config: Optional[HyperParameterTuningJobWarmStartConfigArgs] = None)func NewHyperParameterTuningJob(ctx *Context, name string, args HyperParameterTuningJobArgs, opts ...ResourceOption) (*HyperParameterTuningJob, error)public HyperParameterTuningJob(string name, HyperParameterTuningJobArgs args, CustomResourceOptions? opts = null)
public HyperParameterTuningJob(String name, HyperParameterTuningJobArgs args)
public HyperParameterTuningJob(String name, HyperParameterTuningJobArgs args, CustomResourceOptions options)
type: aws:sagemaker:HyperParameterTuningJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_sagemaker_hyperparametertuningjob" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HyperParameterTuningJobArgs
- 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 HyperParameterTuningJobArgs
- 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 HyperParameterTuningJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HyperParameterTuningJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HyperParameterTuningJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var hyperParameterTuningJobResource = new Aws.Sagemaker.HyperParameterTuningJob("hyperParameterTuningJobResource", new()
{
Config = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigArgs
{
ResourceLimits = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigResourceLimitsArgs
{
MaxParallelTrainingJobs = 0,
MaxNumberOfTrainingJobs = 0,
MaxRuntimeInSeconds = 0,
},
Strategy = "string",
Objective = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigObjectiveArgs
{
MetricName = "string",
Type = "string",
},
ParameterRanges = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesArgs
{
AutoParameters = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesAutoParameterArgs
{
Name = "string",
ValueHint = "string",
},
},
CategoricalParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
ContinuousParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesContinuousParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
IntegerParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
},
RandomSeed = 0,
StrategyConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigStrategyConfigArgs
{
HyperbandStrategyConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigStrategyConfigHyperbandStrategyConfigArgs
{
MaxResource = 0,
MinResource = 0,
},
},
TrainingJobEarlyStoppingType = "string",
TuningJobCompletionCriteria = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigTuningJobCompletionCriteriaArgs
{
BestObjectiveNotImproving = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigTuningJobCompletionCriteriaBestObjectiveNotImprovingArgs
{
MaxNumberOfTrainingJobsNotImproving = 0,
},
ConvergenceDetected = new Aws.Sagemaker.Inputs.HyperParameterTuningJobConfigTuningJobCompletionCriteriaConvergenceDetectedArgs
{
CompleteOnConvergence = "string",
},
TargetObjectiveMetricValue = 0,
},
},
Autotune = new Aws.Sagemaker.Inputs.HyperParameterTuningJobAutotuneArgs
{
Mode = "string",
},
Name = "string",
Region = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTimeoutsArgs
{
Create = "string",
Delete = "string",
},
TrainingJobDefinition = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionArgs
{
AlgorithmSpecification = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs
{
TrainingInputMode = "string",
AlgorithmName = "string",
MetricDefinitions = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs
{
Name = "string",
Regex = "string",
},
},
TrainingImage = "string",
},
StoppingCondition = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs
{
MaxPendingTimeInSeconds = 0,
MaxRuntimeInSeconds = 0,
MaxWaitTimeInSeconds = 0,
},
RoleArn = "string",
OutputDataConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs
{
S3OutputPath = "string",
CompressionType = "string",
KmsKeyId = "string",
},
HyperParameterTuningResourceConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs
{
AllocationStrategy = "string",
InstanceConfigs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs
{
InstanceCount = 0,
InstanceType = "string",
VolumeSizeInGb = 0,
},
},
InstanceCount = 0,
InstanceType = "string",
VolumeKmsKeyId = "string",
VolumeSizeInGb = 0,
},
ResourceConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs
{
InstanceCount = 0,
InstanceGroups = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs
{
InstanceCount = 0,
InstanceGroupName = "string",
InstanceType = "string",
},
},
InstancePlacementConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs
{
EnableMultipleJobs = false,
PlacementSpecifications = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs
{
InstanceCount = 0,
UltraServerId = "string",
},
},
},
InstanceType = "string",
KeepAlivePeriodInSeconds = 0,
TrainingPlanArn = "string",
VolumeKmsKeyId = "string",
VolumeSizeInGb = 0,
},
Environment =
{
{ "string", "string" },
},
HyperParameterRanges = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs
{
AutoParameters = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs
{
Name = "string",
ValueHint = "string",
},
},
CategoricalParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
ContinuousParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
IntegerParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
},
EnableManagedSpotTraining = false,
InputDataConfigs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs
{
ChannelName = "string",
DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs
{
FileSystemDataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs
{
DirectoryPath = "string",
FileSystemAccessMode = "string",
FileSystemId = "string",
FileSystemType = "string",
},
S3DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs
{
S3DataType = "string",
S3Uri = "string",
AttributeNames = new[]
{
"string",
},
HubAccessConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs
{
HubContentArn = "string",
},
InstanceGroupNames = new[]
{
"string",
},
ModelAccessConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs
{
AcceptEula = false,
},
S3DataDistributionType = "string",
},
},
CompressionType = "string",
ContentType = "string",
InputMode = "string",
RecordWrapperType = "string",
ShuffleConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs
{
Seed = 0,
},
},
},
EnableInterContainerTrafficEncryption = false,
EnableNetworkIsolation = false,
RetryStrategies = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs
{
MaximumRetryAttempts = 0,
},
},
DefinitionName = "string",
StaticHyperParameters =
{
{ "string", "string" },
},
CheckpointConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs
{
S3Uri = "string",
LocalPath = "string",
},
TuningObjective = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs
{
MetricName = "string",
Type = "string",
},
VpcConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs
{
SecurityGroupIds = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
},
},
TrainingJobDefinitions = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionArgs
{
AlgorithmSpecification = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs
{
TrainingInputMode = "string",
AlgorithmName = "string",
MetricDefinitions = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs
{
Name = "string",
Regex = "string",
},
},
TrainingImage = "string",
},
StoppingCondition = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs
{
MaxPendingTimeInSeconds = 0,
MaxRuntimeInSeconds = 0,
MaxWaitTimeInSeconds = 0,
},
RoleArn = "string",
OutputDataConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs
{
S3OutputPath = "string",
CompressionType = "string",
KmsKeyId = "string",
},
HyperParameterTuningResourceConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs
{
AllocationStrategy = "string",
InstanceConfigs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs
{
InstanceCount = 0,
InstanceType = "string",
VolumeSizeInGb = 0,
},
},
InstanceCount = 0,
InstanceType = "string",
VolumeKmsKeyId = "string",
VolumeSizeInGb = 0,
},
ResourceConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs
{
InstanceCount = 0,
InstanceGroups = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs
{
InstanceCount = 0,
InstanceGroupName = "string",
InstanceType = "string",
},
},
InstancePlacementConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs
{
EnableMultipleJobs = false,
PlacementSpecifications = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs
{
InstanceCount = 0,
UltraServerId = "string",
},
},
},
InstanceType = "string",
KeepAlivePeriodInSeconds = 0,
TrainingPlanArn = "string",
VolumeKmsKeyId = "string",
VolumeSizeInGb = 0,
},
Environment =
{
{ "string", "string" },
},
HyperParameterRanges = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs
{
AutoParameters = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs
{
Name = "string",
ValueHint = "string",
},
},
CategoricalParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
ContinuousParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
IntegerParameterRanges = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs
{
MaxValue = "string",
MinValue = "string",
Name = "string",
ScalingType = "string",
},
},
},
EnableManagedSpotTraining = false,
InputDataConfigs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs
{
ChannelName = "string",
DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs
{
FileSystemDataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs
{
DirectoryPath = "string",
FileSystemAccessMode = "string",
FileSystemId = "string",
FileSystemType = "string",
},
S3DataSource = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs
{
S3DataType = "string",
S3Uri = "string",
AttributeNames = new[]
{
"string",
},
HubAccessConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs
{
HubContentArn = "string",
},
InstanceGroupNames = new[]
{
"string",
},
ModelAccessConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs
{
AcceptEula = false,
},
S3DataDistributionType = "string",
},
},
CompressionType = "string",
ContentType = "string",
InputMode = "string",
RecordWrapperType = "string",
ShuffleConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs
{
Seed = 0,
},
},
},
EnableInterContainerTrafficEncryption = false,
EnableNetworkIsolation = false,
RetryStrategies = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs
{
MaximumRetryAttempts = 0,
},
},
DefinitionName = "string",
StaticHyperParameters =
{
{ "string", "string" },
},
CheckpointConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs
{
S3Uri = "string",
LocalPath = "string",
},
TuningObjective = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs
{
MetricName = "string",
Type = "string",
},
VpcConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs
{
SecurityGroupIds = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
},
},
},
WarmStartConfig = new Aws.Sagemaker.Inputs.HyperParameterTuningJobWarmStartConfigArgs
{
ParentHyperParameterTuningJobs = new[]
{
new Aws.Sagemaker.Inputs.HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJobArgs
{
Name = "string",
},
},
WarmStartType = "string",
},
});
example, err := sagemaker.NewHyperParameterTuningJob(ctx, "hyperParameterTuningJobResource", &sagemaker.HyperParameterTuningJobArgs{
Config: &sagemaker.HyperParameterTuningJobConfigArgs{
ResourceLimits: &sagemaker.HyperParameterTuningJobConfigResourceLimitsArgs{
MaxParallelTrainingJobs: pulumi.Int(0),
MaxNumberOfTrainingJobs: pulumi.Int(0),
MaxRuntimeInSeconds: pulumi.Int(0),
},
Strategy: pulumi.String("string"),
Objective: &sagemaker.HyperParameterTuningJobConfigObjectiveArgs{
MetricName: pulumi.String("string"),
Type: pulumi.String("string"),
},
ParameterRanges: &sagemaker.HyperParameterTuningJobConfigParameterRangesArgs{
AutoParameters: sagemaker.HyperParameterTuningJobConfigParameterRangesAutoParameterArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesAutoParameterArgs{
Name: pulumi.String("string"),
ValueHint: pulumi.String("string"),
},
},
CategoricalParameterRanges: sagemaker.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ContinuousParameterRanges: sagemaker.HyperParameterTuningJobConfigParameterRangesContinuousParameterRangeArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesContinuousParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
IntegerParameterRanges: sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArray{
&sagemaker.HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
},
RandomSeed: pulumi.Int(0),
StrategyConfig: &sagemaker.HyperParameterTuningJobConfigStrategyConfigArgs{
HyperbandStrategyConfig: &sagemaker.HyperParameterTuningJobConfigStrategyConfigHyperbandStrategyConfigArgs{
MaxResource: pulumi.Int(0),
MinResource: pulumi.Int(0),
},
},
TrainingJobEarlyStoppingType: pulumi.String("string"),
TuningJobCompletionCriteria: &sagemaker.HyperParameterTuningJobConfigTuningJobCompletionCriteriaArgs{
BestObjectiveNotImproving: &sagemaker.HyperParameterTuningJobConfigTuningJobCompletionCriteriaBestObjectiveNotImprovingArgs{
MaxNumberOfTrainingJobsNotImproving: pulumi.Int(0),
},
ConvergenceDetected: &sagemaker.HyperParameterTuningJobConfigTuningJobCompletionCriteriaConvergenceDetectedArgs{
CompleteOnConvergence: pulumi.String("string"),
},
TargetObjectiveMetricValue: pulumi.Float64(0),
},
},
Autotune: &sagemaker.HyperParameterTuningJobAutotuneArgs{
Mode: pulumi.String("string"),
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &sagemaker.HyperParameterTuningJobTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
TrainingJobDefinition: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionArgs{
AlgorithmSpecification: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs{
TrainingInputMode: pulumi.String("string"),
AlgorithmName: pulumi.String("string"),
MetricDefinitions: sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs{
Name: pulumi.String("string"),
Regex: pulumi.String("string"),
},
},
TrainingImage: pulumi.String("string"),
},
StoppingCondition: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs{
MaxPendingTimeInSeconds: pulumi.Int(0),
MaxRuntimeInSeconds: pulumi.Int(0),
MaxWaitTimeInSeconds: pulumi.Int(0),
},
RoleArn: pulumi.String("string"),
OutputDataConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs{
S3OutputPath: pulumi.String("string"),
CompressionType: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
},
HyperParameterTuningResourceConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs{
AllocationStrategy: pulumi.String("string"),
InstanceConfigs: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs{
InstanceCount: pulumi.Int(0),
InstanceType: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
},
InstanceCount: pulumi.Int(0),
InstanceType: pulumi.String("string"),
VolumeKmsKeyId: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
ResourceConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs{
InstanceCount: pulumi.Int(0),
InstanceGroups: sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs{
InstanceCount: pulumi.Int(0),
InstanceGroupName: pulumi.String("string"),
InstanceType: pulumi.String("string"),
},
},
InstancePlacementConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs{
EnableMultipleJobs: pulumi.Bool(false),
PlacementSpecifications: sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs{
InstanceCount: pulumi.Int(0),
UltraServerId: pulumi.String("string"),
},
},
},
InstanceType: pulumi.String("string"),
KeepAlivePeriodInSeconds: pulumi.Int(0),
TrainingPlanArn: pulumi.String("string"),
VolumeKmsKeyId: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
Environment: pulumi.StringMap{
"string": pulumi.String("string"),
},
HyperParameterRanges: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs{
AutoParameters: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs{
Name: pulumi.String("string"),
ValueHint: pulumi.String("string"),
},
},
CategoricalParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ContinuousParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
IntegerParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
},
EnableManagedSpotTraining: pulumi.Bool(false),
InputDataConfigs: sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs{
ChannelName: pulumi.String("string"),
DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs{
FileSystemDataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs{
DirectoryPath: pulumi.String("string"),
FileSystemAccessMode: pulumi.String("string"),
FileSystemId: pulumi.String("string"),
FileSystemType: pulumi.String("string"),
},
S3DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs{
S3DataType: pulumi.String("string"),
S3Uri: pulumi.String("string"),
AttributeNames: pulumi.StringArray{
pulumi.String("string"),
},
HubAccessConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs{
HubContentArn: pulumi.String("string"),
},
InstanceGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
ModelAccessConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs{
AcceptEula: pulumi.Bool(false),
},
S3DataDistributionType: pulumi.String("string"),
},
},
CompressionType: pulumi.String("string"),
ContentType: pulumi.String("string"),
InputMode: pulumi.String("string"),
RecordWrapperType: pulumi.String("string"),
ShuffleConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs{
Seed: pulumi.Int(0),
},
},
},
EnableInterContainerTrafficEncryption: pulumi.Bool(false),
EnableNetworkIsolation: pulumi.Bool(false),
RetryStrategies: sagemaker.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs{
MaximumRetryAttempts: pulumi.Int(0),
},
},
DefinitionName: pulumi.String("string"),
StaticHyperParameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
CheckpointConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs{
S3Uri: pulumi.String("string"),
LocalPath: pulumi.String("string"),
},
TuningObjective: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs{
MetricName: pulumi.String("string"),
Type: pulumi.String("string"),
},
VpcConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
},
TrainingJobDefinitions: sagemaker.HyperParameterTuningJobTrainingJobDefinitionArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionArgs{
AlgorithmSpecification: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs{
TrainingInputMode: pulumi.String("string"),
AlgorithmName: pulumi.String("string"),
MetricDefinitions: sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs{
Name: pulumi.String("string"),
Regex: pulumi.String("string"),
},
},
TrainingImage: pulumi.String("string"),
},
StoppingCondition: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs{
MaxPendingTimeInSeconds: pulumi.Int(0),
MaxRuntimeInSeconds: pulumi.Int(0),
MaxWaitTimeInSeconds: pulumi.Int(0),
},
RoleArn: pulumi.String("string"),
OutputDataConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs{
S3OutputPath: pulumi.String("string"),
CompressionType: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
},
HyperParameterTuningResourceConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs{
AllocationStrategy: pulumi.String("string"),
InstanceConfigs: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs{
InstanceCount: pulumi.Int(0),
InstanceType: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
},
InstanceCount: pulumi.Int(0),
InstanceType: pulumi.String("string"),
VolumeKmsKeyId: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
ResourceConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs{
InstanceCount: pulumi.Int(0),
InstanceGroups: sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs{
InstanceCount: pulumi.Int(0),
InstanceGroupName: pulumi.String("string"),
InstanceType: pulumi.String("string"),
},
},
InstancePlacementConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs{
EnableMultipleJobs: pulumi.Bool(false),
PlacementSpecifications: sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs{
InstanceCount: pulumi.Int(0),
UltraServerId: pulumi.String("string"),
},
},
},
InstanceType: pulumi.String("string"),
KeepAlivePeriodInSeconds: pulumi.Int(0),
TrainingPlanArn: pulumi.String("string"),
VolumeKmsKeyId: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
},
Environment: pulumi.StringMap{
"string": pulumi.String("string"),
},
HyperParameterRanges: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs{
AutoParameters: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs{
Name: pulumi.String("string"),
ValueHint: pulumi.String("string"),
},
},
CategoricalParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ContinuousParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
IntegerParameterRanges: sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs{
MaxValue: pulumi.String("string"),
MinValue: pulumi.String("string"),
Name: pulumi.String("string"),
ScalingType: pulumi.String("string"),
},
},
},
EnableManagedSpotTraining: pulumi.Bool(false),
InputDataConfigs: sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs{
ChannelName: pulumi.String("string"),
DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs{
FileSystemDataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs{
DirectoryPath: pulumi.String("string"),
FileSystemAccessMode: pulumi.String("string"),
FileSystemId: pulumi.String("string"),
FileSystemType: pulumi.String("string"),
},
S3DataSource: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs{
S3DataType: pulumi.String("string"),
S3Uri: pulumi.String("string"),
AttributeNames: pulumi.StringArray{
pulumi.String("string"),
},
HubAccessConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs{
HubContentArn: pulumi.String("string"),
},
InstanceGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
ModelAccessConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs{
AcceptEula: pulumi.Bool(false),
},
S3DataDistributionType: pulumi.String("string"),
},
},
CompressionType: pulumi.String("string"),
ContentType: pulumi.String("string"),
InputMode: pulumi.String("string"),
RecordWrapperType: pulumi.String("string"),
ShuffleConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs{
Seed: pulumi.Int(0),
},
},
},
EnableInterContainerTrafficEncryption: pulumi.Bool(false),
EnableNetworkIsolation: pulumi.Bool(false),
RetryStrategies: sagemaker.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArray{
&sagemaker.HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs{
MaximumRetryAttempts: pulumi.Int(0),
},
},
DefinitionName: pulumi.String("string"),
StaticHyperParameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
CheckpointConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs{
S3Uri: pulumi.String("string"),
LocalPath: pulumi.String("string"),
},
TuningObjective: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs{
MetricName: pulumi.String("string"),
Type: pulumi.String("string"),
},
VpcConfig: &sagemaker.HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
WarmStartConfig: &sagemaker.HyperParameterTuningJobWarmStartConfigArgs{
ParentHyperParameterTuningJobs: sagemaker.HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJobArray{
&sagemaker.HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJobArgs{
Name: pulumi.String("string"),
},
},
WarmStartType: pulumi.String("string"),
},
})
resource "aws_sagemaker_hyperparametertuningjob" "hyperParameterTuningJobResource" {
config = {
resource_limits = {
max_parallel_training_jobs = 0
max_number_of_training_jobs = 0
max_runtime_in_seconds = 0
}
strategy = "string"
objective = {
metric_name = "string"
type = "string"
}
parameter_ranges = {
auto_parameters = [{
"name" = "string"
"valueHint" = "string"
}]
categorical_parameter_ranges = [{
"name" = "string"
"values" = ["string"]
}]
continuous_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
integer_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
}
random_seed = 0
strategy_config = {
hyperband_strategy_config = {
max_resource = 0
min_resource = 0
}
}
training_job_early_stopping_type = "string"
tuning_job_completion_criteria = {
best_objective_not_improving = {
max_number_of_training_jobs_not_improving = 0
}
convergence_detected = {
complete_on_convergence = "string"
}
target_objective_metric_value = 0
}
}
autotune = {
mode = "string"
}
name = "string"
region = "string"
tags = {
"string" = "string"
}
timeouts = {
create = "string"
delete = "string"
}
training_job_definition = {
algorithm_specification = {
training_input_mode = "string"
algorithm_name = "string"
metric_definitions = [{
"name" = "string"
"regex" = "string"
}]
training_image = "string"
}
stopping_condition = {
max_pending_time_in_seconds = 0
max_runtime_in_seconds = 0
max_wait_time_in_seconds = 0
}
role_arn = "string"
output_data_config = {
s3_output_path = "string"
compression_type = "string"
kms_key_id = "string"
}
hyper_parameter_tuning_resource_config = {
allocation_strategy = "string"
instance_configs = [{
"instanceCount" = 0
"instanceType" = "string"
"volumeSizeInGb" = 0
}]
instance_count = 0
instance_type = "string"
volume_kms_key_id = "string"
volume_size_in_gb = 0
}
resource_config = {
instance_count = 0
instance_groups = [{
"instanceCount" = 0
"instanceGroupName" = "string"
"instanceType" = "string"
}]
instance_placement_config = {
enable_multiple_jobs = false
placement_specifications = [{
"instanceCount" = 0
"ultraServerId" = "string"
}]
}
instance_type = "string"
keep_alive_period_in_seconds = 0
training_plan_arn = "string"
volume_kms_key_id = "string"
volume_size_in_gb = 0
}
environment = {
"string" = "string"
}
hyper_parameter_ranges = {
auto_parameters = [{
"name" = "string"
"valueHint" = "string"
}]
categorical_parameter_ranges = [{
"name" = "string"
"values" = ["string"]
}]
continuous_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
integer_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
}
enable_managed_spot_training = false
input_data_configs = [{
"channelName" = "string"
"dataSource" = {
"fileSystemDataSource" = {
"directoryPath" = "string"
"fileSystemAccessMode" = "string"
"fileSystemId" = "string"
"fileSystemType" = "string"
}
"s3DataSource" = {
"s3DataType" = "string"
"s3Uri" = "string"
"attributeNames" = ["string"]
"hubAccessConfig" = {
"hubContentArn" = "string"
}
"instanceGroupNames" = ["string"]
"modelAccessConfig" = {
"acceptEula" = false
}
"s3DataDistributionType" = "string"
}
}
"compressionType" = "string"
"contentType" = "string"
"inputMode" = "string"
"recordWrapperType" = "string"
"shuffleConfig" = {
"seed" = 0
}
}]
enable_inter_container_traffic_encryption = false
enable_network_isolation = false
retry_strategies = [{
"maximumRetryAttempts" = 0
}]
definition_name = "string"
static_hyper_parameters = {
"string" = "string"
}
checkpoint_config = {
s3_uri = "string"
local_path = "string"
}
tuning_objective = {
metric_name = "string"
type = "string"
}
vpc_config = {
security_group_ids = ["string"]
subnets = ["string"]
}
}
training_job_definitions {
algorithm_specification = {
training_input_mode = "string"
algorithm_name = "string"
metric_definitions = [{
"name" = "string"
"regex" = "string"
}]
training_image = "string"
}
stopping_condition = {
max_pending_time_in_seconds = 0
max_runtime_in_seconds = 0
max_wait_time_in_seconds = 0
}
role_arn = "string"
output_data_config = {
s3_output_path = "string"
compression_type = "string"
kms_key_id = "string"
}
hyper_parameter_tuning_resource_config = {
allocation_strategy = "string"
instance_configs = [{
"instanceCount" = 0
"instanceType" = "string"
"volumeSizeInGb" = 0
}]
instance_count = 0
instance_type = "string"
volume_kms_key_id = "string"
volume_size_in_gb = 0
}
resource_config = {
instance_count = 0
instance_groups = [{
"instanceCount" = 0
"instanceGroupName" = "string"
"instanceType" = "string"
}]
instance_placement_config = {
enable_multiple_jobs = false
placement_specifications = [{
"instanceCount" = 0
"ultraServerId" = "string"
}]
}
instance_type = "string"
keep_alive_period_in_seconds = 0
training_plan_arn = "string"
volume_kms_key_id = "string"
volume_size_in_gb = 0
}
environment = {
"string" = "string"
}
hyper_parameter_ranges = {
auto_parameters = [{
"name" = "string"
"valueHint" = "string"
}]
categorical_parameter_ranges = [{
"name" = "string"
"values" = ["string"]
}]
continuous_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
integer_parameter_ranges = [{
"maxValue" = "string"
"minValue" = "string"
"name" = "string"
"scalingType" = "string"
}]
}
enable_managed_spot_training = false
input_data_configs {
channel_name = "string"
data_source = {
file_system_data_source = {
directory_path = "string"
file_system_access_mode = "string"
file_system_id = "string"
file_system_type = "string"
}
s3_data_source = {
s3_data_type = "string"
s3_uri = "string"
attribute_names = ["string"]
hub_access_config = {
hub_content_arn = "string"
}
instance_group_names = ["string"]
model_access_config = {
accept_eula = false
}
s3_data_distribution_type = "string"
}
}
compression_type = "string"
content_type = "string"
input_mode = "string"
record_wrapper_type = "string"
shuffle_config = {
seed = 0
}
}
enable_inter_container_traffic_encryption = false
enable_network_isolation = false
retry_strategies {
maximum_retry_attempts = 0
}
definition_name = "string"
static_hyper_parameters = {
"string" = "string"
}
checkpoint_config = {
s3_uri = "string"
local_path = "string"
}
tuning_objective = {
metric_name = "string"
type = "string"
}
vpc_config = {
security_group_ids = ["string"]
subnets = ["string"]
}
}
warm_start_config = {
parent_hyper_parameter_tuning_jobs = [{
"name" = "string"
}]
warm_start_type = "string"
}
}
var hyperParameterTuningJobResource = new HyperParameterTuningJob("hyperParameterTuningJobResource", HyperParameterTuningJobArgs.builder()
.config(HyperParameterTuningJobConfigArgs.builder()
.resourceLimits(HyperParameterTuningJobConfigResourceLimitsArgs.builder()
.maxParallelTrainingJobs(0)
.maxNumberOfTrainingJobs(0)
.maxRuntimeInSeconds(0)
.build())
.strategy("string")
.objective(HyperParameterTuningJobConfigObjectiveArgs.builder()
.metricName("string")
.type("string")
.build())
.parameterRanges(HyperParameterTuningJobConfigParameterRangesArgs.builder()
.autoParameters(HyperParameterTuningJobConfigParameterRangesAutoParameterArgs.builder()
.name("string")
.valueHint("string")
.build())
.categoricalParameterRanges(HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs.builder()
.name("string")
.values("string")
.build())
.continuousParameterRanges(HyperParameterTuningJobConfigParameterRangesContinuousParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.integerParameterRanges(HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.build())
.randomSeed(0)
.strategyConfig(HyperParameterTuningJobConfigStrategyConfigArgs.builder()
.hyperbandStrategyConfig(HyperParameterTuningJobConfigStrategyConfigHyperbandStrategyConfigArgs.builder()
.maxResource(0)
.minResource(0)
.build())
.build())
.trainingJobEarlyStoppingType("string")
.tuningJobCompletionCriteria(HyperParameterTuningJobConfigTuningJobCompletionCriteriaArgs.builder()
.bestObjectiveNotImproving(HyperParameterTuningJobConfigTuningJobCompletionCriteriaBestObjectiveNotImprovingArgs.builder()
.maxNumberOfTrainingJobsNotImproving(0)
.build())
.convergenceDetected(HyperParameterTuningJobConfigTuningJobCompletionCriteriaConvergenceDetectedArgs.builder()
.completeOnConvergence("string")
.build())
.targetObjectiveMetricValue(0.0)
.build())
.build())
.autotune(HyperParameterTuningJobAutotuneArgs.builder()
.mode("string")
.build())
.name("string")
.region("string")
.tags(Map.of("string", "string"))
.timeouts(HyperParameterTuningJobTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.trainingJobDefinition(HyperParameterTuningJobTrainingJobDefinitionArgs.builder()
.algorithmSpecification(HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs.builder()
.trainingInputMode("string")
.algorithmName("string")
.metricDefinitions(HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs.builder()
.name("string")
.regex("string")
.build())
.trainingImage("string")
.build())
.stoppingCondition(HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs.builder()
.maxPendingTimeInSeconds(0)
.maxRuntimeInSeconds(0)
.maxWaitTimeInSeconds(0)
.build())
.roleArn("string")
.outputDataConfig(HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs.builder()
.s3OutputPath("string")
.compressionType("string")
.kmsKeyId("string")
.build())
.hyperParameterTuningResourceConfig(HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs.builder()
.allocationStrategy("string")
.instanceConfigs(HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs.builder()
.instanceCount(0)
.instanceType("string")
.volumeSizeInGb(0)
.build())
.instanceCount(0)
.instanceType("string")
.volumeKmsKeyId("string")
.volumeSizeInGb(0)
.build())
.resourceConfig(HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs.builder()
.instanceCount(0)
.instanceGroups(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs.builder()
.instanceCount(0)
.instanceGroupName("string")
.instanceType("string")
.build())
.instancePlacementConfig(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs.builder()
.enableMultipleJobs(false)
.placementSpecifications(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs.builder()
.instanceCount(0)
.ultraServerId("string")
.build())
.build())
.instanceType("string")
.keepAlivePeriodInSeconds(0)
.trainingPlanArn("string")
.volumeKmsKeyId("string")
.volumeSizeInGb(0)
.build())
.environment(Map.of("string", "string"))
.hyperParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs.builder()
.autoParameters(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs.builder()
.name("string")
.valueHint("string")
.build())
.categoricalParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs.builder()
.name("string")
.values("string")
.build())
.continuousParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.integerParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.build())
.enableManagedSpotTraining(false)
.inputDataConfigs(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs.builder()
.channelName("string")
.dataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs.builder()
.fileSystemDataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs.builder()
.directoryPath("string")
.fileSystemAccessMode("string")
.fileSystemId("string")
.fileSystemType("string")
.build())
.s3DataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs.builder()
.s3DataType("string")
.s3Uri("string")
.attributeNames("string")
.hubAccessConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs.builder()
.hubContentArn("string")
.build())
.instanceGroupNames("string")
.modelAccessConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs.builder()
.acceptEula(false)
.build())
.s3DataDistributionType("string")
.build())
.build())
.compressionType("string")
.contentType("string")
.inputMode("string")
.recordWrapperType("string")
.shuffleConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs.builder()
.seed(0)
.build())
.build())
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.retryStrategies(HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs.builder()
.maximumRetryAttempts(0)
.build())
.definitionName("string")
.staticHyperParameters(Map.of("string", "string"))
.checkpointConfig(HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs.builder()
.s3Uri("string")
.localPath("string")
.build())
.tuningObjective(HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs.builder()
.metricName("string")
.type("string")
.build())
.vpcConfig(HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs.builder()
.securityGroupIds("string")
.subnets("string")
.build())
.build())
.trainingJobDefinitions(HyperParameterTuningJobTrainingJobDefinitionArgs.builder()
.algorithmSpecification(HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs.builder()
.trainingInputMode("string")
.algorithmName("string")
.metricDefinitions(HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs.builder()
.name("string")
.regex("string")
.build())
.trainingImage("string")
.build())
.stoppingCondition(HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs.builder()
.maxPendingTimeInSeconds(0)
.maxRuntimeInSeconds(0)
.maxWaitTimeInSeconds(0)
.build())
.roleArn("string")
.outputDataConfig(HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs.builder()
.s3OutputPath("string")
.compressionType("string")
.kmsKeyId("string")
.build())
.hyperParameterTuningResourceConfig(HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs.builder()
.allocationStrategy("string")
.instanceConfigs(HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs.builder()
.instanceCount(0)
.instanceType("string")
.volumeSizeInGb(0)
.build())
.instanceCount(0)
.instanceType("string")
.volumeKmsKeyId("string")
.volumeSizeInGb(0)
.build())
.resourceConfig(HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs.builder()
.instanceCount(0)
.instanceGroups(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs.builder()
.instanceCount(0)
.instanceGroupName("string")
.instanceType("string")
.build())
.instancePlacementConfig(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs.builder()
.enableMultipleJobs(false)
.placementSpecifications(HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs.builder()
.instanceCount(0)
.ultraServerId("string")
.build())
.build())
.instanceType("string")
.keepAlivePeriodInSeconds(0)
.trainingPlanArn("string")
.volumeKmsKeyId("string")
.volumeSizeInGb(0)
.build())
.environment(Map.of("string", "string"))
.hyperParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs.builder()
.autoParameters(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs.builder()
.name("string")
.valueHint("string")
.build())
.categoricalParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs.builder()
.name("string")
.values("string")
.build())
.continuousParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.integerParameterRanges(HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs.builder()
.maxValue("string")
.minValue("string")
.name("string")
.scalingType("string")
.build())
.build())
.enableManagedSpotTraining(false)
.inputDataConfigs(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs.builder()
.channelName("string")
.dataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs.builder()
.fileSystemDataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs.builder()
.directoryPath("string")
.fileSystemAccessMode("string")
.fileSystemId("string")
.fileSystemType("string")
.build())
.s3DataSource(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs.builder()
.s3DataType("string")
.s3Uri("string")
.attributeNames("string")
.hubAccessConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs.builder()
.hubContentArn("string")
.build())
.instanceGroupNames("string")
.modelAccessConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs.builder()
.acceptEula(false)
.build())
.s3DataDistributionType("string")
.build())
.build())
.compressionType("string")
.contentType("string")
.inputMode("string")
.recordWrapperType("string")
.shuffleConfig(HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs.builder()
.seed(0)
.build())
.build())
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.retryStrategies(HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs.builder()
.maximumRetryAttempts(0)
.build())
.definitionName("string")
.staticHyperParameters(Map.of("string", "string"))
.checkpointConfig(HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs.builder()
.s3Uri("string")
.localPath("string")
.build())
.tuningObjective(HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs.builder()
.metricName("string")
.type("string")
.build())
.vpcConfig(HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs.builder()
.securityGroupIds("string")
.subnets("string")
.build())
.build())
.warmStartConfig(HyperParameterTuningJobWarmStartConfigArgs.builder()
.parentHyperParameterTuningJobs(HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJobArgs.builder()
.name("string")
.build())
.warmStartType("string")
.build())
.build());
hyper_parameter_tuning_job_resource = aws.sagemaker.HyperParameterTuningJob("hyperParameterTuningJobResource",
config={
"resource_limits": {
"max_parallel_training_jobs": 0,
"max_number_of_training_jobs": 0,
"max_runtime_in_seconds": 0,
},
"strategy": "string",
"objective": {
"metric_name": "string",
"type": "string",
},
"parameter_ranges": {
"auto_parameters": [{
"name": "string",
"value_hint": "string",
}],
"categorical_parameter_ranges": [{
"name": "string",
"values": ["string"],
}],
"continuous_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
"integer_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
},
"random_seed": 0,
"strategy_config": {
"hyperband_strategy_config": {
"max_resource": 0,
"min_resource": 0,
},
},
"training_job_early_stopping_type": "string",
"tuning_job_completion_criteria": {
"best_objective_not_improving": {
"max_number_of_training_jobs_not_improving": 0,
},
"convergence_detected": {
"complete_on_convergence": "string",
},
"target_objective_metric_value": float(0),
},
},
autotune={
"mode": "string",
},
name="string",
region="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
},
training_job_definition={
"algorithm_specification": {
"training_input_mode": "string",
"algorithm_name": "string",
"metric_definitions": [{
"name": "string",
"regex": "string",
}],
"training_image": "string",
},
"stopping_condition": {
"max_pending_time_in_seconds": 0,
"max_runtime_in_seconds": 0,
"max_wait_time_in_seconds": 0,
},
"role_arn": "string",
"output_data_config": {
"s3_output_path": "string",
"compression_type": "string",
"kms_key_id": "string",
},
"hyper_parameter_tuning_resource_config": {
"allocation_strategy": "string",
"instance_configs": [{
"instance_count": 0,
"instance_type": "string",
"volume_size_in_gb": 0,
}],
"instance_count": 0,
"instance_type": "string",
"volume_kms_key_id": "string",
"volume_size_in_gb": 0,
},
"resource_config": {
"instance_count": 0,
"instance_groups": [{
"instance_count": 0,
"instance_group_name": "string",
"instance_type": "string",
}],
"instance_placement_config": {
"enable_multiple_jobs": False,
"placement_specifications": [{
"instance_count": 0,
"ultra_server_id": "string",
}],
},
"instance_type": "string",
"keep_alive_period_in_seconds": 0,
"training_plan_arn": "string",
"volume_kms_key_id": "string",
"volume_size_in_gb": 0,
},
"environment": {
"string": "string",
},
"hyper_parameter_ranges": {
"auto_parameters": [{
"name": "string",
"value_hint": "string",
}],
"categorical_parameter_ranges": [{
"name": "string",
"values": ["string"],
}],
"continuous_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
"integer_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
},
"enable_managed_spot_training": False,
"input_data_configs": [{
"channel_name": "string",
"data_source": {
"file_system_data_source": {
"directory_path": "string",
"file_system_access_mode": "string",
"file_system_id": "string",
"file_system_type": "string",
},
"s3_data_source": {
"s3_data_type": "string",
"s3_uri": "string",
"attribute_names": ["string"],
"hub_access_config": {
"hub_content_arn": "string",
},
"instance_group_names": ["string"],
"model_access_config": {
"accept_eula": False,
},
"s3_data_distribution_type": "string",
},
},
"compression_type": "string",
"content_type": "string",
"input_mode": "string",
"record_wrapper_type": "string",
"shuffle_config": {
"seed": 0,
},
}],
"enable_inter_container_traffic_encryption": False,
"enable_network_isolation": False,
"retry_strategies": [{
"maximum_retry_attempts": 0,
}],
"definition_name": "string",
"static_hyper_parameters": {
"string": "string",
},
"checkpoint_config": {
"s3_uri": "string",
"local_path": "string",
},
"tuning_objective": {
"metric_name": "string",
"type": "string",
},
"vpc_config": {
"security_group_ids": ["string"],
"subnets": ["string"],
},
},
training_job_definitions=[{
"algorithm_specification": {
"training_input_mode": "string",
"algorithm_name": "string",
"metric_definitions": [{
"name": "string",
"regex": "string",
}],
"training_image": "string",
},
"stopping_condition": {
"max_pending_time_in_seconds": 0,
"max_runtime_in_seconds": 0,
"max_wait_time_in_seconds": 0,
},
"role_arn": "string",
"output_data_config": {
"s3_output_path": "string",
"compression_type": "string",
"kms_key_id": "string",
},
"hyper_parameter_tuning_resource_config": {
"allocation_strategy": "string",
"instance_configs": [{
"instance_count": 0,
"instance_type": "string",
"volume_size_in_gb": 0,
}],
"instance_count": 0,
"instance_type": "string",
"volume_kms_key_id": "string",
"volume_size_in_gb": 0,
},
"resource_config": {
"instance_count": 0,
"instance_groups": [{
"instance_count": 0,
"instance_group_name": "string",
"instance_type": "string",
}],
"instance_placement_config": {
"enable_multiple_jobs": False,
"placement_specifications": [{
"instance_count": 0,
"ultra_server_id": "string",
}],
},
"instance_type": "string",
"keep_alive_period_in_seconds": 0,
"training_plan_arn": "string",
"volume_kms_key_id": "string",
"volume_size_in_gb": 0,
},
"environment": {
"string": "string",
},
"hyper_parameter_ranges": {
"auto_parameters": [{
"name": "string",
"value_hint": "string",
}],
"categorical_parameter_ranges": [{
"name": "string",
"values": ["string"],
}],
"continuous_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
"integer_parameter_ranges": [{
"max_value": "string",
"min_value": "string",
"name": "string",
"scaling_type": "string",
}],
},
"enable_managed_spot_training": False,
"input_data_configs": [{
"channel_name": "string",
"data_source": {
"file_system_data_source": {
"directory_path": "string",
"file_system_access_mode": "string",
"file_system_id": "string",
"file_system_type": "string",
},
"s3_data_source": {
"s3_data_type": "string",
"s3_uri": "string",
"attribute_names": ["string"],
"hub_access_config": {
"hub_content_arn": "string",
},
"instance_group_names": ["string"],
"model_access_config": {
"accept_eula": False,
},
"s3_data_distribution_type": "string",
},
},
"compression_type": "string",
"content_type": "string",
"input_mode": "string",
"record_wrapper_type": "string",
"shuffle_config": {
"seed": 0,
},
}],
"enable_inter_container_traffic_encryption": False,
"enable_network_isolation": False,
"retry_strategies": [{
"maximum_retry_attempts": 0,
}],
"definition_name": "string",
"static_hyper_parameters": {
"string": "string",
},
"checkpoint_config": {
"s3_uri": "string",
"local_path": "string",
},
"tuning_objective": {
"metric_name": "string",
"type": "string",
},
"vpc_config": {
"security_group_ids": ["string"],
"subnets": ["string"],
},
}],
warm_start_config={
"parent_hyper_parameter_tuning_jobs": [{
"name": "string",
}],
"warm_start_type": "string",
})
const hyperParameterTuningJobResource = new aws.sagemaker.HyperParameterTuningJob("hyperParameterTuningJobResource", {
config: {
resourceLimits: {
maxParallelTrainingJobs: 0,
maxNumberOfTrainingJobs: 0,
maxRuntimeInSeconds: 0,
},
strategy: "string",
objective: {
metricName: "string",
type: "string",
},
parameterRanges: {
autoParameters: [{
name: "string",
valueHint: "string",
}],
categoricalParameterRanges: [{
name: "string",
values: ["string"],
}],
continuousParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
integerParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
},
randomSeed: 0,
strategyConfig: {
hyperbandStrategyConfig: {
maxResource: 0,
minResource: 0,
},
},
trainingJobEarlyStoppingType: "string",
tuningJobCompletionCriteria: {
bestObjectiveNotImproving: {
maxNumberOfTrainingJobsNotImproving: 0,
},
convergenceDetected: {
completeOnConvergence: "string",
},
targetObjectiveMetricValue: 0,
},
},
autotune: {
mode: "string",
},
name: "string",
region: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
trainingJobDefinition: {
algorithmSpecification: {
trainingInputMode: "string",
algorithmName: "string",
metricDefinitions: [{
name: "string",
regex: "string",
}],
trainingImage: "string",
},
stoppingCondition: {
maxPendingTimeInSeconds: 0,
maxRuntimeInSeconds: 0,
maxWaitTimeInSeconds: 0,
},
roleArn: "string",
outputDataConfig: {
s3OutputPath: "string",
compressionType: "string",
kmsKeyId: "string",
},
hyperParameterTuningResourceConfig: {
allocationStrategy: "string",
instanceConfigs: [{
instanceCount: 0,
instanceType: "string",
volumeSizeInGb: 0,
}],
instanceCount: 0,
instanceType: "string",
volumeKmsKeyId: "string",
volumeSizeInGb: 0,
},
resourceConfig: {
instanceCount: 0,
instanceGroups: [{
instanceCount: 0,
instanceGroupName: "string",
instanceType: "string",
}],
instancePlacementConfig: {
enableMultipleJobs: false,
placementSpecifications: [{
instanceCount: 0,
ultraServerId: "string",
}],
},
instanceType: "string",
keepAlivePeriodInSeconds: 0,
trainingPlanArn: "string",
volumeKmsKeyId: "string",
volumeSizeInGb: 0,
},
environment: {
string: "string",
},
hyperParameterRanges: {
autoParameters: [{
name: "string",
valueHint: "string",
}],
categoricalParameterRanges: [{
name: "string",
values: ["string"],
}],
continuousParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
integerParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
},
enableManagedSpotTraining: false,
inputDataConfigs: [{
channelName: "string",
dataSource: {
fileSystemDataSource: {
directoryPath: "string",
fileSystemAccessMode: "string",
fileSystemId: "string",
fileSystemType: "string",
},
s3DataSource: {
s3DataType: "string",
s3Uri: "string",
attributeNames: ["string"],
hubAccessConfig: {
hubContentArn: "string",
},
instanceGroupNames: ["string"],
modelAccessConfig: {
acceptEula: false,
},
s3DataDistributionType: "string",
},
},
compressionType: "string",
contentType: "string",
inputMode: "string",
recordWrapperType: "string",
shuffleConfig: {
seed: 0,
},
}],
enableInterContainerTrafficEncryption: false,
enableNetworkIsolation: false,
retryStrategies: [{
maximumRetryAttempts: 0,
}],
definitionName: "string",
staticHyperParameters: {
string: "string",
},
checkpointConfig: {
s3Uri: "string",
localPath: "string",
},
tuningObjective: {
metricName: "string",
type: "string",
},
vpcConfig: {
securityGroupIds: ["string"],
subnets: ["string"],
},
},
trainingJobDefinitions: [{
algorithmSpecification: {
trainingInputMode: "string",
algorithmName: "string",
metricDefinitions: [{
name: "string",
regex: "string",
}],
trainingImage: "string",
},
stoppingCondition: {
maxPendingTimeInSeconds: 0,
maxRuntimeInSeconds: 0,
maxWaitTimeInSeconds: 0,
},
roleArn: "string",
outputDataConfig: {
s3OutputPath: "string",
compressionType: "string",
kmsKeyId: "string",
},
hyperParameterTuningResourceConfig: {
allocationStrategy: "string",
instanceConfigs: [{
instanceCount: 0,
instanceType: "string",
volumeSizeInGb: 0,
}],
instanceCount: 0,
instanceType: "string",
volumeKmsKeyId: "string",
volumeSizeInGb: 0,
},
resourceConfig: {
instanceCount: 0,
instanceGroups: [{
instanceCount: 0,
instanceGroupName: "string",
instanceType: "string",
}],
instancePlacementConfig: {
enableMultipleJobs: false,
placementSpecifications: [{
instanceCount: 0,
ultraServerId: "string",
}],
},
instanceType: "string",
keepAlivePeriodInSeconds: 0,
trainingPlanArn: "string",
volumeKmsKeyId: "string",
volumeSizeInGb: 0,
},
environment: {
string: "string",
},
hyperParameterRanges: {
autoParameters: [{
name: "string",
valueHint: "string",
}],
categoricalParameterRanges: [{
name: "string",
values: ["string"],
}],
continuousParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
integerParameterRanges: [{
maxValue: "string",
minValue: "string",
name: "string",
scalingType: "string",
}],
},
enableManagedSpotTraining: false,
inputDataConfigs: [{
channelName: "string",
dataSource: {
fileSystemDataSource: {
directoryPath: "string",
fileSystemAccessMode: "string",
fileSystemId: "string",
fileSystemType: "string",
},
s3DataSource: {
s3DataType: "string",
s3Uri: "string",
attributeNames: ["string"],
hubAccessConfig: {
hubContentArn: "string",
},
instanceGroupNames: ["string"],
modelAccessConfig: {
acceptEula: false,
},
s3DataDistributionType: "string",
},
},
compressionType: "string",
contentType: "string",
inputMode: "string",
recordWrapperType: "string",
shuffleConfig: {
seed: 0,
},
}],
enableInterContainerTrafficEncryption: false,
enableNetworkIsolation: false,
retryStrategies: [{
maximumRetryAttempts: 0,
}],
definitionName: "string",
staticHyperParameters: {
string: "string",
},
checkpointConfig: {
s3Uri: "string",
localPath: "string",
},
tuningObjective: {
metricName: "string",
type: "string",
},
vpcConfig: {
securityGroupIds: ["string"],
subnets: ["string"],
},
}],
warmStartConfig: {
parentHyperParameterTuningJobs: [{
name: "string",
}],
warmStartType: "string",
},
});
type: aws:sagemaker:HyperParameterTuningJob
properties:
autotune:
mode: string
config:
objective:
metricName: string
type: string
parameterRanges:
autoParameters:
- name: string
valueHint: string
categoricalParameterRanges:
- name: string
values:
- string
continuousParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
integerParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
randomSeed: 0
resourceLimits:
maxNumberOfTrainingJobs: 0
maxParallelTrainingJobs: 0
maxRuntimeInSeconds: 0
strategy: string
strategyConfig:
hyperbandStrategyConfig:
maxResource: 0
minResource: 0
trainingJobEarlyStoppingType: string
tuningJobCompletionCriteria:
bestObjectiveNotImproving:
maxNumberOfTrainingJobsNotImproving: 0
convergenceDetected:
completeOnConvergence: string
targetObjectiveMetricValue: 0
name: string
region: string
tags:
string: string
timeouts:
create: string
delete: string
trainingJobDefinition:
algorithmSpecification:
algorithmName: string
metricDefinitions:
- name: string
regex: string
trainingImage: string
trainingInputMode: string
checkpointConfig:
localPath: string
s3Uri: string
definitionName: string
enableInterContainerTrafficEncryption: false
enableManagedSpotTraining: false
enableNetworkIsolation: false
environment:
string: string
hyperParameterRanges:
autoParameters:
- name: string
valueHint: string
categoricalParameterRanges:
- name: string
values:
- string
continuousParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
integerParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
hyperParameterTuningResourceConfig:
allocationStrategy: string
instanceConfigs:
- instanceCount: 0
instanceType: string
volumeSizeInGb: 0
instanceCount: 0
instanceType: string
volumeKmsKeyId: string
volumeSizeInGb: 0
inputDataConfigs:
- channelName: string
compressionType: string
contentType: string
dataSource:
fileSystemDataSource:
directoryPath: string
fileSystemAccessMode: string
fileSystemId: string
fileSystemType: string
s3DataSource:
attributeNames:
- string
hubAccessConfig:
hubContentArn: string
instanceGroupNames:
- string
modelAccessConfig:
acceptEula: false
s3DataDistributionType: string
s3DataType: string
s3Uri: string
inputMode: string
recordWrapperType: string
shuffleConfig:
seed: 0
outputDataConfig:
compressionType: string
kmsKeyId: string
s3OutputPath: string
resourceConfig:
instanceCount: 0
instanceGroups:
- instanceCount: 0
instanceGroupName: string
instanceType: string
instancePlacementConfig:
enableMultipleJobs: false
placementSpecifications:
- instanceCount: 0
ultraServerId: string
instanceType: string
keepAlivePeriodInSeconds: 0
trainingPlanArn: string
volumeKmsKeyId: string
volumeSizeInGb: 0
retryStrategies:
- maximumRetryAttempts: 0
roleArn: string
staticHyperParameters:
string: string
stoppingCondition:
maxPendingTimeInSeconds: 0
maxRuntimeInSeconds: 0
maxWaitTimeInSeconds: 0
tuningObjective:
metricName: string
type: string
vpcConfig:
securityGroupIds:
- string
subnets:
- string
trainingJobDefinitions:
- algorithmSpecification:
algorithmName: string
metricDefinitions:
- name: string
regex: string
trainingImage: string
trainingInputMode: string
checkpointConfig:
localPath: string
s3Uri: string
definitionName: string
enableInterContainerTrafficEncryption: false
enableManagedSpotTraining: false
enableNetworkIsolation: false
environment:
string: string
hyperParameterRanges:
autoParameters:
- name: string
valueHint: string
categoricalParameterRanges:
- name: string
values:
- string
continuousParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
integerParameterRanges:
- maxValue: string
minValue: string
name: string
scalingType: string
hyperParameterTuningResourceConfig:
allocationStrategy: string
instanceConfigs:
- instanceCount: 0
instanceType: string
volumeSizeInGb: 0
instanceCount: 0
instanceType: string
volumeKmsKeyId: string
volumeSizeInGb: 0
inputDataConfigs:
- channelName: string
compressionType: string
contentType: string
dataSource:
fileSystemDataSource:
directoryPath: string
fileSystemAccessMode: string
fileSystemId: string
fileSystemType: string
s3DataSource:
attributeNames:
- string
hubAccessConfig:
hubContentArn: string
instanceGroupNames:
- string
modelAccessConfig:
acceptEula: false
s3DataDistributionType: string
s3DataType: string
s3Uri: string
inputMode: string
recordWrapperType: string
shuffleConfig:
seed: 0
outputDataConfig:
compressionType: string
kmsKeyId: string
s3OutputPath: string
resourceConfig:
instanceCount: 0
instanceGroups:
- instanceCount: 0
instanceGroupName: string
instanceType: string
instancePlacementConfig:
enableMultipleJobs: false
placementSpecifications:
- instanceCount: 0
ultraServerId: string
instanceType: string
keepAlivePeriodInSeconds: 0
trainingPlanArn: string
volumeKmsKeyId: string
volumeSizeInGb: 0
retryStrategies:
- maximumRetryAttempts: 0
roleArn: string
staticHyperParameters:
string: string
stoppingCondition:
maxPendingTimeInSeconds: 0
maxRuntimeInSeconds: 0
maxWaitTimeInSeconds: 0
tuningObjective:
metricName: string
type: string
vpcConfig:
securityGroupIds:
- string
subnets:
- string
warmStartConfig:
parentHyperParameterTuningJobs:
- name: string
warmStartType: string
HyperParameterTuningJob 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 HyperParameterTuningJob resource accepts the following input properties:
- Config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - Autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - Name string
Name of the tuning job.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Dictionary<string, string>
- Map of tags to assign to this resource.
- Timeouts
Hyper
Parameter Tuning Job Timeouts - Training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - Training
Job List<HyperDefinitions Parameter Tuning Job Training Job Definition> - Multiple training job definitions for tuning. See
trainingJobDefinition. - Warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- Config
Hyper
Parameter Tuning Job Config Args - Tuning job settings. See
config. - Autotune
Hyper
Parameter Tuning Job Autotune Args - Autotune settings. See
autotune. - Name string
Name of the tuning job.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map[string]string
- Map of tags to assign to this resource.
- Timeouts
Hyper
Parameter Tuning Job Timeouts Args - Training
Job HyperDefinition Parameter Tuning Job Training Job Definition Args - Single training job definition for tuning. See
trainingJobDefinition. - Training
Job []HyperDefinitions Parameter Tuning Job Training Job Definition Args - Multiple training job definitions for tuning. See
trainingJobDefinition. - Warm
Start HyperConfig Parameter Tuning Job Warm Start Config Args - Warm start settings. See
warmStartConfig.
- config object
- Tuning job settings. See
config. - autotune object
- Autotune settings. See
autotune. - name string
Name of the tuning job.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- map(string)
- Map of tags to assign to this resource.
- timeouts object
- training_
job_ objectdefinition - Single training job definition for tuning. See
trainingJobDefinition. - training_
job_ list(object)definitions - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm_
start_ objectconfig - Warm start settings. See
warmStartConfig.
- config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - name String
Name of the tuning job.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String,String>
- Map of tags to assign to this resource.
- timeouts
Hyper
Parameter Tuning Job Timeouts - training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job List<HyperDefinitions Parameter Tuning Job Training Job Definition> - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - name string
Name of the tuning job.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- {[key: string]: string}
- Map of tags to assign to this resource.
- timeouts
Hyper
Parameter Tuning Job Timeouts - training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job HyperDefinitions Parameter Tuning Job Training Job Definition[] - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- config
Hyper
Parameter Tuning Job Config Args - Tuning job settings. See
config. - autotune
Hyper
Parameter Tuning Job Autotune Args - Autotune settings. See
autotune. - name str
Name of the tuning job.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Mapping[str, str]
- Map of tags to assign to this resource.
- timeouts
Hyper
Parameter Tuning Job Timeouts Args - training_
job_ Hyperdefinition Parameter Tuning Job Training Job Definition Args - Single training job definition for tuning. See
trainingJobDefinition. - training_
job_ Sequence[Hyperdefinitions Parameter Tuning Job Training Job Definition Args] - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm_
start_ Hyperconfig Parameter Tuning Job Warm Start Config Args - Warm start settings. See
warmStartConfig.
- config Property Map
- Tuning job settings. See
config. - autotune Property Map
- Autotune settings. See
autotune. - name String
Name of the tuning job.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Map<String>
- Map of tags to assign to this resource.
- timeouts Property Map
- training
Job Property MapDefinition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job List<Property Map>Definitions - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start Property MapConfig - Warm start settings. See
warmStartConfig.
Outputs
All input properties are implicitly available as output properties. Additionally, the HyperParameterTuningJob resource produces the following output properties:
- Arn string
- ARN of the Hyper Parameter Tuning Job.
- Failure
Reason string - Reason returned by SageMaker AI when a job fails.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current tuning job status.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- Arn string
- ARN of the Hyper Parameter Tuning Job.
- Failure
Reason string - Reason returned by SageMaker AI when a job fails.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Current tuning job status.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the Hyper Parameter Tuning Job.
- failure_
reason string - Reason returned by SageMaker AI when a job fails.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current tuning job status.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the Hyper Parameter Tuning Job.
- failure
Reason String - Reason returned by SageMaker AI when a job fails.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current tuning job status.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn string
- ARN of the Hyper Parameter Tuning Job.
- failure
Reason string - Reason returned by SageMaker AI when a job fails.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current tuning job status.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn str
- ARN of the Hyper Parameter Tuning Job.
- failure_
reason str - Reason returned by SageMaker AI when a job fails.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Current tuning job status.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
- arn String
- ARN of the Hyper Parameter Tuning Job.
- failure
Reason String - Reason returned by SageMaker AI when a job fails.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Current tuning job status.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.
Look up Existing HyperParameterTuningJob Resource
Get an existing HyperParameterTuningJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HyperParameterTuningJobState, opts?: CustomResourceOptions): HyperParameterTuningJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
autotune: Optional[HyperParameterTuningJobAutotuneArgs] = None,
config: Optional[HyperParameterTuningJobConfigArgs] = None,
failure_reason: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[HyperParameterTuningJobTimeoutsArgs] = None,
training_job_definition: Optional[HyperParameterTuningJobTrainingJobDefinitionArgs] = None,
training_job_definitions: Optional[Sequence[HyperParameterTuningJobTrainingJobDefinitionArgs]] = None,
warm_start_config: Optional[HyperParameterTuningJobWarmStartConfigArgs] = None) -> HyperParameterTuningJobfunc GetHyperParameterTuningJob(ctx *Context, name string, id IDInput, state *HyperParameterTuningJobState, opts ...ResourceOption) (*HyperParameterTuningJob, error)public static HyperParameterTuningJob Get(string name, Input<string> id, HyperParameterTuningJobState? state, CustomResourceOptions? opts = null)public static HyperParameterTuningJob get(String name, Output<String> id, HyperParameterTuningJobState state, CustomResourceOptions options)resources: _: type: aws:sagemaker:HyperParameterTuningJob get: id: ${id}import {
to = aws_sagemaker_hyperparametertuningjob.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Hyper Parameter Tuning Job.
- Autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - Config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - Failure
Reason string - Reason returned by SageMaker AI when a job fails.
- Name string
Name of the tuning job.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Current tuning job status.
- Dictionary<string, string>
- Map of tags to assign to this resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Hyper
Parameter Tuning Job Timeouts - Training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - Training
Job List<HyperDefinitions Parameter Tuning Job Training Job Definition> - Multiple training job definitions for tuning. See
trainingJobDefinition. - Warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- Arn string
- ARN of the Hyper Parameter Tuning Job.
- Autotune
Hyper
Parameter Tuning Job Autotune Args - Autotune settings. See
autotune. - Config
Hyper
Parameter Tuning Job Config Args - Tuning job settings. See
config. - Failure
Reason string - Reason returned by SageMaker AI when a job fails.
- Name string
Name of the tuning job.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Status string
- Current tuning job status.
- map[string]string
- Map of tags to assign to this resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Timeouts
Hyper
Parameter Tuning Job Timeouts Args - Training
Job HyperDefinition Parameter Tuning Job Training Job Definition Args - Single training job definition for tuning. See
trainingJobDefinition. - Training
Job []HyperDefinitions Parameter Tuning Job Training Job Definition Args - Multiple training job definitions for tuning. See
trainingJobDefinition. - Warm
Start HyperConfig Parameter Tuning Job Warm Start Config Args - Warm start settings. See
warmStartConfig.
- arn string
- ARN of the Hyper Parameter Tuning Job.
- autotune object
- Autotune settings. See
autotune. - config object
- Tuning job settings. See
config. - failure_
reason string - Reason returned by SageMaker AI when a job fails.
- name string
Name of the tuning job.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Current tuning job status.
- map(string)
- Map of tags to assign to this resource.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts object
- training_
job_ objectdefinition - Single training job definition for tuning. See
trainingJobDefinition. - training_
job_ list(object)definitions - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm_
start_ objectconfig - Warm start settings. See
warmStartConfig.
- arn String
- ARN of the Hyper Parameter Tuning Job.
- autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - failure
Reason String - Reason returned by SageMaker AI when a job fails.
- name String
Name of the tuning job.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Current tuning job status.
- Map<String,String>
- Map of tags to assign to this resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Hyper
Parameter Tuning Job Timeouts - training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job List<HyperDefinitions Parameter Tuning Job Training Job Definition> - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- arn string
- ARN of the Hyper Parameter Tuning Job.
- autotune
Hyper
Parameter Tuning Job Autotune - Autotune settings. See
autotune. - config
Hyper
Parameter Tuning Job Config - Tuning job settings. See
config. - failure
Reason string - Reason returned by SageMaker AI when a job fails.
- name string
Name of the tuning job.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status string
- Current tuning job status.
- {[key: string]: string}
- Map of tags to assign to this resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Hyper
Parameter Tuning Job Timeouts - training
Job HyperDefinition Parameter Tuning Job Training Job Definition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job HyperDefinitions Parameter Tuning Job Training Job Definition[] - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start HyperConfig Parameter Tuning Job Warm Start Config - Warm start settings. See
warmStartConfig.
- arn str
- ARN of the Hyper Parameter Tuning Job.
- autotune
Hyper
Parameter Tuning Job Autotune Args - Autotune settings. See
autotune. - config
Hyper
Parameter Tuning Job Config Args - Tuning job settings. See
config. - failure_
reason str - Reason returned by SageMaker AI when a job fails.
- name str
Name of the tuning job.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status str
- Current tuning job status.
- Mapping[str, str]
- Map of tags to assign to this resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts
Hyper
Parameter Tuning Job Timeouts Args - training_
job_ Hyperdefinition Parameter Tuning Job Training Job Definition Args - Single training job definition for tuning. See
trainingJobDefinition. - training_
job_ Sequence[Hyperdefinitions Parameter Tuning Job Training Job Definition Args] - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm_
start_ Hyperconfig Parameter Tuning Job Warm Start Config Args - Warm start settings. See
warmStartConfig.
- arn String
- ARN of the Hyper Parameter Tuning Job.
- autotune Property Map
- Autotune settings. See
autotune. - config Property Map
- Tuning job settings. See
config. - failure
Reason String - Reason returned by SageMaker AI when a job fails.
- name String
Name of the tuning job.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- status String
- Current tuning job status.
- Map<String>
- Map of tags to assign to this resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - timeouts Property Map
- training
Job Property MapDefinition - Single training job definition for tuning. See
trainingJobDefinition. - training
Job List<Property Map>Definitions - Multiple training job definitions for tuning. See
trainingJobDefinition. - warm
Start Property MapConfig - Warm start settings. See
warmStartConfig.
Supporting Types
HyperParameterTuningJobAutotune, HyperParameterTuningJobAutotuneArgs
- Mode string
- Autotune mode. Valid value is
Enabled.
- Mode string
- Autotune mode. Valid value is
Enabled.
- mode string
- Autotune mode. Valid value is
Enabled.
- mode String
- Autotune mode. Valid value is
Enabled.
- mode string
- Autotune mode. Valid value is
Enabled.
- mode str
- Autotune mode. Valid value is
Enabled.
- mode String
- Autotune mode. Valid value is
Enabled.
HyperParameterTuningJobConfig, HyperParameterTuningJobConfigArgs
- Resource
Limits HyperParameter Tuning Job Config Resource Limits - Training job limits for tuning. See
resourceLimits. - Strategy string
- Search strategy for tuning.
- Objective
Hyper
Parameter Tuning Job Config Objective - Objective metric used by tuning. See
objective. - Parameter
Ranges HyperParameter Tuning Job Config Parameter Ranges - Hyperparameter search ranges. See
parameterRanges. - Random
Seed int - Random seed for tuning.
- Strategy
Config HyperParameter Tuning Job Config Strategy Config - Extra strategy options. See
strategyConfig. - Training
Job stringEarly Stopping Type - Early stopping behavior for training jobs.
- Tuning
Job HyperCompletion Criteria Parameter Tuning Job Config Tuning Job Completion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- Resource
Limits HyperParameter Tuning Job Config Resource Limits - Training job limits for tuning. See
resourceLimits. - Strategy string
- Search strategy for tuning.
- Objective
Hyper
Parameter Tuning Job Config Objective - Objective metric used by tuning. See
objective. - Parameter
Ranges HyperParameter Tuning Job Config Parameter Ranges - Hyperparameter search ranges. See
parameterRanges. - Random
Seed int - Random seed for tuning.
- Strategy
Config HyperParameter Tuning Job Config Strategy Config - Extra strategy options. See
strategyConfig. - Training
Job stringEarly Stopping Type - Early stopping behavior for training jobs.
- Tuning
Job HyperCompletion Criteria Parameter Tuning Job Config Tuning Job Completion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- resource_
limits object - Training job limits for tuning. See
resourceLimits. - strategy string
- Search strategy for tuning.
- objective object
- Objective metric used by tuning. See
objective. - parameter_
ranges object - Hyperparameter search ranges. See
parameterRanges. - random_
seed number - Random seed for tuning.
- strategy_
config object - Extra strategy options. See
strategyConfig. - training_
job_ stringearly_ stopping_ type - Early stopping behavior for training jobs.
- tuning_
job_ objectcompletion_ criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- resource
Limits HyperParameter Tuning Job Config Resource Limits - Training job limits for tuning. See
resourceLimits. - strategy String
- Search strategy for tuning.
- objective
Hyper
Parameter Tuning Job Config Objective - Objective metric used by tuning. See
objective. - parameter
Ranges HyperParameter Tuning Job Config Parameter Ranges - Hyperparameter search ranges. See
parameterRanges. - random
Seed Integer - Random seed for tuning.
- strategy
Config HyperParameter Tuning Job Config Strategy Config - Extra strategy options. See
strategyConfig. - training
Job StringEarly Stopping Type - Early stopping behavior for training jobs.
- tuning
Job HyperCompletion Criteria Parameter Tuning Job Config Tuning Job Completion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- resource
Limits HyperParameter Tuning Job Config Resource Limits - Training job limits for tuning. See
resourceLimits. - strategy string
- Search strategy for tuning.
- objective
Hyper
Parameter Tuning Job Config Objective - Objective metric used by tuning. See
objective. - parameter
Ranges HyperParameter Tuning Job Config Parameter Ranges - Hyperparameter search ranges. See
parameterRanges. - random
Seed number - Random seed for tuning.
- strategy
Config HyperParameter Tuning Job Config Strategy Config - Extra strategy options. See
strategyConfig. - training
Job stringEarly Stopping Type - Early stopping behavior for training jobs.
- tuning
Job HyperCompletion Criteria Parameter Tuning Job Config Tuning Job Completion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- resource_
limits HyperParameter Tuning Job Config Resource Limits - Training job limits for tuning. See
resourceLimits. - strategy str
- Search strategy for tuning.
- objective
Hyper
Parameter Tuning Job Config Objective - Objective metric used by tuning. See
objective. - parameter_
ranges HyperParameter Tuning Job Config Parameter Ranges - Hyperparameter search ranges. See
parameterRanges. - random_
seed int - Random seed for tuning.
- strategy_
config HyperParameter Tuning Job Config Strategy Config - Extra strategy options. See
strategyConfig. - training_
job_ strearly_ stopping_ type - Early stopping behavior for training jobs.
- tuning_
job_ Hypercompletion_ criteria Parameter Tuning Job Config Tuning Job Completion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
- resource
Limits Property Map - Training job limits for tuning. See
resourceLimits. - strategy String
- Search strategy for tuning.
- objective Property Map
- Objective metric used by tuning. See
objective. - parameter
Ranges Property Map - Hyperparameter search ranges. See
parameterRanges. - random
Seed Number - Random seed for tuning.
- strategy
Config Property Map - Extra strategy options. See
strategyConfig. - training
Job StringEarly Stopping Type - Early stopping behavior for training jobs.
- tuning
Job Property MapCompletion Criteria - Conditions to complete tuning. See
tuningJobCompletionCriteria.
HyperParameterTuningJobConfigObjective, HyperParameterTuningJobConfigObjectiveArgs
- Metric
Name string - Metric name that tuning tries to optimize.
- Type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- Metric
Name string - Metric name that tuning tries to optimize.
- Type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric_
name string - Metric name that tuning tries to optimize.
- type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name String - Metric name that tuning tries to optimize.
- type String
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name string - Metric name that tuning tries to optimize.
- type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric_
name str - Metric name that tuning tries to optimize.
- type str
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name String - Metric name that tuning tries to optimize.
- type String
- Optimization direction. Valid values include
MinimizeandMaximize.
HyperParameterTuningJobConfigParameterRanges, HyperParameterTuningJobConfigParameterRangesArgs
- Auto
Parameters List<HyperParameter Tuning Job Config Parameter Ranges Auto Parameter> - Parameter list for automatic range selection.
- Categorical
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Categorical Parameter Range> - Categorical parameter ranges.
- Continuous
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Continuous Parameter Range> - Continuous parameter ranges.
- Integer
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Integer Parameter Range> - Integer parameter ranges.
- Auto
Parameters []HyperParameter Tuning Job Config Parameter Ranges Auto Parameter - Parameter list for automatic range selection.
- Categorical
Parameter []HyperRanges Parameter Tuning Job Config Parameter Ranges Categorical Parameter Range - Categorical parameter ranges.
- Continuous
Parameter []HyperRanges Parameter Tuning Job Config Parameter Ranges Continuous Parameter Range - Continuous parameter ranges.
- Integer
Parameter []HyperRanges Parameter Tuning Job Config Parameter Ranges Integer Parameter Range - Integer parameter ranges.
- auto_
parameters list(object) - Parameter list for automatic range selection.
- categorical_
parameter_ list(object)ranges - Categorical parameter ranges.
- continuous_
parameter_ list(object)ranges - Continuous parameter ranges.
- integer_
parameter_ list(object)ranges - Integer parameter ranges.
- auto
Parameters List<HyperParameter Tuning Job Config Parameter Ranges Auto Parameter> - Parameter list for automatic range selection.
- categorical
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Categorical Parameter Range> - Categorical parameter ranges.
- continuous
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Continuous Parameter Range> - Continuous parameter ranges.
- integer
Parameter List<HyperRanges Parameter Tuning Job Config Parameter Ranges Integer Parameter Range> - Integer parameter ranges.
- auto
Parameters HyperParameter Tuning Job Config Parameter Ranges Auto Parameter[] - Parameter list for automatic range selection.
- categorical
Parameter HyperRanges Parameter Tuning Job Config Parameter Ranges Categorical Parameter Range[] - Categorical parameter ranges.
- continuous
Parameter HyperRanges Parameter Tuning Job Config Parameter Ranges Continuous Parameter Range[] - Continuous parameter ranges.
- integer
Parameter HyperRanges Parameter Tuning Job Config Parameter Ranges Integer Parameter Range[] - Integer parameter ranges.
- auto_
parameters Sequence[HyperParameter Tuning Job Config Parameter Ranges Auto Parameter] - Parameter list for automatic range selection.
- categorical_
parameter_ Sequence[Hyperranges Parameter Tuning Job Config Parameter Ranges Categorical Parameter Range] - Categorical parameter ranges.
- continuous_
parameter_ Sequence[Hyperranges Parameter Tuning Job Config Parameter Ranges Continuous Parameter Range] - Continuous parameter ranges.
- integer_
parameter_ Sequence[Hyperranges Parameter Tuning Job Config Parameter Ranges Integer Parameter Range] - Integer parameter ranges.
- auto
Parameters List<Property Map> - Parameter list for automatic range selection.
- categorical
Parameter List<Property Map>Ranges - Categorical parameter ranges.
- continuous
Parameter List<Property Map>Ranges - Continuous parameter ranges.
- integer
Parameter List<Property Map>Ranges - Integer parameter ranges.
HyperParameterTuningJobConfigParameterRangesAutoParameter, HyperParameterTuningJobConfigParameterRangesAutoParameterArgs
- name string
- Parameter name.
- value_
hint string - Value hint for the parameter.
- name str
- Parameter name.
- value_
hint str - Value hint for the parameter.
HyperParameterTuningJobConfigParameterRangesCategoricalParameterRange, HyperParameterTuningJobConfigParameterRangesCategoricalParameterRangeArgs
HyperParameterTuningJobConfigParameterRangesContinuousParameterRange, HyperParameterTuningJobConfigParameterRangesContinuousParameterRangeArgs
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- max_
value string - Maximum value.
- min_
value string - Minimum value.
- name string
- Parameter name.
- scaling_
type string - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
- max
Value string - Maximum value.
- min
Value string - Minimum value.
- name string
- Parameter name.
- scaling
Type string - Scaling rule for the range.
- max_
value str - Maximum value.
- min_
value str - Minimum value.
- name str
- Parameter name.
- scaling_
type str - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
HyperParameterTuningJobConfigParameterRangesIntegerParameterRange, HyperParameterTuningJobConfigParameterRangesIntegerParameterRangeArgs
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- max_
value string - Maximum value.
- min_
value string - Minimum value.
- name string
- Parameter name.
- scaling_
type string - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
- max
Value string - Maximum value.
- min
Value string - Minimum value.
- name string
- Parameter name.
- scaling
Type string - Scaling rule for the range.
- max_
value str - Maximum value.
- min_
value str - Minimum value.
- name str
- Parameter name.
- scaling_
type str - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
HyperParameterTuningJobConfigResourceLimits, HyperParameterTuningJobConfigResourceLimitsArgs
- Max
Parallel intTraining Jobs - Maximum parallel training jobs.
- Max
Number intOf Training Jobs - Maximum total training jobs.
- Max
Runtime intIn Seconds - Maximum total runtime in seconds.
- Max
Parallel intTraining Jobs - Maximum parallel training jobs.
- Max
Number intOf Training Jobs - Maximum total training jobs.
- Max
Runtime intIn Seconds - Maximum total runtime in seconds.
- max_
parallel_ numbertraining_ jobs - Maximum parallel training jobs.
- max_
number_ numberof_ training_ jobs - Maximum total training jobs.
- max_
runtime_ numberin_ seconds - Maximum total runtime in seconds.
- max
Parallel IntegerTraining Jobs - Maximum parallel training jobs.
- max
Number IntegerOf Training Jobs - Maximum total training jobs.
- max
Runtime IntegerIn Seconds - Maximum total runtime in seconds.
- max
Parallel numberTraining Jobs - Maximum parallel training jobs.
- max
Number numberOf Training Jobs - Maximum total training jobs.
- max
Runtime numberIn Seconds - Maximum total runtime in seconds.
- max_
parallel_ inttraining_ jobs - Maximum parallel training jobs.
- max_
number_ intof_ training_ jobs - Maximum total training jobs.
- max_
runtime_ intin_ seconds - Maximum total runtime in seconds.
- max
Parallel NumberTraining Jobs - Maximum parallel training jobs.
- max
Number NumberOf Training Jobs - Maximum total training jobs.
- max
Runtime NumberIn Seconds - Maximum total runtime in seconds.
HyperParameterTuningJobConfigStrategyConfig, HyperParameterTuningJobConfigStrategyConfigArgs
- Hyperband
Strategy HyperConfig Parameter Tuning Job Config Strategy Config Hyperband Strategy Config - Hyperband strategy settings. See
hyperbandStrategyConfig.
- Hyperband
Strategy HyperConfig Parameter Tuning Job Config Strategy Config Hyperband Strategy Config - Hyperband strategy settings. See
hyperbandStrategyConfig.
- hyperband_
strategy_ objectconfig - Hyperband strategy settings. See
hyperbandStrategyConfig.
- hyperband
Strategy HyperConfig Parameter Tuning Job Config Strategy Config Hyperband Strategy Config - Hyperband strategy settings. See
hyperbandStrategyConfig.
- hyperband
Strategy HyperConfig Parameter Tuning Job Config Strategy Config Hyperband Strategy Config - Hyperband strategy settings. See
hyperbandStrategyConfig.
- hyperband_
strategy_ Hyperconfig Parameter Tuning Job Config Strategy Config Hyperband Strategy Config - Hyperband strategy settings. See
hyperbandStrategyConfig.
- hyperband
Strategy Property MapConfig - Hyperband strategy settings. See
hyperbandStrategyConfig.
HyperParameterTuningJobConfigStrategyConfigHyperbandStrategyConfig, HyperParameterTuningJobConfigStrategyConfigHyperbandStrategyConfigArgs
- Max
Resource int - Upper bound for resource allocation.
- Min
Resource int - Lower bound for resource allocation.
- Max
Resource int - Upper bound for resource allocation.
- Min
Resource int - Lower bound for resource allocation.
- max_
resource number - Upper bound for resource allocation.
- min_
resource number - Lower bound for resource allocation.
- max
Resource Integer - Upper bound for resource allocation.
- min
Resource Integer - Lower bound for resource allocation.
- max
Resource number - Upper bound for resource allocation.
- min
Resource number - Lower bound for resource allocation.
- max_
resource int - Upper bound for resource allocation.
- min_
resource int - Lower bound for resource allocation.
- max
Resource Number - Upper bound for resource allocation.
- min
Resource Number - Lower bound for resource allocation.
HyperParameterTuningJobConfigTuningJobCompletionCriteria, HyperParameterTuningJobConfigTuningJobCompletionCriteriaArgs
- Best
Objective HyperNot Improving Parameter Tuning Job Config Tuning Job Completion Criteria Best Objective Not Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - Convergence
Detected HyperParameter Tuning Job Config Tuning Job Completion Criteria Convergence Detected - Stop condition based on convergence. See
convergenceDetected. - Target
Objective doubleMetric Value - Target metric value that can stop tuning.
- Best
Objective HyperNot Improving Parameter Tuning Job Config Tuning Job Completion Criteria Best Objective Not Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - Convergence
Detected HyperParameter Tuning Job Config Tuning Job Completion Criteria Convergence Detected - Stop condition based on convergence. See
convergenceDetected. - Target
Objective float64Metric Value - Target metric value that can stop tuning.
- best_
objective_ objectnot_ improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - convergence_
detected object - Stop condition based on convergence. See
convergenceDetected. - target_
objective_ numbermetric_ value - Target metric value that can stop tuning.
- best
Objective HyperNot Improving Parameter Tuning Job Config Tuning Job Completion Criteria Best Objective Not Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - convergence
Detected HyperParameter Tuning Job Config Tuning Job Completion Criteria Convergence Detected - Stop condition based on convergence. See
convergenceDetected. - target
Objective DoubleMetric Value - Target metric value that can stop tuning.
- best
Objective HyperNot Improving Parameter Tuning Job Config Tuning Job Completion Criteria Best Objective Not Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - convergence
Detected HyperParameter Tuning Job Config Tuning Job Completion Criteria Convergence Detected - Stop condition based on convergence. See
convergenceDetected. - target
Objective numberMetric Value - Target metric value that can stop tuning.
- best_
objective_ Hypernot_ improving Parameter Tuning Job Config Tuning Job Completion Criteria Best Objective Not Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - convergence_
detected HyperParameter Tuning Job Config Tuning Job Completion Criteria Convergence Detected - Stop condition based on convergence. See
convergenceDetected. - target_
objective_ floatmetric_ value - Target metric value that can stop tuning.
- best
Objective Property MapNot Improving - Stop condition for non-improving jobs. See
bestObjectiveNotImproving. - convergence
Detected Property Map - Stop condition based on convergence. See
convergenceDetected. - target
Objective NumberMetric Value - Target metric value that can stop tuning.
HyperParameterTuningJobConfigTuningJobCompletionCriteriaBestObjectiveNotImproving, HyperParameterTuningJobConfigTuningJobCompletionCriteriaBestObjectiveNotImprovingArgs
- Max
Number intOf Training Jobs Not Improving - Maximum training jobs without improvement before completion.
- Max
Number intOf Training Jobs Not Improving - Maximum training jobs without improvement before completion.
- max_
number_ numberof_ training_ jobs_ not_ improving - Maximum training jobs without improvement before completion.
- max
Number IntegerOf Training Jobs Not Improving - Maximum training jobs without improvement before completion.
- max
Number numberOf Training Jobs Not Improving - Maximum training jobs without improvement before completion.
- max_
number_ intof_ training_ jobs_ not_ improving - Maximum training jobs without improvement before completion.
- max
Number NumberOf Training Jobs Not Improving - Maximum training jobs without improvement before completion.
HyperParameterTuningJobConfigTuningJobCompletionCriteriaConvergenceDetected, HyperParameterTuningJobConfigTuningJobCompletionCriteriaConvergenceDetectedArgs
- Complete
On stringConvergence - Whether to complete tuning when convergence is detected.
- Complete
On stringConvergence - Whether to complete tuning when convergence is detected.
- complete_
on_ stringconvergence - Whether to complete tuning when convergence is detected.
- complete
On StringConvergence - Whether to complete tuning when convergence is detected.
- complete
On stringConvergence - Whether to complete tuning when convergence is detected.
- complete_
on_ strconvergence - Whether to complete tuning when convergence is detected.
- complete
On StringConvergence - Whether to complete tuning when convergence is detected.
HyperParameterTuningJobTimeouts, HyperParameterTuningJobTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
HyperParameterTuningJobTrainingJobDefinition, HyperParameterTuningJobTrainingJobDefinitionArgs
- Algorithm
Specification HyperParameter Tuning Job Training Job Definition Algorithm Specification - Algorithm settings. See
algorithmSpecification. - Output
Data HyperConfig Parameter Tuning Job Training Job Definition Output Data Config - Output data settings. See
outputDataConfig. - Role
Arn string - IAM role ARN used by SageMaker AI.
- Stopping
Condition HyperParameter Tuning Job Training Job Definition Stopping Condition - Stopping settings. See
stoppingCondition. - Checkpoint
Config HyperParameter Tuning Job Training Job Definition Checkpoint Config - Checkpoint output location. See
checkpointConfig. - Definition
Name string - Name for this definition.
- Enable
Inter boolContainer Traffic Encryption - Whether to encrypt traffic between containers.
- Enable
Managed boolSpot Training - Whether to use managed spot training.
- Enable
Network boolIsolation - Whether to isolate network access for containers.
- Environment Dictionary<string, string>
- Map of environment variables.
- Hyper
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges - Hyperparameter ranges for this definition. See
parameterRanges. - Hyper
Parameter HyperTuning Resource Config Parameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - Input
Data List<HyperConfigs Parameter Tuning Job Training Job Definition Input Data Config> - Input data channels. See
inputDataConfig. - Resource
Config HyperParameter Tuning Job Training Job Definition Resource Config - Training resources. See
resourceConfig. - Retry
Strategies List<HyperParameter Tuning Job Training Job Definition Retry Strategy> - Retry settings. See
retryStrategy. - Static
Hyper Dictionary<string, string>Parameters - Map of fixed hyperparameters.
- Tuning
Objective HyperParameter Tuning Job Training Job Definition Tuning Objective - Objective for this training definition. See
tuningObjective. - Vpc
Config HyperParameter Tuning Job Training Job Definition Vpc Config - VPC settings. See
vpcConfig.
- Algorithm
Specification HyperParameter Tuning Job Training Job Definition Algorithm Specification - Algorithm settings. See
algorithmSpecification. - Output
Data HyperConfig Parameter Tuning Job Training Job Definition Output Data Config - Output data settings. See
outputDataConfig. - Role
Arn string - IAM role ARN used by SageMaker AI.
- Stopping
Condition HyperParameter Tuning Job Training Job Definition Stopping Condition - Stopping settings. See
stoppingCondition. - Checkpoint
Config HyperParameter Tuning Job Training Job Definition Checkpoint Config - Checkpoint output location. See
checkpointConfig. - Definition
Name string - Name for this definition.
- Enable
Inter boolContainer Traffic Encryption - Whether to encrypt traffic between containers.
- Enable
Managed boolSpot Training - Whether to use managed spot training.
- Enable
Network boolIsolation - Whether to isolate network access for containers.
- Environment map[string]string
- Map of environment variables.
- Hyper
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges - Hyperparameter ranges for this definition. See
parameterRanges. - Hyper
Parameter HyperTuning Resource Config Parameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - Input
Data []HyperConfigs Parameter Tuning Job Training Job Definition Input Data Config - Input data channels. See
inputDataConfig. - Resource
Config HyperParameter Tuning Job Training Job Definition Resource Config - Training resources. See
resourceConfig. - Retry
Strategies []HyperParameter Tuning Job Training Job Definition Retry Strategy - Retry settings. See
retryStrategy. - Static
Hyper map[string]stringParameters - Map of fixed hyperparameters.
- Tuning
Objective HyperParameter Tuning Job Training Job Definition Tuning Objective - Objective for this training definition. See
tuningObjective. - Vpc
Config HyperParameter Tuning Job Training Job Definition Vpc Config - VPC settings. See
vpcConfig.
- algorithm_
specification object - Algorithm settings. See
algorithmSpecification. - output_
data_ objectconfig - Output data settings. See
outputDataConfig. - role_
arn string - IAM role ARN used by SageMaker AI.
- stopping_
condition object - Stopping settings. See
stoppingCondition. - checkpoint_
config object - Checkpoint output location. See
checkpointConfig. - definition_
name string - Name for this definition.
- enable_
inter_ boolcontainer_ traffic_ encryption - Whether to encrypt traffic between containers.
- enable_
managed_ boolspot_ training - Whether to use managed spot training.
- enable_
network_ boolisolation - Whether to isolate network access for containers.
- environment map(string)
- Map of environment variables.
- hyper_
parameter_ objectranges - Hyperparameter ranges for this definition. See
parameterRanges. - hyper_
parameter_ objecttuning_ resource_ config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - input_
data_ list(object)configs - Input data channels. See
inputDataConfig. - resource_
config object - Training resources. See
resourceConfig. - retry_
strategies list(object) - Retry settings. See
retryStrategy. - static_
hyper_ map(string)parameters - Map of fixed hyperparameters.
- tuning_
objective object - Objective for this training definition. See
tuningObjective. - vpc_
config object - VPC settings. See
vpcConfig.
- algorithm
Specification HyperParameter Tuning Job Training Job Definition Algorithm Specification - Algorithm settings. See
algorithmSpecification. - output
Data HyperConfig Parameter Tuning Job Training Job Definition Output Data Config - Output data settings. See
outputDataConfig. - role
Arn String - IAM role ARN used by SageMaker AI.
- stopping
Condition HyperParameter Tuning Job Training Job Definition Stopping Condition - Stopping settings. See
stoppingCondition. - checkpoint
Config HyperParameter Tuning Job Training Job Definition Checkpoint Config - Checkpoint output location. See
checkpointConfig. - definition
Name String - Name for this definition.
- enable
Inter BooleanContainer Traffic Encryption - Whether to encrypt traffic between containers.
- enable
Managed BooleanSpot Training - Whether to use managed spot training.
- enable
Network BooleanIsolation - Whether to isolate network access for containers.
- environment Map<String,String>
- Map of environment variables.
- hyper
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges - Hyperparameter ranges for this definition. See
parameterRanges. - hyper
Parameter HyperTuning Resource Config Parameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - input
Data List<HyperConfigs Parameter Tuning Job Training Job Definition Input Data Config> - Input data channels. See
inputDataConfig. - resource
Config HyperParameter Tuning Job Training Job Definition Resource Config - Training resources. See
resourceConfig. - retry
Strategies List<HyperParameter Tuning Job Training Job Definition Retry Strategy> - Retry settings. See
retryStrategy. - static
Hyper Map<String,String>Parameters - Map of fixed hyperparameters.
- tuning
Objective HyperParameter Tuning Job Training Job Definition Tuning Objective - Objective for this training definition. See
tuningObjective. - vpc
Config HyperParameter Tuning Job Training Job Definition Vpc Config - VPC settings. See
vpcConfig.
- algorithm
Specification HyperParameter Tuning Job Training Job Definition Algorithm Specification - Algorithm settings. See
algorithmSpecification. - output
Data HyperConfig Parameter Tuning Job Training Job Definition Output Data Config - Output data settings. See
outputDataConfig. - role
Arn string - IAM role ARN used by SageMaker AI.
- stopping
Condition HyperParameter Tuning Job Training Job Definition Stopping Condition - Stopping settings. See
stoppingCondition. - checkpoint
Config HyperParameter Tuning Job Training Job Definition Checkpoint Config - Checkpoint output location. See
checkpointConfig. - definition
Name string - Name for this definition.
- enable
Inter booleanContainer Traffic Encryption - Whether to encrypt traffic between containers.
- enable
Managed booleanSpot Training - Whether to use managed spot training.
- enable
Network booleanIsolation - Whether to isolate network access for containers.
- environment {[key: string]: string}
- Map of environment variables.
- hyper
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges - Hyperparameter ranges for this definition. See
parameterRanges. - hyper
Parameter HyperTuning Resource Config Parameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - input
Data HyperConfigs Parameter Tuning Job Training Job Definition Input Data Config[] - Input data channels. See
inputDataConfig. - resource
Config HyperParameter Tuning Job Training Job Definition Resource Config - Training resources. See
resourceConfig. - retry
Strategies HyperParameter Tuning Job Training Job Definition Retry Strategy[] - Retry settings. See
retryStrategy. - static
Hyper {[key: string]: string}Parameters - Map of fixed hyperparameters.
- tuning
Objective HyperParameter Tuning Job Training Job Definition Tuning Objective - Objective for this training definition. See
tuningObjective. - vpc
Config HyperParameter Tuning Job Training Job Definition Vpc Config - VPC settings. See
vpcConfig.
- algorithm_
specification HyperParameter Tuning Job Training Job Definition Algorithm Specification - Algorithm settings. See
algorithmSpecification. - output_
data_ Hyperconfig Parameter Tuning Job Training Job Definition Output Data Config - Output data settings. See
outputDataConfig. - role_
arn str - IAM role ARN used by SageMaker AI.
- stopping_
condition HyperParameter Tuning Job Training Job Definition Stopping Condition - Stopping settings. See
stoppingCondition. - checkpoint_
config HyperParameter Tuning Job Training Job Definition Checkpoint Config - Checkpoint output location. See
checkpointConfig. - definition_
name str - Name for this definition.
- enable_
inter_ boolcontainer_ traffic_ encryption - Whether to encrypt traffic between containers.
- enable_
managed_ boolspot_ training - Whether to use managed spot training.
- enable_
network_ boolisolation - Whether to isolate network access for containers.
- environment Mapping[str, str]
- Map of environment variables.
- hyper_
parameter_ Hyperranges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges - Hyperparameter ranges for this definition. See
parameterRanges. - hyper_
parameter_ Hypertuning_ resource_ config Parameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - input_
data_ Sequence[Hyperconfigs Parameter Tuning Job Training Job Definition Input Data Config] - Input data channels. See
inputDataConfig. - resource_
config HyperParameter Tuning Job Training Job Definition Resource Config - Training resources. See
resourceConfig. - retry_
strategies Sequence[HyperParameter Tuning Job Training Job Definition Retry Strategy] - Retry settings. See
retryStrategy. - static_
hyper_ Mapping[str, str]parameters - Map of fixed hyperparameters.
- tuning_
objective HyperParameter Tuning Job Training Job Definition Tuning Objective - Objective for this training definition. See
tuningObjective. - vpc_
config HyperParameter Tuning Job Training Job Definition Vpc Config - VPC settings. See
vpcConfig.
- algorithm
Specification Property Map - Algorithm settings. See
algorithmSpecification. - output
Data Property MapConfig - Output data settings. See
outputDataConfig. - role
Arn String - IAM role ARN used by SageMaker AI.
- stopping
Condition Property Map - Stopping settings. See
stoppingCondition. - checkpoint
Config Property Map - Checkpoint output location. See
checkpointConfig. - definition
Name String - Name for this definition.
- enable
Inter BooleanContainer Traffic Encryption - Whether to encrypt traffic between containers.
- enable
Managed BooleanSpot Training - Whether to use managed spot training.
- enable
Network BooleanIsolation - Whether to isolate network access for containers.
- environment Map<String>
- Map of environment variables.
- hyper
Parameter Property MapRanges - Hyperparameter ranges for this definition. See
parameterRanges. - hyper
Parameter Property MapTuning Resource Config - Tuning resource settings. See
hyperParameterTuningResourceConfig. - input
Data List<Property Map>Configs - Input data channels. See
inputDataConfig. - resource
Config Property Map - Training resources. See
resourceConfig. - retry
Strategies List<Property Map> - Retry settings. See
retryStrategy. - static
Hyper Map<String>Parameters - Map of fixed hyperparameters.
- tuning
Objective Property Map - Objective for this training definition. See
tuningObjective. - vpc
Config Property Map - VPC settings. See
vpcConfig.
HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecification, HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationArgs
- Training
Input stringMode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- Algorithm
Name string - SageMaker algorithm ARN.
- Metric
Definitions List<HyperParameter Tuning Job Training Job Definition Algorithm Specification Metric Definition> - Metric extraction rules.
- Training
Image string - Container image used for training.
- Training
Input stringMode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- Algorithm
Name string - SageMaker algorithm ARN.
- Metric
Definitions []HyperParameter Tuning Job Training Job Definition Algorithm Specification Metric Definition - Metric extraction rules.
- Training
Image string - Container image used for training.
- training_
input_ stringmode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- algorithm_
name string - SageMaker algorithm ARN.
- metric_
definitions list(object) - Metric extraction rules.
- training_
image string - Container image used for training.
- training
Input StringMode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- algorithm
Name String - SageMaker algorithm ARN.
- metric
Definitions List<HyperParameter Tuning Job Training Job Definition Algorithm Specification Metric Definition> - Metric extraction rules.
- training
Image String - Container image used for training.
- training
Input stringMode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- algorithm
Name string - SageMaker algorithm ARN.
- metric
Definitions HyperParameter Tuning Job Training Job Definition Algorithm Specification Metric Definition[] - Metric extraction rules.
- training
Image string - Container image used for training.
- training_
input_ strmode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- algorithm_
name str - SageMaker algorithm ARN.
- metric_
definitions Sequence[HyperParameter Tuning Job Training Job Definition Algorithm Specification Metric Definition] - Metric extraction rules.
- training_
image str - Container image used for training.
- training
Input StringMode Training input mode.
Provide exactly one of
algorithmNameortrainingImage.- algorithm
Name String - SageMaker algorithm ARN.
- metric
Definitions List<Property Map> - Metric extraction rules.
- training
Image String - Container image used for training.
HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinition, HyperParameterTuningJobTrainingJobDefinitionAlgorithmSpecificationMetricDefinitionArgs
HyperParameterTuningJobTrainingJobDefinitionCheckpointConfig, HyperParameterTuningJobTrainingJobDefinitionCheckpointConfigArgs
- s3_
uri string - S3 or HTTPS destination for checkpoints.
- local_
path string - Local path for checkpoints.
- s3_
uri str - S3 or HTTPS destination for checkpoints.
- local_
path str - Local path for checkpoints.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterRanges, HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesArgs
- Auto
Parameters List<HyperParameter Tuning Job Training Job Definition Hyper Parameter Ranges Auto Parameter> - Parameter list for automatic range selection.
- Categorical
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Categorical Parameter Range> - Categorical parameter ranges.
- Continuous
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Continuous Parameter Range> - Continuous parameter ranges.
- Integer
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Integer Parameter Range> - Integer parameter ranges.
- Auto
Parameters []HyperParameter Tuning Job Training Job Definition Hyper Parameter Ranges Auto Parameter - Parameter list for automatic range selection.
- Categorical
Parameter []HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Categorical Parameter Range - Categorical parameter ranges.
- Continuous
Parameter []HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Continuous Parameter Range - Continuous parameter ranges.
- Integer
Parameter []HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Integer Parameter Range - Integer parameter ranges.
- auto_
parameters list(object) - Parameter list for automatic range selection.
- categorical_
parameter_ list(object)ranges - Categorical parameter ranges.
- continuous_
parameter_ list(object)ranges - Continuous parameter ranges.
- integer_
parameter_ list(object)ranges - Integer parameter ranges.
- auto
Parameters List<HyperParameter Tuning Job Training Job Definition Hyper Parameter Ranges Auto Parameter> - Parameter list for automatic range selection.
- categorical
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Categorical Parameter Range> - Categorical parameter ranges.
- continuous
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Continuous Parameter Range> - Continuous parameter ranges.
- integer
Parameter List<HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Integer Parameter Range> - Integer parameter ranges.
- auto
Parameters HyperParameter Tuning Job Training Job Definition Hyper Parameter Ranges Auto Parameter[] - Parameter list for automatic range selection.
- categorical
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Categorical Parameter Range[] - Categorical parameter ranges.
- continuous
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Continuous Parameter Range[] - Continuous parameter ranges.
- integer
Parameter HyperRanges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Integer Parameter Range[] - Integer parameter ranges.
- auto_
parameters Sequence[HyperParameter Tuning Job Training Job Definition Hyper Parameter Ranges Auto Parameter] - Parameter list for automatic range selection.
- categorical_
parameter_ Sequence[Hyperranges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Categorical Parameter Range] - Categorical parameter ranges.
- continuous_
parameter_ Sequence[Hyperranges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Continuous Parameter Range] - Continuous parameter ranges.
- integer_
parameter_ Sequence[Hyperranges Parameter Tuning Job Training Job Definition Hyper Parameter Ranges Integer Parameter Range] - Integer parameter ranges.
- auto
Parameters List<Property Map> - Parameter list for automatic range selection.
- categorical
Parameter List<Property Map>Ranges - Categorical parameter ranges.
- continuous
Parameter List<Property Map>Ranges - Continuous parameter ranges.
- integer
Parameter List<Property Map>Ranges - Integer parameter ranges.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameter, HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesAutoParameterArgs
- name string
- Parameter name.
- value_
hint string - Value hint for the parameter.
- name str
- Parameter name.
- value_
hint str - Value hint for the parameter.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRange, HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesCategoricalParameterRangeArgs
HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRange, HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesContinuousParameterRangeArgs
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- max_
value string - Maximum value.
- min_
value string - Minimum value.
- name string
- Parameter name.
- scaling_
type string - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
- max
Value string - Maximum value.
- min
Value string - Minimum value.
- name string
- Parameter name.
- scaling
Type string - Scaling rule for the range.
- max_
value str - Maximum value.
- min_
value str - Minimum value.
- name str
- Parameter name.
- scaling_
type str - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRange, HyperParameterTuningJobTrainingJobDefinitionHyperParameterRangesIntegerParameterRangeArgs
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- Max
Value string - Maximum value.
- Min
Value string - Minimum value.
- Name string
- Parameter name.
- Scaling
Type string - Scaling rule for the range.
- max_
value string - Maximum value.
- min_
value string - Minimum value.
- name string
- Parameter name.
- scaling_
type string - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
- max
Value string - Maximum value.
- min
Value string - Minimum value.
- name string
- Parameter name.
- scaling
Type string - Scaling rule for the range.
- max_
value str - Maximum value.
- min_
value str - Minimum value.
- name str
- Parameter name.
- scaling_
type str - Scaling rule for the range.
- max
Value String - Maximum value.
- min
Value String - Minimum value.
- name String
- Parameter name.
- scaling
Type String - Scaling rule for the range.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfig, HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigArgs
- Allocation
Strategy string - Allocation strategy for tuning resources.
- Instance
Configs List<HyperParameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config Instance Config> - Per-instance-type resource settings. See
instanceConfigs. - Instance
Count int - Number of training instances.
- Instance
Type string - Training instance type.
- Volume
Kms stringKey Id - KMS key ID for volume encryption.
- Volume
Size intIn Gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- Allocation
Strategy string - Allocation strategy for tuning resources.
- Instance
Configs []HyperParameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config Instance Config - Per-instance-type resource settings. See
instanceConfigs. - Instance
Count int - Number of training instances.
- Instance
Type string - Training instance type.
- Volume
Kms stringKey Id - KMS key ID for volume encryption.
- Volume
Size intIn Gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- allocation_
strategy string - Allocation strategy for tuning resources.
- instance_
configs list(object) - Per-instance-type resource settings. See
instanceConfigs. - instance_
count number - Number of training instances.
- instance_
type string - Training instance type.
- volume_
kms_ stringkey_ id - KMS key ID for volume encryption.
- volume_
size_ numberin_ gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- allocation
Strategy String - Allocation strategy for tuning resources.
- instance
Configs List<HyperParameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config Instance Config> - Per-instance-type resource settings. See
instanceConfigs. - instance
Count Integer - Number of training instances.
- instance
Type String - Training instance type.
- volume
Kms StringKey Id - KMS key ID for volume encryption.
- volume
Size IntegerIn Gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- allocation
Strategy string - Allocation strategy for tuning resources.
- instance
Configs HyperParameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config Instance Config[] - Per-instance-type resource settings. See
instanceConfigs. - instance
Count number - Number of training instances.
- instance
Type string - Training instance type.
- volume
Kms stringKey Id - KMS key ID for volume encryption.
- volume
Size numberIn Gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- allocation_
strategy str - Allocation strategy for tuning resources.
- instance_
configs Sequence[HyperParameter Tuning Job Training Job Definition Hyper Parameter Tuning Resource Config Instance Config] - Per-instance-type resource settings. See
instanceConfigs. - instance_
count int - Number of training instances.
- instance_
type str - Training instance type.
- volume_
kms_ strkey_ id - KMS key ID for volume encryption.
- volume_
size_ intin_ gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
- allocation
Strategy String - Allocation strategy for tuning resources.
- instance
Configs List<Property Map> - Per-instance-type resource settings. See
instanceConfigs. - instance
Count Number - Number of training instances.
- instance
Type String - Training instance type.
- volume
Kms StringKey Id - KMS key ID for volume encryption.
- volume
Size NumberIn Gb Volume size in GB.
Do not set
instanceCount,instanceType, orvolumeSizeInGbwheninstanceConfigsis set.
HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfig, HyperParameterTuningJobTrainingJobDefinitionHyperParameterTuningResourceConfigInstanceConfigArgs
- Instance
Count int - Number of instances.
- Instance
Type string - Instance type.
- Volume
Size intIn Gb - Volume size in GB.
- Instance
Count int - Number of instances.
- Instance
Type string - Instance type.
- Volume
Size intIn Gb - Volume size in GB.
- instance_
count number - Number of instances.
- instance_
type string - Instance type.
- volume_
size_ numberin_ gb - Volume size in GB.
- instance
Count Integer - Number of instances.
- instance
Type String - Instance type.
- volume
Size IntegerIn Gb - Volume size in GB.
- instance
Count number - Number of instances.
- instance
Type string - Instance type.
- volume
Size numberIn Gb - Volume size in GB.
- instance_
count int - Number of instances.
- instance_
type str - Instance type.
- volume_
size_ intin_ gb - Volume size in GB.
- instance
Count Number - Number of instances.
- instance
Type String - Instance type.
- volume
Size NumberIn Gb - Volume size in GB.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfig, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigArgs
- Channel
Name string - Input channel name.
- Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source - Data source settings. See
dataSource. - Compression
Type string - Compression type.
- Content
Type string - Content type string.
- Input
Mode string - Input mode.
- Record
Wrapper stringType - Record wrapper format.
- Shuffle
Config HyperParameter Tuning Job Training Job Definition Input Data Config Shuffle Config - Shuffling settings. See
shuffleConfig.
- Channel
Name string - Input channel name.
- Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source - Data source settings. See
dataSource. - Compression
Type string - Compression type.
- Content
Type string - Content type string.
- Input
Mode string - Input mode.
- Record
Wrapper stringType - Record wrapper format.
- Shuffle
Config HyperParameter Tuning Job Training Job Definition Input Data Config Shuffle Config - Shuffling settings. See
shuffleConfig.
- channel_
name string - Input channel name.
- data_
source object - Data source settings. See
dataSource. - compression_
type string - Compression type.
- content_
type string - Content type string.
- input_
mode string - Input mode.
- record_
wrapper_ stringtype - Record wrapper format.
- shuffle_
config object - Shuffling settings. See
shuffleConfig.
- channel
Name String - Input channel name.
- data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source - Data source settings. See
dataSource. - compression
Type String - Compression type.
- content
Type String - Content type string.
- input
Mode String - Input mode.
- record
Wrapper StringType - Record wrapper format.
- shuffle
Config HyperParameter Tuning Job Training Job Definition Input Data Config Shuffle Config - Shuffling settings. See
shuffleConfig.
- channel
Name string - Input channel name.
- data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source - Data source settings. See
dataSource. - compression
Type string - Compression type.
- content
Type string - Content type string.
- input
Mode string - Input mode.
- record
Wrapper stringType - Record wrapper format.
- shuffle
Config HyperParameter Tuning Job Training Job Definition Input Data Config Shuffle Config - Shuffling settings. See
shuffleConfig.
- channel_
name str - Input channel name.
- data_
source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source - Data source settings. See
dataSource. - compression_
type str - Compression type.
- content_
type str - Content type string.
- input_
mode str - Input mode.
- record_
wrapper_ strtype - Record wrapper format.
- shuffle_
config HyperParameter Tuning Job Training Job Definition Input Data Config Shuffle Config - Shuffling settings. See
shuffleConfig.
- channel
Name String - Input channel name.
- data
Source Property Map - Data source settings. See
dataSource. - compression
Type String - Compression type.
- content
Type String - Content type string.
- input
Mode String - Input mode.
- record
Wrapper StringType - Record wrapper format.
- shuffle
Config Property Map - Shuffling settings. See
shuffleConfig.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSource, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceArgs
- File
System HyperData Source Parameter Tuning Job Training Job Definition Input Data Config Data Source File System Data Source - File system source settings. See
fileSystemDataSource. - S3Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source - S3 source settings. See
s3DataSource.
- File
System HyperData Source Parameter Tuning Job Training Job Definition Input Data Config Data Source File System Data Source - File system source settings. See
fileSystemDataSource. - S3Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source - S3 source settings. See
s3DataSource.
- file_
system_ objectdata_ source - File system source settings. See
fileSystemDataSource. - s3_
data_ objectsource - S3 source settings. See
s3DataSource.
- file
System HyperData Source Parameter Tuning Job Training Job Definition Input Data Config Data Source File System Data Source - File system source settings. See
fileSystemDataSource. - s3Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source - S3 source settings. See
s3DataSource.
- file
System HyperData Source Parameter Tuning Job Training Job Definition Input Data Config Data Source File System Data Source - File system source settings. See
fileSystemDataSource. - s3Data
Source HyperParameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source - S3 source settings. See
s3DataSource.
- file_
system_ Hyperdata_ source Parameter Tuning Job Training Job Definition Input Data Config Data Source File System Data Source - File system source settings. See
fileSystemDataSource. - s3_
data_ Hypersource Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source - S3 source settings. See
s3DataSource.
- file
System Property MapData Source - File system source settings. See
fileSystemDataSource. - s3Data
Source Property Map - S3 source settings. See
s3DataSource.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSource, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceFileSystemDataSourceArgs
- Directory
Path string - Directory path in the file system.
- File
System stringAccess Mode - Access mode for the file system.
- File
System stringId - File system ID.
- File
System stringType - File system type.
- Directory
Path string - Directory path in the file system.
- File
System stringAccess Mode - Access mode for the file system.
- File
System stringId - File system ID.
- File
System stringType - File system type.
- directory_
path string - Directory path in the file system.
- file_
system_ stringaccess_ mode - Access mode for the file system.
- file_
system_ stringid - File system ID.
- file_
system_ stringtype - File system type.
- directory
Path String - Directory path in the file system.
- file
System StringAccess Mode - Access mode for the file system.
- file
System StringId - File system ID.
- file
System StringType - File system type.
- directory
Path string - Directory path in the file system.
- file
System stringAccess Mode - Access mode for the file system.
- file
System stringId - File system ID.
- file
System stringType - File system type.
- directory_
path str - Directory path in the file system.
- file_
system_ straccess_ mode - Access mode for the file system.
- file_
system_ strid - File system ID.
- file_
system_ strtype - File system type.
- directory
Path String - Directory path in the file system.
- file
System StringAccess Mode - Access mode for the file system.
- file
System StringId - File system ID.
- file
System StringType - File system type.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSource, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceArgs
- S3Data
Type string - S3 data type.
- S3Uri string
- S3 or HTTPS source URI.
- Attribute
Names List<string> - Attribute names for Pipe mode.
- Hub
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Hub Access Config - Hub access settings. See
hubAccessConfig. - Instance
Group List<string>Names - Instance group names used with this channel.
- Model
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Model Access Config - Model access settings. See
modelAccessConfig. - S3Data
Distribution stringType - Distribution mode for S3 data.
- S3Data
Type string - S3 data type.
- S3Uri string
- S3 or HTTPS source URI.
- Attribute
Names []string - Attribute names for Pipe mode.
- Hub
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Hub Access Config - Hub access settings. See
hubAccessConfig. - Instance
Group []stringNames - Instance group names used with this channel.
- Model
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Model Access Config - Model access settings. See
modelAccessConfig. - S3Data
Distribution stringType - Distribution mode for S3 data.
- s3_
data_ stringtype - S3 data type.
- s3_
uri string - S3 or HTTPS source URI.
- attribute_
names list(string) - Attribute names for Pipe mode.
- hub_
access_ objectconfig - Hub access settings. See
hubAccessConfig. - instance_
group_ list(string)names - Instance group names used with this channel.
- model_
access_ objectconfig - Model access settings. See
modelAccessConfig. - s3_
data_ stringdistribution_ type - Distribution mode for S3 data.
- s3Data
Type String - S3 data type.
- s3Uri String
- S3 or HTTPS source URI.
- attribute
Names List<String> - Attribute names for Pipe mode.
- hub
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Hub Access Config - Hub access settings. See
hubAccessConfig. - instance
Group List<String>Names - Instance group names used with this channel.
- model
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Model Access Config - Model access settings. See
modelAccessConfig. - s3Data
Distribution StringType - Distribution mode for S3 data.
- s3Data
Type string - S3 data type.
- s3Uri string
- S3 or HTTPS source URI.
- attribute
Names string[] - Attribute names for Pipe mode.
- hub
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Hub Access Config - Hub access settings. See
hubAccessConfig. - instance
Group string[]Names - Instance group names used with this channel.
- model
Access HyperConfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Model Access Config - Model access settings. See
modelAccessConfig. - s3Data
Distribution stringType - Distribution mode for S3 data.
- s3_
data_ strtype - S3 data type.
- s3_
uri str - S3 or HTTPS source URI.
- attribute_
names Sequence[str] - Attribute names for Pipe mode.
- hub_
access_ Hyperconfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Hub Access Config - Hub access settings. See
hubAccessConfig. - instance_
group_ Sequence[str]names - Instance group names used with this channel.
- model_
access_ Hyperconfig Parameter Tuning Job Training Job Definition Input Data Config Data Source S3Data Source Model Access Config - Model access settings. See
modelAccessConfig. - s3_
data_ strdistribution_ type - Distribution mode for S3 data.
- s3Data
Type String - S3 data type.
- s3Uri String
- S3 or HTTPS source URI.
- attribute
Names List<String> - Attribute names for Pipe mode.
- hub
Access Property MapConfig - Hub access settings. See
hubAccessConfig. - instance
Group List<String>Names - Instance group names used with this channel.
- model
Access Property MapConfig - Model access settings. See
modelAccessConfig. - s3Data
Distribution StringType - Distribution mode for S3 data.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfig, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceHubAccessConfigArgs
- Hub
Content stringArn - Hub content ARN.
- Hub
Content stringArn - Hub content ARN.
- hub_
content_ stringarn - Hub content ARN.
- hub
Content StringArn - Hub content ARN.
- hub
Content stringArn - Hub content ARN.
- hub_
content_ strarn - Hub content ARN.
- hub
Content StringArn - Hub content ARN.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfig, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigDataSourceS3DataSourceModelAccessConfigArgs
- Accept
Eula bool - Whether to accept model EULA. Value must be
true.
- Accept
Eula bool - Whether to accept model EULA. Value must be
true.
- accept_
eula bool - Whether to accept model EULA. Value must be
true.
- accept
Eula Boolean - Whether to accept model EULA. Value must be
true.
- accept
Eula boolean - Whether to accept model EULA. Value must be
true.
- accept_
eula bool - Whether to accept model EULA. Value must be
true.
- accept
Eula Boolean - Whether to accept model EULA. Value must be
true.
HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfig, HyperParameterTuningJobTrainingJobDefinitionInputDataConfigShuffleConfigArgs
- Seed int
- Shuffle seed.
- Seed int
- Shuffle seed.
- seed number
- Shuffle seed.
- seed Integer
- Shuffle seed.
- seed number
- Shuffle seed.
- seed int
- Shuffle seed.
- seed Number
- Shuffle seed.
HyperParameterTuningJobTrainingJobDefinitionOutputDataConfig, HyperParameterTuningJobTrainingJobDefinitionOutputDataConfigArgs
- S3Output
Path string - S3 or HTTPS output path.
- Compression
Type string - Compression type for output.
- Kms
Key stringId - KMS key ID for output encryption.
- S3Output
Path string - S3 or HTTPS output path.
- Compression
Type string - Compression type for output.
- Kms
Key stringId - KMS key ID for output encryption.
- s3_
output_ stringpath - S3 or HTTPS output path.
- compression_
type string - Compression type for output.
- kms_
key_ stringid - KMS key ID for output encryption.
- s3Output
Path String - S3 or HTTPS output path.
- compression
Type String - Compression type for output.
- kms
Key StringId - KMS key ID for output encryption.
- s3Output
Path string - S3 or HTTPS output path.
- compression
Type string - Compression type for output.
- kms
Key stringId - KMS key ID for output encryption.
- s3_
output_ strpath - S3 or HTTPS output path.
- compression_
type str - Compression type for output.
- kms_
key_ strid - KMS key ID for output encryption.
- s3Output
Path String - S3 or HTTPS output path.
- compression
Type String - Compression type for output.
- kms
Key StringId - KMS key ID for output encryption.
HyperParameterTuningJobTrainingJobDefinitionResourceConfig, HyperParameterTuningJobTrainingJobDefinitionResourceConfigArgs
- Instance
Count int - Number of instances.
- Instance
Groups List<HyperParameter Tuning Job Training Job Definition Resource Config Instance Group> - Instance group settings. See
instanceGroups. - Instance
Placement HyperConfig Parameter Tuning Job Training Job Definition Resource Config Instance Placement Config - Placement settings. See
instancePlacementConfig. - Instance
Type string - Instance type.
- Keep
Alive intPeriod In Seconds - Warm pool keep-alive period in seconds.
- Training
Plan stringArn - Training plan ARN.
- Volume
Kms stringKey Id - KMS key ID for volume encryption.
- Volume
Size intIn Gb - Volume size in GB.
- Instance
Count int - Number of instances.
- Instance
Groups []HyperParameter Tuning Job Training Job Definition Resource Config Instance Group - Instance group settings. See
instanceGroups. - Instance
Placement HyperConfig Parameter Tuning Job Training Job Definition Resource Config Instance Placement Config - Placement settings. See
instancePlacementConfig. - Instance
Type string - Instance type.
- Keep
Alive intPeriod In Seconds - Warm pool keep-alive period in seconds.
- Training
Plan stringArn - Training plan ARN.
- Volume
Kms stringKey Id - KMS key ID for volume encryption.
- Volume
Size intIn Gb - Volume size in GB.
- instance_
count number - Number of instances.
- instance_
groups list(object) - Instance group settings. See
instanceGroups. - instance_
placement_ objectconfig - Placement settings. See
instancePlacementConfig. - instance_
type string - Instance type.
- keep_
alive_ numberperiod_ in_ seconds - Warm pool keep-alive period in seconds.
- training_
plan_ stringarn - Training plan ARN.
- volume_
kms_ stringkey_ id - KMS key ID for volume encryption.
- volume_
size_ numberin_ gb - Volume size in GB.
- instance
Count Integer - Number of instances.
- instance
Groups List<HyperParameter Tuning Job Training Job Definition Resource Config Instance Group> - Instance group settings. See
instanceGroups. - instance
Placement HyperConfig Parameter Tuning Job Training Job Definition Resource Config Instance Placement Config - Placement settings. See
instancePlacementConfig. - instance
Type String - Instance type.
- keep
Alive IntegerPeriod In Seconds - Warm pool keep-alive period in seconds.
- training
Plan StringArn - Training plan ARN.
- volume
Kms StringKey Id - KMS key ID for volume encryption.
- volume
Size IntegerIn Gb - Volume size in GB.
- instance
Count number - Number of instances.
- instance
Groups HyperParameter Tuning Job Training Job Definition Resource Config Instance Group[] - Instance group settings. See
instanceGroups. - instance
Placement HyperConfig Parameter Tuning Job Training Job Definition Resource Config Instance Placement Config - Placement settings. See
instancePlacementConfig. - instance
Type string - Instance type.
- keep
Alive numberPeriod In Seconds - Warm pool keep-alive period in seconds.
- training
Plan stringArn - Training plan ARN.
- volume
Kms stringKey Id - KMS key ID for volume encryption.
- volume
Size numberIn Gb - Volume size in GB.
- instance_
count int - Number of instances.
- instance_
groups Sequence[HyperParameter Tuning Job Training Job Definition Resource Config Instance Group] - Instance group settings. See
instanceGroups. - instance_
placement_ Hyperconfig Parameter Tuning Job Training Job Definition Resource Config Instance Placement Config - Placement settings. See
instancePlacementConfig. - instance_
type str - Instance type.
- keep_
alive_ intperiod_ in_ seconds - Warm pool keep-alive period in seconds.
- training_
plan_ strarn - Training plan ARN.
- volume_
kms_ strkey_ id - KMS key ID for volume encryption.
- volume_
size_ intin_ gb - Volume size in GB.
- instance
Count Number - Number of instances.
- instance
Groups List<Property Map> - Instance group settings. See
instanceGroups. - instance
Placement Property MapConfig - Placement settings. See
instancePlacementConfig. - instance
Type String - Instance type.
- keep
Alive NumberPeriod In Seconds - Warm pool keep-alive period in seconds.
- training
Plan StringArn - Training plan ARN.
- volume
Kms StringKey Id - KMS key ID for volume encryption.
- volume
Size NumberIn Gb - Volume size in GB.
HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroup, HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstanceGroupArgs
- Instance
Count int - Number of instances in the group.
- Instance
Group stringName - Name of the group.
- Instance
Type string - Instance type.
- Instance
Count int - Number of instances in the group.
- Instance
Group stringName - Name of the group.
- Instance
Type string - Instance type.
- instance_
count number - Number of instances in the group.
- instance_
group_ stringname - Name of the group.
- instance_
type string - Instance type.
- instance
Count Integer - Number of instances in the group.
- instance
Group StringName - Name of the group.
- instance
Type String - Instance type.
- instance
Count number - Number of instances in the group.
- instance
Group stringName - Name of the group.
- instance
Type string - Instance type.
- instance_
count int - Number of instances in the group.
- instance_
group_ strname - Name of the group.
- instance_
type str - Instance type.
- instance
Count Number - Number of instances in the group.
- instance
Group StringName - Name of the group.
- instance
Type String - Instance type.
HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfig, HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigArgs
- Enable
Multiple boolJobs - Whether to run multiple jobs on shared infrastructure.
- Placement
Specifications List<HyperParameter Tuning Job Training Job Definition Resource Config Instance Placement Config Placement Specification> - Placement details. See
placementSpecifications.
- Enable
Multiple boolJobs - Whether to run multiple jobs on shared infrastructure.
- Placement
Specifications []HyperParameter Tuning Job Training Job Definition Resource Config Instance Placement Config Placement Specification - Placement details. See
placementSpecifications.
- enable_
multiple_ booljobs - Whether to run multiple jobs on shared infrastructure.
- placement_
specifications list(object) - Placement details. See
placementSpecifications.
- enable
Multiple BooleanJobs - Whether to run multiple jobs on shared infrastructure.
- placement
Specifications List<HyperParameter Tuning Job Training Job Definition Resource Config Instance Placement Config Placement Specification> - Placement details. See
placementSpecifications.
- enable
Multiple booleanJobs - Whether to run multiple jobs on shared infrastructure.
- placement
Specifications HyperParameter Tuning Job Training Job Definition Resource Config Instance Placement Config Placement Specification[] - Placement details. See
placementSpecifications.
- enable_
multiple_ booljobs - Whether to run multiple jobs on shared infrastructure.
- placement_
specifications Sequence[HyperParameter Tuning Job Training Job Definition Resource Config Instance Placement Config Placement Specification] - Placement details. See
placementSpecifications.
- enable
Multiple BooleanJobs - Whether to run multiple jobs on shared infrastructure.
- placement
Specifications List<Property Map> - Placement details. See
placementSpecifications.
HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecification, HyperParameterTuningJobTrainingJobDefinitionResourceConfigInstancePlacementConfigPlacementSpecificationArgs
- Instance
Count int - Number of instances in this placement item.
- Ultra
Server stringId - UltraServer ID.
- Instance
Count int - Number of instances in this placement item.
- Ultra
Server stringId - UltraServer ID.
- instance_
count number - Number of instances in this placement item.
- ultra_
server_ stringid - UltraServer ID.
- instance
Count Integer - Number of instances in this placement item.
- ultra
Server StringId - UltraServer ID.
- instance
Count number - Number of instances in this placement item.
- ultra
Server stringId - UltraServer ID.
- instance_
count int - Number of instances in this placement item.
- ultra_
server_ strid - UltraServer ID.
- instance
Count Number - Number of instances in this placement item.
- ultra
Server StringId - UltraServer ID.
HyperParameterTuningJobTrainingJobDefinitionRetryStrategy, HyperParameterTuningJobTrainingJobDefinitionRetryStrategyArgs
- Maximum
Retry intAttempts - Maximum retry attempts.
- Maximum
Retry intAttempts - Maximum retry attempts.
- maximum_
retry_ numberattempts - Maximum retry attempts.
- maximum
Retry IntegerAttempts - Maximum retry attempts.
- maximum
Retry numberAttempts - Maximum retry attempts.
- maximum_
retry_ intattempts - Maximum retry attempts.
- maximum
Retry NumberAttempts - Maximum retry attempts.
HyperParameterTuningJobTrainingJobDefinitionStoppingCondition, HyperParameterTuningJobTrainingJobDefinitionStoppingConditionArgs
- Max
Pending intTime In Seconds - Maximum pending time in seconds.
- Max
Runtime intIn Seconds - Maximum runtime in seconds.
- Max
Wait intTime In Seconds - Maximum wait time in seconds.
- Max
Pending intTime In Seconds - Maximum pending time in seconds.
- Max
Runtime intIn Seconds - Maximum runtime in seconds.
- Max
Wait intTime In Seconds - Maximum wait time in seconds.
- max_
pending_ numbertime_ in_ seconds - Maximum pending time in seconds.
- max_
runtime_ numberin_ seconds - Maximum runtime in seconds.
- max_
wait_ numbertime_ in_ seconds - Maximum wait time in seconds.
- max
Pending IntegerTime In Seconds - Maximum pending time in seconds.
- max
Runtime IntegerIn Seconds - Maximum runtime in seconds.
- max
Wait IntegerTime In Seconds - Maximum wait time in seconds.
- max
Pending numberTime In Seconds - Maximum pending time in seconds.
- max
Runtime numberIn Seconds - Maximum runtime in seconds.
- max
Wait numberTime In Seconds - Maximum wait time in seconds.
- max_
pending_ inttime_ in_ seconds - Maximum pending time in seconds.
- max_
runtime_ intin_ seconds - Maximum runtime in seconds.
- max_
wait_ inttime_ in_ seconds - Maximum wait time in seconds.
- max
Pending NumberTime In Seconds - Maximum pending time in seconds.
- max
Runtime NumberIn Seconds - Maximum runtime in seconds.
- max
Wait NumberTime In Seconds - Maximum wait time in seconds.
HyperParameterTuningJobTrainingJobDefinitionTuningObjective, HyperParameterTuningJobTrainingJobDefinitionTuningObjectiveArgs
- Metric
Name string - Metric name for objective.
- Type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- Metric
Name string - Metric name for objective.
- Type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric_
name string - Metric name for objective.
- type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name String - Metric name for objective.
- type String
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name string - Metric name for objective.
- type string
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric_
name str - Metric name for objective.
- type str
- Optimization direction. Valid values include
MinimizeandMaximize.
- metric
Name String - Metric name for objective.
- type String
- Optimization direction. Valid values include
MinimizeandMaximize.
HyperParameterTuningJobTrainingJobDefinitionVpcConfig, HyperParameterTuningJobTrainingJobDefinitionVpcConfigArgs
- Security
Group List<string>Ids - Security group IDs.
- Subnets List<string>
- Subnet IDs.
- Security
Group []stringIds - Security group IDs.
- Subnets []string
- Subnet IDs.
- security_
group_ list(string)ids - Security group IDs.
- subnets list(string)
- Subnet IDs.
- security
Group List<String>Ids - Security group IDs.
- subnets List<String>
- Subnet IDs.
- security
Group string[]Ids - Security group IDs.
- subnets string[]
- Subnet IDs.
- security_
group_ Sequence[str]ids - Security group IDs.
- subnets Sequence[str]
- Subnet IDs.
- security
Group List<String>Ids - Security group IDs.
- subnets List<String>
- Subnet IDs.
HyperParameterTuningJobWarmStartConfig, HyperParameterTuningJobWarmStartConfigArgs
- Parent
Hyper List<HyperParameter Tuning Jobs Parameter Tuning Job Warm Start Config Parent Hyper Parameter Tuning Job> - Parent tuning jobs for warm start.
- Warm
Start stringType - Warm start mode.
- Parent
Hyper []HyperParameter Tuning Jobs Parameter Tuning Job Warm Start Config Parent Hyper Parameter Tuning Job - Parent tuning jobs for warm start.
- Warm
Start stringType - Warm start mode.
- parent_
hyper_ list(object)parameter_ tuning_ jobs - Parent tuning jobs for warm start.
- warm_
start_ stringtype - Warm start mode.
- parent
Hyper List<HyperParameter Tuning Jobs Parameter Tuning Job Warm Start Config Parent Hyper Parameter Tuning Job> - Parent tuning jobs for warm start.
- warm
Start StringType - Warm start mode.
- parent
Hyper HyperParameter Tuning Jobs Parameter Tuning Job Warm Start Config Parent Hyper Parameter Tuning Job[] - Parent tuning jobs for warm start.
- warm
Start stringType - Warm start mode.
- parent_
hyper_ Sequence[Hyperparameter_ tuning_ jobs Parameter Tuning Job Warm Start Config Parent Hyper Parameter Tuning Job] - Parent tuning jobs for warm start.
- warm_
start_ strtype - Warm start mode.
- parent
Hyper List<Property Map>Parameter Tuning Jobs - Parent tuning jobs for warm start.
- warm
Start StringType - Warm start mode.
HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJob, HyperParameterTuningJobWarmStartConfigParentHyperParameterTuningJobArgs
- Name string
- Parent tuning job name.
- Name string
- Parent tuning job name.
- name string
- Parent tuning job name.
- name String
- Parent tuning job name.
- name string
- Parent tuning job name.
- name str
- Parent tuning job name.
- name String
- Parent tuning job name.
Import
Identity Schema
Required
name(String) Name of the Hyper Parameter Tuning Job.
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import SageMaker AI Hyper Parameter Tuning Jobs using name. For example:
$ pulumi import aws:sagemaker/hyperParameterTuningJob:HyperParameterTuningJob example example-hyper-parameter-tuning-job
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, May 14, 2026 by Pulumi
