> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Go: FnGenerated

> CDKTN Core API Reference for FnGenerated in Go.

## Initializers <a name="Initializers" id="cdktn.FnGenerated.Initializer" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.NewFnGenerated() FnGenerated
```

| **Name** | **Type** | **Description** |
| -------- | -------- | --------------- |

***

## Static Functions <a name="Static Functions" id="Static Functions" />

| **Name**                                                                        | **Description**                                                                                                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.FnGenerated.abs">Abs</a></code>                           | [abs](https://developer.hashicorp.com/terraform/language/functions/abs) returns the absolute value of the given number. In other words, if the number is zero or positive then it is returned as-is, but if it is negative then it is multiplied by -1 to make it positive before returning it.                                                                  |
| <code><a href="#cdktn.FnGenerated.abspath">Abspath</a></code>                   | [abspath](https://developer.hashicorp.com/terraform/language/functions/abspath) takes a string containing a filesystem path and converts it to an absolute path. That is, if the path is not absolute, it will be joined with the current working directory.                                                                                                     |
| <code><a href="#cdktn.FnGenerated.alltrue">Alltrue</a></code>                   | [alltrue](https://developer.hashicorp.com/terraform/language/functions/alltrue) returns `true` if all elements in a given collection are `true` or `"true"`. It also returns `true` if the collection is empty.                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.anytrue">Anytrue</a></code>                   | [anytrue](https://developer.hashicorp.com/terraform/language/functions/anytrue) returns `true` if any element in a given collection is `true` or `"true"`. It also returns `false` if the collection is empty.                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.base64decode">Base64decode</a></code>         | [base64decode](https://developer.hashicorp.com/terraform/language/functions/base64decode) takes a string containing a Base64 character sequence and returns the original string.                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.base64encode">Base64encode</a></code>         | [base64encode](https://developer.hashicorp.com/terraform/language/functions/base64encode) applies Base64 encoding to a string.                                                                                                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.base64gunzip">Base64gunzip</a></code>         | [base64gunzip](https://opentofu.org/docs/language/functions/base64gunzip) decodes a Base64-encoded string and uncompresses the result with gzip.                                                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.base64gzip">Base64gzip</a></code>             | [base64gzip](https://developer.hashicorp.com/terraform/language/functions/base64gzip) compresses a string with gzip and then encodes the result in Base64 encoding.                                                                                                                                                                                              |
| <code><a href="#cdktn.FnGenerated.base64sha256">Base64sha256</a></code>         | [base64sha256](https://developer.hashicorp.com/terraform/language/functions/base64sha256) computes the SHA256 hash of a given string and encodes it with Base64. This is not equivalent to `base64encode(sha256("test"))` since `sha256()` returns hexadecimal representation.                                                                                   |
| <code><a href="#cdktn.FnGenerated.base64sha512">Base64sha512</a></code>         | [base64sha512](https://developer.hashicorp.com/terraform/language/functions/base64sha512) computes the SHA512 hash of a given string and encodes it with Base64. This is not equivalent to `base64encode(sha512("test"))` since `sha512()` returns hexadecimal representation.                                                                                   |
| <code><a href="#cdktn.FnGenerated.basename">Basename</a></code>                 | [basename](https://developer.hashicorp.com/terraform/language/functions/basename) takes a string containing a filesystem path and removes all except the last portion from it.                                                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.can">Can</a></code>                           | [can](https://developer.hashicorp.com/terraform/language/functions/can) evaluates the given expression and returns a boolean value indicating whether the expression produced a result without any errors.                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.ceil">Ceil</a></code>                         | [ceil](https://developer.hashicorp.com/terraform/language/functions/ceil) returns the closest whole number that is greater than or equal to the given value, which may be a fraction.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.chomp">Chomp</a></code>                       | [chomp](https://developer.hashicorp.com/terraform/language/functions/chomp) removes newline characters at the end of a string.                                                                                                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.chunklist">Chunklist</a></code>               | [chunklist](https://developer.hashicorp.com/terraform/language/functions/chunklist) splits a single list into fixed-size chunks, returning a list of lists.                                                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.cidrcontains">Cidrcontains</a></code>         | [cidrcontains](https://opentofu.org/docs/language/functions/cidrcontains) determines whether a given IP address or an address prefix given in CIDR notation is within a given IP network address prefix.                                                                                                                                                         |
| <code><a href="#cdktn.FnGenerated.cidrhost">Cidrhost</a></code>                 | [cidrhost](https://developer.hashicorp.com/terraform/language/functions/cidrhost) calculates a full host IP address for a given host number within a given IP network address prefix.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.cidrnetmask">Cidrnetmask</a></code>           | [cidrnetmask](https://developer.hashicorp.com/terraform/language/functions/cidrnetmask) converts an IPv4 address prefix given in CIDR notation into a subnet mask address.                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.cidrsubnet">Cidrsubnet</a></code>             | [cidrsubnet](https://developer.hashicorp.com/terraform/language/functions/cidrsubnet) calculates a subnet address within given IP network address prefix.                                                                                                                                                                                                        |
| <code><a href="#cdktn.FnGenerated.cidrsubnets">Cidrsubnets</a></code>           | [cidrsubnets](https://developer.hashicorp.com/terraform/language/functions/cidrsubnets) calculates a sequence of consecutive IP address ranges within a particular CIDR prefix.                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.coalesce">Coalesce</a></code>                 | [coalesce](https://developer.hashicorp.com/terraform/language/functions/coalesce) takes any number of arguments and returns the first one that isn't null or an empty string.                                                                                                                                                                                    |
| <code><a href="#cdktn.FnGenerated.coalescelist">Coalescelist</a></code>         | [coalescelist](https://developer.hashicorp.com/terraform/language/functions/coalescelist) takes any number of list arguments and returns the first one that isn't empty.                                                                                                                                                                                         |
| <code><a href="#cdktn.FnGenerated.compact">Compact</a></code>                   | [compact](https://developer.hashicorp.com/terraform/language/functions/compact) takes a list of strings and returns a new list with any empty string elements removed.                                                                                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.concat">Concat</a></code>                     | [concat](https://developer.hashicorp.com/terraform/language/functions/concat) takes two or more lists and combines them into a single list.                                                                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.contains">Contains</a></code>                 | [contains](https://developer.hashicorp.com/terraform/language/functions/contains) determines whether a given list or set contains a given single value as one of its elements.                                                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.convert">Convert</a></code>                   | [convert](https://developer.hashicorp.com/terraform/language/functions/convert) converts a value to the given type constraint.                                                                                                                                                                                                                                   |
| <code><a href="#cdktn.FnGenerated.csvdecode">Csvdecode</a></code>               | [csvdecode](https://developer.hashicorp.com/terraform/language/functions/csvdecode) decodes a string containing CSV-formatted data and produces a list of maps representing that data.                                                                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.dirname">Dirname</a></code>                   | [dirname](https://developer.hashicorp.com/terraform/language/functions/dirname) takes a string containing a filesystem path and removes the last portion from it.                                                                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.distinct">Distinct</a></code>                 | [distinct](https://developer.hashicorp.com/terraform/language/functions/distinct) takes a list and returns a new list with any duplicate elements removed.                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.element">Element</a></code>                   | [element](https://developer.hashicorp.com/terraform/language/functions/element) retrieves a single element from a list.                                                                                                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.endswith">Endswith</a></code>                 | [endswith](https://developer.hashicorp.com/terraform/language/functions/endswith) takes two values: a string to check and a suffix string. The function returns true if the first string ends with that exact suffix.                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.ephemeralasnull">Ephemeralasnull</a></code>   | [ephemeralasnull](https://developer.hashicorp.com/terraform/language/functions/ephemeralasnull) takes a value of any type and returns a similar value of the same type with any ephemeral values replaced with non-ephemeral null values and all non-ephemeral values preserved.                                                                                 |
| <code><a href="#cdktn.FnGenerated.file">File</a></code>                         | [file](https://developer.hashicorp.com/terraform/language/functions/file) reads the contents of a file at the given path and returns them as a string.                                                                                                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.filebase64">Filebase64</a></code>             | [filebase64](https://developer.hashicorp.com/terraform/language/functions/filebase64) reads the contents of a file at the given path and returns them as a base64-encoded string.                                                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.filebase64sha256">Filebase64sha256</a></code> | [filebase64sha256](https://developer.hashicorp.com/terraform/language/functions/filebase64sha256) is a variant of `base64sha256` that hashes the contents of a given file rather than a literal string.                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.filebase64sha512">Filebase64sha512</a></code> | [filebase64sha512](https://developer.hashicorp.com/terraform/language/functions/filebase64sha512) is a variant of `base64sha512` that hashes the contents of a given file rather than a literal string.                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.fileexists">Fileexists</a></code>             | [fileexists](https://developer.hashicorp.com/terraform/language/functions/fileexists) determines whether a file exists at a given path.                                                                                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.filemd5">Filemd5</a></code>                   | [filemd5](https://developer.hashicorp.com/terraform/language/functions/filemd5) is a variant of `md5` that hashes the contents of a given file rather than a literal string.                                                                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.fileset">Fileset</a></code>                   | [fileset](https://developer.hashicorp.com/terraform/language/functions/fileset) enumerates a set of regular file names given a path and pattern. The path is automatically removed from the resulting set of file names and any result still containing path separators always returns forward slash (`/`) as the path separator for cross-system compatibility. |
| <code><a href="#cdktn.FnGenerated.filesha1">Filesha1</a></code>                 | [filesha1](https://developer.hashicorp.com/terraform/language/functions/filesha1) is a variant of `sha1` that hashes the contents of a given file rather than a literal string.                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.filesha256">Filesha256</a></code>             | [filesha256](https://developer.hashicorp.com/terraform/language/functions/filesha256) is a variant of `sha256` that hashes the contents of a given file rather than a literal string.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.filesha512">Filesha512</a></code>             | [filesha512](https://developer.hashicorp.com/terraform/language/functions/filesha512) is a variant of `sha512` that hashes the contents of a given file rather than a literal string.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.flatten">Flatten</a></code>                   | [flatten](https://developer.hashicorp.com/terraform/language/functions/flatten) takes a list and replaces any elements that are lists with a flattened sequence of the list contents.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.floor">Floor</a></code>                       | [floor](https://developer.hashicorp.com/terraform/language/functions/floor) returns the closest whole number that is less than or equal to the given value, which may be a fraction.                                                                                                                                                                             |
| <code><a href="#cdktn.FnGenerated.format">Format</a></code>                     | The [format](https://developer.hashicorp.com/terraform/language/functions/format) function produces a string by formatting a number of other values according to a specification string. It is similar to the `printf` function in C, and other similar functions in other programming languages.                                                                |
| <code><a href="#cdktn.FnGenerated.formatdate">Formatdate</a></code>             | [formatdate](https://developer.hashicorp.com/terraform/language/functions/formatdate) converts a timestamp into a different time format.                                                                                                                                                                                                                         |
| <code><a href="#cdktn.FnGenerated.formatlist">Formatlist</a></code>             | [formatlist](https://developer.hashicorp.com/terraform/language/functions/formatlist) produces a list of strings by formatting a number of other values according to a specification string.                                                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.indent">Indent</a></code>                     | [indent](https://developer.hashicorp.com/terraform/language/functions/indent) adds a given number of spaces to the beginnings of all but the first line in a given multi-line string.                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.index">Index</a></code>                       | [index](https://developer.hashicorp.com/terraform/language/functions/index) finds the element index for a given value in a list.                                                                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.issensitive">Issensitive</a></code>           | [issensitive](https://developer.hashicorp.com/terraform/language/functions/issensitive) takes a value and returns a boolean indicating if the value is sensitive.                                                                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.jsondecode">Jsondecode</a></code>             | [jsondecode](https://developer.hashicorp.com/terraform/language/functions/jsondecode) interprets a given string as JSON, returning a representation of the result of decoding that string.                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.jsonencode">Jsonencode</a></code>             | [jsonencode](https://developer.hashicorp.com/terraform/language/functions/jsonencode) encodes a given value to a string using JSON syntax.                                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.keys">Keys</a></code>                         | [keys](https://developer.hashicorp.com/terraform/language/functions/keys) takes a map and returns a list containing the keys from that map.                                                                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.lengthOf">LengthOf</a></code>                 | [length](https://developer.hashicorp.com/terraform/language/functions/length) determines the length of a given list, map, or string.                                                                                                                                                                                                                             |
| <code><a href="#cdktn.FnGenerated.log">Log</a></code>                           | [log](https://developer.hashicorp.com/terraform/language/functions/log) returns the logarithm of a given number in a given base.                                                                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.lower">Lower</a></code>                       | [lower](https://developer.hashicorp.com/terraform/language/functions/lower) converts all cased letters in the given string to lowercase.                                                                                                                                                                                                                         |
| <code><a href="#cdktn.FnGenerated.matchkeys">Matchkeys</a></code>               | [matchkeys](https://developer.hashicorp.com/terraform/language/functions/matchkeys) constructs a new list by taking a subset of elements from one list whose indexes match the corresponding indexes of values in another list.                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.max">Max</a></code>                           | [max](https://developer.hashicorp.com/terraform/language/functions/max) takes one or more numbers and returns the greatest number from the set.                                                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.md5">Md5</a></code>                           | [md5](https://developer.hashicorp.com/terraform/language/functions/md5) computes the MD5 hash of a given string and encodes it with hexadecimal digits.                                                                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.merge">Merge</a></code>                       | [merge](https://developer.hashicorp.com/terraform/language/functions/merge) takes an arbitrary number of maps or objects, and returns a single map or object that contains a merged set of elements from all arguments.                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.min">Min</a></code>                           | [min](https://developer.hashicorp.com/terraform/language/functions/min) takes one or more numbers and returns the smallest number from the set.                                                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.nonsensitive">Nonsensitive</a></code>         | [nonsensitive](https://developer.hashicorp.com/terraform/language/functions/nonsensitive) takes a sensitive value and returns a copy of that value with the sensitive marking removed, thereby exposing the sensitive value.                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.one">One</a></code>                           | [one](https://developer.hashicorp.com/terraform/language/functions/one) takes a list, set, or tuple value with either zero or one elements. If the collection is empty, `one` returns `null`. Otherwise, `one` returns the first element. If there are two or more elements then `one` will return an error.                                                     |
| <code><a href="#cdktn.FnGenerated.parseint">Parseint</a></code>                 | [parseint](https://developer.hashicorp.com/terraform/language/functions/parseint) parses the given string as a representation of an integer in the specified base and returns the resulting number. The base must be between 2 and 62 inclusive.                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.pathexpand">Pathexpand</a></code>             | [pathexpand](https://developer.hashicorp.com/terraform/language/functions/pathexpand) takes a filesystem path that might begin with a `~` segment, and if so it replaces that segment with the current user's home directory path.                                                                                                                               |
| <code><a href="#cdktn.FnGenerated.plantimestamp">Plantimestamp</a></code>       | [plantimestamp](https://developer.hashicorp.com/terraform/language/functions/plantimestamp) returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, fixed to a constant time representing the time of the plan.                                                                                                                |
| <code><a href="#cdktn.FnGenerated.pow">Pow</a></code>                           | [pow](https://developer.hashicorp.com/terraform/language/functions/pow) calculates an exponent, by raising its first argument to the power of the second argument.                                                                                                                                                                                               |
| <code><a href="#cdktn.FnGenerated.regex">Regex</a></code>                       | [regex](https://developer.hashicorp.com/terraform/language/functions/regex) applies a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) to a string and returns the matching substrings.                                                                                                                                                    |
| <code><a href="#cdktn.FnGenerated.regexall">Regexall</a></code>                 | [regexall](https://developer.hashicorp.com/terraform/language/functions/regexall) applies a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) to a string and returns a list of all matches.                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.replace">Replace</a></code>                   | [replace](https://developer.hashicorp.com/terraform/language/functions/replace) searches a given string for another given substring, and replaces each occurrence with a given replacement string.                                                                                                                                                               |
| <code><a href="#cdktn.FnGenerated.reverse">Reverse</a></code>                   | [reverse](https://developer.hashicorp.com/terraform/language/functions/reverse) takes a sequence and produces a new sequence of the same length with all of the same elements as the given sequence but in reverse order.                                                                                                                                        |
| <code><a href="#cdktn.FnGenerated.rsadecrypt">Rsadecrypt</a></code>             | [rsadecrypt](https://developer.hashicorp.com/terraform/language/functions/rsadecrypt) decrypts an RSA-encrypted ciphertext, returning the corresponding cleartext.                                                                                                                                                                                               |
| <code><a href="#cdktn.FnGenerated.sensitive">Sensitive</a></code>               | [sensitive](https://developer.hashicorp.com/terraform/language/functions/sensitive) takes any value and returns a copy of it marked so that Terraform will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/terraform/language/values/variables#suppressing-values-in-cli-output).                                  |
| <code><a href="#cdktn.FnGenerated.setintersection">Setintersection</a></code>   | The [setintersection](https://developer.hashicorp.com/terraform/language/functions/setintersection) function takes multiple sets and produces a single set containing only the elements that all of the given sets have in common. In other words, it computes the [intersection](https://en.wikipedia.org/wiki/Intersection_\(set_theory\)) of the sets.        |
| <code><a href="#cdktn.FnGenerated.setproduct">Setproduct</a></code>             | The [setproduct](https://developer.hashicorp.com/terraform/language/functions/setproduct) function finds all of the possible combinations of elements from all of the given sets by computing the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product).                                                                                          |
| <code><a href="#cdktn.FnGenerated.setsubtract">Setsubtract</a></code>           | The [setsubtract](https://developer.hashicorp.com/terraform/language/functions/setsubtract) function returns a new set containing the elements from the first set that are not present in the second set. In other words, it computes the [relative complement](https://en.wikipedia.org/wiki/Complement_\(set_theory\)#Relative_complement) of the second set.  |
| <code><a href="#cdktn.FnGenerated.setunion">Setunion</a></code>                 | The [setunion](https://developer.hashicorp.com/terraform/language/functions/setunion) function takes multiple sets and produces a single set containing the elements from all of the given sets. In other words, it computes the [union](https://en.wikipedia.org/wiki/Union_\(set_theory\)) of the sets.                                                        |
| <code><a href="#cdktn.FnGenerated.sha1">Sha1</a></code>                         | [sha1](https://developer.hashicorp.com/terraform/language/functions/sha1) computes the SHA1 hash of a given string and encodes it with hexadecimal digits.                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.sha256">Sha256</a></code>                     | [sha256](https://developer.hashicorp.com/terraform/language/functions/sha256) computes the SHA256 hash of a given string and encodes it with hexadecimal digits.                                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.sha512">Sha512</a></code>                     | [sha512](https://developer.hashicorp.com/terraform/language/functions/sha512) computes the SHA512 hash of a given string and encodes it with hexadecimal digits.                                                                                                                                                                                                 |
| <code><a href="#cdktn.FnGenerated.signum">Signum</a></code>                     | [signum](https://developer.hashicorp.com/terraform/language/functions/signum) determines the sign of a number, returning a number between -1 and 1 to represent the sign.                                                                                                                                                                                        |
| <code><a href="#cdktn.FnGenerated.slice">Slice</a></code>                       | [slice](https://developer.hashicorp.com/terraform/language/functions/slice) extracts some consecutive elements from within a list.                                                                                                                                                                                                                               |
| <code><a href="#cdktn.FnGenerated.sort">Sort</a></code>                         | [sort](https://developer.hashicorp.com/terraform/language/functions/sort) takes a list of strings and returns a new list with those strings sorted lexicographically.                                                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.split">Split</a></code>                       | [split](https://developer.hashicorp.com/terraform/language/functions/split) produces a list by dividing a given string at all occurrences of a given separator.                                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.startswith">Startswith</a></code>             | [startswith](https://developer.hashicorp.com/terraform/language/functions/startswith) takes two values: a string to check and a prefix string. The function returns true if the string begins with that exact prefix.                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.strcontains">Strcontains</a></code>           | [strcontains](https://developer.hashicorp.com/terraform/language/functions/strcontains) takes two values: a string to check and an expected substring. The function returns true if the string has the substring contained within it.                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.strrev">Strrev</a></code>                     | [strrev](https://developer.hashicorp.com/terraform/language/functions/strrev) reverses the characters in a string. Note that the characters are treated as *Unicode characters* (in technical terms, Unicode [grapheme cluster boundaries](https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries) are respected).                                        |
| <code><a href="#cdktn.FnGenerated.substr">Substr</a></code>                     | [substr](https://developer.hashicorp.com/terraform/language/functions/substr) extracts a substring from a given string by offset and (maximum) length.                                                                                                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.sum">Sum</a></code>                           | [sum](https://developer.hashicorp.com/terraform/language/functions/sum) takes a list or set of numbers and returns the sum of those numbers.                                                                                                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.templatefile">Templatefile</a></code>         | [templatefile](https://developer.hashicorp.com/terraform/language/functions/templatefile) reads the file at the given path and renders its content as a template using a supplied set of template variables.                                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.templatestring">Templatestring</a></code>     | [templatestring](https://developer.hashicorp.com/terraform/language/functions/templatestring) takes a string from elsewhere in the module and renders its content as a template using a supplied set of template variables.                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.textdecodebase64">Textdecodebase64</a></code> | [textdecodebase64](https://developer.hashicorp.com/terraform/language/functions/textdecodebase64) function decodes a string that was previously Base64-encoded, and then interprets the result as characters in a specified character encoding.                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.textencodebase64">Textencodebase64</a></code> | [textencodebase64](https://developer.hashicorp.com/terraform/language/functions/textencodebase64) encodes the unicode characters in a given string using a specified character encoding, returning the result base64 encoded because Terraform language strings are always sequences of unicode characters.                                                      |
| <code><a href="#cdktn.FnGenerated.timeadd">Timeadd</a></code>                   | [timeadd](https://developer.hashicorp.com/terraform/language/functions/timeadd) adds a duration to a timestamp, returning a new timestamp.                                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.timecmp">Timecmp</a></code>                   | [timecmp](https://developer.hashicorp.com/terraform/language/functions/timecmp) compares two timestamps and returns a number that represents the ordering of the instants those timestamps represent.                                                                                                                                                            |
| <code><a href="#cdktn.FnGenerated.timestamp">Timestamp</a></code>               | [timestamp](https://developer.hashicorp.com/terraform/language/functions/timestamp) returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format.                                                                                                                                                                                    |
| <code><a href="#cdktn.FnGenerated.title">Title</a></code>                       | [title](https://developer.hashicorp.com/terraform/language/functions/title) converts the first letter of each word in the given string to uppercase.                                                                                                                                                                                                             |
| <code><a href="#cdktn.FnGenerated.tobool">Tobool</a></code>                     | [tobool](https://developer.hashicorp.com/terraform/language/functions/tobool) converts its argument to a boolean value.                                                                                                                                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.tolist">Tolist</a></code>                     | [tolist](https://developer.hashicorp.com/terraform/language/functions/tolist) converts its argument to a list value.                                                                                                                                                                                                                                             |
| <code><a href="#cdktn.FnGenerated.tomap">Tomap</a></code>                       | [tomap](https://developer.hashicorp.com/terraform/language/functions/tomap) converts its argument to a map value.                                                                                                                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.tonumber">Tonumber</a></code>                 | [tonumber](https://developer.hashicorp.com/terraform/language/functions/tonumber) converts its argument to a number value.                                                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.toset">Toset</a></code>                       | [toset](https://developer.hashicorp.com/terraform/language/functions/toset) converts its argument to a set value.                                                                                                                                                                                                                                                |
| <code><a href="#cdktn.FnGenerated.tostring">Tostring</a></code>                 | [tostring](https://developer.hashicorp.com/terraform/language/functions/tostring) converts its argument to a string value.                                                                                                                                                                                                                                       |
| <code><a href="#cdktn.FnGenerated.transpose">Transpose</a></code>               | [transpose](https://developer.hashicorp.com/terraform/language/functions/transpose) takes a map of lists of strings and swaps the keys and values to produce a new map of lists of strings.                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.trim">Trim</a></code>                         | [trim](https://developer.hashicorp.com/terraform/language/functions/trim) removes the specified set of characters from the start and end of the given string.                                                                                                                                                                                                    |
| <code><a href="#cdktn.FnGenerated.trimprefix">Trimprefix</a></code>             | [trimprefix](https://developer.hashicorp.com/terraform/language/functions/trimprefix) removes the specified prefix from the start of the given string. If the string does not start with the prefix, the string is returned unchanged.                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.trimspace">Trimspace</a></code>               | [trimspace](https://developer.hashicorp.com/terraform/language/functions/trimspace) removes any space characters from the start and end of the given string.                                                                                                                                                                                                     |
| <code><a href="#cdktn.FnGenerated.trimsuffix">Trimsuffix</a></code>             | [trimsuffix](https://developer.hashicorp.com/terraform/language/functions/trimsuffix) removes the specified suffix from the end of the given string.                                                                                                                                                                                                             |
| <code><a href="#cdktn.FnGenerated.try">Try</a></code>                           | [try](https://developer.hashicorp.com/terraform/language/functions/try) evaluates all of its argument expressions in turn and returns the result of the first one that does not produce any errors.                                                                                                                                                              |
| <code><a href="#cdktn.FnGenerated.upper">Upper</a></code>                       | [upper](https://developer.hashicorp.com/terraform/language/functions/upper) converts all cased letters in the given string to uppercase.                                                                                                                                                                                                                         |
| <code><a href="#cdktn.FnGenerated.urldecode">Urldecode</a></code>               | [urldecode](https://opentofu.org/docs/language/functions/urldecode) applies URL decoding to a given encoded string.                                                                                                                                                                                                                                              |
| <code><a href="#cdktn.FnGenerated.urlencode">Urlencode</a></code>               | [urlencode](https://developer.hashicorp.com/terraform/language/functions/urlencode) applies URL encoding to a given string.                                                                                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.uuid">Uuid</a></code>                         | [uuid](https://developer.hashicorp.com/terraform/language/functions/uuid) generates a unique identifier string.                                                                                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.uuidv5">Uuidv5</a></code>                     | [uuidv5](https://developer.hashicorp.com/terraform/language/functions/uuidv5) generates a *name-based* UUID, as described in [RFC 4122 section 4.3](https://tools.ietf.org/html/rfc4122#section-4.3), also known as a "version 5" UUID.                                                                                                                          |
| <code><a href="#cdktn.FnGenerated.values">Values</a></code>                     | [values](https://developer.hashicorp.com/terraform/language/functions/values) takes a map and returns a list containing the values of the elements in that map.                                                                                                                                                                                                  |
| <code><a href="#cdktn.FnGenerated.yamldecode">Yamldecode</a></code>             | [yamldecode](https://developer.hashicorp.com/terraform/language/functions/yamldecode) parses a string as a subset of YAML, and produces a representation of its value.                                                                                                                                                                                           |
| <code><a href="#cdktn.FnGenerated.yamlencode">Yamlencode</a></code>             | [yamlencode](https://developer.hashicorp.com/terraform/language/functions/yamlencode) encodes a given value to a string using [YAML 1.2](https://yaml.org/spec/1.2/spec.html) block syntax.                                                                                                                                                                      |
| <code><a href="#cdktn.FnGenerated.zipmap">Zipmap</a></code>                     | [zipmap](https://developer.hashicorp.com/terraform/language/functions/zipmap) constructs a map from a list of keys and a corresponding list of values.                                                                                                                                                                                                           |

***

### `Abs` <a name="Abs" id="cdktn.FnGenerated.abs" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Abs(num *f64) *f64
```

