Which code snippet below returns the URL of a load bala…

Which code snippet below returns the URL of a load balanced web site created in CloudFormation with an
AWS::ElasticLoadBalancing::LoadBalancer resource name “ElasticLoad Balancer”?

Which code snippet below returns the URL of a load balanced web site created in CloudFormation with an
AWS::ElasticLoadBalancing::LoadBalancer resource name “ElasticLoad Balancer”?

A.
“Fn::Join” : [“”. [ “http://”, {“Fn::GetAtr” : [ “ElasticLoadBalancer”,”DNSName”]}]]

B.
“Fn::Join” : [“”. [ “http://”, {“Fn::GetAtr” : [ “ElasticLoadBalancer”,”Url”]}]]

C.
“Fn::Join” : [“”. [ “http://”, {“Ref” : “ElasticLoadBalancerUrl”}]]

D.
“Fn::Join” : [“.”, [ “http://”, {“Ref” : “ElasticLoadBalancerDNSName”}]]



Leave a Reply 5

Your email address will not be published. Required fields are marked *


J

J

Actual answer is A. AWS::ElasticLoadBalancing::LoadBalancer doesn’t have Url property. Event if you don’t know this it is useless to join “http://” to URL.