class Aws::CloudFront::UrlSigner
def canned_policy(resource, expires)
def canned_policy(resource, expires) json_hash = { 'Statement' => [ 'Resource' => resource, 'Condition' => { 'DateLessThan' => {'AWS:EpochTime' => expires} } ] } json_hash.to_json end