Class: MintPress::InfrastructureAws::Route53DnsEntry
- Inherits:
-
MintPress::Infrastructure::DnsEntry
- Object
- MintPress::Infrastructure::DnsEntry
- MintPress::InfrastructureAws::Route53DnsEntry
- Includes:
- Mixins::GenericProvider, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/route53_dns.rb
Direct Known Subclasses
Properties (Read/Write)
-
#platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
The AWS platform details
Property Attributes- default ⇒ MintPress::InfrastructureAws::AwsPlatform.new
12
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/route53_dns.rb', line 12 property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new
-
#hosted_zone_name ⇒ String
The name of the hosted zone - for example, ".mintpress.io"
Property Attributes14
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/route53_dns.rb', line 14 property :hosted_zone_name, type: String
-
#hosted_zone_id ⇒ String
The id of the hosted zone - for example, "/hostedzones/BNFUB32FA"
Property Attributes16
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/route53_dns.rb', line 16 property :hosted_zone_id, type: String
-
#region ⇒ String (Default Value: Proc.new { self.platform.region })
The region - if this is specified in the platform, or can be implied by related objects, or is specified in your systems AWS configuration, it is optional
Property Attributes- default ⇒ Proc.new { self.platform.region }
19
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/route53_dns.rb', line 19 property :region, type: String, default: Proc.new { self.platform.region }
-
#name ⇒ String
Name of the entry
Property Attributes15
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 15 property :name, type: String
-
#type ⇒ String
Record type - usually 'A','CNAME','TXT','AAAA'
Property Attributes17
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 17 property :type, type: String
-
#values ⇒ Array of ⇒ String
content of the record - for multi-homed boxes, this can be an array
Property Attributes19
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 19 property :values, type: String, array: true
-
#ttl ⇒ Integer (Default Value: 300)
TTL of the tnry - this defaults to 300 seconds (five minutes)
Property Attributes- default ⇒ 300
21
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 21 property :ttl, type: Integer, default: 300
-
#zone ⇒ String
Property Attributes22
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 22 property :zone, type: String
-
#validate_propagated ⇒ [TrueClass, FalseClass] (Default Value: false)
Should we wait to return until the actual DNS entry is propagated?
Property Attributes- default ⇒ false
24
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 24 property :validate_propagated, type: [TrueClass, FalseClass], default: false
-
#validate_timeout ⇒ Integer (Default Value: 3600)
Maximum number of seconds to wait for DNS to work before failing
Property Attributes- default ⇒ 3600
26
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 26 property :validate_timeout, type: Integer, default: 3600
-
#nameserver ⇒ Array of ⇒ String (Default Value: nil)
"Value of the nameserver to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver: '8.8.8.8'}"
Property Attributes- default ⇒ nil
27
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 27 property :nameserver, type: String, array: true, default: nil, description: "Value of the nameserver to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver: '8.8.8.8'}"
-
#nameserver_port ⇒ Array of ⇒ Array (Default Value: nil)
"Value of the nameserver_port to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver_port: [['8.8.8.8', 53], ['8.8.4.4', 53]]}. If nameserver_port and nameserver both properties are provided, nameserver_port will take precedence."
Property Attributes- default ⇒ nil
28
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 28 property :nameserver_port, type: Array, array:true, default: nil, description: "Value of the nameserver_port to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver_port: [['8.8.8.8', 53], ['8.8.4.4', 53]]}. If nameserver_port and nameserver both properties are provided, nameserver_port will take precedence."
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
- #create ⇒ Object
- #create_object(method: "UPSERT") ⇒ Object
-
#initialize(opts = {}) ⇒ Route53DnsEntry
constructor
A new instance of Route53DnsEntry.
- #remove ⇒ Object
Methods included from Mixins::GenericProvider
included, #register_provider, #register_sub_provider
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods inherited from MintPress::Infrastructure::DnsEntry
#exists?, #valid?, #wait_for_valid