CfnDimensionMixinProps

class aws_cdk.mixins_preview.aws_iot.mixins.CfnDimensionMixinProps(*, name=None, string_values=None, tags=None, type=None)

Bases: object

Properties for CfnDimensionPropsMixin.

Parameters:
  • name (Optional[str]) – A unique identifier for the dimension.

  • string_values (Optional[Sequence[str]]) – 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/#”).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Metadata that can be used to manage the dimension.

  • type (Optional[str]) – Specifies the type of dimension. Supported types: TOPIC_FILTER.

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.mixins_preview.aws_iot import mixins as iot_mixins

cfn_dimension_mixin_props = iot_mixins.CfnDimensionMixinProps(
    name="name",
    string_values=["stringValues"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    type="type"
)

Attributes

name

A unique identifier for the dimension.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-name

string_values

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-stringvalues

tags

Metadata that can be used to manage the dimension.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-tags

type

Specifies the type of dimension.

Supported types: TOPIC_FILTER.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-dimension.html#cfn-iot-dimension-type