HttpAction - AWS IoT

HttpAction

Send data to an HTTPS endpoint.

Contents

url

The endpoint URL. If substitution templates are used in the URL, you must also specify a confirmationUrl. If this is a new destination, a new TopicRuleDestination is created if possible.

Type: String

Length Constraints: Maximum length of 2000.

Required: Yes

auth

The authentication method to use when sending data to an HTTPS endpoint.

Type: HttpAuthorization object

Required: No

confirmationUrl

The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substitution template before traffic is allowed to your endpoint URL.

Type: String

Length Constraints: Maximum length of 2000.

Required: No

headers

The HTTP headers to send with the message data.

Type: Array of HttpActionHeader objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: