Class CfnTopicRuleDestination.Builder

java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRuleDestination.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRuleDestination>
Enclosing class:
CfnTopicRuleDestination

@Stability(Stable) public static final class CfnTopicRuleDestination.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRuleDestination>
A fluent builder for CfnTopicRuleDestination.
  • Method Details

    • create

      @Stability(Stable) public static CfnTopicRuleDestination.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnTopicRuleDestination.Builder.
    • httpUrlProperties

      @Stability(Stable) public CfnTopicRuleDestination.Builder httpUrlProperties(IResolvable httpUrlProperties)
      Properties of the HTTP URL.

      Parameters:
      httpUrlProperties - Properties of the HTTP URL. This parameter is required.
      Returns:
      this
    • httpUrlProperties

      @Stability(Stable) public CfnTopicRuleDestination.Builder httpUrlProperties(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty httpUrlProperties)
      Properties of the HTTP URL.

      Parameters:
      httpUrlProperties - Properties of the HTTP URL. This parameter is required.
      Returns:
      this
    • status

      @Stability(Stable) public CfnTopicRuleDestination.Builder status(String status)
      • 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.

      Parameters:
      status -
      • IN_PROGRESS - A topic rule destination was created but has not been confirmed.
      This parameter is required.
      Returns:
      this
    • vpcProperties

      @Stability(Stable) public CfnTopicRuleDestination.Builder vpcProperties(IResolvable vpcProperties)
      Properties of the virtual private cloud (VPC) connection.

      Parameters:
      vpcProperties - Properties of the virtual private cloud (VPC) connection. This parameter is required.
      Returns:
      this
    • vpcProperties

      @Stability(Stable) public CfnTopicRuleDestination.Builder vpcProperties(CfnTopicRuleDestination.VpcDestinationPropertiesProperty vpcProperties)
      Properties of the virtual private cloud (VPC) connection.

      Parameters:
      vpcProperties - Properties of the virtual private cloud (VPC) connection. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnTopicRuleDestination build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTopicRuleDestination>
      Returns:
      a newly built instance of CfnTopicRuleDestination.