'Adds an API Gateway method (Http verb + Resource path) to the list of allowed
methods and includes a condition for the policy statement. More on AWS policy
conditions here: http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#Condition'

def allowMethodWithConditions(self, verb, resource, conditions):

    self._addMethod('Allow', verb, resource, conditions)
