Package com.hashicorp.cdktf
Class Fn
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.FnGenerated
com.hashicorp.cdktf.Fn
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-15T15:38:00.989Z")
@Stability(Experimental)
public class Fn
extends FnGenerated
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String(experimental)bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems.invalid @link
{@link /terraform/docs/language/functions/bcrypt.htmlstatic String(experimental)bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems.invalid @link
{@link /terraform/docs/language/functions/bcrypt.htmlstatic Objectconditional(Object condition, Object trueValue, Object falseValue) (experimental)} A conditional expression uses the value of a boolean expression to select one of two values.invalid @link
{@link https://developer.hashicorp.com/terraform/language/expressions/conditionalsstatic String(experimental)join} produces a string by concatenating together all elements of a given list of strings with the given delimiter.invalid @link
{@link /terraform/docs/language/functions/join.htmlstatic Object(experimental)lookup} retrieves the value of a single element from a map, given its key.invalid @link
{@link /terraform/docs/language/functions/lookup.htmlstatic Object(experimental)lookup} retrieves the value of a single element from a map, given its key.invalid @link
{@link /terraform/docs/language/functions/lookup.htmlstatic ObjectlookupNested(Object inputMap, List<? extends Object> path) (experimental) returns a property access expression that accesses the property at the given path in the given inputMap.(experimental)range} generates a list of numbers using a start value, a limit value, and a step value.invalid @link
{@link /terraform/docs/language/functions/range.html(experimental)range} generates a list of numbers using a start value, a limit value, and a step value.invalid @link
{@link /terraform/docs/language/functions/range.htmlstatic String(experimental) Use this function to wrap a string and escape it properly for the use in Terraform This is only needed in certain scenarios (e.g., if you have unescaped double quotes in the string).Methods inherited from class com.hashicorp.cdktf.FnGenerated
abs, abspath, alltrue, anytrue, base64decode, base64encode, base64gzip, base64sha256, base64sha512, basename, can, ceil, chomp, chunklist, cidrhost, cidrnetmask, cidrsubnet, cidrsubnets, coalesce, coalescelist, compact, concat, contains, csvdecode, dirname, distinct, doTry, element, endswith, file, filebase64, filebase64sha256, filebase64sha512, fileexists, filemd5, fileset, filesha1, filesha256, filesha512, flatten, floor, format, formatdate, formatlist, indent, index, jsondecode, jsonencode, keys, lengthOf, log, lower, matchkeys, max, md5, merge, min, nonsensitive, one, parseint, pathexpand, plantimestamp, pow, regex, regexall, replace, reverse, rsadecrypt, sensitive, setintersection, setproduct, setsubtract, setunion, sha1, sha256, sha512, signum, slice, sort, split, startswith, strcontains, strrev, substr, sum, templatefile, textdecodebase64, textencodebase64, timeadd, timecmp, timestamp, title, tobool, tolist, tomap, tonumber, toset, tostring, transpose, trim, trimprefix, trimspace, trimsuffix, upper, urlencode, uuid, uuidv5, values, yamldecode, yamlencode, zipmapMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Fn
protected Fn(software.amazon.jsii.JsiiObjectRef objRef) -
Fn
protected Fn(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Fn
@Stability(Experimental) public Fn()
-
-
Method Details
-
bcrypt
@Stability(Experimental) @NotNull public static String bcrypt(@NotNull String str, @Nullable Number cost) (experimental)bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems.invalid @link
{@link /terraform/docs/language/functions/bcrypt.html- Parameters:
str- This parameter is required.cost-
-
bcrypt
(experimental)bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems.invalid @link
{@link /terraform/docs/language/functions/bcrypt.html- Parameters:
str- This parameter is required.
-
conditional
@Stability(Experimental) @NotNull public static Object conditional(@NotNull Object condition, @NotNull Object trueValue, @NotNull Object falseValue) (experimental)} A conditional expression uses the value of a boolean expression to select one of two values.invalid @link
{@link https://developer.hashicorp.com/terraform/language/expressions/conditionals- Parameters:
condition- This parameter is required.trueValue- This parameter is required.falseValue- This parameter is required.
-
join
@Stability(Experimental) @NotNull public static String join(@NotNull String separator, @NotNull List<String> list) (experimental)join} produces a string by concatenating together all elements of a given list of strings with the given delimiter.invalid @link
{@link /terraform/docs/language/functions/join.html- Parameters:
separator- This parameter is required.list- This parameter is required.
-
lookup
@Stability(Experimental) @NotNull public static Object lookup(@NotNull Object inputMap, @NotNull String key, @Nullable Object defaultValue) (experimental)lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead.invalid @link
{@link /terraform/docs/language/functions/lookup.html- Parameters:
inputMap- This parameter is required.key- This parameter is required.defaultValue-
-
lookup
@Stability(Experimental) @NotNull public static Object lookup(@NotNull Object inputMap, @NotNull String key) (experimental)lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead.invalid @link
{@link /terraform/docs/language/functions/lookup.html- Parameters:
inputMap- This parameter is required.key- This parameter is required.
-
lookupNested
@Stability(Experimental) @NotNull public static Object lookupNested(@NotNull Object inputMap, @NotNull List<? extends Object> path) (experimental) returns a property access expression that accesses the property at the given path in the given inputMap.For example lookupNested(x, ["a", "b", "c"]) will return a Terraform expression like x["a"]["b"]["c"]
- Parameters:
inputMap- This parameter is required.path- This parameter is required.
-
range
@Stability(Experimental) @NotNull public static List<String> range(@NotNull Number start, @NotNull Number limit, @Nullable Number step) (experimental)range} generates a list of numbers using a start value, a limit value, and a step value.invalid @link
{@link /terraform/docs/language/functions/range.html- Parameters:
start- This parameter is required.limit- This parameter is required.step-
-
range
@Stability(Experimental) @NotNull public static List<String> range(@NotNull Number start, @NotNull Number limit) (experimental)range} generates a list of numbers using a start value, a limit value, and a step value.invalid @link
{@link /terraform/docs/language/functions/range.html- Parameters:
start- This parameter is required.limit- This parameter is required.
-
rawString
(experimental) Use this function to wrap a string and escape it properly for the use in Terraform This is only needed in certain scenarios (e.g., if you have unescaped double quotes in the string).- Parameters:
str- This parameter is required.
-