Class: Aws::SageMaker::Types::CapacitySize
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::CapacitySize
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy. You can specify your batches as either instance count or the overall percentage or your fleet.
For a rollback strategy, if you don’t specify the fields in this object, or if you set the ‘Value` to 100%, then SageMaker uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
Specifies the endpoint capacity type.
-
#value ⇒ Integer
Defines the capacity size, either as a number of instances or a capacity percentage.
Instance Attribute Details
#type ⇒ String
Specifies the endpoint capacity type.
-
‘INSTANCE_COUNT`: The endpoint activates based on the number of instances.
-
‘CAPACITY_PERCENT`: The endpoint activates based on the specified percentage of capacity.
3508 3509 3510 3511 3512 3513 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 3508 class CapacitySize < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Integer
Defines the capacity size, either as a number of instances or a capacity percentage.
3508 3509 3510 3511 3512 3513 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 3508 class CapacitySize < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |