(AWS-Route53): Check exists of a HostedZone by using fromLookUp #14755
Labels
effort/small
Small work item – less than a day of effort
guidance
Question that needs advice or information.
p2
❓ General Issue
The Question
How do I utilise a error handling or try catch block to do a exist check of a resource.
the fromLookup methods fail immediately and what's the recommendation of performing a try catch block for operation like this?
Environment
Other information
Similar problems for other AWS resources:
How to check if a custom VPC already exist using AWS CDK?
The text was updated successfully, but these errors were encountered: