Class OpenSearchAction
(experimental) The action to write data to an Amazon OpenSearch Service domain.
Inheritance
System.Object
OpenSearchAction
Implements
Namespace: Amazon.CDK.AWS.IoT.Actions.Alpha
Assembly: Amazon.CDK.AWS.IoT.Actions.Alpha.dll
Syntax (csharp)
public class OpenSearchAction : DeputyBase, IAction
Syntax (vb)
Public Class OpenSearchAction
Inherits DeputyBase
Implements IAction
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.OpenSearchService;
Domain domain;
var topicRule = new TopicRule(this, "TopicRule", new TopicRuleProps {
Sql = IotSql.FromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'")
});
topicRule.AddAction(new OpenSearchAction(domain, new OpenSearchActionProps {
Id = "my-id",
Index = "my-index",
Type = "my-type"
}));
Synopsis
Constructors
OpenSearchAction(Domain, IOpenSearchActionProps) | |
OpenSearchAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
OpenSearchAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Constructors
OpenSearchAction(Domain, IOpenSearchActionProps)
public OpenSearchAction(Domain domain, IOpenSearchActionProps props)
Parameters
- domain Domain
- props IOpenSearchActionProps
Remarks
Stability: Experimental
OpenSearchAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected OpenSearchAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
OpenSearchAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected OpenSearchAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props