Class: Ansible::Ruby::Modules::Cloudformation

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#disable_rollback:true, ...

Returns If a stacks fails to form, rollback will remove the stack.

Returns:

  • (:true, :false, nil)

    If a stacks fails to form, rollback will remove the stack



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 14

attribute :disable_rollback

#notification_arnsObject?

Returns The Simple Notification Service (SNS) topic ARNs to publish stack related events.

Returns:

  • (Object, nil)

    The Simple Notification Service (SNS) topic ARNs to publish stack related events.



29
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 29

attribute :notification_arns

#regionString

Returns The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used.

Returns:

  • (String)

    The AWS region to use. If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used.



39
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 39

attribute :region

#stack_nameString

Returns name of the cloudformation stack.

Returns:

  • (String)

    name of the cloudformation stack



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 10

attribute :stack_name

#stack_policyObject?

Returns the path of the cloudformation stack policy.

Returns:

  • (Object, nil)

    the path of the cloudformation stack policy



32
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 32

attribute :stack_policy

#stateString

Returns If state is “present”, stack will be created. If state is “present” and if stack exists and template has changed, it will be updated. If state is “absent”, stack will be removed.

Returns:

  • (String)

    If state is “present”, stack will be created. If state is “present” and if stack exists and template has changed, it will be updated. If state is “absent”, stack will be removed.



21
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 21

attribute :state

#tagsHash?

Returns Dictionary of tags to associate with stack and it’s resources during stack creation. Cannot be updated later. Requires at least Boto version 2.6.0.

Returns:

  • (Hash, nil)

    Dictionary of tags to associate with stack and it’s resources during stack creation. Cannot be updated later. Requires at least Boto version 2.6.0.



35
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 35

attribute :tags

#templateString?

Returns The local path of the cloudformation template. This parameter is mutually exclusive with ‘template_url’. Either one of them is required if “state” parameter is “present” Must give full path to the file, relative to the working directory. If using roles this may look like “roles/cloudformation/files/cloudformation-example.json”.

Returns:

  • (String, nil)

    The local path of the cloudformation template. This parameter is mutually exclusive with ‘template_url’. Either one of them is required if “state” parameter is “present” Must give full path to the file, relative to the working directory. If using roles this may look like “roles/cloudformation/files/cloudformation-example.json”



25
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 25

attribute :template

#template_format:json, ...

Returns For local templates, allows specification of json or yaml format.

Returns:

  • (:json, :yaml, nil)

    For local templates, allows specification of json or yaml format



47
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 47

attribute :template_format

#template_parametersObject?

Returns a list of hashes of all the template variables for the stack.

Returns:

  • (Object, nil)

    a list of hashes of all the template variables for the stack



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 18

attribute :template_parameters

#template_urlString?

Returns Location of file containing the template body. The URL must point to a template (max size 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with ‘template’. Either one of them is required if “state” parameter is “present”.

Returns:

  • (String, nil)

    Location of file containing the template body. The URL must point to a template (max size 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with ‘template’. Either one of them is required if “state” parameter is “present”



43
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/cloudformation.rb', line 43

attribute :template_url