terraform-generator - v6
    Preparing search index...

    Class Argument<T>

    Type Parameters

    • T extends string = string

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Get argument's attribute.

      Parameters

      • name: string

        attribute name

      Returns Argument

    • Get list argument's element.

      Parameters

      • idx: number

        element index

      Returns Argument

    • To string.

      Use this method when argument is used as an interpolation in a Terraform string or heredoc.

      It is automatically called when argument is used in template literal.

      Returns string

    • To Terraform representation.

      Use this method when argument is used as an interpolation in another Terraform argument or code.

      Returns string