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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



2749
2750
2751
2752
2753
2754
2755
2756
2757
# File 'lib/aws-sdk-batch/types.rb', line 2749

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)


2749
2750
2751
2752
2753
2754
2755
2756
2757
# File 'lib/aws-sdk-batch/types.rb', line 2749

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)


2749
2750
2751
2752
2753
2754
2755
2756
2757
# File 'lib/aws-sdk-batch/types.rb', line 2749

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)


2749
2750
2751
2752
2753
2754
2755
2756
2757
# File 'lib/aws-sdk-batch/types.rb', line 2749

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].

[1]: docs.aws.amazon.com/batch/latest/userguide/using-tags.html

Returns:

  • (Hash<String,String>)


2749
2750
2751
2752
2753
2754
2755
2756
2757
# File 'lib/aws-sdk-batch/types.rb', line 2749

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