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-12-17T21:37:41.790Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpsActionProps
static final class
An implementation forHttpsActionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsActionProps.Builder
builder()
default HttpActionSigV4Auth
getAuth()
(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
getRole
Methods 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.Builder
ofHttpsActionProps
-