Interface CfnComponentVersion.ILambdaEventSourceProperty
Contains information about an event source for an AWS Lambda function.
Namespace: Amazon.CDK.AWS.GreengrassV2
Assembly: Amazon.CDK.AWS.GreengrassV2.dll
Syntax (csharp)
public interface ILambdaEventSourceProperty
Syntax (vb)
Public Interface 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
Properties
Topic | The topic to which to subscribe to receive event messages. |
Type | The type of event source. Choose from the following options:. |
Properties
Topic
The topic to which to subscribe to receive event messages.
virtual string Topic { get; }
Property Value
System.String
Remarks
Type
The type of event source. Choose from the following options:.
virtual string Type { get; }
Property Value
System.String