interface HttpActionSigV4Auth
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.Actions.Alpha.HttpActionSigV4Auth |
![]() | github.com/aws/aws-cdk-go/awscdkiotactionsalpha/v2#HttpActionSigV4Auth |
![]() | software.amazon.awscdk.services.iot.actions.alpha.HttpActionSigV4Auth |
![]() | aws_cdk.aws_iot_actions_alpha.HttpActionSigV4Auth |
![]() | @aws-cdk/aws-iot-actions-alpha » HttpActionSigV4Auth |
Example
const topicRule = new iot.TopicRule(this, 'TopicRule', {
sql: iot.IotSql.fromStringAsVer20160323(
"SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'",
),
});
topicRule.addAction(
new actions.HttpsAction('https://example.com/endpoint', {
confirmationUrl: 'https://example.com',
headers: [
{ key: 'key0', value: 'value0' },
{ key: 'key1', value: 'value1' },
],
auth: { serviceName: 'serviceName', signingRegion: 'us-east-1' },
}),
);
Properties
Name | Type | Description |
---|---|---|
service | string | The service name. |
signing | string | The signing region. |
serviceName
Type:
string
The service name.
signingRegion
Type:
string
The signing region.