Skip to content

EnvironmentState

Source code in docs_src/capo_proton/types/environment_state.py
class EnvironmentState(TypedDict, closed=True):
    spec: NotRequired["capo_proton.types.spec_contents.SpecContents"]
    """<p>The environment spec that was used to create the environment.</p>"""
    template_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the environment template that was used to create the environment.</p>"""
    template_major_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The major version of the environment template that was used to create the environment.</p>"""
    template_minor_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The minor version of the environment template that was used to create the environment.</p>"""

spec instance-attribute

spec: NotRequired[SpecContents]

The environment spec that was used to create the environment.

template_major_version instance-attribute

template_major_version: TemplateVersionPart

The major version of the environment template that was used to create the environment.

template_minor_version instance-attribute

template_minor_version: TemplateVersionPart

The minor version of the environment template that was used to create the environment.

template_name instance-attribute

template_name: ResourceName

The name of the environment template that was used to create the environment.