@@ -69,7 +69,7 @@ describe('#compileMethodsToEventBridge()', () => {
69
69
Type : 'AWS' ,
70
70
Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
71
71
Uri : {
72
- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
72
+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
73
73
} ,
74
74
PassthroughBehavior : 'NEVER' ,
75
75
RequestParameters : {
@@ -189,7 +189,7 @@ describe('#compileMethodsToEventBridge()', () => {
189
189
Type : 'AWS' ,
190
190
Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
191
191
Uri : {
192
- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
192
+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
193
193
} ,
194
194
PassthroughBehavior : 'NEVER' ,
195
195
RequestParameters : {
@@ -308,7 +308,7 @@ describe('#compileMethodsToEventBridge()', () => {
308
308
Type : 'AWS' ,
309
309
Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
310
310
Uri : {
311
- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
311
+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
312
312
} ,
313
313
PassthroughBehavior : 'NEVER' ,
314
314
RequestParameters : {
@@ -687,7 +687,7 @@ describe('#compileMethodsToEventBridge()', () => {
687
687
Type : 'AWS' ,
688
688
Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
689
689
Uri : {
690
- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
690
+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
691
691
} ,
692
692
PassthroughBehavior : 'NEVER' ,
693
693
RequestParameters : {
@@ -794,7 +794,7 @@ describe('#compileMethodsToEventBridge()', () => {
794
794
Type : 'AWS' ,
795
795
Credentials : { 'Fn::GetAtt' : [ 'ApigatewayToEventBridgeRole' , 'Arn' ] } ,
796
796
Uri : {
797
- 'Fn::Sub' : 'arn:aws :apigateway:${AWS::Region}:events:action/PutEvents'
797
+ 'Fn::Sub' : 'arn:${AWS::Partition} :apigateway:${AWS::Region}:events:action/PutEvents'
798
798
} ,
799
799
PassthroughBehavior : 'NEVER' ,
800
800
RequestParameters : {
0 commit comments