CfnDimensionProps
- class aws_cdk.aws_iot.CfnDimensionProps(*, string_values, type, name=None, tags=None)
Bases:
objectProperties for defining a
CfnDimension.- Parameters:
string_values (
Sequence[str]) – Specifies the value or list of values for the dimension. ForTOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, “admin/#”).type (
str) – Specifies the type of dimension. Supported types:TOPIC_FILTER.name (
Optional[str]) – A unique identifier for the dimension.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Metadata that can be used to manage the dimension.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_iot as iot cfn_dimension_props = iot.CfnDimensionProps( string_values=["stringValues"], type="type", # the properties below are optional name="name", tags=[CfnTag( key="key", value="value" )] )
Attributes
- name
A unique identifier for the dimension.
- string_values
Specifies the value or list of values for the dimension.
For
TOPIC_FILTERdimensions, this is a pattern used to match the MQTT topic (for example, “admin/#”).
- tags
Metadata that can be used to manage the dimension.
- type
Specifies the type of dimension.
Supported types:
TOPIC_FILTER.