(self)
return self._target_capacity
The target (or desired) weighted capacity for this AWSResourceGroup

        Note that the actual weighted capacity in the AWSResourceGroup may be smaller or larger than the
        target capacity, depending on the state of the AWSResourceGroup, available instance types, and
        previous operations; use self.fulfilled_capacity to get the actual capacity
The target (or desired) weighted capacity for this AWSResourceGroup
The target ( or desired ) weighted capacity for this AWSResourceGroup
def target_capacity(self) -> float:
        """ The target (or desired) weighted capacity for this AWSResourceGroup

        Note that the actual weighted capacity in the AWSResourceGroup may be smaller or larger than the
        target capacity, depending on the state of the AWSResourceGroup, available instance types, and
        previous operations; use self.fulfilled_capacity to get the actual capacity
        """
        if self.is_stale:
            # If we're in cancelled, cancelled_running, or cancelled_terminated, then no more instances will be
            # launched. This is effectively a target_capacity of 0, so let's just pretend like it is.
            return 0
        return self._target_capacity
def target_capacity ( self ) -> float : if self . is_stale : # If we're in cancelled, cancelled_running, or cancelled_terminated, then no more instances will be # launched. This is effectively a target_capacity of 0, so let's just pretend like it is. return 0 return self . _target_capacity