Skip to content

CreateTemplateInput

Source code in docs_src/capo_network_security_manager/types/create_template_input.py
class CreateTemplateInput(TypedDict, closed=True):
    client_token: NotRequired[
        "capo_network_security_manager.types.idempotency_token.IdempotencyToken"
    ]
    """<p>A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.</p>"""
    template_name: "capo_network_security_manager.types.template_name.TemplateName"
    """<p>The name of the template.</p>"""
    template_description: NotRequired[
        "capo_network_security_manager.types.description.Description"
    ]
    """<p>A description of the template.</p>"""
    associated_rule_list: (
        "capo_network_security_manager.types.rule_reference_list.RuleReferenceList"
    )
    """<p>The rules associated with the template.</p>"""
    firewall_type: "capo_network_security_manager.types.template_firewall_type.TemplateFirewallType"
    """<p>The firewall type associated with the resource.</p>"""
    is_published: "capo_network_security_manager.types.is_published.IsPublished"
    """<p>Specifies whether to publish the resource. When <code>true</code>, the resource is saved in published (<code>ACTIVE</code>) state. When <code>false</code>, it is saved as a draft (<code>DRAFT</code>). Default: <code>true</code>.</p>"""
    tags: NotRequired["capo_network_security_manager.types.tag_map.TagMap"]
    """<p>The tags to add to the resource when it is created.</p>"""

associated_rule_list instance-attribute

associated_rule_list: RuleReferenceList

The rules associated with the template.

client_token instance-attribute

client_token: NotRequired[IdempotencyToken]

A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.

firewall_type instance-attribute

firewall_type: TemplateFirewallType

The firewall type associated with the resource.

is_published instance-attribute

is_published: IsPublished

Specifies whether to publish the resource. When true, the resource is saved in published (ACTIVE) state. When false, it is saved as a draft (DRAFT). Default: true.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to add to the resource when it is created.

template_description instance-attribute

template_description: NotRequired[Description]

A description of the template.

template_name instance-attribute

template_name: TemplateName

The name of the template.