@@ -564,47 +564,47 @@ Resources:
564564 Timeout : " 1"
565565 Count : 0
566566
567- NotificationsReportingResource :
568- Condition : ShouldDeployNotificationsReporting
569- Type : AWS::ApiGateway::Resource
570- Properties :
571- RestApiId : !Ref RestApiGateway
572- ParentId : !GetAtt RestApiGateway.RootResourceId
573- PathPart : notifications-reporting
574-
575- NotificationsReportingMethod :
576- Condition : ShouldDeployNotificationsReporting
577- Type : AWS::ApiGateway::Method
578- Properties :
579- RestApiId : !Ref RestApiGateway
580- ResourceId : !Ref NotificationsReportingResource
581- HttpMethod : GET
582- AuthorizationType : NONE
583- Integration :
584- Type : AWS_PROXY
585- Credentials : !GetAtt RestApiGatewayResources.Outputs.ApiGwRoleArn
586- IntegrationHttpMethod : POST
587- Uri : !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NotificationsReportingFunctionArn}/invocations
588-
589- NotificationsReportingHandle :
590- Condition : ShouldDeployNotificationsReporting
591- DependsOn : NotificationsReportingMethod
592- Type : " AWS::CloudFormation::WaitConditionHandle"
593-
594- NotificationsReportingWaitHandle :
595- Type : " AWS::CloudFormation::WaitConditionHandle"
596-
597- NotificationsReportingWaitCondition :
598- Type : " AWS::CloudFormation::WaitCondition"
599- Properties :
600- Handle :
601- !If [
602- ShouldDeployNotificationsReporting,
603- !Ref NotificationsReportingHandle,
604- !Ref NotificationsReportingWaitHandle,
605- ]
606- Timeout : " 1"
607- Count : 0
567+ NotificationsReportingResource :
568+ Condition : ShouldDeployNotificationsReporting
569+ Type : AWS::ApiGateway::Resource
570+ Properties :
571+ RestApiId : !Ref RestApiGateway
572+ ParentId : !GetAtt RestApiGateway.RootResourceId
573+ PathPart : notifications-reporting
574+
575+ NotificationsReportingMethod :
576+ Condition : ShouldDeployNotificationsReporting
577+ Type : AWS::ApiGateway::Method
578+ Properties :
579+ RestApiId : !Ref RestApiGateway
580+ ResourceId : !Ref NotificationsReportingResource
581+ HttpMethod : GET
582+ AuthorizationType : NONE
583+ Integration :
584+ Type : AWS_PROXY
585+ Credentials : !GetAtt RestApiGatewayResources.Outputs.ApiGwRoleArn
586+ IntegrationHttpMethod : POST
587+ Uri : !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${NotificationsReportingFunctionArn}/invocations
588+
589+ NotificationsReportingHandle :
590+ Condition : ShouldDeployNotificationsReporting
591+ DependsOn : NotificationsReportingMethod
592+ Type : " AWS::CloudFormation::WaitConditionHandle"
593+
594+ NotificationsReportingWaitHandle :
595+ Type : " AWS::CloudFormation::WaitConditionHandle"
596+
597+ NotificationsReportingWaitCondition :
598+ Type : " AWS::CloudFormation::WaitCondition"
599+ Properties :
600+ Handle :
601+ !If [
602+ ShouldDeployNotificationsReporting,
603+ !Ref NotificationsReportingHandle,
604+ !Ref NotificationsReportingWaitHandle,
605+ ]
606+ Timeout : " 1"
607+ Count : 0
608608
609609 # *********************************************************************
610610 # if you add a new endpoint, then change the name of this resource
0 commit comments