Class: Aws::Batch::Types::CreateServiceEnvironmentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_limitsArray<Types::CapacityLimit>

The capacity limits for the service environment. The number of instances a job consumes is the total number of instances requested in the submit training job request resource configuration.

Returns:



2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2659

class CreateServiceEnvironmentRequest < Struct.new(
  :service_environment_name,
  :service_environment_type,
  :state,
  :capacity_limits,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#service_environment_nameString

The name for the service environment. It can be up to 128 characters long and can contain letters, numbers, hyphens (-), and underscores (_).

Returns:

  • (String)


2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2659

class CreateServiceEnvironmentRequest < Struct.new(
  :service_environment_name,
  :service_environment_type,
  :state,
  :capacity_limits,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#service_environment_typeString

The type of service environment. For SageMaker Training jobs, specify SAGEMAKER_TRAINING.

Returns:

  • (String)


2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2659

class CreateServiceEnvironmentRequest < Struct.new(
  :service_environment_name,
  :service_environment_type,
  :state,
  :capacity_limits,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the service environment. Valid values are ENABLED and DISABLED. The default value is ENABLED.

Returns:

  • (String)


2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2659

class CreateServiceEnvironmentRequest < Struct.new(
  :service_environment_name,
  :service_environment_type,
  :state,
  :capacity_limits,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags that you apply to the service environment to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

Returns:

  • (Hash<String,String>)


2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 2659

class CreateServiceEnvironmentRequest < Struct.new(
  :service_environment_name,
  :service_environment_type,
  :state,
  :capacity_limits,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end