module CloudFrontCommands
Public Instance Methods
cfcreate(bucket)
click to toggle source
Create CloudFront distribution point
# File lib/dsl/commands/cloudfront_commands.rb, line 20 def cfcreate(bucket) # s3://BUCKET @commands[:cfcreate] = bucket self end
cfdelete(dist_id)
click to toggle source
Delete CloudFront distribution point
# File lib/dsl/commands/cloudfront_commands.rb, line 30 def cfdelete(dist_id) # cf://DIST_ID @commands[:cfdelete] = dist_id self end
Also aliased as: cloudfront_delete
cfinfo(dist_id)
click to toggle source
Display CloudFront distribution point parameters
# File lib/dsl/commands/cloudfront_commands.rb, line 13 def cfinfo(dist_id) # [cf://DIST_ID] @commands[:cfinfo] = dist_id self end
Also aliased as: cloudfront_info
cflist()
click to toggle source
Commands for CloudFront management List CloudFront distribution points
# File lib/dsl/commands/cloudfront_commands.rb, line 4 def cflist @commands[:cflist] = '' self end
cfmodify(dist_id)
click to toggle source
Change CloudFront distribution point parameters
# File lib/dsl/commands/cloudfront_commands.rb, line 37 def cfmodify(dist_id) # cf://DIST_ID @commands[:cfmodify] = dist_id self end
Also aliased as: cloudfront_modify