module CloudFormationTool::CloudFormation::CloudFrontInvalidation
Public Instance Methods
distribution_id=(distid)
click to toggle source
# File lib/cloud_formation_tool/cloud_formation/cloud_front_distribution.rb, line 34 def distribution_id= distid @distid = distid end
status()
click to toggle source
# File lib/cloud_formation_tool/cloud_formation/cloud_front_distribution.rb, line 38 def status awscdn.get_invalidation(distribution_id: @distid, id: self.id).invalidation.status end
wait()
click to toggle source
# File lib/cloud_formation_tool/cloud_formation/cloud_front_distribution.rb, line 42 def wait while self.status == "InProgress" sleep 5 end end