cdktn 0.24.0.dev59__tar.gz → 0.24.0.dev60__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdktn
3
- Version: 0.24.0.dev59
3
+ Version: 0.24.0.dev60
4
4
  Summary: Cloud Development Kit for Terraform
5
5
  Home-page: https://github.com/open-constructs/cdk-terrain
6
6
  Author: OpenConstructs
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdktn",
8
- "version": "0.24.0.dev59",
8
+ "version": "0.24.0.dev60",
9
9
  "description": "Cloud Development Kit for Terraform",
10
10
  "license": "MPL-2.0",
11
11
  "url": "https://github.com/open-constructs/cdk-terrain",
@@ -27,7 +27,7 @@ kwargs = json.loads(
27
27
  ],
28
28
  "package_data": {
29
29
  "cdktn._jsii": [
30
- "cdktn@0.24.0-pre.59.jsii.tgz"
30
+ "cdktn@0.24.0-pre.60.jsii.tgz"
31
31
  ],
32
32
  "cdktn": [
33
33
  "py.typed"
@@ -2537,6 +2537,20 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
2537
2537
  check_type(argname="argument str", value=str, expected_type=type_hints["str"])
2538
2538
  return typing.cast(builtins.str, jsii.sinvoke(cls, "base64encode", [str]))
2539
2539
 
2540
+ @jsii.member(jsii_name="base64gunzip")
2541
+ @builtins.classmethod
2542
+ def base64gunzip(cls, str: builtins.str) -> builtins.str:
2543
+ '''(experimental) {@link https://opentofu.org/docs/language/functions/base64gunzip base64gunzip} decodes a Base64-encoded string and uncompresses the result with gzip.
2544
+
2545
+ :param str: -
2546
+
2547
+ :stability: experimental
2548
+ '''
2549
+ if __debug__:
2550
+ type_hints = typing.get_type_hints(_typecheckingstub__89d4d94013c8a9557e6a58a0c818e7741d68ab1f72f654abe762312d8ea62a44)
2551
+ check_type(argname="argument str", value=str, expected_type=type_hints["str"])
2552
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "base64gunzip", [str]))
2553
+
2540
2554
  @jsii.member(jsii_name="base64gzip")
2541
2555
  @builtins.classmethod
2542
2556
  def base64gzip(cls, str: builtins.str) -> builtins.str:
@@ -2655,6 +2669,26 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
2655
2669
  check_type(argname="argument size", value=size, expected_type=type_hints["size"])
2656
2670
  return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "chunklist", [list, size]))
2657
2671
 
2672
+ @jsii.member(jsii_name="cidrcontains")
2673
+ @builtins.classmethod
2674
+ def cidrcontains(
2675
+ cls,
2676
+ containing_prefix: builtins.str,
2677
+ contained_ip_or_prefix: builtins.str,
2678
+ ) -> "IResolvable":
2679
+ '''(experimental) {@link https://opentofu.org/docs/language/functions/cidrcontains cidrcontains} determines whether a given IP address or an address prefix given in CIDR notation is within a given IP network address prefix.
2680
+
2681
+ :param containing_prefix: -
2682
+ :param contained_ip_or_prefix: -
2683
+
2684
+ :stability: experimental
2685
+ '''
2686
+ if __debug__:
2687
+ type_hints = typing.get_type_hints(_typecheckingstub__ce2cb3b2eb804c2cf91cef8abb2af23e1fa3c041032efef4f7565267adfdb90a)
2688
+ check_type(argname="argument containing_prefix", value=containing_prefix, expected_type=type_hints["containing_prefix"])
2689
+ check_type(argname="argument contained_ip_or_prefix", value=contained_ip_or_prefix, expected_type=type_hints["contained_ip_or_prefix"])
2690
+ return typing.cast("IResolvable", jsii.sinvoke(cls, "cidrcontains", [containing_prefix, contained_ip_or_prefix]))
2691
+
2658
2692
  @jsii.member(jsii_name="cidrhost")
