# CfnTopicRuleDestinationProps

Properties for defining a `CfnTopicRuleDestination`.

Extends: CfnTopicRuleDestinationProps
Used as props by: CfnTopicRuleDestination

- Source: Generated code
- Type last changed: v2.269.0 · 10 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnTopicRuleDestinationProps: iot.CfnTopicRuleDestinationProps = {
  httpUrlProperties: {
    confirmationUrl: 'confirmationUrl',
  },
  influxDbProperties: {
    endpoint: 'endpoint',
    influxDbVersion: 'influxDbVersion',
    secretId: 'secretId',

    // the properties below are optional
    secretKey: 'secretKey',
    secretType: 'secretType',
  },
  status: 'status',
  vpcProperties: {
    roleArn: 'roleArn',
    securityGroups: ['securityGroups'],
    subnetIds: ['subnetIds'],
    vpcId: 'vpcId',
  },
};
```

## Properties

- `httpUrlProperties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty.html) — Properties of the HTTP URL.

- `influxDbProperties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleDestination.InfluxDBDestinationPropertiesProperty.html)

- `status`: 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.

- `vpcProperties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopicRuleDestination.VpcDestinationPropertiesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnTopicRuleDestination.VpcDestinationPropertiesProperty.html) — Properties of the virtual private cloud (VPC) connection.
