{ "Resources": { "ClientAppBucket": {"Type": "AWS::S3::Bucket", "Properties": { "BucketName": {"Fn::FindInMap": ["StackZoneRecords", "ClientApp", "DNSName"]}, "AccessControl": "PublicRead", "WebsiteConfiguration": { "IndexDocument": "index.html", "ErrorDocument": "404.html" } }}, "AdminAppBucket": {"Type": "AWS::S3::Bucket", "Properties": { "BucketName": {"Fn::FindInMap": ["StackZoneRecords", "AdminApp", "DNSName"]}, "AccessControl": "PublicRead", "WebsiteConfiguration": { "IndexDocument": "index.html", "ErrorDocument": "404.html" } }}, "WwwRedirectorBucket": {"Type": "AWS::S3::Bucket", "Properties": { "BucketName": {"Fn::FindInMap": ["StackZoneRecords", "WwwRedirector", "DNSName"]}, "AccessControl": "PublicRead", "WebsiteConfiguration": { "RedirectAllRequestsTo": { "HostName": {"Fn::FindInMap": ["StackZoneRecords", "ClientApp", "DNSName"]}, "Protocol": "https" } } }} } }