com.monsanto.arch.cloudformation.model.resource
AWS::Lambda::EventSourceMapping
Companion object AWS::Lambda::EventSourceMapping
case class AWS::Lambda::EventSourceMapping(name: String, BatchSize: Option[Token[Int]] = None, Enabled: Option[Token[Boolean]] = None, EventSourceArn: Token[String], FunctionName: Token[ResourceRef[AWS::Lambda::Function]], StartingPosition: StartingPosition, DependsOn: Option[Seq[String]] = None, Condition: Option[ConditionRef] = None) extends Resource[AWS::Lambda::EventSourceMapping] with Product with Serializable
The AWS::Lambda::EventSourceMapping resource specifies a stream as an event source for an AWS Lambda (Lambda) function. The stream can be an Kinesis stream or an Amazon DynamoDB (DynamoDB) stream. Lambda invokes the associated function when records are posted to the stream.
- name
CloudFormation logical name
- BatchSize
The largest number of records that Lambda retrieves from your event source when invoking your function. Your function receives an event with all the retrieved records.
- Enabled
Indicates whether Lambda begins polling the event source.
- EventSourceArn
The Amazon Resource Name (ARN) of the Kinesis or DynamoDB stream that is the source of events. Any record added to this stream can invoke the Lambda function.
- FunctionName
The name or ARN of a Lambda function to invoke when Lambda detects an event on the stream.
- StartingPosition
The position in the stream where Lambda starts reading.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
- Alphabetic
- By Inheritance
- AWS::Lambda::EventSourceMapping
- Serializable
- Serializable
- Product
- Equals
- Resource
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AWS::Lambda::EventSourceMapping(name: String, BatchSize: Option[Token[Int]] = None, Enabled: Option[Token[Boolean]] = None, EventSourceArn: Token[String], FunctionName: Token[ResourceRef[AWS::Lambda::Function]], StartingPosition: StartingPosition, DependsOn: Option[Seq[String]] = None, Condition: Option[ConditionRef] = None)
- name
CloudFormation logical name
- BatchSize
The largest number of records that Lambda retrieves from your event source when invoking your function. Your function receives an event with all the retrieved records.
- Enabled
Indicates whether Lambda begins polling the event source.
- EventSourceArn
The Amazon Resource Name (ARN) of the Kinesis or DynamoDB stream that is the source of events. Any record added to this stream can invoke the Lambda function.
- FunctionName
The name or ARN of a Lambda function to invoke when Lambda detects an event on the stream.
- StartingPosition
The position in the stream where Lambda starts reading.
- DependsOn
Declare dependencies for resources that must be created or deleted in a specific order.
- Condition
Define conditions by using the intrinsic condition functions. These conditions determine when AWS CloudFormation creates the associated resources.
Type Members
-
type
RR = Resource[AWS::Lambda::EventSourceMapping]
- Definition Classes
- Resource
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val BatchSize: Option[Token[Int]]
-
val
Condition: Option[ConditionRef]
- Definition Classes
- AWS::Lambda::EventSourceMapping → Resource
-
val
DeletionPolicy: Option[DeletionPolicy]
- Definition Classes
- Resource
-
val
DependsOn: Option[Seq[String]]
- Definition Classes
- AWS::Lambda::EventSourceMapping → Resource
- val Enabled: Option[Token[Boolean]]
- val EventSourceArn: Token[String]
- val FunctionName: Token[ResourceRef[AWS::Lambda::Function]]
-
val
ResourceType: String
- Definition Classes
- Resource
- val StartingPosition: StartingPosition
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
name: String
- Definition Classes
- AWS::Lambda::EventSourceMapping → Resource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
when(newCondition: Option[ConditionRef] = Condition): AWS::Lambda::EventSourceMapping
- Definition Classes
- AWS::Lambda::EventSourceMapping → Resource