Class: Ufo::Stack::Builder::Resources::Dns
- Defined in:
- lib/ufo/stack/builder/resources/dns.rb
Instance Method Summary collapse
Methods inherited from Base
build, #copy_instance_variables, #initialize, #managed_security_group, #managed_security_groups?, #security_groups
Methods included from Ufo::Settings
Constructor Details
This class inherits a constructor from Ufo::Stack::Builder::Base
Instance Method Details
#build ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/ufo/stack/builder/resources/dns.rb', line 3 def build return unless @create_route53 { Type: "AWS::Route53::RecordSet", Properties: { Comment: "cname to load balancer", Type: "CNAME", TTL: 60, # ttl has special casing ResourceRecords: [{"Fn::GetAtt": "Elb.DNSName"}] } } end |