CfnTopicRuleDestinationProps Struct
Properties for defining a CfnTopicRuleDestination.
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
httpUrlPropertiesIResolvable | CfnTopicRuleDestination.HttpUrlDestinationSummaryPropertyhttp_url_propertiestyping.Union[IResolvable, HttpUrlDestinationSummaryProperty]httpUrlPropertiesIResolvableHttpUrlPropertiesIResolvableHttpUrlPropertiesinterface{}#Properties of the HTTP URL.
influxDbPropertiesIResolvable | CfnTopicRuleDestination.InfluxDBDestinationPropertiesPropertyinflux_db_propertiestyping.Union[IResolvable, InfluxDBDestinationPropertiesProperty]influxDbPropertiesIResolvableInfluxDbPropertiesIResolvableInfluxDbPropertiesinterface{}#- **IN_PROGRESS** - A topic rule destination was created but has not been confirmed.
notes
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
DISABLEDby callingUpdateTopicRuleDestination. - DISABLED - Confirmation was completed, and traffic to this destination is not allowed. You can set status to
ENABLEDby callingUpdateTopicRuleDestination. - ERROR - Confirmation could not be completed; for example, if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can set status toIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint.
vpcPropertiesIResolvable | CfnTopicRuleDestination.VpcDestinationPropertiesPropertyvpc_propertiestyping.Union[IResolvable, VpcDestinationPropertiesProperty]vpcPropertiesIResolvableVpcPropertiesIResolvableVpcPropertiesinterface{}#Properties of the virtual private cloud (VPC) connection.