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 Summary
Modifier and TypeMethodDescriptionbuild()httpUrlProperties(IResolvable httpUrlProperties) Properties of the HTTP URL.httpUrlProperties(CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty httpUrlProperties) Properties of the HTTP URL.IN_PROGRESS - A topic rule destination was created but has not been confirmed.vpcProperties(IResolvable vpcProperties) Properties of the virtual private cloud (VPC) connection.Properties of the virtual private cloud (VPC) connection.
-
Method Details
-
create
@Stability(Stable) public static CfnTopicRuleDestination.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). 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- See Also:
-
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- See Also:
-
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.
- Parameters:
status-- IN_PROGRESS - A topic rule destination was created but has not been confirmed.
- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRuleDestination>- Returns:
- a newly built instance of
CfnTopicRuleDestination.
-