Class CfnComponentVersion.LambdaEventSourceProperty
Contains information about an event source for an AWS Lambda function.
Inheritance
System.Object
CfnComponentVersion.LambdaEventSourceProperty
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LambdaEventSourceProperty : Object, CfnComponentVersion.ILambdaEventSourceProperty
Syntax (vb)
Public Class LambdaEventSourceProperty
Inherits Object
Implements CfnComponentVersion.ILambdaEventSourceProperty
Remarks
The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GreengrassV2;
var lambdaEventSourceProperty = new LambdaEventSourceProperty {
Topic = "topic",
Type = "type"
};
Synopsis
Constructors
LambdaEventSourceProperty() |
Properties
Topic | The topic to which to subscribe to receive event messages. |
Type | The type of event source. Choose from the following options:. |
Constructors
LambdaEventSourceProperty()
public LambdaEventSourceProperty()
Properties
Topic
The topic to which to subscribe to receive event messages.
public string Topic { get; set; }
Property Value
System.String
Remarks
Type
The type of event source. Choose from the following options:.
public string Type { get; set; }
Property Value
System.String