@@ -24,6 +24,14 @@ Parameters:
2424 Type : String
2525
2626Mappings :
27+ Solution :
28+ Data :
29+ ID : " SO0145"
30+ Version : " %%VERSION%%"
31+ AppRegistryApplicationName : " simple-file-manager-efs"
32+ SolutionName : " Simple File Manager for Amazon EFS"
33+ ApplicationType : " AWS-Solutions"
34+ AttributeGroupName : " Solution-Metadata"
2735 SourceCode :
2836 General :
2937 GlobalS3Bucket : " %%GLOBAL_BUCKET_NAME%%"
@@ -32,6 +40,89 @@ Mappings:
3240 TemplateKeyPrefix : " simple-file-manager-for-amazon-efs/%%VERSION%%"
3341
3442Resources :
43+ Application :
44+ Type : AWS::ServiceCatalogAppRegistry::Application
45+ Properties :
46+ Description : Service Catalog application to track and manage all your resources. The Solution ID is SO0145 and Solution Version is %%VERSION%%.
47+ Name :
48+ !Join
49+ - " -"
50+ - - !FindInMap [Solution, Data, "AppRegistryApplicationName"]
51+ - !Ref AWS::Region
52+ - !Ref AWS::AccountId
53+ Tags : {
54+ ' Solutions:SolutionID ' : !FindInMap [Solution, Data, "ID"],
55+ ' Solutions:SolutionName ' : !FindInMap [Solution, Data, "SolutionName"],
56+ ' Solutions:SolutionVersion ' : !FindInMap [Solution, Data, "Version"],
57+ ' Solutions:ApplicationType ' : !FindInMap [Solution, Data, "ApplicationType"],
58+ }
59+
60+ AppRegistryApplicationStackAssociation0 :
61+ Type : AWS::ServiceCatalogAppRegistry::ResourceAssociation
62+ Properties :
63+ Application : !GetAtt Application.Id
64+ Resource :
65+ !Ref AWS::StackId
66+ ResourceType : CFN_STACK
67+
68+ AppRegistryApplicationStackAssociationNestedStack1 :
69+ Type : AWS::ServiceCatalogAppRegistry::ResourceAssociation
70+ Properties :
71+ Application : !GetAtt Application.Id
72+ Resource :
73+ !Ref EFSFileManagerAPI
74+ ResourceType : CFN_STACK
75+
76+ AppRegistryApplicationStackAssociationNestedStack2 :
77+ Type : AWS::ServiceCatalogAppRegistry::ResourceAssociation
78+ Properties :
79+ Application : !GetAtt Application.Id
80+ Resource :
81+ !Ref EFSFileAuthentication
82+ ResourceType : CFN_STACK
83+
84+ AppRegistryApplicationStackAssociationNestedStack3 :
85+ Type : AWS::ServiceCatalogAppRegistry::ResourceAssociation
86+ Properties :
87+ Application : !GetAtt Application.Id
88+ Resource :
89+ !Ref EFSFileWebApplication
90+ ResourceType : CFN_STACK
91+
92+ DefaultApplicationAttributes :
93+ Type : AWS::ServiceCatalogAppRegistry::AttributeGroup
94+ Properties :
95+ Name : !FindInMap [Solution, Data, "AttributeGroupName"]
96+ Description : Attribute group for solution information.
97+ Attributes :
98+ { "ApplicationType" : !FindInMap [Solution, Data, "ApplicationType"],
99+ " Version " : !FindInMap [Solution, Data, "Version"],
100+ " SolutionID " : !FindInMap [Solution, Data, "ID"],
101+ " SolutionName " : !FindInMap [Solution, Data, "SolutionName"]
102+ }
103+
104+ AppRegistryApplicationAttributeAssociation :
105+ Type : AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation
106+ Properties :
107+ Application : !GetAtt Application.Id
108+ AttributeGroup : !GetAtt DefaultApplicationAttributes.Id
109+
110+ ApplicationInsightsConfiguration :
111+ Type : AWS::ApplicationInsights::Application
112+ DependsOn :
113+ - Application
114+ Properties :
115+ ResourceGroupName :
116+ !Join
117+ - " -"
118+ - - AWS_AppRegistry_Application
119+ - !FindInMap [Solution, Data, "AppRegistryApplicationName"]
120+ - !Ref AWS::Region
121+ - !Ref AWS::AccountId
122+ AutoConfigurationEnabled : true
123+ CWEMonitorEnabled : true
124+ OpsCenterEnabled : true
125+
35126 # File Manager API Handler IAM Role
36127 # TODO: Scope some of the inline policies down
37128 EFSFileManagerIamRole :
0 commit comments