Class CfnTopicRuleDestination

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:09.556Z") @Stability(Stable) public class CfnTopicRuleDestination extends CfnResource implements IInspectable
A topic rule destination.

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.*;
 CfnTopicRuleDestination cfnTopicRuleDestination = CfnTopicRuleDestination.Builder.create(this, "MyCfnTopicRuleDestination")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnTopicRuleDestination

      protected CfnTopicRuleDestination(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnTopicRuleDestination

      protected CfnTopicRuleDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnTopicRuleDestination

      @Stability(Stable) public CfnTopicRuleDestination(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnTopicRuleDestinationProps props)
      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.
      props - Resource properties.
    • CfnTopicRuleDestination

      @Stability(Stable) public CfnTopicRuleDestination(@NotNull software.constructs.Construct scope, @NotNull 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.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The topic rule destination URL.
    • getAttrStatusReason

      @Stability(Stable) @NotNull public String getAttrStatusReason()
      Additional details or reason why the topic rule destination is in the current status.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getHttpUrlProperties

      @Stability(Stable) @Nullable public Object getHttpUrlProperties()
      Properties of the HTTP URL.
    • setHttpUrlProperties

      @Stability(Stable) public void setHttpUrlProperties(@Nullable IResolvable value)
      Properties of the HTTP URL.
    • setHttpUrlProperties

      @Stability(Stable) public void setHttpUrlProperties(@Nullable CfnTopicRuleDestination.HttpUrlDestinationSummaryProperty value)
      Properties of the HTTP URL.
    • getStatus

      @Stability(Stable) @Nullable public String getStatus()
      • IN_PROGRESS - A topic rule destination was created but has not been confirmed.
    • setStatus

      @Stability(Stable) public void setStatus(@Nullable String value)
      • IN_PROGRESS - A topic rule destination was created but has not been confirmed.
    • getVpcProperties

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

      @Stability(Stable) public void setVpcProperties(@Nullable IResolvable value)
      Properties of the virtual private cloud (VPC) connection.
    • setVpcProperties

      @Stability(Stable) public void setVpcProperties(@Nullable CfnTopicRuleDestination.VpcDestinationPropertiesProperty value)
      Properties of the virtual private cloud (VPC) connection.