Class HttpsAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.HttpsAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpsAction>
- Enclosing class:
HttpsAction
@Stability(Experimental)
public static final class HttpsAction.Builder
extends Object
implements software.amazon.jsii.Builder<HttpsAction>
(experimental) A fluent builder for
HttpsAction
.-
Method Summary
Modifier and TypeMethodDescriptionauth
(HttpActionSigV4Auth auth) (experimental) Use Sigv4 authorization.build()
confirmationUrl
(String confirmationUrl) (experimental) If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination.static HttpsAction.Builder
headers
(List<? extends HttpActionHeader> headers) (experimental) The headers to include in the HTTPS request to the endpoint.(experimental) The IAM role that allows access to AWS service.
-
Method Details
-
create
- Parameters:
url
- The url to which to send post request. This parameter is required.- Returns:
- a new instance of
HttpsAction.Builder
.
-
role
(experimental) The IAM role that allows access to AWS service.Default: a new role will be created
- Parameters:
role
- The IAM role that allows access to AWS service. This parameter is required.- Returns:
this
-
auth
(experimental) Use Sigv4 authorization.- Parameters:
auth
- Use Sigv4 authorization. This parameter is required.- Returns:
this
-
confirmationUrl
(experimental) If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination.- Parameters:
confirmationUrl
- If specified, AWS IoT uses the confirmation URL to create a matching topic rule destination. This parameter is required.- Returns:
this
-
headers
@Stability(Experimental) public HttpsAction.Builder headers(List<? extends HttpActionHeader> headers) (experimental) The headers to include in the HTTPS request to the endpoint.- Parameters:
headers
- The headers to include in the HTTPS request to the endpoint. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<HttpsAction>
- Returns:
- a newly built instance of
HttpsAction
.
-