Sha256: 3d20e82039f22e58a4f798860a1870151aa0daca7c77b3176a9a07a4926236f1

Contents?: true

Size: 672 Bytes

Versions: 41

Compression:

Stored size: 672 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::ApiGateway::ApiKey
        ##
        class ApiGatewayApiKey < Resource
          type 'AWS::ApiGateway::ApiKey'
          property :description, 'Description'
          property :enabled, 'Enabled'
          property :name, 'Name'
          property :stage_keys, 'StageKeys', :type => :list # [ StageKey, ... ]

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