2659
2693
  @builtins.classmethod
2660
2694
  def cidrhost(cls, prefix: builtins.str, hostnum: jsii.Number) -> builtins.str:
@@ -2800,6 +2834,22 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
2800
2834
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2801
2835
  return typing.cast(typing.Any, jsii.sinvoke(cls, "contains", [list, value]))
2802
2836
 
2837
+ @jsii.member(jsii_name="convert")
2838
+ @builtins.classmethod
2839
+ def convert(cls, value: typing.Any, type: typing.Any) -> typing.Any:
2840
+ '''(experimental) {@link https://developer.hashicorp.com/terraform/language/functions/convert convert} converts a value to the given type constraint.
2841
+
2842
+ :param value: -
2843
+ :param type: -
2844
+
2845
+ :stability: experimental
2846
+ '''
2847
+ if __debug__:
2848
+ type_hints = typing.get_type_hints(_typecheckingstub__fd4a2c7da2982ed554a9d480feb701a9da23f9e7e779659482a90ccf16c57d24)
2849
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2850
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
2851
+ return typing.cast(typing.Any, jsii.sinvoke(cls, "convert", [value, type]))
2852
+
2803
2853
  @jsii.member(jsii_name="csvdecode")
2804
2854
  @builtins.classmethod
2805
2855
  def csvdecode(cls, str: builtins.str) -> typing.Any:
@@ -2874,6 +2924,20 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
2874
2924
  check_type(argname="argument suffix", value=suffix, expected_type=type_hints["suffix"])
2875
2925
  return typing.cast("IResolvable", jsii.sinvoke(cls, "endswith", [str, suffix]))
2876
2926
 
2927
+ @jsii.member(jsii_name="ephemeralasnull")
2928
+ @builtins.classmethod
2929
+ def ephemeralasnull(cls, value: typing.Any) -> typing.Any:
2930
+ '''(experimental) {@link https://developer.hashicorp.com/terraform/language/functions/ephemeralasnull 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.
2931
+
2932
+ :param value: -
2933
+
2934
+ :stability: experimental
2935
+ '''
2936
+ if __debug__:
2937
+ type_hints = typing.get_type_hints(_typecheckingstub__5206752b52d555f0ee9f166a7d8495a8bc9225bb5e484364dc2b884cc77990b8)
2938
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2939
+ return typing.cast(typing.Any, jsii.sinvoke(cls, "ephemeralasnull", [value]))
2940
+
2877
2941
  @jsii.member(jsii_name="file")
2878
2942
  @builtins.classmethod
2879
2943
  def file(cls, path: builtins.str) -> builtins.str:
@@ -3054,7 +3118,7 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3054
3118
  cls,
3055
3119
  format: builtins.str,
3056
3120
  args: typing.Sequence[typing.Any],
3057
- ) -> typing.Any:
3121
+ ) -> builtins.str:
3058
3122
  '''(experimental) The {@link https://developer.hashicorp.com/terraform/language/functions/format 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.
3059
3123
 
3060
3124
  :param format: -
@@ -3066,7 +3130,7 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3066
3130
  type_hints = typing.get_type_hints(_typecheckingstub__2000666ae0491b73893edc10d30e7d1c728288102936b3bee9b0d95d1f4982ab)
3067
3131
  check_type(argname="argument format", value=format, expected_type=type_hints["format"])
3068
3132
  check_type(argname="argument args", value=args, expected_type=type_hints["args"])
3069
- return typing.cast(typing.Any, jsii.sinvoke(cls, "format", [format, args]))
3133
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "format", [format, args]))
3070
3134
 
3071
3135
  @jsii.member(jsii_name="formatdate")
3072
3136
  @builtins.classmethod
@@ -3090,7 +3154,7 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3090
3154
  cls,
3091
3155
  format: builtins.str,
3092
3156
  args: typing.Sequence[typing.Any],
3093
- ) -> typing.Any:
3157
+ ) -> typing.List[builtins.str]:
3094
3158
  '''(experimental) {@link https://developer.hashicorp.com/terraform/language/functions/formatlist formatlist} produces a list of strings by formatting a number of other values according to a specification string.
3095
3159
 
3096
3160
  :param format: -
@@ -3102,7 +3166,7 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3102
3166
  type_hints = typing.get_type_hints(_typecheckingstub__973e0cee58d04843b1ec115811f7414596cb1cde6d39cdb210930386e2790a97)
3103
3167
  check_type(argname="argument format", value=format, expected_type=type_hints["format"])
3104
3168
  check_type(argname="argument args", value=args, expected_type=type_hints["args"])
3105
- return typing.cast(typing.Any, jsii.sinvoke(cls, "formatlist", [format, args]))
3169
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "formatlist", [format, args]))
3106
3170
 
