Class HttpsAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.HttpsAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:07.671Z")
@Stability(Experimental)
public class HttpsAction
extends software.amazon.jsii.JsiiObject
implements IAction
(experimental) The action to send data from an MQTT message to a web application or service.
Example:
TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule") .sql(IotSql.fromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'")) .build(); topicRule.addAction( HttpsAction.Builder.create("https://example.com/endpoint") .confirmationUrl("https://example.com") .headers(List.of(HttpActionHeader.builder().key("key0").value("value0").build(), HttpActionHeader.builder().key("key1").value("value1").build())) .auth(HttpActionSigV4Auth.builder().serviceName("serviceName").signingRegion("us-east-1").build()) .build());
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forHttpsAction
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iot.alpha.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionHttpsAction
(String url) HttpsAction
(String url, HttpsActionProps props) protected
HttpsAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpsAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HttpsAction
protected HttpsAction(software.amazon.jsii.JsiiObjectRef objRef) -
HttpsAction
protected HttpsAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
HttpsAction
- Parameters:
url
- The url to which to send post request. This parameter is required.props
- Optional properties to not use default.
-
HttpsAction
- Parameters:
url
- The url to which to send post request. This parameter is required.
-