Skip to content

EC2  >  Dictionaries  >  DimensionConditionDict

DimensionConditionDict

Dictionary Type

DimensionConditionDict

Bases: TypedDict

Dictionary form of DimensionCondition.

Attributes

comparison instance-attribute
comparison: str | None

The comparison operator to use for the filter.

dimension instance-attribute
dimension: str | None

The name of the dimension to filter by.

values instance-attribute
values: Sequence[str] | None

The list of values to match against the specified dimension. For 'equals' comparison, only the first value is used. For 'in' comparison, any matching value will satisfy the condition.