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
Also aliased as: cloudfront_list, cloudfront_ls, cfls
cfls()
Alias for: cflist
cfmake(bucket)
Alias for: cfcreate
cfmk(bucket)
Alias for: cfcreate
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
cloudfront_create(bucket)
Alias for: cfcreate
cloudfront_delete(dist_id)
Alias for: cfdelete
cloudfront_info(dist_id)
Alias for: cfinfo
cloudfront_list()
Alias for: cflist
cloudfront_ls()
Alias for: cflist
cloudfront_make(bucket)
Alias for: cfcreate
cloudfront_modify(dist_id)
Alias for: cfmodify