module Aws::CloudFront::Signer
def canned_policy(resource, expires)
def canned_policy(resource, expires) json_hash = { 'Statement' => [ 'Resource' => resource, 'Condition' => { 'DateLessThan' => {'AWS:EpochTime' => expires} } ] } JSON.dump(json_hash) end