Sha256: cfed2852d2f46b896716dbae770c350bd7d1df91ce2f42e959cc762ac3ff6516
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
module Awspec::Type class Acm < Base def resource_via_client @resource_via_client ||= find_certificate(@display_name) end def id @id = resource_via_client.certificate_arn if resource_via_client end STATUSES = %w( PENDING_VALIDATION ISSUED INACTIVE EXPIRED VALIDATION_TIMED_OUT REVOKED FAILED ) STATUSES.each do |status| define_method status.downcase + '?' do resource_via_client.status == status end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
awspec-0.69.1 | lib/awspec/type/acm.rb |
awspec-0.69.0 | lib/awspec/type/acm.rb |