Class CfnTopicRulePropsMixin.HttpActionProperty
Send data to an HTTPS endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTopicRulePropsMixin.HttpActionProperty : CfnTopicRulePropsMixin.IHttpActionProperty
Syntax (vb)
Public Class CfnTopicRulePropsMixin.HttpActionProperty Implements CfnTopicRulePropsMixin.IHttpActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoT;
var httpActionProperty = new HttpActionProperty {
Auth = new HttpAuthorizationProperty {
Sigv4 = new SigV4AuthorizationProperty {
RoleArn = "roleArn",
ServiceName = "serviceName",
SigningRegion = "signingRegion"
}
},
BatchConfig = new BatchConfigProperty {
MaxBatchOpenMs = 123,
MaxBatchSize = 123,
MaxBatchSizeBytes = 123
},
ConfirmationUrl = "confirmationUrl",
EnableBatching = false,
Headers = new [] { new HttpActionHeaderProperty {
Key = "key",
Value = "value"
} },
Url = "url"
};
Synopsis
Constructors
| HttpActionProperty() | Send data to an HTTPS endpoint. |
Properties
| Auth | The authentication method to use when sending data to an HTTPS endpoint. |
| BatchConfig | Send data to an HTTPS endpoint. |
| ConfirmationUrl | The URL to which AWS IoT sends a confirmation message. |
| EnableBatching | Send data to an HTTPS endpoint. |
| Headers | The HTTP headers to send with the message data. |
| Url | The endpoint URL. |
Constructors
HttpActionProperty()
Send data to an HTTPS endpoint.
public HttpActionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.IoT;
var httpActionProperty = new HttpActionProperty {
Auth = new HttpAuthorizationProperty {
Sigv4 = new SigV4AuthorizationProperty {
RoleArn = "roleArn",
ServiceName = "serviceName",
SigningRegion = "signingRegion"
}
},
BatchConfig = new BatchConfigProperty {
MaxBatchOpenMs = 123,
MaxBatchSize = 123,
MaxBatchSizeBytes = 123
},
ConfirmationUrl = "confirmationUrl",
EnableBatching = false,
Headers = new [] { new HttpActionHeaderProperty {
Key = "key",
Value = "value"
} },
Url = "url"
};
Properties
Auth
The authentication method to use when sending data to an HTTPS endpoint.
public object? Auth { get; set; }
Property Value
Remarks
BatchConfig
Send data to an HTTPS endpoint.
public object? BatchConfig { get; set; }
Property Value
Remarks
ConfirmationUrl
The URL to which AWS IoT sends a confirmation message.
public string? ConfirmationUrl { get; set; }
Property Value
Remarks
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.
EnableBatching
Send data to an HTTPS endpoint.
public object? EnableBatching { get; set; }
Property Value
Remarks
Headers
The HTTP headers to send with the message data.
public object? Headers { get; set; }
Property Value
Remarks
Url
The endpoint URL.
public string? Url { get; set; }
Property Value
Remarks
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.