Show / Hide Table of Contents

Class CfnAlarmModelPropsMixin.LambdaProperty

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Inheritance
object
CfnAlarmModelPropsMixin.LambdaProperty
Implements
CfnAlarmModelPropsMixin.ILambdaProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoTEvents
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAlarmModelPropsMixin.LambdaProperty : CfnAlarmModelPropsMixin.ILambdaProperty
Syntax (vb)
Public Class CfnAlarmModelPropsMixin.LambdaProperty Implements CfnAlarmModelPropsMixin.ILambdaProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html

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.CfnPropertyMixins.AWS.IoTEvents;

             var lambdaProperty = new LambdaProperty {
                 FunctionArn = "functionArn",
                 Payload = new PayloadProperty {
                     ContentExpression = "contentExpression",
                     Type = "type"
                 }
             };

Synopsis

Constructors

LambdaProperty()

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

Properties

FunctionArn

The ARN of the Lambda function that is executed.

Payload

You can configure the action payload when you send a message to a Lambda function.

Constructors

LambdaProperty()

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

public LambdaProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html

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.CfnPropertyMixins.AWS.IoTEvents;

             var lambdaProperty = new LambdaProperty {
                 FunctionArn = "functionArn",
                 Payload = new PayloadProperty {
                     ContentExpression = "contentExpression",
                     Type = "type"
                 }
             };

Properties

FunctionArn

The ARN of the Lambda function that is executed.

public string? FunctionArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html#cfn-iotevents-alarmmodel-lambda-functionarn

Payload

You can configure the action payload when you send a message to a Lambda function.

public object? Payload { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html#cfn-iotevents-alarmmodel-lambda-payload

Type union: either IResolvable or CfnAlarmModelPropsMixin.IPayloadProperty

Implements

CfnAlarmModelPropsMixin.ILambdaProperty
Back to top Generated by DocFX