[abs](https://developer.hashicorp.com/terraform/language/functions/abs) returns the absolute value of the given number. In other words, if the number is zero or positive then it is returned as-is, but if it is negative then it is multiplied by -1 to make it positive before returning it.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.abs.parameter.num" />

* *Type:* \*f64

***

### `Abspath` <a name="Abspath" id="cdktn.FnGenerated.abspath" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Abspath(path *string) *string
```

[abspath](https://developer.hashicorp.com/terraform/language/functions/abspath) takes a string containing a filesystem path and converts it to an absolute path. That is, if the path is not absolute, it will be joined with the current working directory.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.abspath.parameter.path" />

* *Type:* \*string

***

### `Alltrue` <a name="Alltrue" id="cdktn.FnGenerated.alltrue" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Alltrue(list *[]interface{}) IResolvable
```

[alltrue](https://developer.hashicorp.com/terraform/language/functions/alltrue) returns `true` if all elements in a given collection are `true` or `"true"`. It also returns `true` if the collection is empty.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.alltrue.parameter.list" />

* *Type:* \*\[]interface\{}

***

### `Anytrue` <a name="Anytrue" id="cdktn.FnGenerated.anytrue" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Anytrue(list *[]interface{}) IResolvable
```

[anytrue](https://developer.hashicorp.com/terraform/language/functions/anytrue) returns `true` if any element in a given collection is `true` or `"true"`. It also returns `false` if the collection is empty.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.anytrue.parameter.list" />

* *Type:* \*\[]interface\{}

***

### `Base64decode` <a name="Base64decode" id="cdktn.FnGenerated.base64decode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64decode(str *string) *string
```

[base64decode](https://developer.hashicorp.com/terraform/language/functions/base64decode) takes a string containing a Base64 character sequence and returns the original string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64decode.parameter.str" />

* *Type:* \*string

***

### `Base64encode` <a name="Base64encode" id="cdktn.FnGenerated.base64encode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64encode(str *string) *string
```

[base64encode](https://developer.hashicorp.com/terraform/language/functions/base64encode) applies Base64 encoding to a string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64encode.parameter.str" />

* *Type:* \*string

***

### `Base64gunzip` <a name="Base64gunzip" id="cdktn.FnGenerated.base64gunzip" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64gunzip(str *string) *string
```

[base64gunzip](https://opentofu.org/docs/language/functions/base64gunzip) decodes a Base64-encoded string and uncompresses the result with gzip.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64gunzip.parameter.str" />

* *Type:* \*string

***

### `Base64gzip` <a name="Base64gzip" id="cdktn.FnGenerated.base64gzip" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64gzip(str *string) *string
```

[base64gzip](https://developer.hashicorp.com/terraform/language/functions/base64gzip) compresses a string with gzip and then encodes the result in Base64 encoding.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64gzip.parameter.str" />

* *Type:* \*string

***

### `Base64sha256` <a name="Base64sha256" id="cdktn.FnGenerated.base64sha256" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64sha256(str *string) *string
```

[base64sha256](https://developer.hashicorp.com/terraform/language/functions/base64sha256) computes the SHA256 hash of a given string and encodes it with Base64. This is not equivalent to `base64encode(sha256("test"))` since `sha256()` returns hexadecimal representation.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64sha256.parameter.str" />

* *Type:* \*string

***

### `Base64sha512` <a name="Base64sha512" id="cdktn.FnGenerated.base64sha512" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Base64sha512(str *string) *string
```

[base64sha512](https://developer.hashicorp.com/terraform/language/functions/base64sha512) computes the SHA512 hash of a given string and encodes it with Base64. This is not equivalent to `base64encode(sha512("test"))` since `sha512()` returns hexadecimal representation.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.base64sha512.parameter.str" />

* *Type:* \*string

***

### `Basename` <a name="Basename" id="cdktn.FnGenerated.basename" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Basename(path *string) *string
```

[basename](https://developer.hashicorp.com/terraform/language/functions/basename) takes a string containing a filesystem path and removes all except the last portion from it.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.basename.parameter.path" />

* *Type:* \*string

***

### `Can` <a name="Can" id="cdktn.FnGenerated.can" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Can(expression interface{}) IResolvable
```

[can](https://developer.hashicorp.com/terraform/language/functions/can) evaluates the given expression and returns a boolean value indicating whether the expression produced a result without any errors.

#### `expression`<sup>Required</sup> <a name="expression" id="cdktn.FnGenerated.can.parameter.expression" />

* *Type:* interface\{}

***

### `Ceil` <a name="Ceil" id="cdktn.FnGenerated.ceil" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Ceil(num *f64) *f64
```

[ceil](https://developer.hashicorp.com/terraform/language/functions/ceil) returns the closest whole number that is greater than or equal to the given value, which may be a fraction.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.ceil.parameter.num" />

* *Type:* \*f64

***

### `Chomp` <a name="Chomp" id="cdktn.FnGenerated.chomp" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Chomp(str *string) *string
```

[chomp](https://developer.hashicorp.com/terraform/language/functions/chomp) removes newline characters at the end of a string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.chomp.parameter.str" />

* *Type:* \*string

***

### `Chunklist` <a name="Chunklist" id="cdktn.FnGenerated.chunklist" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Chunklist(list *[]interface{}, size *f64) *[]*string
```

[chunklist](https://developer.hashicorp.com/terraform/language/functions/chunklist) splits a single list into fixed-size chunks, returning a list of lists.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.chunklist.parameter.list" />

* *Type:* \*\[]interface\{}

***

#### `size`<sup>Required</sup> <a name="size" id="cdktn.FnGenerated.chunklist.parameter.size" />

* *Type:* \*f64

***

### `Cidrcontains` <a name="Cidrcontains" id="cdktn.FnGenerated.cidrcontains" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Cidrcontains(containing_prefix *string, contained_ip_or_prefix *string) IResolvable
```

[cidrcontains](https://opentofu.org/docs/language/functions/cidrcontains) determines whether a given IP address or an address prefix given in CIDR notation is within a given IP network address prefix.

#### `containing_prefix`<sup>Required</sup> <a name="containing_prefix" id="cdktn.FnGenerated.cidrcontains.parameter.containing_prefix" />

* *Type:* \*string

***

#### `contained_ip_or_prefix`<sup>Required</sup> <a name="contained_ip_or_prefix" id="cdktn.FnGenerated.cidrcontains.parameter.contained_ip_or_prefix" />

* *Type:* \*string

***

### `Cidrhost` <a name="Cidrhost" id="cdktn.FnGenerated.cidrhost" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Cidrhost(prefix *string, hostnum *f64) *string
```

[cidrhost](https://developer.hashicorp.com/terraform/language/functions/cidrhost) calculates a full host IP address for a given host number within a given IP network address prefix.

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.cidrhost.parameter.prefix" />

* *Type:* \*string

***

#### `hostnum`<sup>Required</sup> <a name="hostnum" id="cdktn.FnGenerated.cidrhost.parameter.hostnum" />

* *Type:* \*f64

***

### `Cidrnetmask` <a name="Cidrnetmask" id="cdktn.FnGenerated.cidrnetmask" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Cidrnetmask(prefix *string) *string
```

[cidrnetmask](https://developer.hashicorp.com/terraform/language/functions/cidrnetmask) converts an IPv4 address prefix given in CIDR notation into a subnet mask address.

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.cidrnetmask.parameter.prefix" />

* *Type:* \*string

***

### `Cidrsubnet` <a name="Cidrsubnet" id="cdktn.FnGenerated.cidrsubnet" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Cidrsubnet(prefix *string, newbits *f64, netnum *f64) *string
```

[cidrsubnet](https://developer.hashicorp.com/terraform/language/functions/cidrsubnet) calculates a subnet address within given IP network address prefix.

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.cidrsubnet.parameter.prefix" />

* *Type:* \*string

***

#### `newbits`<sup>Required</sup> <a name="newbits" id="cdktn.FnGenerated.cidrsubnet.parameter.newbits" />

* *Type:* \*f64

***

#### `netnum`<sup>Required</sup> <a name="netnum" id="cdktn.FnGenerated.cidrsubnet.parameter.netnum" />

* *Type:* \*f64

***

### `Cidrsubnets` <a name="Cidrsubnets" id="cdktn.FnGenerated.cidrsubnets" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Cidrsubnets(prefix *string, newbits *[]*f64) *[]*string
```

[cidrsubnets](https://developer.hashicorp.com/terraform/language/functions/cidrsubnets) calculates a sequence of consecutive IP address ranges within a particular CIDR prefix.

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.cidrsubnets.parameter.prefix" />

* *Type:* \*string

***

#### `newbits`<sup>Required</sup> <a name="newbits" id="cdktn.FnGenerated.cidrsubnets.parameter.newbits" />

* *Type:* \*\[]\*f64

***

### `Coalesce` <a name="Coalesce" id="cdktn.FnGenerated.coalesce" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Coalesce(vals *[]interface{}) interface{}
```

[coalesce](https://developer.hashicorp.com/terraform/language/functions/coalesce) takes any number of arguments and returns the first one that isn't null or an empty string.

#### `vals`<sup>Required</sup> <a name="vals" id="cdktn.FnGenerated.coalesce.parameter.vals" />

* *Type:* \*\[]interface\{}

***

### `Coalescelist` <a name="Coalescelist" id="cdktn.FnGenerated.coalescelist" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Coalescelist(vals *[]interface{}) interface{}
```

[coalescelist](https://developer.hashicorp.com/terraform/language/functions/coalescelist) takes any number of list arguments and returns the first one that isn't empty.

#### `vals`<sup>Required</sup> <a name="vals" id="cdktn.FnGenerated.coalescelist.parameter.vals" />

* *Type:* \*\[]interface\{}

***

### `Compact` <a name="Compact" id="cdktn.FnGenerated.compact" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Compact(list *[]*string) *[]*string
```

[compact](https://developer.hashicorp.com/terraform/language/functions/compact) takes a list of strings and returns a new list with any empty string elements removed.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.compact.parameter.list" />

* *Type:* \*\[]\*string

***

### `Concat` <a name="Concat" id="cdktn.FnGenerated.concat" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Concat(seqs *[]interface{}) interface{}
```

[concat](https://developer.hashicorp.com/terraform/language/functions/concat) takes two or more lists and combines them into a single list.

#### `seqs`<sup>Required</sup> <a name="seqs" id="cdktn.FnGenerated.concat.parameter.seqs" />

* *Type:* \*\[]interface\{}

***

### `Contains` <a name="Contains" id="cdktn.FnGenerated.contains" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Contains(list interface{}, value interface{}) interface{}
```

[contains](https://developer.hashicorp.com/terraform/language/functions/contains) determines whether a given list or set contains a given single value as one of its elements.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.contains.parameter.list" />

* *Type:* interface\{}

***

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.contains.parameter.value" />

* *Type:* interface\{}

***

### `Convert` <a name="Convert" id="cdktn.FnGenerated.convert" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Convert(value interface{}, type interface{}) interface{}
```

[convert](https://developer.hashicorp.com/terraform/language/functions/convert) converts a value to the given type constraint.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.convert.parameter.value" />

* *Type:* interface\{}

***

#### `type`<sup>Required</sup> <a name="type" id="cdktn.FnGenerated.convert.parameter.type" />

* *Type:* interface\{}

***

### `Csvdecode` <a name="Csvdecode" id="cdktn.FnGenerated.csvdecode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Csvdecode(str *string) interface{}
```

[csvdecode](https://developer.hashicorp.com/terraform/language/functions/csvdecode) decodes a string containing CSV-formatted data and produces a list of maps representing that data.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.csvdecode.parameter.str" />

* *Type:* \*string

***

### `Dirname` <a name="Dirname" id="cdktn.FnGenerated.dirname" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Dirname(path *string) *string
```

[dirname](https://developer.hashicorp.com/terraform/language/functions/dirname) takes a string containing a filesystem path and removes the last portion from it.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.dirname.parameter.path" />

* *Type:* \*string

***

### `Distinct` <a name="Distinct" id="cdktn.FnGenerated.distinct" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Distinct(list *[]interface{}) *[]*string
```

[distinct](https://developer.hashicorp.com/terraform/language/functions/distinct) takes a list and returns a new list with any duplicate elements removed.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.distinct.parameter.list" />

* *Type:* \*\[]interface\{}

***

### `Element` <a name="Element" id="cdktn.FnGenerated.element" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Element(list interface{}, index *f64) interface{}
```

[element](https://developer.hashicorp.com/terraform/language/functions/element) retrieves a single element from a list.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.element.parameter.list" />

* *Type:* interface\{}

***

#### `index`<sup>Required</sup> <a name="index" id="cdktn.FnGenerated.element.parameter.index" />

* *Type:* \*f64

***

### `Endswith` <a name="Endswith" id="cdktn.FnGenerated.endswith" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Endswith(str *string, suffix *string) IResolvable
```

[endswith](https://developer.hashicorp.com/terraform/language/functions/endswith) takes two values: a string to check and a suffix string. The function returns true if the first string ends with that exact suffix.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.endswith.parameter.str" />

* *Type:* \*string

***

#### `suffix`<sup>Required</sup> <a name="suffix" id="cdktn.FnGenerated.endswith.parameter.suffix" />

* *Type:* \*string

***

### `Ephemeralasnull` <a name="Ephemeralasnull" id="cdktn.FnGenerated.ephemeralasnull" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Ephemeralasnull(value interface{}) interface{}
```

[ephemeralasnull](https://developer.hashicorp.com/terraform/language/functions/ephemeralasnull) takes a value of any type and returns a similar value of the same type with any ephemeral values replaced with non-ephemeral null values and all non-ephemeral values preserved.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.ephemeralasnull.parameter.value" />

* *Type:* interface\{}

***

### `File` <a name="File" id="cdktn.FnGenerated.file" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_File(path *string) *string
```

[file](https://developer.hashicorp.com/terraform/language/functions/file) reads the contents of a file at the given path and returns them as a string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.file.parameter.path" />

* *Type:* \*string

***

### `Filebase64` <a name="Filebase64" id="cdktn.FnGenerated.filebase64" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filebase64(path *string) *string
```

[filebase64](https://developer.hashicorp.com/terraform/language/functions/filebase64) reads the contents of a file at the given path and returns them as a base64-encoded string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filebase64.parameter.path" />

* *Type:* \*string

***

### `Filebase64sha256` <a name="Filebase64sha256" id="cdktn.FnGenerated.filebase64sha256" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filebase64sha256(path *string) *string
```

[filebase64sha256](https://developer.hashicorp.com/terraform/language/functions/filebase64sha256) is a variant of `base64sha256` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filebase64sha256.parameter.path" />

* *Type:* \*string

***

### `Filebase64sha512` <a name="Filebase64sha512" id="cdktn.FnGenerated.filebase64sha512" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filebase64sha512(path *string) *string
```

[filebase64sha512](https://developer.hashicorp.com/terraform/language/functions/filebase64sha512) is a variant of `base64sha512` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filebase64sha512.parameter.path" />

* *Type:* \*string

***

### `Fileexists` <a name="Fileexists" id="cdktn.FnGenerated.fileexists" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Fileexists(path *string) IResolvable
```

[fileexists](https://developer.hashicorp.com/terraform/language/functions/fileexists) determines whether a file exists at a given path.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.fileexists.parameter.path" />

* *Type:* \*string

***

### `Filemd5` <a name="Filemd5" id="cdktn.FnGenerated.filemd5" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filemd5(path *string) *string
```

[filemd5](https://developer.hashicorp.com/terraform/language/functions/filemd5) is a variant of `md5` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filemd5.parameter.path" />

* *Type:* \*string

***

### `Fileset` <a name="Fileset" id="cdktn.FnGenerated.fileset" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Fileset(path *string, pattern *string) *[]*string
```

[fileset](https://developer.hashicorp.com/terraform/language/functions/fileset) enumerates a set of regular file names given a path and pattern. The path is automatically removed from the resulting set of file names and any result still containing path separators always returns forward slash (`/`) as the path separator for cross-system compatibility.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.fileset.parameter.path" />

* *Type:* \*string

***

#### `pattern`<sup>Required</sup> <a name="pattern" id="cdktn.FnGenerated.fileset.parameter.pattern" />

* *Type:* \*string

***

### `Filesha1` <a name="Filesha1" id="cdktn.FnGenerated.filesha1" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filesha1(path *string) *string
```

[filesha1](https://developer.hashicorp.com/terraform/language/functions/filesha1) is a variant of `sha1` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filesha1.parameter.path" />

* *Type:* \*string

***

### `Filesha256` <a name="Filesha256" id="cdktn.FnGenerated.filesha256" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filesha256(path *string) *string
```

[filesha256](https://developer.hashicorp.com/terraform/language/functions/filesha256) is a variant of `sha256` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filesha256.parameter.path" />

* *Type:* \*string

***

### `Filesha512` <a name="Filesha512" id="cdktn.FnGenerated.filesha512" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Filesha512(path *string) *string
```

[filesha512](https://developer.hashicorp.com/terraform/language/functions/filesha512) is a variant of `sha512` that hashes the contents of a given file rather than a literal string.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.filesha512.parameter.path" />

* *Type:* \*string

***

### `Flatten` <a name="Flatten" id="cdktn.FnGenerated.flatten" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Flatten(list interface{}) interface{}
```

[flatten](https://developer.hashicorp.com/terraform/language/functions/flatten) takes a list and replaces any elements that are lists with a flattened sequence of the list contents.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.flatten.parameter.list" />

* *Type:* interface\{}

***

### `Floor` <a name="Floor" id="cdktn.FnGenerated.floor" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Floor(num *f64) *f64
```

[floor](https://developer.hashicorp.com/terraform/language/functions/floor) returns the closest whole number that is less than or equal to the given value, which may be a fraction.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.floor.parameter.num" />

* *Type:* \*f64

***

### `Format` <a name="Format" id="cdktn.FnGenerated.format" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Format(format *string, args *[]interface{}) *string
```

The [format](https://developer.hashicorp.com/terraform/language/functions/format) function produces a string by formatting a number of other values according to a specification string. It is similar to the `printf` function in C, and other similar functions in other programming languages.

#### `format`<sup>Required</sup> <a name="format" id="cdktn.FnGenerated.format.parameter.format" />

* *Type:* \*string

***

#### `args`<sup>Required</sup> <a name="args" id="cdktn.FnGenerated.format.parameter.args" />

* *Type:* \*\[]interface\{}

***

### `Formatdate` <a name="Formatdate" id="cdktn.FnGenerated.formatdate" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Formatdate(format *string, time *string) *string
```

[formatdate](https://developer.hashicorp.com/terraform/language/functions/formatdate) converts a timestamp into a different time format.

#### `format`<sup>Required</sup> <a name="format" id="cdktn.FnGenerated.formatdate.parameter.format" />

* *Type:* \*string

***

#### `time`<sup>Required</sup> <a name="time" id="cdktn.FnGenerated.formatdate.parameter.time" />

* *Type:* \*string

***

### `Formatlist` <a name="Formatlist" id="cdktn.FnGenerated.formatlist" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Formatlist(format *string, args *[]interface{}) *[]*string
```

[formatlist](https://developer.hashicorp.com/terraform/language/functions/formatlist) produces a list of strings by formatting a number of other values according to a specification string.

#### `format`<sup>Required</sup> <a name="format" id="cdktn.FnGenerated.formatlist.parameter.format" />

* *Type:* \*string

***

#### `args`<sup>Required</sup> <a name="args" id="cdktn.FnGenerated.formatlist.parameter.args" />

* *Type:* \*\[]interface\{}

***

### `Indent` <a name="Indent" id="cdktn.FnGenerated.indent" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Indent(spaces *f64, str *string) *string
```

[indent](https://developer.hashicorp.com/terraform/language/functions/indent) adds a given number of spaces to the beginnings of all but the first line in a given multi-line string.

#### `spaces`<sup>Required</sup> <a name="spaces" id="cdktn.FnGenerated.indent.parameter.spaces" />

* *Type:* \*f64

***

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.indent.parameter.str" />

* *Type:* \*string

***

### `Index` <a name="Index" id="cdktn.FnGenerated.index" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Index(list interface{}, value interface{}) interface{}
```

[index](https://developer.hashicorp.com/terraform/language/functions/index) finds the element index for a given value in a list.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.index.parameter.list" />

* *Type:* interface\{}

***

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.index.parameter.value" />

* *Type:* interface\{}

***

### `Issensitive` <a name="Issensitive" id="cdktn.FnGenerated.issensitive" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Issensitive(value interface{}) IResolvable
```

[issensitive](https://developer.hashicorp.com/terraform/language/functions/issensitive) takes a value and returns a boolean indicating if the value is sensitive.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.issensitive.parameter.value" />

* *Type:* interface\{}

***

### `Jsondecode` <a name="Jsondecode" id="cdktn.FnGenerated.jsondecode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Jsondecode(str *string) interface{}
```

[jsondecode](https://developer.hashicorp.com/terraform/language/functions/jsondecode) interprets a given string as JSON, returning a representation of the result of decoding that string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.jsondecode.parameter.str" />

* *Type:* \*string

***

### `Jsonencode` <a name="Jsonencode" id="cdktn.FnGenerated.jsonencode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Jsonencode(val interface{}) *string
```

[jsonencode](https://developer.hashicorp.com/terraform/language/functions/jsonencode) encodes a given value to a string using JSON syntax.

#### `val`<sup>Required</sup> <a name="val" id="cdktn.FnGenerated.jsonencode.parameter.val" />

* *Type:* interface\{}

***

### `Keys` <a name="Keys" id="cdktn.FnGenerated.keys" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Keys(inputMap interface{}) interface{}
```

[keys](https://developer.hashicorp.com/terraform/language/functions/keys) takes a map and returns a list containing the keys from that map.

#### `inputMap`<sup>Required</sup> <a name="inputMap" id="cdktn.FnGenerated.keys.parameter.inputMap" />

* *Type:* interface\{}

***

### `LengthOf` <a name="LengthOf" id="cdktn.FnGenerated.lengthOf" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_LengthOf(value interface{}) *f64
```

[length](https://developer.hashicorp.com/terraform/language/functions/length) determines the length of a given list, map, or string.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.lengthOf.parameter.value" />

* *Type:* interface\{}

***

### `Log` <a name="Log" id="cdktn.FnGenerated.log" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Log(num *f64, base *f64) *f64
```

[log](https://developer.hashicorp.com/terraform/language/functions/log) returns the logarithm of a given number in a given base.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.log.parameter.num" />

* *Type:* \*f64

***

#### `base`<sup>Required</sup> <a name="base" id="cdktn.FnGenerated.log.parameter.base" />

* *Type:* \*f64

***

### `Lower` <a name="Lower" id="cdktn.FnGenerated.lower" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Lower(str *string) *string
```

[lower](https://developer.hashicorp.com/terraform/language/functions/lower) converts all cased letters in the given string to lowercase.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.lower.parameter.str" />

* *Type:* \*string

***

### `Matchkeys` <a name="Matchkeys" id="cdktn.FnGenerated.matchkeys" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Matchkeys(values *[]interface{}, keys *[]interface{}, searchset *[]interface{}) *[]*string
```

[matchkeys](https://developer.hashicorp.com/terraform/language/functions/matchkeys) constructs a new list by taking a subset of elements from one list whose indexes match the corresponding indexes of values in another list.

#### `values`<sup>Required</sup> <a name="values" id="cdktn.FnGenerated.matchkeys.parameter.values" />

* *Type:* \*\[]interface\{}

***

#### `keys`<sup>Required</sup> <a name="keys" id="cdktn.FnGenerated.matchkeys.parameter.keys" />

* *Type:* \*\[]interface\{}

***

#### `searchset`<sup>Required</sup> <a name="searchset" id="cdktn.FnGenerated.matchkeys.parameter.searchset" />

* *Type:* \*\[]interface\{}

***

### `Max` <a name="Max" id="cdktn.FnGenerated.max" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Max(numbers *[]*f64) *f64
```

[max](https://developer.hashicorp.com/terraform/language/functions/max) takes one or more numbers and returns the greatest number from the set.

#### `numbers`<sup>Required</sup> <a name="numbers" id="cdktn.FnGenerated.max.parameter.numbers" />

* *Type:* \*\[]\*f64

***

### `Md5` <a name="Md5" id="cdktn.FnGenerated.md5" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Md5(str *string) *string
```

[md5](https://developer.hashicorp.com/terraform/language/functions/md5) computes the MD5 hash of a given string and encodes it with hexadecimal digits.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.md5.parameter.str" />

* *Type:* \*string

***

### `Merge` <a name="Merge" id="cdktn.FnGenerated.merge" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Merge(maps *[]interface{}) interface{}
```

[merge](https://developer.hashicorp.com/terraform/language/functions/merge) takes an arbitrary number of maps or objects, and returns a single map or object that contains a merged set of elements from all arguments.

#### `maps`<sup>Required</sup> <a name="maps" id="cdktn.FnGenerated.merge.parameter.maps" />

* *Type:* \*\[]interface\{}

***

### `Min` <a name="Min" id="cdktn.FnGenerated.min" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Min(numbers *[]*f64) *f64
```

[min](https://developer.hashicorp.com/terraform/language/functions/min) takes one or more numbers and returns the smallest number from the set.

#### `numbers`<sup>Required</sup> <a name="numbers" id="cdktn.FnGenerated.min.parameter.numbers" />

* *Type:* \*\[]\*f64

***

### `Nonsensitive` <a name="Nonsensitive" id="cdktn.FnGenerated.nonsensitive" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Nonsensitive(value interface{}) interface{}
```

[nonsensitive](https://developer.hashicorp.com/terraform/language/functions/nonsensitive) takes a sensitive value and returns a copy of that value with the sensitive marking removed, thereby exposing the sensitive value.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.nonsensitive.parameter.value" />

* *Type:* interface\{}

***

### `One` <a name="One" id="cdktn.FnGenerated.one" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_One(list interface{}) interface{}
```

[one](https://developer.hashicorp.com/terraform/language/functions/one) takes a list, set, or tuple value with either zero or one elements. If the collection is empty, `one` returns `null`. Otherwise, `one` returns the first element. If there are two or more elements then `one` will return an error.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.one.parameter.list" />

* *Type:* interface\{}

***

### `Parseint` <a name="Parseint" id="cdktn.FnGenerated.parseint" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Parseint(number interface{}, base *f64) interface{}
```

[parseint](https://developer.hashicorp.com/terraform/language/functions/parseint) parses the given string as a representation of an integer in the specified base and returns the resulting number. The base must be between 2 and 62 inclusive.

#### `number`<sup>Required</sup> <a name="number" id="cdktn.FnGenerated.parseint.parameter.number" />

* *Type:* interface\{}

***

#### `base`<sup>Required</sup> <a name="base" id="cdktn.FnGenerated.parseint.parameter.base" />

* *Type:* \*f64

***

### `Pathexpand` <a name="Pathexpand" id="cdktn.FnGenerated.pathexpand" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Pathexpand(path *string) *string
```

[pathexpand](https://developer.hashicorp.com/terraform/language/functions/pathexpand) takes a filesystem path that might begin with a `~` segment, and if so it replaces that segment with the current user's home directory path.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.pathexpand.parameter.path" />

* *Type:* \*string

***

### `Plantimestamp` <a name="Plantimestamp" id="cdktn.FnGenerated.plantimestamp" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Plantimestamp() *string
```

[plantimestamp](https://developer.hashicorp.com/terraform/language/functions/plantimestamp) returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, fixed to a constant time representing the time of the plan.

### `Pow` <a name="Pow" id="cdktn.FnGenerated.pow" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Pow(num *f64, power *f64) *f64
```

[pow](https://developer.hashicorp.com/terraform/language/functions/pow) calculates an exponent, by raising its first argument to the power of the second argument.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.pow.parameter.num" />

* *Type:* \*f64

***

#### `power`<sup>Required</sup> <a name="power" id="cdktn.FnGenerated.pow.parameter.power" />

* *Type:* \*f64

***

### `Regex` <a name="Regex" id="cdktn.FnGenerated.regex" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Regex(pattern *string, str *string) interface{}
```

[regex](https://developer.hashicorp.com/terraform/language/functions/regex) applies a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) to a string and returns the matching substrings.

#### `pattern`<sup>Required</sup> <a name="pattern" id="cdktn.FnGenerated.regex.parameter.pattern" />

* *Type:* \*string

***

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.regex.parameter.str" />

* *Type:* \*string

***

### `Regexall` <a name="Regexall" id="cdktn.FnGenerated.regexall" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Regexall(pattern *string, str *string) *[]*string
```

[regexall](https://developer.hashicorp.com/terraform/language/functions/regexall) applies a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) to a string and returns a list of all matches.

#### `pattern`<sup>Required</sup> <a name="pattern" id="cdktn.FnGenerated.regexall.parameter.pattern" />

* *Type:* \*string

***

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.regexall.parameter.str" />

* *Type:* \*string

***

### `Replace` <a name="Replace" id="cdktn.FnGenerated.replace" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Replace(str *string, substr *string, replace *string) *string
```

[replace](https://developer.hashicorp.com/terraform/language/functions/replace) searches a given string for another given substring, and replaces each occurrence with a given replacement string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.replace.parameter.str" />

* *Type:* \*string

***

#### `substr`<sup>Required</sup> <a name="substr" id="cdktn.FnGenerated.replace.parameter.substr" />

* *Type:* \*string

***

#### `replace`<sup>Required</sup> <a name="replace" id="cdktn.FnGenerated.replace.parameter.replace" />

* *Type:* \*string

***

### `Reverse` <a name="Reverse" id="cdktn.FnGenerated.reverse" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Reverse(list interface{}) interface{}
```

[reverse](https://developer.hashicorp.com/terraform/language/functions/reverse) takes a sequence and produces a new sequence of the same length with all of the same elements as the given sequence but in reverse order.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.reverse.parameter.list" />

* *Type:* interface\{}

***

### `Rsadecrypt` <a name="Rsadecrypt" id="cdktn.FnGenerated.rsadecrypt" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Rsadecrypt(ciphertext *string, privatekey *string) *string
```

[rsadecrypt](https://developer.hashicorp.com/terraform/language/functions/rsadecrypt) decrypts an RSA-encrypted ciphertext, returning the corresponding cleartext.

#### `ciphertext`<sup>Required</sup> <a name="ciphertext" id="cdktn.FnGenerated.rsadecrypt.parameter.ciphertext" />

* *Type:* \*string

***

#### `privatekey`<sup>Required</sup> <a name="privatekey" id="cdktn.FnGenerated.rsadecrypt.parameter.privatekey" />

* *Type:* \*string

***

### `Sensitive` <a name="Sensitive" id="cdktn.FnGenerated.sensitive" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sensitive(value interface{}) interface{}
```

[sensitive](https://developer.hashicorp.com/terraform/language/functions/sensitive) takes any value and returns a copy of it marked so that Terraform will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/terraform/language/values/variables#suppressing-values-in-cli-output).

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.sensitive.parameter.value" />

* *Type:* interface\{}

***

### `Setintersection` <a name="Setintersection" id="cdktn.FnGenerated.setintersection" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Setintersection(first_set *[]interface{}, other_sets *[]*[]interface{}) *[]*string
```

The [setintersection](https://developer.hashicorp.com/terraform/language/functions/setintersection) function takes multiple sets and produces a single set containing only the elements that all of the given sets have in common. In other words, it computes the [intersection](https://en.wikipedia.org/wiki/Intersection_\(set_theory\)) of the sets.

#### `first_set`<sup>Required</sup> <a name="first_set" id="cdktn.FnGenerated.setintersection.parameter.first_set" />

* *Type:* \*\[]interface\{}

***

#### `other_sets`<sup>Required</sup> <a name="other_sets" id="cdktn.FnGenerated.setintersection.parameter.other_sets" />

* *Type:* *\[]*\[]interface\{}

***

### `Setproduct` <a name="Setproduct" id="cdktn.FnGenerated.setproduct" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Setproduct(sets *[]interface{}) interface{}
```

The [setproduct](https://developer.hashicorp.com/terraform/language/functions/setproduct) function finds all of the possible combinations of elements from all of the given sets by computing the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product).

#### `sets`<sup>Required</sup> <a name="sets" id="cdktn.FnGenerated.setproduct.parameter.sets" />

* *Type:* \*\[]interface\{}

***

### `Setsubtract` <a name="Setsubtract" id="cdktn.FnGenerated.setsubtract" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Setsubtract(a *[]interface{}, b *[]interface{}) *[]*string
```

The [setsubtract](https://developer.hashicorp.com/terraform/language/functions/setsubtract) function returns a new set containing the elements from the first set that are not present in the second set. In other words, it computes the [relative complement](https://en.wikipedia.org/wiki/Complement_\(set_theory\)#Relative_complement) of the second set.

#### `a`<sup>Required</sup> <a name="a" id="cdktn.FnGenerated.setsubtract.parameter.a" />

* *Type:* \*\[]interface\{}

***

#### `b`<sup>Required</sup> <a name="b" id="cdktn.FnGenerated.setsubtract.parameter.b" />

* *Type:* \*\[]interface\{}

***

### `Setunion` <a name="Setunion" id="cdktn.FnGenerated.setunion" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Setunion(first_set *[]interface{}, other_sets *[]*[]interface{}) *[]*string
```

The [setunion](https://developer.hashicorp.com/terraform/language/functions/setunion) function takes multiple sets and produces a single set containing the elements from all of the given sets. In other words, it computes the [union](https://en.wikipedia.org/wiki/Union_\(set_theory\)) of the sets.

#### `first_set`<sup>Required</sup> <a name="first_set" id="cdktn.FnGenerated.setunion.parameter.first_set" />

* *Type:* \*\[]interface\{}

***

#### `other_sets`<sup>Required</sup> <a name="other_sets" id="cdktn.FnGenerated.setunion.parameter.other_sets" />

* *Type:* *\[]*\[]interface\{}

***

### `Sha1` <a name="Sha1" id="cdktn.FnGenerated.sha1" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sha1(str *string) *string
```

[sha1](https://developer.hashicorp.com/terraform/language/functions/sha1) computes the SHA1 hash of a given string and encodes it with hexadecimal digits.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.sha1.parameter.str" />

* *Type:* \*string

***

### `Sha256` <a name="Sha256" id="cdktn.FnGenerated.sha256" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sha256(str *string) *string
```

[sha256](https://developer.hashicorp.com/terraform/language/functions/sha256) computes the SHA256 hash of a given string and encodes it with hexadecimal digits.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.sha256.parameter.str" />

* *Type:* \*string

***

### `Sha512` <a name="Sha512" id="cdktn.FnGenerated.sha512" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sha512(str *string) *string
```

[sha512](https://developer.hashicorp.com/terraform/language/functions/sha512) computes the SHA512 hash of a given string and encodes it with hexadecimal digits.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.sha512.parameter.str" />

* *Type:* \*string

***

### `Signum` <a name="Signum" id="cdktn.FnGenerated.signum" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Signum(num *f64) *f64
```

[signum](https://developer.hashicorp.com/terraform/language/functions/signum) determines the sign of a number, returning a number between -1 and 1 to represent the sign.

#### `num`<sup>Required</sup> <a name="num" id="cdktn.FnGenerated.signum.parameter.num" />

* *Type:* \*f64

***

### `Slice` <a name="Slice" id="cdktn.FnGenerated.slice" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Slice(list interface{}, start_index *f64, end_index *f64) interface{}
```

[slice](https://developer.hashicorp.com/terraform/language/functions/slice) extracts some consecutive elements from within a list.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.slice.parameter.list" />

* *Type:* interface\{}

***

#### `start_index`<sup>Required</sup> <a name="start_index" id="cdktn.FnGenerated.slice.parameter.start_index" />

* *Type:* \*f64

***

#### `end_index`<sup>Required</sup> <a name="end_index" id="cdktn.FnGenerated.slice.parameter.end_index" />

* *Type:* \*f64

***

### `Sort` <a name="Sort" id="cdktn.FnGenerated.sort" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sort(list *[]*string) *[]*string
```

[sort](https://developer.hashicorp.com/terraform/language/functions/sort) takes a list of strings and returns a new list with those strings sorted lexicographically.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.sort.parameter.list" />

* *Type:* \*\[]\*string

***

### `Split` <a name="Split" id="cdktn.FnGenerated.split" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Split(separator *string, str *string) *[]*string
```

[split](https://developer.hashicorp.com/terraform/language/functions/split) produces a list by dividing a given string at all occurrences of a given separator.

#### `separator`<sup>Required</sup> <a name="separator" id="cdktn.FnGenerated.split.parameter.separator" />

* *Type:* \*string

***

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.split.parameter.str" />

* *Type:* \*string

***

### `Startswith` <a name="Startswith" id="cdktn.FnGenerated.startswith" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Startswith(str *string, prefix *string) IResolvable
```

[startswith](https://developer.hashicorp.com/terraform/language/functions/startswith) takes two values: a string to check and a prefix string. The function returns true if the string begins with that exact prefix.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.startswith.parameter.str" />

* *Type:* \*string

***

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.startswith.parameter.prefix" />

* *Type:* \*string

***

### `Strcontains` <a name="Strcontains" id="cdktn.FnGenerated.strcontains" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Strcontains(str *string, substr *string) IResolvable
```

[strcontains](https://developer.hashicorp.com/terraform/language/functions/strcontains) takes two values: a string to check and an expected substring. The function returns true if the string has the substring contained within it.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.strcontains.parameter.str" />

* *Type:* \*string

***

#### `substr`<sup>Required</sup> <a name="substr" id="cdktn.FnGenerated.strcontains.parameter.substr" />

* *Type:* \*string

***

### `Strrev` <a name="Strrev" id="cdktn.FnGenerated.strrev" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Strrev(str *string) *string
```

[strrev](https://developer.hashicorp.com/terraform/language/functions/strrev) reverses the characters in a string. Note that the characters are treated as *Unicode characters* (in technical terms, Unicode [grapheme cluster boundaries](https://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries) are respected).

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.strrev.parameter.str" />

* *Type:* \*string

***

### `Substr` <a name="Substr" id="cdktn.FnGenerated.substr" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Substr(str *string, offset *f64, length *f64) *string
```

[substr](https://developer.hashicorp.com/terraform/language/functions/substr) extracts a substring from a given string by offset and (maximum) length.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.substr.parameter.str" />

* *Type:* \*string

***

#### `offset`<sup>Required</sup> <a name="offset" id="cdktn.FnGenerated.substr.parameter.offset" />

* *Type:* \*f64

***

#### `length`<sup>Required</sup> <a name="length" id="cdktn.FnGenerated.substr.parameter.length" />

* *Type:* \*f64

***

### `Sum` <a name="Sum" id="cdktn.FnGenerated.sum" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Sum(list interface{}) interface{}
```

[sum](https://developer.hashicorp.com/terraform/language/functions/sum) takes a list or set of numbers and returns the sum of those numbers.

#### `list`<sup>Required</sup> <a name="list" id="cdktn.FnGenerated.sum.parameter.list" />

* *Type:* interface\{}

***

### `Templatefile` <a name="Templatefile" id="cdktn.FnGenerated.templatefile" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Templatefile(path *string, vars interface{}) interface{}
```

[templatefile](https://developer.hashicorp.com/terraform/language/functions/templatefile) reads the file at the given path and renders its content as a template using a supplied set of template variables.

#### `path`<sup>Required</sup> <a name="path" id="cdktn.FnGenerated.templatefile.parameter.path" />

* *Type:* \*string

***

#### `vars`<sup>Required</sup> <a name="vars" id="cdktn.FnGenerated.templatefile.parameter.vars" />

* *Type:* interface\{}

***

### `Templatestring` <a name="Templatestring" id="cdktn.FnGenerated.templatestring" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Templatestring(template *string, vars interface{}) *string
```

[templatestring](https://developer.hashicorp.com/terraform/language/functions/templatestring) takes a string from elsewhere in the module and renders its content as a template using a supplied set of template variables.

#### `template`<sup>Required</sup> <a name="template" id="cdktn.FnGenerated.templatestring.parameter.template" />

* *Type:* \*string

***

#### `vars`<sup>Required</sup> <a name="vars" id="cdktn.FnGenerated.templatestring.parameter.vars" />

* *Type:* interface\{}

***

### `Textdecodebase64` <a name="Textdecodebase64" id="cdktn.FnGenerated.textdecodebase64" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Textdecodebase64(source *string, encoding *string) *string
```

[textdecodebase64](https://developer.hashicorp.com/terraform/language/functions/textdecodebase64) function decodes a string that was previously Base64-encoded, and then interprets the result as characters in a specified character encoding.

#### `source`<sup>Required</sup> <a name="source" id="cdktn.FnGenerated.textdecodebase64.parameter.source" />

* *Type:* \*string

***

#### `encoding`<sup>Required</sup> <a name="encoding" id="cdktn.FnGenerated.textdecodebase64.parameter.encoding" />

* *Type:* \*string

***

### `Textencodebase64` <a name="Textencodebase64" id="cdktn.FnGenerated.textencodebase64" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Textencodebase64(str *string, encoding *string) *string
```

[textencodebase64](https://developer.hashicorp.com/terraform/language/functions/textencodebase64) encodes the unicode characters in a given string using a specified character encoding, returning the result base64 encoded because Terraform language strings are always sequences of unicode characters.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.textencodebase64.parameter.str" />

* *Type:* \*string

***

#### `encoding`<sup>Required</sup> <a name="encoding" id="cdktn.FnGenerated.textencodebase64.parameter.encoding" />

* *Type:* \*string

***

### `Timeadd` <a name="Timeadd" id="cdktn.FnGenerated.timeadd" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Timeadd(timestamp *string, duration *string) *string
```

[timeadd](https://developer.hashicorp.com/terraform/language/functions/timeadd) adds a duration to a timestamp, returning a new timestamp.

#### `timestamp`<sup>Required</sup> <a name="timestamp" id="cdktn.FnGenerated.timeadd.parameter.timestamp" />

* *Type:* \*string

***

#### `duration`<sup>Required</sup> <a name="duration" id="cdktn.FnGenerated.timeadd.parameter.duration" />

* *Type:* \*string

***

### `Timecmp` <a name="Timecmp" id="cdktn.FnGenerated.timecmp" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Timecmp(timestamp_a *string, timestamp_b *string) *f64
```

[timecmp](https://developer.hashicorp.com/terraform/language/functions/timecmp) compares two timestamps and returns a number that represents the ordering of the instants those timestamps represent.

#### `timestamp_a`<sup>Required</sup> <a name="timestamp_a" id="cdktn.FnGenerated.timecmp.parameter.timestamp_a" />

* *Type:* \*string

***

#### `timestamp_b`<sup>Required</sup> <a name="timestamp_b" id="cdktn.FnGenerated.timecmp.parameter.timestamp_b" />

* *Type:* \*string

***

### `Timestamp` <a name="Timestamp" id="cdktn.FnGenerated.timestamp" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Timestamp() *string
```

[timestamp](https://developer.hashicorp.com/terraform/language/functions/timestamp) returns a UTC timestamp string in [RFC 3339](https://tools.ietf.org/html/rfc3339) format.

### `Title` <a name="Title" id="cdktn.FnGenerated.title" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Title(str *string) *string
```

[title](https://developer.hashicorp.com/terraform/language/functions/title) converts the first letter of each word in the given string to uppercase.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.title.parameter.str" />

* *Type:* \*string

***

### `Tobool` <a name="Tobool" id="cdktn.FnGenerated.tobool" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Tobool(v interface{}) IResolvable
```

[tobool](https://developer.hashicorp.com/terraform/language/functions/tobool) converts its argument to a boolean value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.tobool.parameter.v" />

* *Type:* interface\{}

***

### `Tolist` <a name="Tolist" id="cdktn.FnGenerated.tolist" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Tolist(v interface{}) *[]*string
```

[tolist](https://developer.hashicorp.com/terraform/language/functions/tolist) converts its argument to a list value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.tolist.parameter.v" />

* *Type:* interface\{}

***

### `Tomap` <a name="Tomap" id="cdktn.FnGenerated.tomap" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Tomap(v interface{}) interface{}
```

[tomap](https://developer.hashicorp.com/terraform/language/functions/tomap) converts its argument to a map value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.tomap.parameter.v" />

* *Type:* interface\{}

***

### `Tonumber` <a name="Tonumber" id="cdktn.FnGenerated.tonumber" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Tonumber(v interface{}) *f64
```

[tonumber](https://developer.hashicorp.com/terraform/language/functions/tonumber) converts its argument to a number value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.tonumber.parameter.v" />

* *Type:* interface\{}

***

### `Toset` <a name="Toset" id="cdktn.FnGenerated.toset" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Toset(v interface{}) *[]*string
```

[toset](https://developer.hashicorp.com/terraform/language/functions/toset) converts its argument to a set value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.toset.parameter.v" />

* *Type:* interface\{}

***

### `Tostring` <a name="Tostring" id="cdktn.FnGenerated.tostring" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Tostring(v interface{}) *string
```

[tostring](https://developer.hashicorp.com/terraform/language/functions/tostring) converts its argument to a string value.

#### `v`<sup>Required</sup> <a name="v" id="cdktn.FnGenerated.tostring.parameter.v" />

* *Type:* interface\{}

***

### `Transpose` <a name="Transpose" id="cdktn.FnGenerated.transpose" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Transpose(values interface{}) interface{}
```

[transpose](https://developer.hashicorp.com/terraform/language/functions/transpose) takes a map of lists of strings and swaps the keys and values to produce a new map of lists of strings.

#### `values`<sup>Required</sup> <a name="values" id="cdktn.FnGenerated.transpose.parameter.values" />

* *Type:* interface\{}

***

### `Trim` <a name="Trim" id="cdktn.FnGenerated.trim" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Trim(str *string, cutset *string) *string
```

[trim](https://developer.hashicorp.com/terraform/language/functions/trim) removes the specified set of characters from the start and end of the given string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.trim.parameter.str" />

* *Type:* \*string

***

#### `cutset`<sup>Required</sup> <a name="cutset" id="cdktn.FnGenerated.trim.parameter.cutset" />

* *Type:* \*string

***

### `Trimprefix` <a name="Trimprefix" id="cdktn.FnGenerated.trimprefix" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Trimprefix(str *string, prefix *string) *string
```

[trimprefix](https://developer.hashicorp.com/terraform/language/functions/trimprefix) removes the specified prefix from the start of the given string. If the string does not start with the prefix, the string is returned unchanged.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.trimprefix.parameter.str" />

* *Type:* \*string

***

#### `prefix`<sup>Required</sup> <a name="prefix" id="cdktn.FnGenerated.trimprefix.parameter.prefix" />

* *Type:* \*string

***

### `Trimspace` <a name="Trimspace" id="cdktn.FnGenerated.trimspace" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Trimspace(str *string) *string
```

[trimspace](https://developer.hashicorp.com/terraform/language/functions/trimspace) removes any space characters from the start and end of the given string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.trimspace.parameter.str" />

* *Type:* \*string

***

### `Trimsuffix` <a name="Trimsuffix" id="cdktn.FnGenerated.trimsuffix" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Trimsuffix(str *string, suffix *string) *string
```

[trimsuffix](https://developer.hashicorp.com/terraform/language/functions/trimsuffix) removes the specified suffix from the end of the given string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.trimsuffix.parameter.str" />

* *Type:* \*string

***

#### `suffix`<sup>Required</sup> <a name="suffix" id="cdktn.FnGenerated.trimsuffix.parameter.suffix" />

* *Type:* \*string

***

### `Try` <a name="Try" id="cdktn.FnGenerated.try" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Try(expressions *[]interface{}) interface{}
```

[try](https://developer.hashicorp.com/terraform/language/functions/try) evaluates all of its argument expressions in turn and returns the result of the first one that does not produce any errors.

#### `expressions`<sup>Required</sup> <a name="expressions" id="cdktn.FnGenerated.try.parameter.expressions" />

* *Type:* \*\[]interface\{}

***

### `Upper` <a name="Upper" id="cdktn.FnGenerated.upper" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Upper(str *string) *string
```

[upper](https://developer.hashicorp.com/terraform/language/functions/upper) converts all cased letters in the given string to uppercase.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.upper.parameter.str" />

* *Type:* \*string

***

### `Urldecode` <a name="Urldecode" id="cdktn.FnGenerated.urldecode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Urldecode(str *string) *string
```

[urldecode](https://opentofu.org/docs/language/functions/urldecode) applies URL decoding to a given encoded string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.urldecode.parameter.str" />

* *Type:* \*string

***

### `Urlencode` <a name="Urlencode" id="cdktn.FnGenerated.urlencode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Urlencode(str *string) *string
```

[urlencode](https://developer.hashicorp.com/terraform/language/functions/urlencode) applies URL encoding to a given string.

#### `str`<sup>Required</sup> <a name="str" id="cdktn.FnGenerated.urlencode.parameter.str" />

* *Type:* \*string

***

### `Uuid` <a name="Uuid" id="cdktn.FnGenerated.uuid" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Uuid() *string
```

[uuid](https://developer.hashicorp.com/terraform/language/functions/uuid) generates a unique identifier string.

### `Uuidv5` <a name="Uuidv5" id="cdktn.FnGenerated.uuidv5" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Uuidv5(namespace *string, name *string) *string
```

[uuidv5](https://developer.hashicorp.com/terraform/language/functions/uuidv5) generates a *name-based* UUID, as described in [RFC 4122 section 4.3](https://tools.ietf.org/html/rfc4122#section-4.3), also known as a "version 5" UUID.

#### `namespace`<sup>Required</sup> <a name="namespace" id="cdktn.FnGenerated.uuidv5.parameter.namespace" />

* *Type:* \*string

***

#### `name`<sup>Required</sup> <a name="name" id="cdktn.FnGenerated.uuidv5.parameter.name" />

* *Type:* \*string

***

### `Values` <a name="Values" id="cdktn.FnGenerated.values" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Values(mapping interface{}) interface{}
```

[values](https://developer.hashicorp.com/terraform/language/functions/values) takes a map and returns a list containing the values of the elements in that map.

#### `mapping`<sup>Required</sup> <a name="mapping" id="cdktn.FnGenerated.values.parameter.mapping" />

* *Type:* interface\{}

***

### `Yamldecode` <a name="Yamldecode" id="cdktn.FnGenerated.yamldecode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Yamldecode(src *string) interface{}
```

[yamldecode](https://developer.hashicorp.com/terraform/language/functions/yamldecode) parses a string as a subset of YAML, and produces a representation of its value.

#### `src`<sup>Required</sup> <a name="src" id="cdktn.FnGenerated.yamldecode.parameter.src" />

* *Type:* \*string

***

### `Yamlencode` <a name="Yamlencode" id="cdktn.FnGenerated.yamlencode" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Yamlencode(value interface{}) *string
```

[yamlencode](https://developer.hashicorp.com/terraform/language/functions/yamlencode) encodes a given value to a string using [YAML 1.2](https://yaml.org/spec/1.2/spec.html) block syntax.

#### `value`<sup>Required</sup> <a name="value" id="cdktn.FnGenerated.yamlencode.parameter.value" />

* *Type:* interface\{}

***

### `Zipmap` <a name="Zipmap" id="cdktn.FnGenerated.zipmap" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.FnGenerated_Zipmap(keys *[]*string, values interface{}) interface{}
```

[zipmap](https://developer.hashicorp.com/terraform/language/functions/zipmap) constructs a map from a list of keys and a corresponding list of values.

#### `keys`<sup>Required</sup> <a name="keys" id="cdktn.FnGenerated.zipmap.parameter.keys" />

* *Type:* \*\[]\*string

***

#### `values`<sup>Required</sup> <a name="values" id="cdktn.FnGenerated.zipmap.parameter.values" />

* *Type:* interface\{}

***
