Sha256: 7bab8f513a2c3aa0af46b0f9e025f5076f82e267db3fb0af6f714ddbfaf59883

Contents?: true

Size: 300 Bytes

Versions: 5

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module Awspec::Type
  class CloudformationStack < ResourceBase
    def resource_via_client
      @resource_via_client ||= find_cloudformation_stack(@display_name)
    end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
awspec-1.28.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.27.1 lib/awspec/type/cloudformation_stack.rb
awspec-1.27.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.26.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.25.2 lib/awspec/type/cloudformation_stack.rb