3107
3171
  @jsii.member(jsii_name="indent")
3108
3172
  @builtins.classmethod
@@ -3136,6 +3200,20 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3136
3200
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3137
3201
  return typing.cast(typing.Any, jsii.sinvoke(cls, "index", [list, value]))
3138
3202
 
3203
+ @jsii.member(jsii_name="issensitive")
3204
+ @builtins.classmethod
3205
+ def issensitive(cls, value: typing.Any) -> "IResolvable":
3206
+ '''(experimental) {@link https://developer.hashicorp.com/terraform/language/functions/issensitive issensitive} takes a value and returns a boolean indicating if the value is sensitive.
3207
+
3208
+ :param value: -
3209
+
3210
+ :stability: experimental
3211
+ '''
3212
+ if __debug__:
3213
+ type_hints = typing.get_type_hints(_typecheckingstub__4ff8c067563cc7dde09c8e4e2801bc9db345a6bdf4d9a3ff432e0835260ac914)
3214
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3215
+ return typing.cast("IResolvable", jsii.sinvoke(cls, "issensitive", [value]))
3216
+
3139
3217
  @jsii.member(jsii_name="jsondecode")
3140
3218
  @builtins.classmethod
3141
3219
  def jsondecode(cls, str: builtins.str) -> typing.Any:
@@ -3777,6 +3855,22 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
3777
3855
  check_type(argname="argument vars", value=vars, expected_type=type_hints["vars"])
3778
3856
  return typing.cast(typing.Any, jsii.sinvoke(cls, "templatefile", [path, vars]))
3779
3857
 
3858
+ @jsii.member(jsii_name="templatestring")
3859
+ @builtins.classmethod
3860
+ def templatestring(cls, template: builtins.str, vars: typing.Any) -> builtins.str:
3861
+ '''(experimental) {@link https://developer.hashicorp.com/terraform/language/functions/templatestring templatestring} takes a string from elsewhere in the module and renders its content as a template using a supplied set of template variables.
3862
+
3863
+ :param template: -
3864
+ :param vars: -
3865
+
3866
+ :stability: experimental
3867
+ '''
3868
+ if __debug__:
3869
+ type_hints = typing.get_type_hints(_typecheckingstub__4b4a173289076229639f19e7eccd2fb83b2e24565335f7ddbcbab7b466bca68a)
3870
+ check_type(argname="argument template", value=template, expected_type=type_hints["template"])
3871
+ check_type(argname="argument vars", value=vars, expected_type=type_hints["vars"])
3872
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "templatestring", [template, vars]))
3873
+
3780
3874
  @jsii.member(jsii_name="textdecodebase64")
3781
3875
  @builtins.classmethod
