Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudWatchLogsAction_Override ¶
func NewCloudWatchLogsAction_Override(c CloudWatchLogsAction, logGroup awslogs.ILogGroup, props *CloudWatchLogsActionProps)
Experimental.
func NewLambdaFunctionAction_Override ¶
func NewLambdaFunctionAction_Override(l LambdaFunctionAction, func_ awslambda.IFunction)
Experimental.
Types ¶
type CloudWatchLogsAction ¶
type CloudWatchLogsAction interface {
awsiot.IAction
Bind(rule awsiot.ITopicRule) *awsiot.ActionConfig
}
The action to send data to Amazon CloudWatch Logs. Experimental.
func NewCloudWatchLogsAction ¶
func NewCloudWatchLogsAction(logGroup awslogs.ILogGroup, props *CloudWatchLogsActionProps) CloudWatchLogsAction
Experimental.
type CloudWatchLogsActionProps ¶
type CloudWatchLogsActionProps struct {
// The IAM role that allows access to the CloudWatch log group.
// Experimental.
Role awsiam.IRole `json:"role"`
}
Configuration properties of an action for CloudWatch Logs. Experimental.
type LambdaFunctionAction ¶
type LambdaFunctionAction interface {
awsiot.IAction
Bind(topicRule awsiot.ITopicRule) *awsiot.ActionConfig
}
The action to invoke an AWS Lambda function, passing in an MQTT message. Experimental.
func NewLambdaFunctionAction ¶
func NewLambdaFunctionAction(func_ awslambda.IFunction) LambdaFunctionAction
Experimental.
Click to show internal directories.
Click to hide internal directories.