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-06T23:25:19.320Z") @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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for HttpsAction.

    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

    Constructors
    Modifier
    Constructor
    Description
     
     
     
     
    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

      @Stability(Experimental) public HttpsAction(@NotNull String url, @Nullable HttpsActionProps props)
      Parameters:
      url - The url to which to send post request. This parameter is required.
      props - Optional properties to not use default.
    • HttpsAction

      @Stability(Experimental) public HttpsAction(@NotNull String url)
      Parameters:
      url - The url to which to send post request. This parameter is required.