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