setup aws ApplicationInsights
]
},
"DependsOn": "LogsBucketPolicy"
+ },
+ "ResourceGroup": {
+ "Type": "AWS::ResourceGroups::Group",
+ "Properties": {
+ "Name": { "Ref": "DomainName" }
+ }
+ },
+ "AppInsightsApp": {
+ "Type": "AWS::ApplicationInsights::Application",
+ "Properties": {
+ "ResourceGroupName": { "Ref": "DomainName" },
+ "AutoConfigurationEnabled": true,
+ "CWEMonitorEnabled": true,
+ "OpsCenterEnabled": true
+ },
+ "DependsOn" : "WebServerFleet"
},
"AppPolicy": {
"Type": "AWS::ResilienceHub::ResiliencyPolicy",
+ "DependsOn" : "WebServerFleet",
"Properties": {
"DataLocationConstraint": "AnyLocation",
"Policy": {
},
"Application": {
"Type": "AWS::ResilienceHub::App",
- "DependsOn": "WebServerFleet",
+ "DependsOn": "AppPolicy",
"Properties": {
"AppAssessmentSchedule": "Daily",
"AppTemplateBody": {
