Sha256: 824170c8d6ab44f77ab62b1a0dd287c922d8e8e562e7f269831898a25490e79b

Contents?: true

Size: 933 Bytes

Versions: 41

Compression:

Stored size: 933 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ApiGateway::Deployment
        ##
        class ApiGatewayDeployment < Resource
          type 'AWS::ApiGateway::Deployment'
          property :description, 'Description'
          property :rest_api_id, 'RestApiId'
          property :stage_description_prop, 'StageDescription'
          property :stage_name, 'StageName'

          def stage_description(&block)
            i = ResourceProperty::ApiGatewayDeploymentStageDescription.new(self)
            i.instance_exec(&block) if block
            properties['StageDescription'].set(i)
          end

          def method_response(&block)
            r = ResourceProperty::ApiGatewayMethodMethodResponse.new(self)
            r.instance_exec(&block) if block
            method_responses << r
          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/aws_api_gateway_deployment.rb
convection-2.3.0 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.29 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.27 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.26 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.25 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.24 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.23 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.22 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.21 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.20 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.19 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.18 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.17 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.16 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.15 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.14 lib/convection/model/template/resource/aws_api_gateway_deployment.rb
convection-2.2.13 lib/convection/model/template/resource/aws_api_gateway_deployment.rb