Skip to content

CreateEnvironmentTemplateVersionInput

Source code in docs_src/capo_proton/types/create_environment_template_version_input.py
class CreateEnvironmentTemplateVersionInput(TypedDict, closed=True):
    client_token: NotRequired["capo_proton.types.client_token.ClientToken"]
    """<p>When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.</p>"""
    template_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the environment template.</p>"""
    description: NotRequired["capo_proton.types.description.Description"]
    """<p>A description of the new version of an environment template.</p>"""
    major_version: NotRequired[
        "capo_proton.types.template_version_part.TemplateVersionPart"
    ]
    """<p>To create a new minor version of the environment template, include <code>major Version</code>.</p> <p>To create a new major and minor version of the environment template, exclude <code>major Version</code>.</p>"""
    source: "capo_proton.types.template_version_source_input.TemplateVersionSourceInput"
    """<p>An object that includes the template bundle S3 bucket path and name for the new version of an template.</p>"""
    tags: NotRequired["capo_proton.types.tag_list.TagList"]
    """<p>An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/resources.html">Proton resources and tagging</a> in the <i>Proton User Guide</i>.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.

description instance-attribute

description: NotRequired[Description]

A description of the new version of an environment template.

major_version instance-attribute

major_version: NotRequired[TemplateVersionPart]

To create a new minor version of the environment template, include major Version.

To create a new major and minor version of the environment template, exclude major Version.

source instance-attribute

An object that includes the template bundle S3 bucket path and name for the new version of an template.

tags instance-attribute

tags: NotRequired[TagList]

An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

template_name instance-attribute

template_name: ResourceName

The name of the environment template.