Sha256: f3bfd5e97d6e1c89febd272b330957c6fc3975c0c3124ea43f357ab713478ff9

Contents?: true

Size: 505 Bytes

Versions: 15

Compression:

Stored size: 505 Bytes

Contents

module Jets::Cfn::Resource::One
  class Permission < Jets::Cfn::Base
    def definition
      {
        JetsControllerPermission: {
          Type: "AWS::Lambda::Permission",
          Properties: {
            FunctionName: "!Ref JetsControllerLambdaFunction",
            Action: "lambda:InvokeFunction",
            Principal: "apigateway.amazonaws.com",
            SourceArn: "!Sub arn:aws:execute-api:${AWS::Region}:${AWS::AccountId}:${RestApi}/*/*",
          }
        }
      }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/cfn/resource/one/permission.rb
jets-5.0.12 lib/jets/cfn/resource/one/permission.rb
jets-5.0.11 lib/jets/cfn/resource/one/permission.rb
jets-5.0.10 lib/jets/cfn/resource/one/permission.rb
jets-5.0.9 lib/jets/cfn/resource/one/permission.rb
jets-5.0.8 lib/jets/cfn/resource/one/permission.rb
jets-5.0.7 lib/jets/cfn/resource/one/permission.rb
jets-5.0.6 lib/jets/cfn/resource/one/permission.rb
jets-5.0.5 lib/jets/cfn/resource/one/permission.rb
jets-5.0.4 lib/jets/cfn/resource/one/permission.rb
jets-5.0.3 lib/jets/cfn/resource/one/permission.rb
jets-5.0.2 lib/jets/cfn/resource/one/permission.rb
jets-5.0.1 lib/jets/cfn/resource/one/permission.rb
jets-5.0.0 lib/jets/cfn/resource/one/permission.rb
jets-5.0.0.beta1 lib/jets/cfn/resource/one/permission.rb