def __virtual__():
    if __salt__['cmd.has_exec']('aws'):
        return 'aws_sqs'
    return False
Only load if aws is available.
dataset/ETHPy150Open saltstack/salt/salt/states/aws_sqs.py/__virtual__