package awsiotevents // Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // lambdaProperty := &LambdaProperty{ // FunctionArn: jsii.String("functionArn"), // // // the properties below are optional // Payload: &PayloadProperty{ // ContentExpression: jsii.String("contentExpression"), // Type: jsii.String("type"), // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html // type CfnAlarmModel_LambdaProperty struct { // The ARN of the Lambda function that is executed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html#cfn-iotevents-alarmmodel-lambda-functionarn // FunctionArn *string `field:"required" json:"functionArn" yaml:"functionArn"` // You can configure the action payload when you send a message to a Lambda function. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotevents-alarmmodel-lambda.html#cfn-iotevents-alarmmodel-lambda-payload // Payload interface{} `field:"optional" json:"payload" yaml:"payload"` }