aws-cdk-lib 2.173.3__py3-none-any.whl → 2.174.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +210 -181
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.173.3.jsii.tgz → aws-cdk-lib@2.174.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +127 -168
- aws_cdk/aws_appconfig/__init__.py +498 -1
- aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
- aws_cdk/aws_appsync/__init__.py +4 -0
- aws_cdk/aws_autoscaling/__init__.py +96 -0
- aws_cdk/aws_batch/__init__.py +1084 -233
- aws_cdk/aws_bedrock/__init__.py +2119 -181
- aws_cdk/aws_cassandra/__init__.py +476 -4
- aws_cdk/aws_cleanrooms/__init__.py +543 -17
- aws_cdk/aws_cloudformation/__init__.py +172 -169
- aws_cdk/aws_cloudfront/__init__.py +773 -26
- aws_cdk/aws_cloudtrail/__init__.py +8 -2
- aws_cdk/aws_codebuild/__init__.py +83 -0
- aws_cdk/aws_codepipeline/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +232 -200
- aws_cdk/aws_connect/__init__.py +187 -36
- aws_cdk/aws_connectcampaignsv2/__init__.py +106 -12
- aws_cdk/aws_databrew/__init__.py +69 -1
- aws_cdk/aws_datasync/__init__.py +33 -28
- aws_cdk/aws_datazone/__init__.py +141 -41
- aws_cdk/aws_dlm/__init__.py +20 -10
- aws_cdk/aws_dms/__init__.py +722 -30
- aws_cdk/aws_dynamodb/__init__.py +76 -4
- aws_cdk/aws_ec2/__init__.py +1233 -65
- aws_cdk/aws_ecr/__init__.py +31 -0
- aws_cdk/aws_ecr_assets/__init__.py +5 -0
- aws_cdk/aws_ecs/__init__.py +88 -11
- aws_cdk/aws_efs/__init__.py +15 -8
- aws_cdk/aws_eks/__init__.py +114 -45
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
- aws_cdk/aws_emrserverless/__init__.py +143 -0
- aws_cdk/aws_events/__init__.py +50 -30
- aws_cdk/aws_fis/__init__.py +33 -33
- aws_cdk/aws_fsx/__init__.py +20 -10
- aws_cdk/aws_glue/__init__.py +34 -11
- aws_cdk/aws_greengrass/__init__.py +8 -8
- aws_cdk/aws_guardduty/__init__.py +1 -1
- aws_cdk/aws_imagebuilder/__init__.py +45 -47
- aws_cdk/aws_internetmonitor/__init__.py +3 -3
- aws_cdk/aws_invoicing/__init__.py +55 -30
- aws_cdk/aws_iot/__init__.py +1117 -4
- aws_cdk/aws_iot1click/__init__.py +17 -7
- aws_cdk/aws_kendra/__init__.py +4 -6
- aws_cdk/aws_lambda/__init__.py +15 -1
- aws_cdk/aws_logs/__init__.py +4011 -86
- aws_cdk/aws_m2/__init__.py +41 -0
- aws_cdk/aws_mediaconnect/__init__.py +202 -7
- aws_cdk/aws_memorydb/__init__.py +22 -22
- aws_cdk/aws_networkmanager/__init__.py +758 -0
- aws_cdk/aws_opensearchservice/__init__.py +222 -0
- aws_cdk/aws_organizations/__init__.py +5 -3
- aws_cdk/aws_pcs/__init__.py +3038 -0
- aws_cdk/aws_pipes/__init__.py +10 -10
- aws_cdk/aws_qbusiness/__init__.py +415 -140
- aws_cdk/aws_quicksight/__init__.py +15932 -6448
- aws_cdk/aws_ram/__init__.py +5 -11
- aws_cdk/aws_rbin/__init__.py +28 -16
- aws_cdk/aws_rds/__init__.py +184 -24
- aws_cdk/aws_redshiftserverless/__init__.py +156 -0
- aws_cdk/aws_resiliencehub/__init__.py +2 -1
- aws_cdk/aws_route53_targets/__init__.py +5 -5
- aws_cdk/aws_s3/__init__.py +25 -15
- aws_cdk/aws_s3express/__init__.py +7 -7
- aws_cdk/aws_s3tables/__init__.py +683 -0
- aws_cdk/aws_sagemaker/__init__.py +574 -189
- aws_cdk/aws_secretsmanager/__init__.py +2 -0
- aws_cdk/aws_securityhub/__init__.py +41 -165
- aws_cdk/aws_servicediscovery/__init__.py +10 -3
- aws_cdk/aws_ses/__init__.py +190 -5
- aws_cdk/aws_sns/__init__.py +7 -3
- aws_cdk/aws_synthetics/__init__.py +29 -4
- aws_cdk/aws_transfer/__init__.py +8 -0
- aws_cdk/aws_vpclattice/__init__.py +147 -77
- aws_cdk/aws_wafv2/__init__.py +20 -8
- aws_cdk/aws_wisdom/__init__.py +162 -111
- aws_cdk/aws_workspaces/__init__.py +10 -4
- aws_cdk/cloud_assembly_schema/__init__.py +22 -0
- aws_cdk/custom_resources/__init__.py +31 -0
- aws_cdk/cx_api/__init__.py +19 -0
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/LICENSE +1 -1
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/NOTICE +1 -1
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/RECORD +88 -86
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.173.3.dist-info → aws_cdk_lib-2.174.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -1650,6 +1650,9 @@ class CfnGlobalTable(
|
|
|
1650
1650
|
projection_type="projectionType"
|
|
1651
1651
|
)
|
|
1652
1652
|
)],
|
|
1653
|
+
point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
|
|
1654
|
+
point_in_time_recovery_enabled=False
|
|
1655
|
+
),
|
|
1653
1656
|
sse_specification=dynamodb.CfnGlobalTable.SSESpecificationProperty(
|
|
1654
1657
|
sse_enabled=False,
|
|
1655
1658
|
|
|
@@ -1704,6 +1707,7 @@ class CfnGlobalTable(
|
|
|
1704
1707
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
1705
1708
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.GlobalSecondaryIndexProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1706
1709
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.LocalSecondaryIndexProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1710
|
+
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.PointInTimeRecoverySpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1707
1711
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.SSESpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1708
1712
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.StreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1709
1713
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -1721,6 +1725,7 @@ class CfnGlobalTable(
|
|
|
1721
1725
|
:param billing_mode: Specifies how you are charged for read and write throughput and how you manage capacity. Valid values are:. - ``PAY_PER_REQUEST`` - ``PROVISIONED`` All replicas in your global table will have the same billing mode. If you use ``PROVISIONED`` billing mode, you must provide an auto scaling configuration via the ``WriteProvisionedThroughputSettings`` property. The default value of this property is ``PROVISIONED`` .
|
|
1722
1726
|
:param global_secondary_indexes: Global secondary indexes to be created on the global table. You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation. Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.
|
|
1723
1727
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings.
|
|
1728
|
+
:param point_in_time_recovery_specification: Represents the settings used to enable point in time recovery.
|
|
1724
1729
|
:param sse_specification: Specifies the settings to enable server-side encryption. These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the ``ReplicaSpecification.ReplicaSSESpecification`` property.
|
|
1725
1730
|
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
|
|
1726
1731
|
:param table_name: A name for the global table. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID as the table name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
@@ -1740,6 +1745,7 @@ class CfnGlobalTable(
|
|
|
1740
1745
|
billing_mode=billing_mode,
|
|
1741
1746
|
global_secondary_indexes=global_secondary_indexes,
|
|
1742
1747
|
local_secondary_indexes=local_secondary_indexes,
|
|
1748
|
+
point_in_time_recovery_specification=point_in_time_recovery_specification,
|
|
1743
1749
|
sse_specification=sse_specification,
|
|
1744
1750
|
stream_specification=stream_specification,
|
|
1745
1751
|
table_name=table_name,
|
|
@@ -1927,6 +1933,24 @@ class CfnGlobalTable(
|
|
|
1927
1933
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1928
1934
|
jsii.set(self, "localSecondaryIndexes", value) # pyright: ignore[reportArgumentType]
|
|
1929
1935
|
|
|
1936
|
+
@builtins.property
|
|
1937
|
+
@jsii.member(jsii_name="pointInTimeRecoverySpecification")
|
|
1938
|
+
def point_in_time_recovery_specification(
|
|
1939
|
+
self,
|
|
1940
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.PointInTimeRecoverySpecificationProperty"]]:
|
|
1941
|
+
'''Represents the settings used to enable point in time recovery.'''
|
|
1942
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.PointInTimeRecoverySpecificationProperty"]], jsii.get(self, "pointInTimeRecoverySpecification"))
|
|
1943
|
+
|
|
1944
|
+
@point_in_time_recovery_specification.setter
|
|
1945
|
+
def point_in_time_recovery_specification(
|
|
1946
|
+
self,
|
|
1947
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.PointInTimeRecoverySpecificationProperty"]],
|
|
1948
|
+
) -> None:
|
|
1949
|
+
if __debug__:
|
|
1950
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce174d40588e3699a523c7229ed4159e4ded0f8e8ad10aabd0f4a0d42cb64a7b)
|
|
1951
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1952
|
+
jsii.set(self, "pointInTimeRecoverySpecification", value) # pyright: ignore[reportArgumentType]
|
|
1953
|
+
|
|
1930
1954
|
@builtins.property
|
|
1931
1955
|
@jsii.member(jsii_name="sseSpecification")
|
|
1932
1956
|
def sse_specification(
|
|
@@ -4304,6 +4328,7 @@ class CfnGlobalTable(
|
|
|
4304
4328
|
"billing_mode": "billingMode",
|
|
4305
4329
|
"global_secondary_indexes": "globalSecondaryIndexes",
|
|
4306
4330
|
"local_secondary_indexes": "localSecondaryIndexes",
|
|
4331
|
+
"point_in_time_recovery_specification": "pointInTimeRecoverySpecification",
|
|
4307
4332
|
"sse_specification": "sseSpecification",
|
|
4308
4333
|
"stream_specification": "streamSpecification",
|
|
4309
4334
|
"table_name": "tableName",
|
|
@@ -4323,6 +4348,7 @@ class CfnGlobalTableProps:
|
|
|
4323
4348
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
4324
4349
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4325
4350
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4351
|
+
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4326
4352
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4327
4353
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4328
4354
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -4339,6 +4365,7 @@ class CfnGlobalTableProps:
|
|
|
4339
4365
|
:param billing_mode: Specifies how you are charged for read and write throughput and how you manage capacity. Valid values are:. - ``PAY_PER_REQUEST`` - ``PROVISIONED`` All replicas in your global table will have the same billing mode. If you use ``PROVISIONED`` billing mode, you must provide an auto scaling configuration via the ``WriteProvisionedThroughputSettings`` property. The default value of this property is ``PROVISIONED`` .
|
|
4340
4366
|
:param global_secondary_indexes: Global secondary indexes to be created on the global table. You can create up to 20 global secondary indexes. Each replica in your global table will have the same global secondary index settings. You can only create or delete one global secondary index in a single stack operation. Since the backfilling of an index could take a long time, CloudFormation does not wait for the index to become active. If a stack operation rolls back, CloudFormation might not delete an index that has been added. In that case, you will need to delete the index manually.
|
|
4341
4367
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings.
|
|
4368
|
+
:param point_in_time_recovery_specification: Represents the settings used to enable point in time recovery.
|
|
4342
4369
|
:param sse_specification: Specifies the settings to enable server-side encryption. These settings will be applied to all replicas. If you plan to use customer-managed KMS keys, you must provide a key for each replica using the ``ReplicaSpecification.ReplicaSSESpecification`` property.
|
|
4343
4370
|
:param stream_specification: Specifies the streams settings on your global table. You must provide a value for this property if your global table contains more than one replica. You can only change the streams settings if your global table has only one replica.
|
|
4344
4371
|
:param table_name: A name for the global table. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID as the table name. For more information, see `Name type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . .. epigraph:: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
@@ -4502,6 +4529,9 @@ class CfnGlobalTableProps:
|
|
|
4502
4529
|
projection_type="projectionType"
|
|
4503
4530
|
)
|
|
4504
4531
|
)],
|
|
4532
|
+
point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
|
|
4533
|
+
point_in_time_recovery_enabled=False
|
|
4534
|
+
),
|
|
4505
4535
|
sse_specification=dynamodb.CfnGlobalTable.SSESpecificationProperty(
|
|
4506
4536
|
sse_enabled=False,
|
|
4507
4537
|
|
|
@@ -4552,6 +4582,7 @@ class CfnGlobalTableProps:
|
|
|
4552
4582
|
check_type(argname="argument billing_mode", value=billing_mode, expected_type=type_hints["billing_mode"])
|
|
4553
4583
|
check_type(argname="argument global_secondary_indexes", value=global_secondary_indexes, expected_type=type_hints["global_secondary_indexes"])
|
|
4554
4584
|
check_type(argname="argument local_secondary_indexes", value=local_secondary_indexes, expected_type=type_hints["local_secondary_indexes"])
|
|
4585
|
+
check_type(argname="argument point_in_time_recovery_specification", value=point_in_time_recovery_specification, expected_type=type_hints["point_in_time_recovery_specification"])
|
|
4555
4586
|
check_type(argname="argument sse_specification", value=sse_specification, expected_type=type_hints["sse_specification"])
|
|
4556
4587
|
check_type(argname="argument stream_specification", value=stream_specification, expected_type=type_hints["stream_specification"])
|
|
4557
4588
|
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
@@ -4570,6 +4601,8 @@ class CfnGlobalTableProps:
|
|
|
4570
4601
|
self._values["global_secondary_indexes"] = global_secondary_indexes
|
|
4571
4602
|
if local_secondary_indexes is not None:
|
|
4572
4603
|
self._values["local_secondary_indexes"] = local_secondary_indexes
|
|
4604
|
+
if point_in_time_recovery_specification is not None:
|
|
4605
|
+
self._values["point_in_time_recovery_specification"] = point_in_time_recovery_specification
|
|
4573
4606
|
if sse_specification is not None:
|
|
4574
4607
|
self._values["sse_specification"] = sse_specification
|
|
4575
4608
|
if stream_specification is not None:
|
|
@@ -4674,6 +4707,17 @@ class CfnGlobalTableProps:
|
|
|
4674
4707
|
result = self._values.get("local_secondary_indexes")
|
|
4675
4708
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.LocalSecondaryIndexProperty]]]], result)
|
|
4676
4709
|
|
|
4710
|
+
@builtins.property
|
|
4711
|
+
def point_in_time_recovery_specification(
|
|
4712
|
+
self,
|
|
4713
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.PointInTimeRecoverySpecificationProperty]]:
|
|
4714
|
+
'''Represents the settings used to enable point in time recovery.
|
|
4715
|
+
|
|
4716
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-pointintimerecoveryspecification
|
|
4717
|
+
'''
|
|
4718
|
+
result = self._values.get("point_in_time_recovery_specification")
|
|
4719
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.PointInTimeRecoverySpecificationProperty]], result)
|
|
4720
|
+
|
|
4677
4721
|
@builtins.property
|
|
4678
4722
|
def sse_specification(
|
|
4679
4723
|
self,
|
|
@@ -4891,7 +4935,8 @@ class CfnTable(
|
|
|
4891
4935
|
max_write_request_units=123
|
|
4892
4936
|
),
|
|
4893
4937
|
point_in_time_recovery_specification=dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty(
|
|
4894
|
-
point_in_time_recovery_enabled=False
|
|
4938
|
+
point_in_time_recovery_enabled=False,
|
|
4939
|
+
recovery_period_in_days=123
|
|
4895
4940
|
),
|
|
4896
4941
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
4897
4942
|
read_capacity_units=123,
|
|
@@ -6375,17 +6420,22 @@ class CfnTable(
|
|
|
6375
6420
|
@jsii.data_type(
|
|
6376
6421
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty",
|
|
6377
6422
|
jsii_struct_bases=[],
|
|
6378
|
-
name_mapping={
|
|
6423
|
+
name_mapping={
|
|
6424
|
+
"point_in_time_recovery_enabled": "pointInTimeRecoveryEnabled",
|
|
6425
|
+
"recovery_period_in_days": "recoveryPeriodInDays",
|
|
6426
|
+
},
|
|
6379
6427
|
)
|
|
6380
6428
|
class PointInTimeRecoverySpecificationProperty:
|
|
6381
6429
|
def __init__(
|
|
6382
6430
|
self,
|
|
6383
6431
|
*,
|
|
6384
6432
|
point_in_time_recovery_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6433
|
+
recovery_period_in_days: typing.Optional[jsii.Number] = None,
|
|
6385
6434
|
) -> None:
|
|
6386
6435
|
'''The settings used to enable point in time recovery.
|
|
6387
6436
|
|
|
6388
6437
|
:param point_in_time_recovery_enabled: Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.
|
|
6438
|
+
:param recovery_period_in_days:
|
|
6389
6439
|
|
|
6390
6440
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-pointintimerecoveryspecification.html
|
|
6391
6441
|
:exampleMetadata: fixture=_generated
|
|
@@ -6397,15 +6447,19 @@ class CfnTable(
|
|
|
6397
6447
|
from aws_cdk import aws_dynamodb as dynamodb
|
|
6398
6448
|
|
|
6399
6449
|
point_in_time_recovery_specification_property = dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty(
|
|
6400
|
-
point_in_time_recovery_enabled=False
|
|
6450
|
+
point_in_time_recovery_enabled=False,
|
|
6451
|
+
recovery_period_in_days=123
|
|
6401
6452
|
)
|
|
6402
6453
|
'''
|
|
6403
6454
|
if __debug__:
|
|
6404
6455
|
type_hints = typing.get_type_hints(_typecheckingstub__8f4487b11f07e01ff872dc1405e046ab6c6bc7141706d606b21b57dcbd2f74eb)
|
|
6405
6456
|
check_type(argname="argument point_in_time_recovery_enabled", value=point_in_time_recovery_enabled, expected_type=type_hints["point_in_time_recovery_enabled"])
|
|
6457
|
+
check_type(argname="argument recovery_period_in_days", value=recovery_period_in_days, expected_type=type_hints["recovery_period_in_days"])
|
|
6406
6458
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6407
6459
|
if point_in_time_recovery_enabled is not None:
|
|
6408
6460
|
self._values["point_in_time_recovery_enabled"] = point_in_time_recovery_enabled
|
|
6461
|
+
if recovery_period_in_days is not None:
|
|
6462
|
+
self._values["recovery_period_in_days"] = recovery_period_in_days
|
|
6409
6463
|
|
|
6410
6464
|
@builtins.property
|
|
6411
6465
|
def point_in_time_recovery_enabled(
|
|
@@ -6418,6 +6472,14 @@ class CfnTable(
|
|
|
6418
6472
|
result = self._values.get("point_in_time_recovery_enabled")
|
|
6419
6473
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
6420
6474
|
|
|
6475
|
+
@builtins.property
|
|
6476
|
+
def recovery_period_in_days(self) -> typing.Optional[jsii.Number]:
|
|
6477
|
+
'''
|
|
6478
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-pointintimerecoveryspecification.html#cfn-dynamodb-table-pointintimerecoveryspecification-recoveryperiodindays
|
|
6479
|
+
'''
|
|
6480
|
+
result = self._values.get("recovery_period_in_days")
|
|
6481
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
6482
|
+
|
|
6421
6483
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6422
6484
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6423
6485
|
|
|
@@ -7277,7 +7339,8 @@ class CfnTableProps:
|
|
|
7277
7339
|
max_write_request_units=123
|
|
7278
7340
|
),
|
|
7279
7341
|
point_in_time_recovery_specification=dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty(
|
|
7280
|
-
point_in_time_recovery_enabled=False
|
|
7342
|
+
point_in_time_recovery_enabled=False,
|
|
7343
|
+
recovery_period_in_days=123
|
|
7281
7344
|
),
|
|
7282
7345
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
7283
7346
|
read_capacity_units=123,
|
|
@@ -15572,6 +15635,7 @@ def _typecheckingstub__751414def1994180982879a700bdaa6afcf528def91a672904946db1b
|
|
|
15572
15635
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
15573
15636
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15574
15637
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15638
|
+
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15575
15639
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15576
15640
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15577
15641
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -15631,6 +15695,12 @@ def _typecheckingstub__a0b3191b7117186bc41f62e22fff4e4f50d0835a5f174dde9b2b8188c
|
|
|
15631
15695
|
"""Type checking stubs"""
|
|
15632
15696
|
pass
|
|
15633
15697
|
|
|
15698
|
+
def _typecheckingstub__ce174d40588e3699a523c7229ed4159e4ded0f8e8ad10aabd0f4a0d42cb64a7b(
|
|
15699
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.PointInTimeRecoverySpecificationProperty]],
|
|
15700
|
+
) -> None:
|
|
15701
|
+
"""Type checking stubs"""
|
|
15702
|
+
pass
|
|
15703
|
+
|
|
15634
15704
|
def _typecheckingstub__ccb739aac1de1ded207a80b782298c972ccf113dd96de224fea60f9ce1b43833(
|
|
15635
15705
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.SSESpecificationProperty]],
|
|
15636
15706
|
) -> None:
|
|
@@ -15878,6 +15948,7 @@ def _typecheckingstub__ca0383ad91536c26961e85e52a3e6a3d2d74db3c4d430cbbe3d9f42e2
|
|
|
15878
15948
|
billing_mode: typing.Optional[builtins.str] = None,
|
|
15879
15949
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.GlobalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15880
15950
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
15951
|
+
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15881
15952
|
sse_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.SSESpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15882
15953
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15883
15954
|
table_name: typing.Optional[builtins.str] = None,
|
|
@@ -16138,6 +16209,7 @@ def _typecheckingstub__57fa9b9c0a1959797987b8f7dde13da703eb6da6e9a1d7c412f4b26d8
|
|
|
16138
16209
|
def _typecheckingstub__8f4487b11f07e01ff872dc1405e046ab6c6bc7141706d606b21b57dcbd2f74eb(
|
|
16139
16210
|
*,
|
|
16140
16211
|
point_in_time_recovery_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
16212
|
+
recovery_period_in_days: typing.Optional[jsii.Number] = None,
|
|
16141
16213
|
) -> None:
|
|
16142
16214
|
"""Type checking stubs"""
|
|
16143
16215
|
pass
|