UNPKG

@incdevco/framework

Version:
58 lines 1.47 kB
{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "main web client stack", "Parameters": { "CertificateArn": { "Type": "String" }, "DomainName": { "Type": "String" }, "HostedZoneId": { "Type": "String" }, "LoggingBucket": { "Type": "String" }, "LoggingBucketDomainName": { "Type": "String" }, "Stage": { "Type": "String" } }, "Conditions": {}, "Mappings": {}, "Resources": { "Www": { "Type": "AWS::CloudFormation::Stack", "Properties": { "NotificationARNs": {"Ref": "AWS::NotificationARNs"}, "Parameters": { "DomainName": {"Ref": "DomainName"}, "HostedZoneId": {"Ref": "HostedZoneId"}, "LoggingBucket": {"Ref": "LoggingBucket"}, "LoggingBucketDomainName": {"Ref": "LoggingBucketDomainName"}, "SSLCertificateArn": {"Ref": "CertificateArn"}, "Stage": {"Ref": "Stage"}, "SubDomainName": "www" }, "TemplateURL": {"Fn::Join": ["", [ "https://s3-", {"Ref": "AWS::Region"}, ".amazonaws.com/", {"Fn::ImportValue": "AssetsBucket"}, "/cloud-formation-templates/web-client/stack.json" ]]} } } }, "Outputs": { "WwwClientBucket": { "Value": {"Fn::GetAtt": ["Www", "Outputs.Bucket"]} }, "WwwClientUrl": { "Value": {"Fn::GetAtt": ["Www", "Outputs.Url"]} } } }