Comments (2)
@parsnips It looks like this is already covered by AWS::Lambda::EventSourceMapping which was updated on May 24, 2018.
I believe this change is covered here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html
AWS::Lambda::EventSourceMapping
The StartingPosition property is no longer required.
This Terraform PR (pr/5024) seems to agree with this assumption as well.
Amazon recently made it possible to have SQS events trigger Lambdas. See: https://aws.amazon.com/blogs/aws/aws-lambda-adds-amazon-simple-queue-service-to-supported-event-sources/ for more details.
As part of this they specifically utilize CreateSourceEventMapping to describe the mapping between SQS and Lambda: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
However, as part of this, they changed the StartingPosition message property from required to optional. You can see that it was previous required here: https://web.archive.org/web/20171222204154/https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html
from goformation.
@jason-riddle thanks for the pointer!
from goformation.
Related Issues (20)
- Type detection for Default Parameters in Schema
- SAM Template Schema Issue for AWS::Serverless::Function HOT 1
- Provide more granular error messages to template parsing HOT 5
- Running into problem with !Ref values when parsing a CloudFormation YAML File
- Parsing CloudFormation Template with int/String values in YAML/JSON HOT 1
- Failing to parse/unmarshal bool attributes
- Schema claims AWS::Serverless::Api Models object is 'key : string' map HOT 1
- DBClusterParameterGroupName missing from DBClusterParameterGroup type HOT 2
- Support for AWS::Scheduler::Schedule HOT 1
- Vulnerability CVE-2022-3064 HOT 4
- MinValue and MaxValue from a parsed parameter are ambiguous HOT 3
- Support for FindInMap default HOT 1
- Intrinsic Function Long form to short form after new update HOT 6
- Intrinsics and Ref not working HOT 4
- FunctionUrlConfig not defined in SAM schema HOT 2
- AWS::Serverless::Api AlwaysDeploy not supported HOT 2
- Live AWS parameter resolution and generics support HOT 1
- Support UseOnlineResharding UpdatePolicy for ElastiCache ReplicationGroup HOT 1
- Parse fails when using a number as a Lambda environment value HOT 1
- Schema fails to validate Amazon AWS provided example.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goformation.