3782
3876
  def textdecodebase64(
@@ -4064,6 +4158,20 @@ class FnGenerated(metaclass=jsii.JSIIMeta, jsii_type="cdktn.FnGenerated"):
4064
4158
  check_type(argname="argument str", value=str, expected_type=type_hints["str"])
4065
4159
  return typing.cast(builtins.str, jsii.sinvoke(cls, "upper", [str]))
4066
4160
 
4161
+ @jsii.member(jsii_name="urldecode")
4162
+ @builtins.classmethod
4163
+ def urldecode(cls, str: builtins.str) -> builtins.str:
4164
+ '''(experimental) {@link https://opentofu.org/docs/language/functions/urldecode urldecode} applies URL decoding to a given encoded string.
4165
+
4166
+ :param str: -
4167
+
4168
+ :stability: experimental
4169
+ '''
4170
+ if __debug__:
4171
+ type_hints = typing.get_type_hints(_typecheckingstub__3173b7613589903d51969a38b4315428c86597fdb2c2d72cc1d331333fe3085c)
4172
+ check_type(argname="argument str", value=str, expected_type=type_hints["str"])
4173
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "urldecode", [str]))
4174
+
4067
4175
  @jsii.member(jsii_name="urlencode")
4068
4176
  @builtins.classmethod
4069
4177
  def urlencode(cls, str: builtins.str) -> builtins.str:
@@ -26783,6 +26891,12 @@ def _typecheckingstub__02abfac1eb20205fc70ccdc08f75d906d032bd84662fa7ec0867bd656
26783
26891
  """Type checking stubs"""
26784
26892
  pass
26785
26893
 
26894
+ def _typecheckingstub__89d4d94013c8a9557e6a58a0c818e7741d68ab1f72f654abe762312d8ea62a44(
26895
+ str: builtins.str,
26896
+ ) -> None:
26897
+ """Type checking stubs"""
26898
+ pass
26899
+
26786
26900
  def _typecheckingstub__d0f038a6c25c1946d9e7fd8bea7c6fac9311e2733800d46904f8ea4a79360ab3(
26787
26901
  str: builtins.str,
26788
26902
  ) -> None:
@@ -26832,6 +26946,13 @@ def _typecheckingstub__ce0af7ebdc0cf508f7928458989ada25777d413bb900b9f7da33fe564
26832
26946
  """Type checking stubs"""
26833
26947
  pass
26834
26948
 
