CapacitySize
¶
Source code in docs_src/capo_sagemaker/types/capacity_size.py
type
instance-attribute
¶
type: NotRequired[CapacitySizeType]
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.
value
instance-attribute
¶
value: NotRequired[CapacitySizeValue]
Defines the capacity size, either as a number of instances or a capacity percentage.