Class: Ansible::Ruby::Modules::Route53

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

Overview

Creates and deletes DNS records in Amazons Route53 service

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

#alias:yes, ...

Returns Indicates if this is an alias record.

Returns:

  • (:yes, :no, nil)

    Indicates if this is an alias record.



36
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 36

attribute :alias

#alias_evaluate_target_healthSymbol?

Returns Whether or not to evaluate an alias target health. Useful for aliases to Elastic Load Balancers.

Returns:

  • (Symbol, nil)

    Whether or not to evaluate an alias target health. Useful for aliases to Elastic Load Balancers.



44
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 44

attribute :alias_evaluate_target_health

#alias_hosted_zone_idString?

Returns The hosted zone identifier.

Returns:

  • (String, nil)

    The hosted zone identifier.



40
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 40

attribute :alias_hosted_zone_id

#failoverObject?

Returns Failover resource record sets only. Whether this is the primary or secondary resource record set. Allowed values are PRIMARY and SECONDARY.

Returns:

  • (Object, nil)

    Failover resource record sets only. Whether this is the primary or secondary resource record set. Allowed values are PRIMARY and SECONDARY



78
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 78

attribute :failover

#health_checkString?

Returns Health check to associate with this record.

Returns:

  • (String, nil)

    Health check to associate with this record



74
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 74

attribute :health_check

#hosted_zone_idString?

Returns The Hosted Zone ID of the DNS zone to modify.

Returns:

  • (String, nil)

    The Hosted Zone ID of the DNS zone to modify



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

attribute :hosted_zone_id

#identifierString?

Returns Have to be specified for Weighted, latency-based and failover resource record sets only. An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.

Returns:

  • (String, nil)

    Have to be specified for Weighted, latency-based and failover resource record sets only. An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.



63
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 63

attribute :identifier

#overwriteObject?

Returns Whether an existing record should be overwritten on create if values do not match.

Returns:

  • (Object, nil)

    Whether an existing record should be overwritten on create if values do not match



52
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 52

attribute :overwrite

#private_zone:yes, ...

Returns If set to C(yes), the private zone matching the requested name within the domain will be used if there are both public and private zones. The default is to use the public zone.

Returns:

  • (:yes, :no, nil)

    If set to C(yes), the private zone matching the requested name within the domain will be used if there are both public and private zones. The default is to use the public zone.



59
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 59

attribute :private_zone

#recordString

Returns The full DNS record to create or delete.

Returns:

  • (String)

    The full DNS record to create or delete



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

attribute :record

#regionObject?

Returns Latency-based resource record sets only Among resource record sets that have the same combination of DNS name and type, a value that determines which region this should be associated with for the latency-based routing.

Returns:

  • (Object, nil)

    Latency-based resource record sets only Among resource record sets that have the same combination of DNS name and type, a value that determines which region this should be associated with for the latency-based routing



71
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 71

attribute :region

#retry_intervalInteger?

Returns In the case that route53 is still servicing a prior request, this module will wait and try again after this many seconds. If you have many domain names, the default of 500 seconds may be too long.

Returns:

  • (Integer, nil)

    In the case that route53 is still servicing a prior request, this module will wait and try again after this many seconds. If you have many domain names, the default of 500 seconds may be too long.



55
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 55

attribute :retry_interval

#state:present, ...

Returns Specifies the state of the resource record. As of Ansible 2.4, the I(command) option has been changed to I(state) as default and the choices ‘present’ and ‘absent’ have been added, but I(command) still works as well.

Returns:

  • (:present, :absent, :get, :create, :delete)

    Specifies the state of the resource record. As of Ansible 2.4, the I(command) option has been changed to I(state) as default and the choices ‘present’ and ‘absent’ have been added, but I(command) still works as well.



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

attribute :state

#ttlString?

Returns The TTL to give the new record.

Returns:

  • (String, nil)

    The TTL to give the new record



28
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 28

attribute :ttl

#type:A, ...

Returns The type of DNS record to create.

Returns:

  • (:A, :CNAME, :MX, :AAAA, :TXT, :PTR, :SRV, :SPF, :CAA, :NS, :SOA)

    The type of DNS record to create



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

attribute :type

#valueArray<String>, ...

Returns The new value when creating a DNS record. YAML lists or multiple comma-spaced values are allowed for non-alias records.,When deleting a record all values for the record must be specified or Route53 will not delete it.

Returns:

  • (Array<String>, String, nil)

    The new value when creating a DNS record. YAML lists or multiple comma-spaced values are allowed for non-alias records.,When deleting a record all values for the record must be specified or Route53 will not delete it.



48
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 48

attribute :value

#vpc_idObject?

Returns When used in conjunction with private_zone: true, this will only modify records in the private hosted zone attached to this VPC.,This allows you to have multiple private hosted zones, all with the same name, attached to different VPCs.

Returns:

  • (Object, nil)

    When used in conjunction with private_zone: true, this will only modify records in the private hosted zone attached to this VPC.,This allows you to have multiple private hosted zones, all with the same name, attached to different VPCs.



81
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 81

attribute :vpc_id

#wait:yes, ...

Returns Wait until the changes have been replicated to all Amazon Route 53 DNS servers.

Returns:

  • (:yes, :no, nil)

    Wait until the changes have been replicated to all Amazon Route 53 DNS servers.



84
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 84

attribute :wait

#wait_timeoutInteger?

Returns How long to wait for the changes to be replicated, in seconds.

Returns:

  • (Integer, nil)

    How long to wait for the changes to be replicated, in seconds.



88
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 88

attribute :wait_timeout

#weightInteger?

Returns Weighted resource record sets only. Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.

Returns:

  • (Integer, nil)

    Weighted resource record sets only. Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location.



67
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/route53.rb', line 67

attribute :weight

#zoneString

Returns The DNS zone to modify.

Returns:

  • (String)

    The DNS zone to modify



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

attribute :zone