interface CfnDimensionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnDimensionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnDimensionProps |
Java | software.amazon.awscdk.services.iot.CfnDimensionProps |
Python | aws_cdk.aws_iot.CfnDimensionProps |
TypeScript | aws-cdk-lib » aws_iot » CfnDimensionProps |
Properties for defining a CfnDimension.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html
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
| Name | Type | Description |
|---|---|---|
| string | string[] | Specifies the value or list of values for the dimension. |
| type | string | Specifies the type of dimension. |
| name? | string | A unique identifier for the dimension. |
| tags? | Cfn[] | 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:
Cfn[]
(optional)
Metadata that can be used to manage the dimension.

.NET
Go
Java
Python
TypeScript