Interface HttpsActionProps

All Superinterfaces:
CommonActionProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
HttpsActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:19.321Z") @Stability(Experimental) public interface HttpsActionProps extends software.amazon.jsii.JsiiSerializable, CommonActionProps
(experimental) Configuration properties of an HTTPS action.

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());
 

See Also:
  • Method Details

    • getAuth

      @Stability(Experimental) @Nullable default HttpActionSigV4Auth getAuth()
      (experimental) Use Sigv4 authorization.
    • getConfirmationUrl

      @Stability(Experimental) @Nullable default String getConfirmationUrl()
      (experimental) If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination.
    • getHeaders

      @Stability(Experimental) @Nullable default List<HttpActionHeader> getHeaders()
      (experimental) The headers to include in the HTTPS request to the endpoint.
    • builder

      @Stability(Experimental) static HttpsActionProps.Builder builder()
      Returns:
      a HttpsActionProps.Builder of HttpsActionProps