CfnTopicRuleDestinationProps
- class aws_cdk.aws_iot.CfnTopicRuleDestinationProps(*, http_url_properties=None, status=None, vpc_properties=None)
Bases:
object
Properties for defining a
CfnTopicRuleDestination
.- Parameters:
http_url_properties (
Union
[IResolvable
,HttpUrlDestinationSummaryProperty
,Dict
[str
,Any
],None
]) – Properties of the HTTP URL.status (
Optional
[str
]) –IN_PROGRESS - A topic rule destination was created but has not been confirmed. You can set status to
IN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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 toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED - Confirmation was completed, and traffic to this destination is not allowed. You can set status toENABLED
by callingUpdateTopicRuleDestination
. - ERROR - Confirmation could not be completed; for example, if the confirmation timed out. You can callGetTopicRuleDestination
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.
vpc_properties (
Union
[IResolvable
,VpcDestinationPropertiesProperty
,Dict
[str
,Any
],None
]) – Properties of the virtual private cloud (VPC) connection.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_iot as iot cfn_topic_rule_destination_props = iot.CfnTopicRuleDestinationProps( http_url_properties=iot.CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty( confirmation_url="confirmationUrl" ), status="status", vpc_properties=iot.CfnTopicRuleDestination.VpcDestinationPropertiesProperty( role_arn="roleArn", security_groups=["securityGroups"], subnet_ids=["subnetIds"], vpc_id="vpcId" ) )
Attributes
- http_url_properties
Properties of the HTTP URL.
- status
IN_PROGRESS - A topic rule destination was created but has not been confirmed.
You can set status to
IN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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.
- vpc_properties
Properties of the virtual private cloud (VPC) connection.