title: CloudFormation Resource Creation if not exist
body: <p>I want to create Route53 HostedZone with CloudFormation so I want to check some information in Route53 about HostedZone is exist. </p>
  
  <p>In logic of my case I need check if resource is exist, ignore the resource creation. How I can handle this problem.</p>
  
  <p>My CloudFormation template show at below.</p>
  
  <pre><code>"myDNSRecord" : {
    "Type" : "AWS::Route53::RecordSet",
    "Properties" : {
      "HostedZoneName" : { "Ref" : "HostedZoneResource" },
      "Comment" : "DNS name for my instance.",  
      "Name" : {
        "Fn::Join" : [ "", [
          {"Ref" : "Ec2Instance"}, ".",
          {"Ref" : "AWS::Region"}, ".",
          {"Ref" : "HostedZone"} ,"."
        ] ]
      },
      "Type" : "A",
      "TTL" : "900",
      "ResourceRecords" : [
        { "Fn::GetAtt" : [ "Ec2Instance", "PublicIp" ] }
      ]
    }
  }
  </code></pre>