Interface CfnTopicRuleDestinationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopicRuleDestinationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.713Z") @Stability(Stable) public interface CfnTopicRuleDestinationProps extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.iot.*;
 CfnTopicRuleDestinationProps cfnTopicRuleDestinationProps = CfnTopicRuleDestinationProps.builder()
         .httpUrlProperties(HttpUrlDestinationSummaryProperty.builder()
                 .confirmationUrl("confirmationUrl")
                 .build())
         .status("status")
         .vpcProperties(VpcDestinationPropertiesProperty.builder()
                 .roleArn("roleArn")
                 .securityGroups(List.of("securityGroups"))
                 .subnetIds(List.of("subnetIds"))
                 .vpcId("vpcId")
                 .build())
         .build();
 
  • Method Details

    • getHttpUrlProperties

      @Stability(Stable) @Nullable default Object getHttpUrlProperties()
      Properties of the HTTP URL.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      • 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.
    • getVpcProperties

      @Stability(Stable) @Nullable default Object getVpcProperties()
      Properties of the virtual private cloud (VPC) connection.
    • builder

      @Stability(Stable) static CfnTopicRuleDestinationProps.Builder builder()
      Returns:
      a CfnTopicRuleDestinationProps.Builder of CfnTopicRuleDestinationProps