Sha256: b4b07b688e10d250594d9edd63e17ba4d37f1e7ace4da815727157ea90b41afc

Contents?: true

Size: 1.33 KB

Versions: 41

Compression:

Stored size: 1.33 KB

Contents

require_relative '../resource_property'

module Convection
  module Model
    class Template
      class ResourceProperty
        # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html
        # API Gateway Method Integration Property Type}
        class ApiGatewayMethodIntegration < ResourceProperty
          property :cache_key_parameters, 'CacheKeyParameters', :type => :list # [ String, ... ],
          property :cache_namespace, 'CacheNamespace'
          property :credentials, 'Credentials'
          property :integration_http_method, 'IntegrationHttpMethod'
          property :integration_responses, 'IntegrationResponses', :type => :list # [ IntegrationResponse, ... ],
          property :passthrough_behavior, 'PassthroughBehavior'
          property :request_parameters, 'RequestParameters', :type => :hash # { String:String, ... },
          property :request_templates, 'RequestTemplates', :type => :hash # { String:String, ... },
          property :type, 'Type'
          property :uri, 'Uri'

          def integration_response(&block)
            i = ResourceProperty::ApiGatewayMethodIntegrationIntegrationResponse.new(self)
            i.instance_exec(&block) if block
            integration_responses << i
          end
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.3.0 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.29 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.27 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.26 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.25 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.24 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.23 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.22 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.21 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.20 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.19 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.18 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.17 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.16 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.15 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.14 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb
convection-2.2.13 lib/convection/model/template/resource_property/aws_api_gateway_method_integration.rb