Method: Jets::Resource::Replacer.source_arn_map
- Defined in:
- lib/jets/resource/replacer.rb
.source_arn_map(type) ⇒ Object
From AWS docs: amzn.to/2N0QXQL source_arn is “not supported by all event sources”
When it is not available the resource definition should add it.
77 78 79 80 81 82 |
# File 'lib/jets/resource/replacer.rb', line 77 def source_arn_map(type) map = { "AWS::ApiGateway::Method" => "!Sub arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${RestApi}/*/*", } map[type] end |