CapacityLimit 
    class CapacityLimit
Defines the capacity limit for a service environment. This structure specifies the maximum amount of resources that can be used by service jobs in the environment.
Types
Properties
Link copied to clipboard
                  The unit of measure for the capacity limit. This defines how the maxCapacity value should be interpreted. For SAGEMAKER_TRAINING jobs, use NUM_INSTANCES.
Link copied to clipboard
                  The maximum capacity available for the service environment. This value represents the maximum amount of resources that can be allocated to service jobs.