Class: Ansible::Ruby::Modules::Cloudfront_invalidation

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/cloudfront_invalidation.rb

Overview

Allows for invalidation of a batch of paths for a CloudFront distribution.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#aliasString?

Returns The alias of the cloudfront distribution to invalidate paths for. Can be specified instead of distribution_id.

Returns:

  • (String, nil)

    The alias of the cloudfront distribution to invalidate paths for. Can be specified instead of distribution_id.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudfront_invalidation.rb', line 16

attribute :alias

#caller_referenceString?

Returns A unique reference identifier for the invalidation paths.

Returns:

  • (String, nil)

    A unique reference identifier for the invalidation paths.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudfront_invalidation.rb', line 20

attribute :caller_reference

#distribution_idString?

Returns The id of the cloudfront distribution to invalidate paths for. Can be specified insted of the alias.

Returns:

  • (String, nil)

    The id of the cloudfront distribution to invalidate paths for. Can be specified insted of the alias.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudfront_invalidation.rb', line 12

attribute :distribution_id

#target_pathsArray<String>, String

Returns A list of paths on the distribution to invalidate. Each path should begin with ‘/’. Wildcards are allowed. eg. ‘/foo/bar/*’.

Returns:

  • (Array<String>, String)

    A list of paths on the distribution to invalidate. Each path should begin with ‘/’. Wildcards are allowed. eg. ‘/foo/bar/*’



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/cloudfront_invalidation.rb', line 24

attribute :target_paths