interface CfnTopicRuleDestinationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnTopicRuleDestinationProps |
Java | software.amazon.awscdk.services.iot.CfnTopicRuleDestinationProps |
Python | aws_cdk.aws_iot.CfnTopicRuleDestinationProps |
TypeScript | @aws-cdk/aws-iot » CfnTopicRuleDestinationProps |
Properties for defining a CfnTopicRuleDestination
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const cfnTopicRuleDestinationProps: iot.CfnTopicRuleDestinationProps = {
httpUrlProperties: {
confirmationUrl: 'confirmationUrl',
},
status: 'status',
vpcProperties: {
roleArn: 'roleArn',
securityGroups: ['securityGroups'],
subnetIds: ['subnetIds'],
vpcId: 'vpcId',
},
};
Properties
Name | Type | Description |
---|---|---|
http | IResolvable | Http | Properties of the HTTP URL. |
status? | string | - IN_PROGRESS - A topic rule destination was created but has not been confirmed. |
vpc | IResolvable | Vpc | Properties of the virtual private cloud (VPC) connection. |
httpUrlProperties?
Type:
IResolvable
|
Http
(optional)
Properties of the HTTP URL.
status?
Type:
string
(optional)
- 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 callingUpdateTopicRuleDestination
. - DISABLED - Confirmation was completed, and traffic to this destination is not allowed. You can set status to
ENABLED
by callingUpdateTopicRuleDestination
. - 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 toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
causes a new confirmation challenge to be sent to your confirmation endpoint.
vpcProperties?
Type:
IResolvable
|
Vpc
(optional)
Properties of the virtual private cloud (VPC) connection.