AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::TopicRuleDestination

CfnTopicRuleDestination

A topic rule destination.

Import

import { CfnTopicRuleDestination } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnTopicRuleDestination

Properties

Configuration passed to the constructor as CfnTopicRuleDestinationProps.

httpUrlPropertiesOptional
IResolvable | HttpUrlDestinationSummaryProperty

Properties of the HTTP URL.

statusOptional
string

- **IN_PROGRESS** - A topic rule destination was created but has not been confirmed. You can set status to `IN_PROGRESS` by calling `UpdateTopicRuleDestination` . Calling `UpdateTopicRuleDestination` causes a new confirmation challenge to be sent to your confirmation endpoint. - **ENABLED** - Confirmation was completed, and traffic to this destination is allowed. You can set status to `DISABLED` by calling `UpdateTopicRuleDestination` . - **DISABLED** - Confirmation was completed, and traffic to this destination is not allowed. You can set status to `ENABLED` by calling `UpdateTopicRuleDestination` . - **ERROR** - Confirmation could not be completed; for example, if the confirmation timed out. You can call `GetTopicRuleDestination` for details about the error. You can set status to `IN_PROGRESS` by calling `UpdateTopicRuleDestination` . Calling `UpdateTopicRuleDestination` causes a new confirmation challenge to be sent to your confirmation endpoint.

vpcPropertiesOptional
IResolvable | VpcDestinationPropertiesProperty

Properties of the virtual private cloud (VPC) connection.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter