Sha256: 7ffa77b2b93a78c3b56f90c413ad2c385fc95aa01f431210c553e9e103cffc1a
Contents?: true
Size: 535 Bytes
Versions: 40
Compression:
Stored size: 535 Bytes
Contents
module Awspec::Type class Acm < ResourceBase 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
40 entries across 40 versions & 2 rubygems