Interface HttpsActionProps
- All Superinterfaces:
CommonActionProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpsActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:05.372Z")
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpsActionPropsstatic final classAn implementation forHttpsActionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsActionProps.Builderbuilder()default HttpActionSigV4AuthgetAuth()(experimental) Use Sigv4 authorization.default String(experimental) If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination.default List<HttpActionHeader> (experimental) The headers to include in the HTTPS request to the endpoint.Methods inherited from interface software.amazon.awscdk.services.iot.actions.alpha.CommonActionProps
getRoleMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuth
(experimental) Use Sigv4 authorization. -
getConfirmationUrl
(experimental) If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination. -
getHeaders
(experimental) The headers to include in the HTTPS request to the endpoint. -
builder
- Returns:
- a
HttpsActionProps.BuilderofHttpsActionProps
-