Class CfnTopicRuleDestination

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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:05.802Z") @Stability(Stable) public class CfnTopicRuleDestination extends CfnResource implements IInspectable, ITopicRuleDestinationRef
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())
         .influxDbProperties(InfluxDBDestinationPropertiesProperty.builder()
                 .endpoint("endpoint")
                 .influxDbVersion("influxDbVersion")
                 .secretId("secretId")
                 // the properties below are optional
                 .secretKey("secretKey")
                 .secretType("secretType")
                 .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)
      Create a new AWS::IoT::TopicRuleDestination.

      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)
      Create a new AWS::IoT::TopicRuleDestination.

      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