Interface CfnTopicRulePropsMixin.HttpActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicRulePropsMixin.HttpActionProperty.Jsii$Proxy
- Enclosing class:
CfnTopicRulePropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iot.*;
HttpActionProperty httpActionProperty = HttpActionProperty.builder()
.auth(HttpAuthorizationProperty.builder()
.sigv4(SigV4AuthorizationProperty.builder()
.roleArn("roleArn")
.serviceName("serviceName")
.signingRegion("signingRegion")
.build())
.build())
.batchConfig(BatchConfigProperty.builder()
.maxBatchOpenMs(123)
.maxBatchSize(123)
.maxBatchSizeBytes(123)
.build())
.confirmationUrl("confirmationUrl")
.enableBatching(false)
.headers(List.of(HttpActionHeaderProperty.builder()
.key("key")
.value("value")
.build()))
.url("url")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopicRulePropsMixin.HttpActionPropertystatic final classAn implementation forCfnTopicRulePropsMixin.HttpActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetAuth()The authentication method to use when sending data to an HTTPS endpoint.default ObjectReturns union: eitherIResolvableorCfnTopicRulePropsMixin.BatchConfigPropertydefault StringThe URL to which AWS IoT sends a confirmation message.default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectThe HTTP headers to send with the message data.default StringgetUrl()The endpoint URL.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuth
The authentication method to use when sending data to an HTTPS endpoint.Returns union: either
IResolvableorCfnTopicRulePropsMixin.HttpAuthorizationProperty- See Also:
-
getBatchConfig
Returns union: eitherIResolvableorCfnTopicRulePropsMixin.BatchConfigProperty- See Also:
-
getConfirmationUrl
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.
- See Also:
-
getEnableBatching
Returns union: eitherBooleanorIResolvable- See Also:
-
getHeaders
The HTTP headers to send with the message data.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopicRulePropsMixin.HttpActionHeaderProperty>- See Also:
-
getUrl
The endpoint URL.If substitution templates are used in the URL, you must also specify a
confirmationUrl. If this is a new destination, a newTopicRuleDestinationis created if possible.- See Also:
-
builder
-