aws-cdk-lib.aws_iot.CfnDimensionProps

interface CfnDimensionProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnDimensionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnDimensionProps
Javasoftware.amazon.awscdk.services.iot.CfnDimensionProps
Pythonaws_cdk.aws_iot.CfnDimensionProps
TypeScript aws-cdk-lib » aws_iot » CfnDimensionProps

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 { aws_iot as iot } from 'aws-cdk-lib';
const cfnDimensionProps: iot.CfnDimensionProps = {
  stringValues: ['stringValues'],
  type: 'type',

  // the properties below are optional
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
stringValuesstring[]Specifies the value or list of values for the dimension.
typestringSpecifies the type of dimension.
name?stringA unique identifier for the dimension.
tags?CfnTag[]Metadata that can be used to manage the dimension.

stringValues

Type: string[]

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/#").


type

Type: string

Specifies the type of dimension.

Supported types: TOPIC_FILTER.


name?

Type: string (optional)

A unique identifier for the dimension.


tags?

Type: CfnTag[] (optional)

Metadata that can be used to manage the dimension.