CmdID

CmdID / aws / aws iot

aws iot create-topic-rule-destination

Creates a topic rule destination. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a topic rule destination

The following create-topic-rule-destination example creates a topic rule destination for an HTTP endpoint.

aws iot create-topic-rule-destination --destination-configuration httpUrlConfiguration={confirmationUrl=https://example.com}Identify
--destination-configurationThe topic rule destination configuration.
Its output
{
    "topicRuleDestination": {
        "arn": "arn:aws:iot:us-west-2:123456789012:ruledestination/http/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "status": "IN_PROGRESS",
        "statusReason": "Awaiting confirmation. Confirmation message sent on 2020-07-09T22:47:54.154Z; no response received from the endpoint.",
        "httpUrlProperties": {
            "confirmationUrl": "https://example.com"
        }
    }
}

For more information, see Creating HTTP action destinations in the AWS IoT Developer Guide.

Options

1 in the AWS CLI reference
--destination-configurationThe topic rule destination configuration.