Skip to content

PermissionTemplateParameterDeclaration

Source code in docs_src/capo_ram/types/permission_template_parameter_declaration.py
class PermissionTemplateParameterDeclaration(TypedDict, closed=True):
    name: NotRequired["capo_ram.types.string.String"]
    """<p>The name of the template parameter. This name is used as the placeholder in the policy template using the syntax <code>@{parameterName}</code>.</p>"""
    type: NotRequired[
        "capo_ram.types.permission_template_parameter_type.PermissionTemplateParameterType"
    ]
    """<p>The type of the template parameter. This can be one of the following values:</p> <ul> <li> <p> <code>STRING</code> – A single string value that is substituted directly into the template.</p> </li> <li> <p> <code>STRING_LIST</code> – One or more string values that expand to an array in the rendered policy.</p> </li> </ul>"""
    description: NotRequired["capo_ram.types.string.String"]
    """<p>A description of the template parameter that helps consumers understand what value to provide.</p>"""

description instance-attribute

description: NotRequired[String]

A description of the template parameter that helps consumers understand what value to provide.

name instance-attribute

name: NotRequired[String]

The name of the template parameter. This name is used as the placeholder in the policy template using the syntax @{parameterName}.

type instance-attribute

The type of the template parameter. This can be one of the following values:

  • STRING – A single string value that is substituted directly into the template.

  • STRING_LIST – One or more string values that expand to an array in the rendered policy.