Sha256: 8c6dbb2cbaaad01665e6f5c20ceeac8448f156d79c93593f587c0b52bea9aa50

Contents?: true

Size: 416 Bytes

Versions: 18

Compression:

Stored size: 416 Bytes

Contents

module Awspec::Type
  class Apigateway < ResourceBase
    aws_resource Aws::APIGateway::Client

    def resource_via_client
      @resource_via_client ||= find_apigateway_by_id(@display_name)
      return @resource_via_client if @resource_via_client
      @resource_via_client = find_apigateway_by_name(@display_name)
    end

    def id
      @id ||= resource_via_client.id if resource_via_client
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
awspec-1.18.6 lib/awspec/type/apigateway.rb
awspec-1.18.5 lib/awspec/type/apigateway.rb
awspec-1.18.4 lib/awspec/type/apigateway.rb
awspec-1.18.3 lib/awspec/type/apigateway.rb
awspec-1.18.2 lib/awspec/type/apigateway.rb
awspec-1.18.1 lib/awspec/type/apigateway.rb
awspec-1.18.0 lib/awspec/type/apigateway.rb
awspec-1.17.4 lib/awspec/type/apigateway.rb
awspec-1.17.3 lib/awspec/type/apigateway.rb
awspec-1.17.2 lib/awspec/type/apigateway.rb
awspec-1.17.1 lib/awspec/type/apigateway.rb
awspec-1.17.0 lib/awspec/type/apigateway.rb
awspec-1.16.1 lib/awspec/type/apigateway.rb
awspec-1.16.0 lib/awspec/type/apigateway.rb
awspec-1.15.3 lib/awspec/type/apigateway.rb
awspec-1.15.2 lib/awspec/type/apigateway.rb
awspec-1.15.1 lib/awspec/type/apigateway.rb
awspec-1.15.0 lib/awspec/type/apigateway.rb