Class: Ansible::Ruby::Modules::Iam_cert

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

Overview

Allows for the management of server certificates

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, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#certString?

Returns The path to, or content of the certificate body in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.

Returns:

  • (String, nil)

    The path to, or content of the certificate body in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.



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

attribute :cert

#cert_chainString?

Returns The path to, or content of the CA certificate chain in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.

Returns:

  • (String, nil)

    The path to, or content of the CA certificate chain in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.



31
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 31

attribute :cert_chain

#dup_okBoolean?

Returns By default the module will not upload a certificate that is already uploaded into AWS. If set to True, it will upload the certificate as long as the name is unique.

Returns:

  • (Boolean, nil)

    By default the module will not upload a certificate that is already uploaded into AWS. If set to True, it will upload the certificate as long as the name is unique.



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

attribute :dup_ok

#keyString?

Returns The path to, or content of the private key in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.

Returns:

  • (String, nil)

    The path to, or content of the private key in PEM encoded format. As of 2.4 content is accepted. If the parameter is not a file, it is assumed to be content.



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

attribute :key

#nameString

Returns Name of certificate to add, update or remove.

Returns:

  • (String)

    Name of certificate to add, update or remove.



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

attribute :name

#new_nameString?

Returns When state is present, this will update the name of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.

Returns:

  • (String, nil)

    When state is present, this will update the name of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.



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

attribute :new_name

#new_pathObject?

Returns When state is present, this will update the path of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.

Returns:

  • (Object, nil)

    When state is present, this will update the path of the cert.,The cert, key and cert_chain parameters will be ignored if this is defined.



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

attribute :new_path

#pathString?

Returns When creating or updating, specify the desired path of the certificate.

Returns:

  • (String, nil)

    When creating or updating, specify the desired path of the certificate.



27
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 27

attribute :path

#state:present, :absent

Returns Whether to create(or update) or delete certificate.,If new_path or new_name is defined, specifying present will attempt to make an update these.

Returns:

  • (:present, :absent)

    Whether to create(or update) or delete certificate.,If new_path or new_name is defined, specifying present will attempt to make an update these.



23
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/iam_cert.rb', line 23

attribute :state