Skip to content

PolicyAttributeTypeDescription

Source code in docs_src/capo_elastic_load_balancing/types/policy_attribute_type_description.py
class PolicyAttributeTypeDescription(TypedDict, closed=True):
    attribute_name: NotRequired[
        "capo_elastic_load_balancing.types.attribute_name.AttributeName"
    ]
    """<p>The name of the attribute.</p>"""
    attribute_type: NotRequired[
        "capo_elastic_load_balancing.types.attribute_type.AttributeType"
    ]
    """<p>The type of the attribute. For example, <code>Boolean</code> or <code>Integer</code>.</p>"""
    description: NotRequired[
        "capo_elastic_load_balancing.types.description.Description"
    ]
    """<p>A description of the attribute.</p>"""
    default_value: NotRequired[
        "capo_elastic_load_balancing.types.default_value.DefaultValue"
    ]
    """<p>The default value of the attribute, if applicable.</p>"""
    cardinality: NotRequired[
        "capo_elastic_load_balancing.types.cardinality.Cardinality"
    ]
    """<p>The cardinality of the attribute.</p> <p>Valid values:</p> <ul> <li> <p>ONE(1) : Single value required</p> </li> <li> <p>ZERO_OR_ONE(0..1) : Up to one value is allowed</p> </li> <li> <p>ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed</p> </li> <li> <p>ONE_OR_MORE(1..*0) : Required. Multiple values are allowed</p> </li> </ul>"""

attribute_name instance-attribute

attribute_name: NotRequired[AttributeName]

The name of the attribute.

attribute_type instance-attribute

attribute_type: NotRequired[AttributeType]

The type of the attribute. For example, Boolean or Integer.

cardinality instance-attribute

cardinality: NotRequired[Cardinality]

The cardinality of the attribute.

Valid values:

  • ONE(1) : Single value required

  • ZERO_OR_ONE(0..1) : Up to one value is allowed

  • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed

  • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed

default_value instance-attribute

default_value: NotRequired[DefaultValue]

The default value of the attribute, if applicable.

description instance-attribute

description: NotRequired[Description]

A description of the attribute.