26949
+ def _typecheckingstub__ce2cb3b2eb804c2cf91cef8abb2af23e1fa3c041032efef4f7565267adfdb90a(
26950
+ containing_prefix: builtins.str,
26951
+ contained_ip_or_prefix: builtins.str,
26952
+ ) -> None:
26953
+ """Type checking stubs"""
26954
+ pass
26955
+
26835
26956
  def _typecheckingstub__529619d82d9f1147d808de320e57f4fbd7d322ff30fd9349288f46f6354d7e7a(
26836
26957
  prefix: builtins.str,
26837
26958
  hostnum: jsii.Number,
@@ -26891,6 +27012,13 @@ def _typecheckingstub__8bae3d846a2a830f67633e81cda0cf30b6b748e96e0633452450cd441
26891
27012
  """Type checking stubs"""
26892
27013
  pass
26893
27014
 
27015
+ def _typecheckingstub__fd4a2c7da2982ed554a9d480feb701a9da23f9e7e779659482a90ccf16c57d24(
27016
+ value: typing.Any,
27017
+ type: typing.Any,
27018
+ ) -> None:
27019
+ """Type checking stubs"""
27020
+ pass
27021
+
26894
27022
  def _typecheckingstub__756b0544b55958bb4aabfdf98cc4e68db1685b1dc491049e4d8c06712ddc0a99(
26895
27023
  str: builtins.str,
26896
27024
  ) -> None:
@@ -26923,6 +27051,12 @@ def _typecheckingstub__8c7d43f497a8f9c49be857a27c87f204a9cb9da33c7120fff2f509c58
26923
27051
  """Type checking stubs"""
26924
27052
  pass
26925
27053
 
27054
+ def _typecheckingstub__5206752b52d555f0ee9f166a7d8495a8bc9225bb5e484364dc2b884cc77990b8(
27055
+ value: typing.Any,
27056
+ ) -> None:
27057
+ """Type checking stubs"""
27058
+ pass
27059
+
26926
27060
  def _typecheckingstub__253bf4a41ad5707e0f0d2e1271898c9b53aad5c3a4acbbee0bdb2910475c8aeb(
26927
27061
  path: builtins.str,
26928
27062
  ) -> None:
@@ -27031,6 +27165,12 @@ def _typecheckingstub__a31158cedb446b33ec6f3c3dac38a9ec7b93b1afe0bca7558a29c67b6
27031
27165
  """Type checking stubs"""
27032
27166
  pass
27033
27167
 
27168
+ def _typecheckingstub__4ff8c067563cc7dde09c8e4e2801bc9db345a6bdf4d9a3ff432e0835260ac914(
27169
+ value: typing.Any,
27170
+ ) -> None:
27171
+ """Type checking stubs"""
27172
+ pass
27173
+
27034
27174
  def _typecheckingstub__4da3c22cb9d91206c59cc5a07022f4ccbb9381c1801e12f2da88f42116500f53(
27035
27175
  str: builtins.str,
27036
27176
  ) -> None:
@@ -27286,6 +27426,13 @@ def _typecheckingstub__c76b176034dbe10e31045d672834717ca0501daadbbace2b4c5ffa844
27286
27426
  """Type checking stubs"""
27287
27427
  pass
27288
27428
 
27429
+ def _typecheckingstub__4b4a173289076229639f19e7eccd2fb83b2e24565335f7ddbcbab7b466bca68a(
27430
+ template: builtins.str,
27431
+ vars: typing.Any,
27432
+ ) -> None:
27433
+ """Type checking stubs"""
27434
+ pass
27435
+
27289
27436
  def _typecheckingstub__28abf90d76672e97155cf5ff248550579a78c71ff3d4cee1fbca4198f4defc7a(
27290
27437
  source: builtins.str,
27291
27438
  encoding: builtins.str,
@@ -27401,6 +27548,12 @@ def _typecheckingstub__a495becaa7d3cbffa716e180f8bee1460659c3033764f80f52eaf130d
27401
27548
  """Type checking stubs"""
27402
27549
  pass
27403
27550
 
27551
+ def _typecheckingstub__3173b7613589903d51969a38b4315428c86597fdb2c2d72cc1d331333fe3085c(
27552
+ str: builtins.str,
27553
+ ) -> None:
27554
+ """Type checking stubs"""
27555
+ pass
27556
+
27404
27557
  def _typecheckingstub__96603d9859fed0128d4493d81b13e961e14f9f91fcb0c8d4d2200bd7c56e1bdd(
27405
27558
  str: builtins.str,
27406
27559
  ) -> None:
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
31
31
  import constructs._jsii
32
32
 
33
33
  __jsii_assembly__ = jsii.JSIIAssembly.load(
34
- "cdktn", "0.24.0-pre.59", __name__[0:-6], "cdktn@0.24.0-pre.59.jsii.tgz"
34
+ "cdktn", "0.24.0-pre.60", __name__[0:-6], "cdktn@0.24.0-pre.60.jsii.tgz"
35
35
  )
36
36
 
37
37
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdktn
3
- Version: 0.24.0.dev59
3
+ Version: 0.24.0.dev60
4
4
  Summary: Cloud Development Kit for Terraform
5
5
  Home-page: https://github.com/open-constructs/cdk-terrain
6
6
  Author: OpenConstructs
@@ -11,5 +11,5 @@ src/cdktn.egg-info/dependency_links.txt
11
11
  src/cdktn.egg-info/requires.txt
12
12
  src/cdktn.egg-info/top_level.txt
13
13
  src/cdktn/_jsii/__init__.py
14
- src/cdktn/_jsii/cdktn@0.24.0-pre.59.jsii.tgz
14
+ src/cdktn/_jsii/cdktn@0.24.0-pre.60.jsii.tgz
15
15
  src/cdktn/testing_matchers/__init__.py
File without changes
File without changes
File without changes
File without changes