CfnTopicRuleDestinationProps
- class aws_cdk.aws_iot.CfnTopicRuleDestinationProps(*, http_url_properties=None, status=None, vpc_properties=None)
Bases:
objectProperties 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_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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 toDISABLEDby callingUpdateTopicRuleDestination. - DISABLED - Confirmation was completed, and traffic to this destination is not allowed. You can set status toENABLEDby callingUpdateTopicRuleDestination. - ERROR - Confirmation could not be completed; for example, if the confirmation timed out. You can callGetTopicRuleDestinationfor details about the error. You can set status toIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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.
- vpc_properties
Properties of the virtual private cloud (VPC) connection.