Sha256: 4daee3930535122e2a3e3ff76efeafcd00bc4d18775dbd243d13cc1b1c8727b2

Contents?: true

Size: 362 Bytes

Versions: 9

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

module Awspec::Type
  class CloudformationStack < ResourceBase
    aws_resource Aws::CloudFormation::Stack
    tags_allowed

    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

9 entries across 9 versions & 1 rubygems

Version Path
awspec-1.32.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.31.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.30.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.29.3 lib/awspec/type/cloudformation_stack.rb
awspec-1.29.2 lib/awspec/type/cloudformation_stack.rb
awspec-1.29.1 lib/awspec/type/cloudformation_stack.rb
awspec-1.29.0 lib/awspec/type/cloudformation_stack.rb
awspec-1.28.2 lib/awspec/type/cloudformation_stack.rb
awspec-1.28.1 lib/awspec/type/cloudformation_stack.rb