class Convection::Model::Template::Resource::ApiGatewayUsagePlan

AWS::ApiGateway::UsagePlan

Public Instance Methods

api_stage(&block) click to toggle source
# File lib/convection/model/template/resource/aws_api_gateway_usage_plan.rb, line 18
def api_stage(&block)
  r = ResourceProperty::ApiGatewayUsagePlanApiStage.new(self)
  r.instance_exec(&block) if block
  api_stages << r
end
quota(&block) click to toggle source
# File lib/convection/model/template/resource/aws_api_gateway_usage_plan.rb, line 24
def quota(&block)
  i = ResourceProperty::ApiGatewayUsagePlanQuotaSettings.new(self)
  i.instance_exec(&block) if block
  properties['Quota'].set(i)
end
throttle(&block) click to toggle source
# File lib/convection/model/template/resource/aws_api_gateway_usage_plan.rb, line 30
def throttle(&block)
  i = ResourceProperty::ApiGatewayUsagePlanThrottleSettings.new(self)
  i.instance_exec(&block) if block
  properties['Throttle'].set(i)
end