Interface CfnDimensionProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.536Z") @Stability(Stable) public interface CfnDimensionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDimension.

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.*;
 CfnDimensionProps cfnDimensionProps = CfnDimensionProps.builder()
         .stringValues(List.of("stringValues"))
         .type("type")
         // the properties below are optional
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getStringValues

      @Stability(Stable) @NotNull List<String> getStringValues()
      Specifies the value or list of values for the dimension.

      For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").

    • getType

      @Stability(Stable) @NotNull String getType()
      Specifies the type of dimension.

      Supported types: TOPIC_FILTER.

    • getName

      @Stability(Stable) @Nullable default String getName()
      A unique identifier for the dimension.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Metadata that can be used to manage the dimension.
    • builder

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