Class: Aws::SageMaker::Types::ResourceSharingConfig

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Resource sharing configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#borrow_limitInteger

The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.

Default is ‘50`.

Returns:

  • (Integer)


41419
41420
41421
41422
41423
41424
# File 'lib/aws-sdk-sagemaker/types.rb', line 41419

class ResourceSharingConfig < Struct.new(
  :strategy,
  :borrow_limit)
  SENSITIVE = []
  include Aws::Structure
end

#strategyString

The strategy of how idle compute is shared within the cluster. The following are the options of strategies.

  • ‘DontLend`: entities do not lend idle compute.

  • ‘Lend`: entities can lend idle compute to entities that can borrow.

  • ‘LendandBorrow`: entities can lend idle compute and borrow idle compute from other entities.

Default is ‘LendandBorrow`.

Returns:

  • (String)


41419
41420
41421
41422
41423
41424
# File 'lib/aws-sdk-sagemaker/types.rb', line 41419

class ResourceSharingConfig < Struct.new(
  :strategy,
  :borrow_limit)
  SENSITIVE = []
  include Aws::Structure
end