cdktn 0.24.0.dev57__tar.gz → 0.24.0.dev58__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.
- {cdktn-0.24.0.dev57/src/cdktn.egg-info → cdktn-0.24.0.dev58}/PKG-INFO +1 -1
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/setup.py +2 -2
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn/__init__.py +66 -8
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn/_jsii/__init__.py +1 -1
- cdktn-0.24.0.dev58/src/cdktn/_jsii/cdktn@0.24.0-pre.58.jsii.tgz +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58/src/cdktn.egg-info}/PKG-INFO +1 -1
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn.egg-info/SOURCES.txt +1 -1
- cdktn-0.24.0.dev57/src/cdktn/_jsii/cdktn@0.24.0-pre.57.jsii.tgz +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/LICENSE +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/MANIFEST.in +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/README.md +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/pyproject.toml +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/setup.cfg +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn/py.typed +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn/testing_matchers/__init__.py +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn.egg-info/dependency_links.txt +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn.egg-info/requires.txt +0 -0
- {cdktn-0.24.0.dev57 → cdktn-0.24.0.dev58}/src/cdktn.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cdktn",
|
|
8
|
-
"version": "0.24.0.
|
|
8
|
+
"version": "0.24.0.dev58",
|
|
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.
|
|
30
|
+
"cdktn@0.24.0-pre.58.jsii.tgz"
|
|
31
31
|
],
|
|
32
32
|
"cdktn": [
|
|
33
33
|
"py.typed"
|
|
@@ -8998,6 +8998,7 @@ class S3BackendAssumeRoleWithWebIdentityConfig:
|
|
|
8998
8998
|
"sts_region": "stsRegion",
|
|
8999
8999
|
"token": "token",
|
|
9000
9000
|
"use_legacy_workflow": "useLegacyWorkflow",
|
|
9001
|
+
"use_lockfile": "useLockfile",
|
|
9001
9002
|
"use_path_style": "usePathStyle",
|
|
9002
9003
|
"workspace_key_prefix": "workspaceKeyPrefix",
|
|
9003
9004
|
},
|
|
@@ -9054,6 +9055,7 @@ class S3BackendConfig:
|
|
|
9054
9055
|
sts_region: typing.Optional[builtins.str] = None,
|
|
9055
9056
|
token: typing.Optional[builtins.str] = None,
|
|
9056
9057
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
9058
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
9057
9059
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
9058
9060
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
9059
9061
|
) -> None:
|
|
@@ -9086,7 +9088,7 @@ class S3BackendConfig:
|
|
|
9086
9088
|
:param assume_role_with_web_identity: (experimental) Assume Role With Web Identity Configuration.
|
|
9087
9089
|
:param custom_ca_bundle: (experimental) (Optional) File containing custom root and intermediate certificates. Can also be set using the AWS_CA_BUNDLE environment variable. Setting ca_bundle in the shared config file is not supported.
|
|
9088
9090
|
:param dynamodb_endpoint: (deprecated) (Optional) Custom endpoint for the AWS DynamoDB API. This can also be sourced from the AWS_DYNAMODB_ENDPOINT environment variable.
|
|
9089
|
-
:param dynamodb_table: (
|
|
9091
|
+
:param dynamodb_table: (deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency. The table must have a partition key named LockID with type of String. If not configured, state locking will be disabled.
|
|
9090
9092
|
:param ec2_metadata_service_endpoint: (experimental) Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.
|
|
9091
9093
|
:param ec2_metadata_service_endpoint_mode: (experimental) (Optional) Mode to use in communicating with the metadata service. Valid values are IPv4 and IPv6. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable.
|
|
9092
9094
|
:param encrypt: (experimental) (Optional) Enable server side encryption of the state file.
|
|
@@ -9121,6 +9123,7 @@ class S3BackendConfig:
|
|
|
9121
9123
|
:param sts_region: (experimental) (Optional) AWS region for STS. If unset, AWS will use the same region for STS as other non-STS operations.
|
|
9122
9124
|
:param token: (experimental) (Optional) Multi-Factor Authentication (MFA) token. This can also be sourced from the AWS_SESSION_TOKEN environment variable.
|
|
9123
9125
|
:param use_legacy_workflow: (experimental) (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. Defaults to true. This behavior does not align with the authentication flow of the AWS CLI or SDK's, and will be removed in the future.
|
|
9126
|
+
:param use_lockfile: (experimental) (Optional) Whether to use a lockfile for locking the state file. Defaults to false. State locking is an opt-in feature of the S3 backend. Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking is deprecated and will be removed in a future minor version. To support migration from older versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB (dynamodbTable) arguments can be configured simultaneously.
|
|
9124
9127
|
:param use_path_style: (experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
9125
9128
|
:param workspace_key_prefix: (experimental) (Optional) Prefix applied to the state path inside the bucket. This is only relevant when using a non-default workspace. Defaults to env:
|
|
9126
9129
|
|
|
@@ -9182,6 +9185,7 @@ class S3BackendConfig:
|
|
|
9182
9185
|
check_type(argname="argument sts_region", value=sts_region, expected_type=type_hints["sts_region"])
|
|
9183
9186
|
check_type(argname="argument token", value=token, expected_type=type_hints["token"])
|
|
9184
9187
|
check_type(argname="argument use_legacy_workflow", value=use_legacy_workflow, expected_type=type_hints["use_legacy_workflow"])
|
|
9188
|
+
check_type(argname="argument use_lockfile", value=use_lockfile, expected_type=type_hints["use_lockfile"])
|
|
9185
9189
|
check_type(argname="argument use_path_style", value=use_path_style, expected_type=type_hints["use_path_style"])
|
|
9186
9190
|
check_type(argname="argument workspace_key_prefix", value=workspace_key_prefix, expected_type=type_hints["workspace_key_prefix"])
|
|
9187
9191
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -9280,6 +9284,8 @@ class S3BackendConfig:
|
|
|
9280
9284
|
self._values["token"] = token
|
|
9281
9285
|
if use_legacy_workflow is not None:
|
|
9282
9286
|
self._values["use_legacy_workflow"] = use_legacy_workflow
|
|
9287
|
+
if use_lockfile is not None:
|
|
9288
|
+
self._values["use_lockfile"] = use_lockfile
|
|
9283
9289
|
if use_path_style is not None:
|
|
9284
9290
|
self._values["use_path_style"] = use_path_style
|
|
9285
9291
|
if workspace_key_prefix is not None:
|
|
@@ -9439,12 +9445,14 @@ class S3BackendConfig:
|
|
|
9439
9445
|
|
|
9440
9446
|
@builtins.property
|
|
9441
9447
|
def dynamodb_table(self) -> typing.Optional[builtins.str]:
|
|
9442
|
-
'''(
|
|
9448
|
+
'''(deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency.
|
|
9443
9449
|
|
|
9444
9450
|
The table must have a partition key named LockID with type of String.
|
|
9445
9451
|
If not configured, state locking will be disabled.
|
|
9446
9452
|
|
|
9447
|
-
:
|
|
9453
|
+
:deprecated: Use useLockfile instead, which uses S3 for locking
|
|
9454
|
+
|
|
9455
|
+
:stability: deprecated
|
|
9448
9456
|
'''
|
|
9449
9457
|
result = self._values.get("dynamodb_table")
|
|
9450
9458
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -9836,6 +9844,22 @@ class S3BackendConfig:
|
|
|
9836
9844
|
result = self._values.get("use_legacy_workflow")
|
|
9837
9845
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
9838
9846
|
|
|
9847
|
+
@builtins.property
|
|
9848
|
+
def use_lockfile(self) -> typing.Optional[builtins.bool]:
|
|
9849
|
+
'''(experimental) (Optional) Whether to use a lockfile for locking the state file.
|
|
9850
|
+
|
|
9851
|
+
Defaults to false.
|
|
9852
|
+
State locking is an opt-in feature of the S3 backend.
|
|
9853
|
+
Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking
|
|
9854
|
+
is deprecated and will be removed in a future minor version. To support migration from older
|
|
9855
|
+
versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB
|
|
9856
|
+
(dynamodbTable) arguments can be configured simultaneously.
|
|
9857
|
+
|
|
9858
|
+
:stability: experimental
|
|
9859
|
+
'''
|
|
9860
|
+
result = self._values.get("use_lockfile")
|
|
9861
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
9862
|
+
|
|
9839
9863
|
@builtins.property
|
|
9840
9864
|
def use_path_style(self) -> typing.Optional[builtins.bool]:
|
|
9841
9865
|
'''(experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
@@ -21140,6 +21164,7 @@ class DataTerraformRemoteStateS3(
|
|
|
21140
21164
|
sts_region: typing.Optional[builtins.str] = None,
|
|
21141
21165
|
token: typing.Optional[builtins.str] = None,
|
|
21142
21166
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
21167
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
21143
21168
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
21144
21169
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
21145
21170
|
) -> None:
|
|
@@ -21161,7 +21186,7 @@ class DataTerraformRemoteStateS3(
|
|
|
21161
21186
|
:param assume_role_with_web_identity: (experimental) Assume Role With Web Identity Configuration.
|
|
21162
21187
|
:param custom_ca_bundle: (experimental) (Optional) File containing custom root and intermediate certificates. Can also be set using the AWS_CA_BUNDLE environment variable. Setting ca_bundle in the shared config file is not supported.
|
|
21163
21188
|
:param dynamodb_endpoint: (deprecated) (Optional) Custom endpoint for the AWS DynamoDB API. This can also be sourced from the AWS_DYNAMODB_ENDPOINT environment variable.
|
|
21164
|
-
:param dynamodb_table: (
|
|
21189
|
+
:param dynamodb_table: (deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency. The table must have a partition key named LockID with type of String. If not configured, state locking will be disabled.
|
|
21165
21190
|
:param ec2_metadata_service_endpoint: (experimental) Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.
|
|
21166
21191
|
:param ec2_metadata_service_endpoint_mode: (experimental) (Optional) Mode to use in communicating with the metadata service. Valid values are IPv4 and IPv6. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable.
|
|
21167
21192
|
:param encrypt: (experimental) (Optional) Enable server side encryption of the state file.
|
|
@@ -21196,6 +21221,7 @@ class DataTerraformRemoteStateS3(
|
|
|
21196
21221
|
:param sts_region: (experimental) (Optional) AWS region for STS. If unset, AWS will use the same region for STS as other non-STS operations.
|
|
21197
21222
|
:param token: (experimental) (Optional) Multi-Factor Authentication (MFA) token. This can also be sourced from the AWS_SESSION_TOKEN environment variable.
|
|
21198
21223
|
:param use_legacy_workflow: (experimental) (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. Defaults to true. This behavior does not align with the authentication flow of the AWS CLI or SDK's, and will be removed in the future.
|
|
21224
|
+
:param use_lockfile: (experimental) (Optional) Whether to use a lockfile for locking the state file. Defaults to false. State locking is an opt-in feature of the S3 backend. Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking is deprecated and will be removed in a future minor version. To support migration from older versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB (dynamodbTable) arguments can be configured simultaneously.
|
|
21199
21225
|
:param use_path_style: (experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
21200
21226
|
:param workspace_key_prefix: (experimental) (Optional) Prefix applied to the state path inside the bucket. This is only relevant when using a non-default workspace. Defaults to env:
|
|
21201
21227
|
|
|
@@ -21256,6 +21282,7 @@ class DataTerraformRemoteStateS3(
|
|
|
21256
21282
|
sts_region=sts_region,
|
|
21257
21283
|
token=token,
|
|
21258
21284
|
use_legacy_workflow=use_legacy_workflow,
|
|
21285
|
+
use_lockfile=use_lockfile,
|
|
21259
21286
|
use_path_style=use_path_style,
|
|
21260
21287
|
workspace_key_prefix=workspace_key_prefix,
|
|
21261
21288
|
)
|
|
@@ -21317,6 +21344,7 @@ class DataTerraformRemoteStateS3(
|
|
|
21317
21344
|
"sts_region": "stsRegion",
|
|
21318
21345
|
"token": "token",
|
|
21319
21346
|
"use_legacy_workflow": "useLegacyWorkflow",
|
|
21347
|
+
"use_lockfile": "useLockfile",
|
|
21320
21348
|
"use_path_style": "usePathStyle",
|
|
21321
21349
|
"workspace_key_prefix": "workspaceKeyPrefix",
|
|
21322
21350
|
},
|
|
@@ -21375,6 +21403,7 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21375
21403
|
sts_region: typing.Optional[builtins.str] = None,
|
|
21376
21404
|
token: typing.Optional[builtins.str] = None,
|
|
21377
21405
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
21406
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
21378
21407
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
21379
21408
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
21380
21409
|
) -> None:
|
|
@@ -21394,7 +21423,7 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21394
21423
|
:param assume_role_with_web_identity: (experimental) Assume Role With Web Identity Configuration.
|
|
21395
21424
|
:param custom_ca_bundle: (experimental) (Optional) File containing custom root and intermediate certificates. Can also be set using the AWS_CA_BUNDLE environment variable. Setting ca_bundle in the shared config file is not supported.
|
|
21396
21425
|
:param dynamodb_endpoint: (deprecated) (Optional) Custom endpoint for the AWS DynamoDB API. This can also be sourced from the AWS_DYNAMODB_ENDPOINT environment variable.
|
|
21397
|
-
:param dynamodb_table: (
|
|
21426
|
+
:param dynamodb_table: (deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency. The table must have a partition key named LockID with type of String. If not configured, state locking will be disabled.
|
|
21398
21427
|
:param ec2_metadata_service_endpoint: (experimental) Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.
|
|
21399
21428
|
:param ec2_metadata_service_endpoint_mode: (experimental) (Optional) Mode to use in communicating with the metadata service. Valid values are IPv4 and IPv6. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable.
|
|
21400
21429
|
:param encrypt: (experimental) (Optional) Enable server side encryption of the state file.
|
|
@@ -21429,6 +21458,7 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21429
21458
|
:param sts_region: (experimental) (Optional) AWS region for STS. If unset, AWS will use the same region for STS as other non-STS operations.
|
|
21430
21459
|
:param token: (experimental) (Optional) Multi-Factor Authentication (MFA) token. This can also be sourced from the AWS_SESSION_TOKEN environment variable.
|
|
21431
21460
|
:param use_legacy_workflow: (experimental) (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. Defaults to true. This behavior does not align with the authentication flow of the AWS CLI or SDK's, and will be removed in the future.
|
|
21461
|
+
:param use_lockfile: (experimental) (Optional) Whether to use a lockfile for locking the state file. Defaults to false. State locking is an opt-in feature of the S3 backend. Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking is deprecated and will be removed in a future minor version. To support migration from older versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB (dynamodbTable) arguments can be configured simultaneously.
|
|
21432
21462
|
:param use_path_style: (experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
21433
21463
|
:param workspace_key_prefix: (experimental) (Optional) Prefix applied to the state path inside the bucket. This is only relevant when using a non-default workspace. Defaults to env:
|
|
21434
21464
|
|
|
@@ -21492,6 +21522,7 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21492
21522
|
check_type(argname="argument sts_region", value=sts_region, expected_type=type_hints["sts_region"])
|
|
21493
21523
|
check_type(argname="argument token", value=token, expected_type=type_hints["token"])
|
|
21494
21524
|
check_type(argname="argument use_legacy_workflow", value=use_legacy_workflow, expected_type=type_hints["use_legacy_workflow"])
|
|
21525
|
+
check_type(argname="argument use_lockfile", value=use_lockfile, expected_type=type_hints["use_lockfile"])
|
|
21495
21526
|
check_type(argname="argument use_path_style", value=use_path_style, expected_type=type_hints["use_path_style"])
|
|
21496
21527
|
check_type(argname="argument workspace_key_prefix", value=workspace_key_prefix, expected_type=type_hints["workspace_key_prefix"])
|
|
21497
21528
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -21594,6 +21625,8 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21594
21625
|
self._values["token"] = token
|
|
21595
21626
|
if use_legacy_workflow is not None:
|
|
21596
21627
|
self._values["use_legacy_workflow"] = use_legacy_workflow
|
|
21628
|
+
if use_lockfile is not None:
|
|
21629
|
+
self._values["use_lockfile"] = use_lockfile
|
|
21597
21630
|
if use_path_style is not None:
|
|
21598
21631
|
self._values["use_path_style"] = use_path_style
|
|
21599
21632
|
if workspace_key_prefix is not None:
|
|
@@ -21769,12 +21802,14 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
21769
21802
|
|
|
21770
21803
|
@builtins.property
|
|
21771
21804
|
def dynamodb_table(self) -> typing.Optional[builtins.str]:
|
|
21772
|
-
'''(
|
|
21805
|
+
'''(deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency.
|
|
21773
21806
|
|
|
21774
21807
|
The table must have a partition key named LockID with type of String.
|
|
21775
21808
|
If not configured, state locking will be disabled.
|
|
21776
21809
|
|
|
21777
|
-
:
|
|
21810
|
+
:deprecated: Use useLockfile instead, which uses S3 for locking
|
|
21811
|
+
|
|
21812
|
+
:stability: deprecated
|
|
21778
21813
|
'''
|
|
21779
21814
|
result = self._values.get("dynamodb_table")
|
|
21780
21815
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -22166,6 +22201,22 @@ class DataTerraformRemoteStateS3Config(DataTerraformRemoteStateConfig, S3Backend
|
|
|
22166
22201
|
result = self._values.get("use_legacy_workflow")
|
|
22167
22202
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
22168
22203
|
|
|
22204
|
+
@builtins.property
|
|
22205
|
+
def use_lockfile(self) -> typing.Optional[builtins.bool]:
|
|
22206
|
+
'''(experimental) (Optional) Whether to use a lockfile for locking the state file.
|
|
22207
|
+
|
|
22208
|
+
Defaults to false.
|
|
22209
|
+
State locking is an opt-in feature of the S3 backend.
|
|
22210
|
+
Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking
|
|
22211
|
+
is deprecated and will be removed in a future minor version. To support migration from older
|
|
22212
|
+
versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB
|
|
22213
|
+
(dynamodbTable) arguments can be configured simultaneously.
|
|
22214
|
+
|
|
22215
|
+
:stability: experimental
|
|
22216
|
+
'''
|
|
22217
|
+
result = self._values.get("use_lockfile")
|
|
22218
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
22219
|
+
|
|
22169
22220
|
@builtins.property
|
|
22170
22221
|
def use_path_style(self) -> typing.Optional[builtins.bool]:
|
|
22171
22222
|
'''(experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
@@ -25848,6 +25899,7 @@ class S3Backend(TerraformBackend, metaclass=jsii.JSIIMeta, jsii_type="cdktn.S3Ba
|
|
|
25848
25899
|
sts_region: typing.Optional[builtins.str] = None,
|
|
25849
25900
|
token: typing.Optional[builtins.str] = None,
|
|
25850
25901
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
25902
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
25851
25903
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
25852
25904
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
25853
25905
|
) -> None:
|
|
@@ -25866,7 +25918,7 @@ class S3Backend(TerraformBackend, metaclass=jsii.JSIIMeta, jsii_type="cdktn.S3Ba
|
|
|
25866
25918
|
:param assume_role_with_web_identity: (experimental) Assume Role With Web Identity Configuration.
|
|
25867
25919
|
:param custom_ca_bundle: (experimental) (Optional) File containing custom root and intermediate certificates. Can also be set using the AWS_CA_BUNDLE environment variable. Setting ca_bundle in the shared config file is not supported.
|
|
25868
25920
|
:param dynamodb_endpoint: (deprecated) (Optional) Custom endpoint for the AWS DynamoDB API. This can also be sourced from the AWS_DYNAMODB_ENDPOINT environment variable.
|
|
25869
|
-
:param dynamodb_table: (
|
|
25921
|
+
:param dynamodb_table: (deprecated) (Optional) Name of DynamoDB Table to use for state locking and consistency. The table must have a partition key named LockID with type of String. If not configured, state locking will be disabled.
|
|
25870
25922
|
:param ec2_metadata_service_endpoint: (experimental) Optional) Custom endpoint URL for the EC2 Instance Metadata Service (IMDS) API. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT environment variable.
|
|
25871
25923
|
:param ec2_metadata_service_endpoint_mode: (experimental) (Optional) Mode to use in communicating with the metadata service. Valid values are IPv4 and IPv6. Can also be set with the AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE environment variable.
|
|
25872
25924
|
:param encrypt: (experimental) (Optional) Enable server side encryption of the state file.
|
|
@@ -25901,6 +25953,7 @@ class S3Backend(TerraformBackend, metaclass=jsii.JSIIMeta, jsii_type="cdktn.S3Ba
|
|
|
25901
25953
|
:param sts_region: (experimental) (Optional) AWS region for STS. If unset, AWS will use the same region for STS as other non-STS operations.
|
|
25902
25954
|
:param token: (experimental) (Optional) Multi-Factor Authentication (MFA) token. This can also be sourced from the AWS_SESSION_TOKEN environment variable.
|
|
25903
25955
|
:param use_legacy_workflow: (experimental) (Optional) Use the legacy authentication workflow, preferring environment variables over backend configuration. Defaults to true. This behavior does not align with the authentication flow of the AWS CLI or SDK's, and will be removed in the future.
|
|
25956
|
+
:param use_lockfile: (experimental) (Optional) Whether to use a lockfile for locking the state file. Defaults to false. State locking is an opt-in feature of the S3 backend. Locking can be enabled via S3 or DynamoDB (see dynamodbTable). However, DynamoDB-based locking is deprecated and will be removed in a future minor version. To support migration from older versions of Terraform that only support DynamoDB-based locking, the S3 (useLockfile) and DynamoDB (dynamodbTable) arguments can be configured simultaneously.
|
|
25904
25957
|
:param use_path_style: (experimental) (Optional) Enable path-style S3 URLs (https:/// instead of https://.).
|
|
25905
25958
|
:param workspace_key_prefix: (experimental) (Optional) Prefix applied to the state path inside the bucket. This is only relevant when using a non-default workspace. Defaults to env:
|
|
25906
25959
|
|
|
@@ -25958,6 +26011,7 @@ class S3Backend(TerraformBackend, metaclass=jsii.JSIIMeta, jsii_type="cdktn.S3Ba
|
|
|
25958
26011
|
sts_region=sts_region,
|
|
25959
26012
|
token=token,
|
|
25960
26013
|
use_legacy_workflow=use_legacy_workflow,
|
|
26014
|
+
use_lockfile=use_lockfile,
|
|
25961
26015
|
use_path_style=use_path_style,
|
|
25962
26016
|
workspace_key_prefix=workspace_key_prefix,
|
|
25963
26017
|
)
|
|
@@ -28138,6 +28192,7 @@ def _typecheckingstub__9aec09d69e709cce0e4c77ccc2be547a1cfcf4aa8a006a9192483c7ae
|
|
|
28138
28192
|
sts_region: typing.Optional[builtins.str] = None,
|
|
28139
28193
|
token: typing.Optional[builtins.str] = None,
|
|
28140
28194
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
28195
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
28141
28196
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
28142
28197
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
28143
28198
|
) -> None:
|
|
@@ -30348,6 +30403,7 @@ def _typecheckingstub__e2e03d6f3d69e37add63c033321c1e0024b24fd2b0cc457cea463794b
|
|
|
30348
30403
|
sts_region: typing.Optional[builtins.str] = None,
|
|
30349
30404
|
token: typing.Optional[builtins.str] = None,
|
|
30350
30405
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
30406
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
30351
30407
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
30352
30408
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
30353
30409
|
) -> None:
|
|
@@ -30406,6 +30462,7 @@ def _typecheckingstub__854b50f50b4391053c1124f2240fe5425fe0f99b959021463c404f1ff
|
|
|
30406
30462
|
sts_region: typing.Optional[builtins.str] = None,
|
|
30407
30463
|
token: typing.Optional[builtins.str] = None,
|
|
30408
30464
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
30465
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
30409
30466
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
30410
30467
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
30411
30468
|
) -> None:
|
|
@@ -31389,6 +31446,7 @@ def _typecheckingstub__e38d6db5faac22bddc00a3c059dc3fc9e166d2cccc34df67a51fe136a
|
|
|
31389
31446
|
sts_region: typing.Optional[builtins.str] = None,
|
|
31390
31447
|
token: typing.Optional[builtins.str] = None,
|
|
31391
31448
|
use_legacy_workflow: typing.Optional[builtins.bool] = None,
|
|
31449
|
+
use_lockfile: typing.Optional[builtins.bool] = None,
|
|
31392
31450
|
use_path_style: typing.Optional[builtins.bool] = None,
|
|
31393
31451
|
workspace_key_prefix: typing.Optional[builtins.str] = None,
|
|
31394
31452
|
) -> 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.
|
|
34
|
+
"cdktn", "0.24.0-pre.58", __name__[0:-6], "cdktn@0.24.0-pre.58.jsii.tgz"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
__all__ = [
|
|
Binary file
|
|
@@ -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.
|
|
14
|
+
src/cdktn/_jsii/cdktn@0.24.0-pre.58.jsii.tgz
|
|
15
15
|
src/cdktn/testing_matchers/__init__.py
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|