aws-cdk-lib 2.139.1__py3-none-any.whl → 2.141.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.139.1.jsii.tgz → aws-cdk-lib@2.141.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +70 -56
- aws_cdk/aws_apigateway/__init__.py +126 -53
- aws_cdk/aws_applicationautoscaling/__init__.py +1 -4
- aws_cdk/aws_arczonalshift/__init__.py +49 -44
- aws_cdk/aws_bedrock/__init__.py +2829 -147
- aws_cdk/aws_cloudfront/__init__.py +51 -9
- aws_cdk/aws_cloudtrail/__init__.py +13 -4
- aws_cdk/aws_codecommit/__init__.py +72 -46
- aws_cdk/aws_connectcampaigns/__init__.py +34 -4
- aws_cdk/aws_datasync/__init__.py +96 -75
- aws_cdk/aws_dms/__init__.py +0 -269
- aws_cdk/aws_dynamodb/__init__.py +410 -0
- aws_cdk/aws_ec2/__init__.py +239 -84
- aws_cdk/aws_ecr/__init__.py +32 -7
- aws_cdk/aws_ecs/__init__.py +2 -4
- aws_cdk/aws_efs/__init__.py +16 -2
- aws_cdk/aws_eks/__init__.py +57 -0
- aws_cdk/aws_entityresolution/__init__.py +6 -2
- aws_cdk/aws_events/__init__.py +115 -0
- aws_cdk/aws_events_targets/__init__.py +15 -0
- aws_cdk/aws_fis/__init__.py +2 -1
- aws_cdk/aws_fms/__init__.py +7 -7
- aws_cdk/aws_gamelift/__init__.py +1984 -107
- aws_cdk/aws_globalaccelerator/__init__.py +20 -16
- aws_cdk/aws_iam/__init__.py +2 -2
- aws_cdk/aws_ivs/__init__.py +1 -3
- aws_cdk/aws_kinesis/__init__.py +21 -0
- aws_cdk/aws_kinesisvideo/__init__.py +6 -4
- aws_cdk/aws_kms/__init__.py +33 -6
- aws_cdk/aws_lambda/__init__.py +0 -9
- aws_cdk/aws_location/__init__.py +8 -4
- aws_cdk/aws_medialive/__init__.py +444 -3
- aws_cdk/aws_oam/__init__.py +45 -11
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_paymentcryptography/__init__.py +1155 -0
- aws_cdk/aws_personalize/__init__.py +8 -2
- aws_cdk/aws_pinpoint/__init__.py +7 -5
- aws_cdk/aws_qbusiness/__init__.py +5583 -0
- aws_cdk/aws_quicksight/__init__.py +10063 -1450
- aws_cdk/aws_rds/__init__.py +77 -5
- aws_cdk/aws_redshiftserverless/__init__.py +13 -9
- aws_cdk/aws_route53/__init__.py +350 -0
- aws_cdk/aws_route53profiles/__init__.py +1048 -0
- aws_cdk/aws_s3/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +30 -30
- aws_cdk/aws_ses/__init__.py +9 -9
- aws_cdk/aws_transfer/__init__.py +102 -37
- aws_cdk/aws_voiceid/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +92 -6
- aws_cdk/custom_resources/__init__.py +23 -2
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/RECORD +60 -57
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.139.1.dist-info → aws_cdk_lib-2.141.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -1401,6 +1401,9 @@ class CfnGlobalTable(
|
|
|
1401
1401
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
1402
1402
|
enabled=False
|
|
1403
1403
|
),
|
|
1404
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
1405
|
+
max_read_request_units=123
|
|
1406
|
+
),
|
|
1404
1407
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
1405
1408
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
1406
1409
|
max_capacity=123,
|
|
@@ -1429,6 +1432,9 @@ class CfnGlobalTable(
|
|
|
1429
1432
|
point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
|
|
1430
1433
|
point_in_time_recovery_enabled=False
|
|
1431
1434
|
),
|
|
1435
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
1436
|
+
max_read_request_units=123
|
|
1437
|
+
),
|
|
1432
1438
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
1433
1439
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
1434
1440
|
max_capacity=123,
|
|
@@ -1479,6 +1485,9 @@ class CfnGlobalTable(
|
|
|
1479
1485
|
),
|
|
1480
1486
|
|
|
1481
1487
|
# the properties below are optional
|
|
1488
|
+
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
1489
|
+
max_write_request_units=123
|
|
1490
|
+
),
|
|
1482
1491
|
write_provisioned_throughput_settings=dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty(
|
|
1483
1492
|
write_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
1484
1493
|
max_capacity=123,
|
|
@@ -1524,6 +1533,9 @@ class CfnGlobalTable(
|
|
|
1524
1533
|
# the properties below are optional
|
|
1525
1534
|
attribute_name="attributeName"
|
|
1526
1535
|
),
|
|
1536
|
+
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
1537
|
+
max_write_request_units=123
|
|
1538
|
+
),
|
|
1527
1539
|
write_provisioned_throughput_settings=dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty(
|
|
1528
1540
|
write_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
1529
1541
|
max_capacity=123,
|
|
@@ -1559,6 +1571,7 @@ class CfnGlobalTable(
|
|
|
1559
1571
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.StreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1560
1572
|
table_name: typing.Optional[builtins.str] = None,
|
|
1561
1573
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.TimeToLiveSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1574
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1562
1575
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1563
1576
|
) -> None:
|
|
1564
1577
|
'''
|
|
@@ -1574,6 +1587,7 @@ class CfnGlobalTable(
|
|
|
1574
1587
|
: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.
|
|
1575
1588
|
: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.
|
|
1576
1589
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
1590
|
+
:param write_on_demand_throughput_settings:
|
|
1577
1591
|
:param write_provisioned_throughput_settings: Specifies an auto scaling policy for write capacity. This policy will be applied to all replicas. This setting must be specified if ``BillingMode`` is set to ``PROVISIONED`` .
|
|
1578
1592
|
'''
|
|
1579
1593
|
if __debug__:
|
|
@@ -1591,6 +1605,7 @@ class CfnGlobalTable(
|
|
|
1591
1605
|
stream_specification=stream_specification,
|
|
1592
1606
|
table_name=table_name,
|
|
1593
1607
|
time_to_live_specification=time_to_live_specification,
|
|
1608
|
+
write_on_demand_throughput_settings=write_on_demand_throughput_settings,
|
|
1594
1609
|
write_provisioned_throughput_settings=write_provisioned_throughput_settings,
|
|
1595
1610
|
)
|
|
1596
1611
|
|
|
@@ -1839,6 +1854,23 @@ class CfnGlobalTable(
|
|
|
1839
1854
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1840
1855
|
jsii.set(self, "timeToLiveSpecification", value)
|
|
1841
1856
|
|
|
1857
|
+
@builtins.property
|
|
1858
|
+
@jsii.member(jsii_name="writeOnDemandThroughputSettings")
|
|
1859
|
+
def write_on_demand_throughput_settings(
|
|
1860
|
+
self,
|
|
1861
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]]:
|
|
1862
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]], jsii.get(self, "writeOnDemandThroughputSettings"))
|
|
1863
|
+
|
|
1864
|
+
@write_on_demand_throughput_settings.setter
|
|
1865
|
+
def write_on_demand_throughput_settings(
|
|
1866
|
+
self,
|
|
1867
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]],
|
|
1868
|
+
) -> None:
|
|
1869
|
+
if __debug__:
|
|
1870
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e9e1941bc70970aa12bf29b98d00fed94dd701aea1acb0d4280e0f96ab3ca8bc)
|
|
1871
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1872
|
+
jsii.set(self, "writeOnDemandThroughputSettings", value)
|
|
1873
|
+
|
|
1842
1874
|
@builtins.property
|
|
1843
1875
|
@jsii.member(jsii_name="writeProvisionedThroughputSettings")
|
|
1844
1876
|
def write_provisioned_throughput_settings(
|
|
@@ -2121,6 +2153,7 @@ class CfnGlobalTable(
|
|
|
2121
2153
|
"index_name": "indexName",
|
|
2122
2154
|
"key_schema": "keySchema",
|
|
2123
2155
|
"projection": "projection",
|
|
2156
|
+
"write_on_demand_throughput_settings": "writeOnDemandThroughputSettings",
|
|
2124
2157
|
"write_provisioned_throughput_settings": "writeProvisionedThroughputSettings",
|
|
2125
2158
|
},
|
|
2126
2159
|
)
|
|
@@ -2131,6 +2164,7 @@ class CfnGlobalTable(
|
|
|
2131
2164
|
index_name: builtins.str,
|
|
2132
2165
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.KeySchemaProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2133
2166
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ProjectionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2167
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2134
2168
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2135
2169
|
) -> None:
|
|
2136
2170
|
'''Allows you to specify a global secondary index for the global table.
|
|
@@ -2140,6 +2174,7 @@ class CfnGlobalTable(
|
|
|
2140
2174
|
:param index_name: The name of the global secondary index. The name must be unique among all other indexes on this table.
|
|
2141
2175
|
:param key_schema: The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: - ``HASH`` - partition key - ``RANGE`` - sort key > The partition key of an item is also known as its *hash attribute* . The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. .. epigraph:: The sort key of an item is also known as its *range attribute* . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
|
|
2142
2176
|
:param projection: Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
|
|
2177
|
+
:param write_on_demand_throughput_settings:
|
|
2143
2178
|
:param write_provisioned_throughput_settings: Defines write capacity settings for the global secondary index. You must specify a value for this property if the table's ``BillingMode`` is ``PROVISIONED`` . All replicas will have the same write capacity settings for this global secondary index.
|
|
2144
2179
|
|
|
2145
2180
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html
|
|
@@ -2163,6 +2198,9 @@ class CfnGlobalTable(
|
|
|
2163
2198
|
),
|
|
2164
2199
|
|
|
2165
2200
|
# the properties below are optional
|
|
2201
|
+
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
2202
|
+
max_write_request_units=123
|
|
2203
|
+
),
|
|
2166
2204
|
write_provisioned_throughput_settings=dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty(
|
|
2167
2205
|
write_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
2168
2206
|
max_capacity=123,
|
|
@@ -2187,12 +2225,15 @@ class CfnGlobalTable(
|
|
|
2187
2225
|
check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
|
|
2188
2226
|
check_type(argname="argument key_schema", value=key_schema, expected_type=type_hints["key_schema"])
|
|
2189
2227
|
check_type(argname="argument projection", value=projection, expected_type=type_hints["projection"])
|
|
2228
|
+
check_type(argname="argument write_on_demand_throughput_settings", value=write_on_demand_throughput_settings, expected_type=type_hints["write_on_demand_throughput_settings"])
|
|
2190
2229
|
check_type(argname="argument write_provisioned_throughput_settings", value=write_provisioned_throughput_settings, expected_type=type_hints["write_provisioned_throughput_settings"])
|
|
2191
2230
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2192
2231
|
"index_name": index_name,
|
|
2193
2232
|
"key_schema": key_schema,
|
|
2194
2233
|
"projection": projection,
|
|
2195
2234
|
}
|
|
2235
|
+
if write_on_demand_throughput_settings is not None:
|
|
2236
|
+
self._values["write_on_demand_throughput_settings"] = write_on_demand_throughput_settings
|
|
2196
2237
|
if write_provisioned_throughput_settings is not None:
|
|
2197
2238
|
self._values["write_provisioned_throughput_settings"] = write_provisioned_throughput_settings
|
|
2198
2239
|
|
|
@@ -2239,6 +2280,16 @@ class CfnGlobalTable(
|
|
|
2239
2280
|
assert result is not None, "Required property 'projection' is missing"
|
|
2240
2281
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ProjectionProperty"], result)
|
|
2241
2282
|
|
|
2283
|
+
@builtins.property
|
|
2284
|
+
def write_on_demand_throughput_settings(
|
|
2285
|
+
self,
|
|
2286
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]]:
|
|
2287
|
+
'''
|
|
2288
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-writeondemandthroughputsettings
|
|
2289
|
+
'''
|
|
2290
|
+
result = self._values.get("write_on_demand_throughput_settings")
|
|
2291
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]], result)
|
|
2292
|
+
|
|
2242
2293
|
@builtins.property
|
|
2243
2294
|
def write_provisioned_throughput_settings(
|
|
2244
2295
|
self,
|
|
@@ -2678,6 +2729,59 @@ class CfnGlobalTable(
|
|
|
2678
2729
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2679
2730
|
)
|
|
2680
2731
|
|
|
2732
|
+
@jsii.data_type(
|
|
2733
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty",
|
|
2734
|
+
jsii_struct_bases=[],
|
|
2735
|
+
name_mapping={"max_read_request_units": "maxReadRequestUnits"},
|
|
2736
|
+
)
|
|
2737
|
+
class ReadOnDemandThroughputSettingsProperty:
|
|
2738
|
+
def __init__(
|
|
2739
|
+
self,
|
|
2740
|
+
*,
|
|
2741
|
+
max_read_request_units: typing.Optional[jsii.Number] = None,
|
|
2742
|
+
) -> None:
|
|
2743
|
+
'''
|
|
2744
|
+
:param max_read_request_units:
|
|
2745
|
+
|
|
2746
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html
|
|
2747
|
+
:exampleMetadata: fixture=_generated
|
|
2748
|
+
|
|
2749
|
+
Example::
|
|
2750
|
+
|
|
2751
|
+
# The code below shows an example of how to instantiate this type.
|
|
2752
|
+
# The values are placeholders you should change.
|
|
2753
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
2754
|
+
|
|
2755
|
+
read_on_demand_throughput_settings_property = dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
2756
|
+
max_read_request_units=123
|
|
2757
|
+
)
|
|
2758
|
+
'''
|
|
2759
|
+
if __debug__:
|
|
2760
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0fd14c9cf2e3c45eb388ee769c75710497a5d90721d232825a5cf8f3e9f4a225)
|
|
2761
|
+
check_type(argname="argument max_read_request_units", value=max_read_request_units, expected_type=type_hints["max_read_request_units"])
|
|
2762
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2763
|
+
if max_read_request_units is not None:
|
|
2764
|
+
self._values["max_read_request_units"] = max_read_request_units
|
|
2765
|
+
|
|
2766
|
+
@builtins.property
|
|
2767
|
+
def max_read_request_units(self) -> typing.Optional[jsii.Number]:
|
|
2768
|
+
'''
|
|
2769
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-readondemandthroughputsettings.html#cfn-dynamodb-globaltable-readondemandthroughputsettings-maxreadrequestunits
|
|
2770
|
+
'''
|
|
2771
|
+
result = self._values.get("max_read_request_units")
|
|
2772
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2773
|
+
|
|
2774
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2775
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2776
|
+
|
|
2777
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2778
|
+
return not (rhs == self)
|
|
2779
|
+
|
|
2780
|
+
def __repr__(self) -> str:
|
|
2781
|
+
return "ReadOnDemandThroughputSettingsProperty(%s)" % ", ".join(
|
|
2782
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2783
|
+
)
|
|
2784
|
+
|
|
2681
2785
|
@jsii.data_type(
|
|
2682
2786
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty",
|
|
2683
2787
|
jsii_struct_bases=[],
|
|
@@ -2775,6 +2879,7 @@ class CfnGlobalTable(
|
|
|
2775
2879
|
name_mapping={
|
|
2776
2880
|
"index_name": "indexName",
|
|
2777
2881
|
"contributor_insights_specification": "contributorInsightsSpecification",
|
|
2882
|
+
"read_on_demand_throughput_settings": "readOnDemandThroughputSettings",
|
|
2778
2883
|
"read_provisioned_throughput_settings": "readProvisionedThroughputSettings",
|
|
2779
2884
|
},
|
|
2780
2885
|
)
|
|
@@ -2784,12 +2889,14 @@ class CfnGlobalTable(
|
|
|
2784
2889
|
*,
|
|
2785
2890
|
index_name: builtins.str,
|
|
2786
2891
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ContributorInsightsSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2892
|
+
read_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReadOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2787
2893
|
read_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReadProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2788
2894
|
) -> None:
|
|
2789
2895
|
'''Represents the properties of a global secondary index that can be set on a per-replica basis.
|
|
2790
2896
|
|
|
2791
2897
|
:param index_name: The name of the global secondary index. The name must be unique among all other indexes on this table.
|
|
2792
2898
|
:param contributor_insights_specification: Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table.
|
|
2899
|
+
:param read_on_demand_throughput_settings:
|
|
2793
2900
|
:param read_provisioned_throughput_settings: Allows you to specify the read capacity settings for a replica global secondary index when the ``BillingMode`` is set to ``PROVISIONED`` .
|
|
2794
2901
|
|
|
2795
2902
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html
|
|
@@ -2808,6 +2915,9 @@ class CfnGlobalTable(
|
|
|
2808
2915
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
2809
2916
|
enabled=False
|
|
2810
2917
|
),
|
|
2918
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
2919
|
+
max_read_request_units=123
|
|
2920
|
+
),
|
|
2811
2921
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
2812
2922
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
2813
2923
|
max_capacity=123,
|
|
@@ -2832,12 +2942,15 @@ class CfnGlobalTable(
|
|
|
2832
2942
|
type_hints = typing.get_type_hints(_typecheckingstub__49303cfe760c4878a1d5ead21be42a0bc2eebc2849956fff8adf78f55a49ab0d)
|
|
2833
2943
|
check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
|
|
2834
2944
|
check_type(argname="argument contributor_insights_specification", value=contributor_insights_specification, expected_type=type_hints["contributor_insights_specification"])
|
|
2945
|
+
check_type(argname="argument read_on_demand_throughput_settings", value=read_on_demand_throughput_settings, expected_type=type_hints["read_on_demand_throughput_settings"])
|
|
2835
2946
|
check_type(argname="argument read_provisioned_throughput_settings", value=read_provisioned_throughput_settings, expected_type=type_hints["read_provisioned_throughput_settings"])
|
|
2836
2947
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2837
2948
|
"index_name": index_name,
|
|
2838
2949
|
}
|
|
2839
2950
|
if contributor_insights_specification is not None:
|
|
2840
2951
|
self._values["contributor_insights_specification"] = contributor_insights_specification
|
|
2952
|
+
if read_on_demand_throughput_settings is not None:
|
|
2953
|
+
self._values["read_on_demand_throughput_settings"] = read_on_demand_throughput_settings
|
|
2841
2954
|
if read_provisioned_throughput_settings is not None:
|
|
2842
2955
|
self._values["read_provisioned_throughput_settings"] = read_provisioned_throughput_settings
|
|
2843
2956
|
|
|
@@ -2866,6 +2979,16 @@ class CfnGlobalTable(
|
|
|
2866
2979
|
result = self._values.get("contributor_insights_specification")
|
|
2867
2980
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ContributorInsightsSpecificationProperty"]], result)
|
|
2868
2981
|
|
|
2982
|
+
@builtins.property
|
|
2983
|
+
def read_on_demand_throughput_settings(
|
|
2984
|
+
self,
|
|
2985
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ReadOnDemandThroughputSettingsProperty"]]:
|
|
2986
|
+
'''
|
|
2987
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readondemandthroughputsettings
|
|
2988
|
+
'''
|
|
2989
|
+
result = self._values.get("read_on_demand_throughput_settings")
|
|
2990
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ReadOnDemandThroughputSettingsProperty"]], result)
|
|
2991
|
+
|
|
2869
2992
|
@builtins.property
|
|
2870
2993
|
def read_provisioned_throughput_settings(
|
|
2871
2994
|
self,
|
|
@@ -2954,6 +3077,7 @@ class CfnGlobalTable(
|
|
|
2954
3077
|
"global_secondary_indexes": "globalSecondaryIndexes",
|
|
2955
3078
|
"kinesis_stream_specification": "kinesisStreamSpecification",
|
|
2956
3079
|
"point_in_time_recovery_specification": "pointInTimeRecoverySpecification",
|
|
3080
|
+
"read_on_demand_throughput_settings": "readOnDemandThroughputSettings",
|
|
2957
3081
|
"read_provisioned_throughput_settings": "readProvisionedThroughputSettings",
|
|
2958
3082
|
"replica_stream_specification": "replicaStreamSpecification",
|
|
2959
3083
|
"resource_policy": "resourcePolicy",
|
|
@@ -2972,6 +3096,7 @@ class CfnGlobalTable(
|
|
|
2972
3096
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2973
3097
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.KinesisStreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2974
3098
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.PointInTimeRecoverySpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3099
|
+
read_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReadOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2975
3100
|
read_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReadProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2976
3101
|
replica_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ReplicaStreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2977
3102
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ResourcePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -2987,6 +3112,7 @@ class CfnGlobalTable(
|
|
|
2987
3112
|
:param global_secondary_indexes: Defines additional settings for the global secondary indexes of this replica.
|
|
2988
3113
|
:param kinesis_stream_specification: Defines the Kinesis Data Streams configuration for the specified replica.
|
|
2989
3114
|
:param point_in_time_recovery_specification: The settings used to enable point in time recovery. When not specified, defaults to point in time recovery disabled for the replica.
|
|
3115
|
+
:param read_on_demand_throughput_settings:
|
|
2990
3116
|
:param read_provisioned_throughput_settings: Defines read capacity settings for the replica table.
|
|
2991
3117
|
:param replica_stream_specification: Represents the DynamoDB Streams configuration for a global table replica.
|
|
2992
3118
|
:param resource_policy: A resource-based policy document that contains permissions to add to the specified replica of a DynamoDB global table. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see `Using resource-based policies for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html>`_ and `Resource-based policy examples <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html>`_ .
|
|
@@ -3020,6 +3146,9 @@ class CfnGlobalTable(
|
|
|
3020
3146
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
3021
3147
|
enabled=False
|
|
3022
3148
|
),
|
|
3149
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
3150
|
+
max_read_request_units=123
|
|
3151
|
+
),
|
|
3023
3152
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
3024
3153
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
3025
3154
|
max_capacity=123,
|
|
@@ -3048,6 +3177,9 @@ class CfnGlobalTable(
|
|
|
3048
3177
|
point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
|
|
3049
3178
|
point_in_time_recovery_enabled=False
|
|
3050
3179
|
),
|
|
3180
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
3181
|
+
max_read_request_units=123
|
|
3182
|
+
),
|
|
3051
3183
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
3052
3184
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
3053
3185
|
max_capacity=123,
|
|
@@ -3092,6 +3224,7 @@ class CfnGlobalTable(
|
|
|
3092
3224
|
check_type(argname="argument global_secondary_indexes", value=global_secondary_indexes, expected_type=type_hints["global_secondary_indexes"])
|
|
3093
3225
|
check_type(argname="argument kinesis_stream_specification", value=kinesis_stream_specification, expected_type=type_hints["kinesis_stream_specification"])
|
|
3094
3226
|
check_type(argname="argument point_in_time_recovery_specification", value=point_in_time_recovery_specification, expected_type=type_hints["point_in_time_recovery_specification"])
|
|
3227
|
+
check_type(argname="argument read_on_demand_throughput_settings", value=read_on_demand_throughput_settings, expected_type=type_hints["read_on_demand_throughput_settings"])
|
|
3095
3228
|
check_type(argname="argument read_provisioned_throughput_settings", value=read_provisioned_throughput_settings, expected_type=type_hints["read_provisioned_throughput_settings"])
|
|
3096
3229
|
check_type(argname="argument replica_stream_specification", value=replica_stream_specification, expected_type=type_hints["replica_stream_specification"])
|
|
3097
3230
|
check_type(argname="argument resource_policy", value=resource_policy, expected_type=type_hints["resource_policy"])
|
|
@@ -3111,6 +3244,8 @@ class CfnGlobalTable(
|
|
|
3111
3244
|
self._values["kinesis_stream_specification"] = kinesis_stream_specification
|
|
3112
3245
|
if point_in_time_recovery_specification is not None:
|
|
3113
3246
|
self._values["point_in_time_recovery_specification"] = point_in_time_recovery_specification
|
|
3247
|
+
if read_on_demand_throughput_settings is not None:
|
|
3248
|
+
self._values["read_on_demand_throughput_settings"] = read_on_demand_throughput_settings
|
|
3114
3249
|
if read_provisioned_throughput_settings is not None:
|
|
3115
3250
|
self._values["read_provisioned_throughput_settings"] = read_provisioned_throughput_settings
|
|
3116
3251
|
if replica_stream_specification is not None:
|
|
@@ -3195,6 +3330,16 @@ class CfnGlobalTable(
|
|
|
3195
3330
|
result = self._values.get("point_in_time_recovery_specification")
|
|
3196
3331
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.PointInTimeRecoverySpecificationProperty"]], result)
|
|
3197
3332
|
|
|
3333
|
+
@builtins.property
|
|
3334
|
+
def read_on_demand_throughput_settings(
|
|
3335
|
+
self,
|
|
3336
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ReadOnDemandThroughputSettingsProperty"]]:
|
|
3337
|
+
'''
|
|
3338
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaspecification.html#cfn-dynamodb-globaltable-replicaspecification-readondemandthroughputsettings
|
|
3339
|
+
'''
|
|
3340
|
+
result = self._values.get("read_on_demand_throughput_settings")
|
|
3341
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ReadOnDemandThroughputSettingsProperty"]], result)
|
|
3342
|
+
|
|
3198
3343
|
@builtins.property
|
|
3199
3344
|
def read_provisioned_throughput_settings(
|
|
3200
3345
|
self,
|
|
@@ -3748,6 +3893,59 @@ class CfnGlobalTable(
|
|
|
3748
3893
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3749
3894
|
)
|
|
3750
3895
|
|
|
3896
|
+
@jsii.data_type(
|
|
3897
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty",
|
|
3898
|
+
jsii_struct_bases=[],
|
|
3899
|
+
name_mapping={"max_write_request_units": "maxWriteRequestUnits"},
|
|
3900
|
+
)
|
|
3901
|
+
class WriteOnDemandThroughputSettingsProperty:
|
|
3902
|
+
def __init__(
|
|
3903
|
+
self,
|
|
3904
|
+
*,
|
|
3905
|
+
max_write_request_units: typing.Optional[jsii.Number] = None,
|
|
3906
|
+
) -> None:
|
|
3907
|
+
'''
|
|
3908
|
+
:param max_write_request_units:
|
|
3909
|
+
|
|
3910
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html
|
|
3911
|
+
:exampleMetadata: fixture=_generated
|
|
3912
|
+
|
|
3913
|
+
Example::
|
|
3914
|
+
|
|
3915
|
+
# The code below shows an example of how to instantiate this type.
|
|
3916
|
+
# The values are placeholders you should change.
|
|
3917
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
3918
|
+
|
|
3919
|
+
write_on_demand_throughput_settings_property = dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
3920
|
+
max_write_request_units=123
|
|
3921
|
+
)
|
|
3922
|
+
'''
|
|
3923
|
+
if __debug__:
|
|
3924
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a74a3ac973b7df1320fab048c78a8197faf1684042be3f88a34a74adb99870fc)
|
|
3925
|
+
check_type(argname="argument max_write_request_units", value=max_write_request_units, expected_type=type_hints["max_write_request_units"])
|
|
3926
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3927
|
+
if max_write_request_units is not None:
|
|
3928
|
+
self._values["max_write_request_units"] = max_write_request_units
|
|
3929
|
+
|
|
3930
|
+
@builtins.property
|
|
3931
|
+
def max_write_request_units(self) -> typing.Optional[jsii.Number]:
|
|
3932
|
+
'''
|
|
3933
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-writeondemandthroughputsettings.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings-maxwriterequestunits
|
|
3934
|
+
'''
|
|
3935
|
+
result = self._values.get("max_write_request_units")
|
|
3936
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
3937
|
+
|
|
3938
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3939
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3940
|
+
|
|
3941
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
3942
|
+
return not (rhs == self)
|
|
3943
|
+
|
|
3944
|
+
def __repr__(self) -> str:
|
|
3945
|
+
return "WriteOnDemandThroughputSettingsProperty(%s)" % ", ".join(
|
|
3946
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
3947
|
+
)
|
|
3948
|
+
|
|
3751
3949
|
@jsii.data_type(
|
|
3752
3950
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty",
|
|
3753
3951
|
jsii_struct_bases=[],
|
|
@@ -3838,6 +4036,7 @@ class CfnGlobalTable(
|
|
|
3838
4036
|
"stream_specification": "streamSpecification",
|
|
3839
4037
|
"table_name": "tableName",
|
|
3840
4038
|
"time_to_live_specification": "timeToLiveSpecification",
|
|
4039
|
+
"write_on_demand_throughput_settings": "writeOnDemandThroughputSettings",
|
|
3841
4040
|
"write_provisioned_throughput_settings": "writeProvisionedThroughputSettings",
|
|
3842
4041
|
},
|
|
3843
4042
|
)
|
|
@@ -3855,6 +4054,7 @@ class CfnGlobalTableProps:
|
|
|
3855
4054
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3856
4055
|
table_name: typing.Optional[builtins.str] = None,
|
|
3857
4056
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4057
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3858
4058
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3859
4059
|
) -> None:
|
|
3860
4060
|
'''Properties for defining a ``CfnGlobalTable``.
|
|
@@ -3869,6 +4069,7 @@ class CfnGlobalTableProps:
|
|
|
3869
4069
|
: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.
|
|
3870
4070
|
: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.
|
|
3871
4071
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
4072
|
+
:param write_on_demand_throughput_settings:
|
|
3872
4073
|
:param write_provisioned_throughput_settings: Specifies an auto scaling policy for write capacity. This policy will be applied to all replicas. This setting must be specified if ``BillingMode`` is set to ``PROVISIONED`` .
|
|
3873
4074
|
|
|
3874
4075
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html
|
|
@@ -3906,6 +4107,9 @@ class CfnGlobalTableProps:
|
|
|
3906
4107
|
contributor_insights_specification=dynamodb.CfnGlobalTable.ContributorInsightsSpecificationProperty(
|
|
3907
4108
|
enabled=False
|
|
3908
4109
|
),
|
|
4110
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
4111
|
+
max_read_request_units=123
|
|
4112
|
+
),
|
|
3909
4113
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
3910
4114
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
3911
4115
|
max_capacity=123,
|
|
@@ -3934,6 +4138,9 @@ class CfnGlobalTableProps:
|
|
|
3934
4138
|
point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
|
|
3935
4139
|
point_in_time_recovery_enabled=False
|
|
3936
4140
|
),
|
|
4141
|
+
read_on_demand_throughput_settings=dynamodb.CfnGlobalTable.ReadOnDemandThroughputSettingsProperty(
|
|
4142
|
+
max_read_request_units=123
|
|
4143
|
+
),
|
|
3937
4144
|
read_provisioned_throughput_settings=dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty(
|
|
3938
4145
|
read_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
3939
4146
|
max_capacity=123,
|
|
@@ -3984,6 +4191,9 @@ class CfnGlobalTableProps:
|
|
|
3984
4191
|
),
|
|
3985
4192
|
|
|
3986
4193
|
# the properties below are optional
|
|
4194
|
+
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
4195
|
+
max_write_request_units=123
|
|
4196
|
+
),
|
|
3987
4197
|
write_provisioned_throughput_settings=dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty(
|
|
3988
4198
|
write_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
3989
4199
|
max_capacity=123,
|
|
@@ -4029,6 +4239,9 @@ class CfnGlobalTableProps:
|
|
|
4029
4239
|
# the properties below are optional
|
|
4030
4240
|
attribute_name="attributeName"
|
|
4031
4241
|
),
|
|
4242
|
+
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
4243
|
+
max_write_request_units=123
|
|
4244
|
+
),
|
|
4032
4245
|
write_provisioned_throughput_settings=dynamodb.CfnGlobalTable.WriteProvisionedThroughputSettingsProperty(
|
|
4033
4246
|
write_capacity_auto_scaling_settings=dynamodb.CfnGlobalTable.CapacityAutoScalingSettingsProperty(
|
|
4034
4247
|
max_capacity=123,
|
|
@@ -4060,6 +4273,7 @@ class CfnGlobalTableProps:
|
|
|
4060
4273
|
check_type(argname="argument stream_specification", value=stream_specification, expected_type=type_hints["stream_specification"])
|
|
4061
4274
|
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
4062
4275
|
check_type(argname="argument time_to_live_specification", value=time_to_live_specification, expected_type=type_hints["time_to_live_specification"])
|
|
4276
|
+
check_type(argname="argument write_on_demand_throughput_settings", value=write_on_demand_throughput_settings, expected_type=type_hints["write_on_demand_throughput_settings"])
|
|
4063
4277
|
check_type(argname="argument write_provisioned_throughput_settings", value=write_provisioned_throughput_settings, expected_type=type_hints["write_provisioned_throughput_settings"])
|
|
4064
4278
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4065
4279
|
"attribute_definitions": attribute_definitions,
|
|
@@ -4080,6 +4294,8 @@ class CfnGlobalTableProps:
|
|
|
4080
4294
|
self._values["table_name"] = table_name
|
|
4081
4295
|
if time_to_live_specification is not None:
|
|
4082
4296
|
self._values["time_to_live_specification"] = time_to_live_specification
|
|
4297
|
+
if write_on_demand_throughput_settings is not None:
|
|
4298
|
+
self._values["write_on_demand_throughput_settings"] = write_on_demand_throughput_settings
|
|
4083
4299
|
if write_provisioned_throughput_settings is not None:
|
|
4084
4300
|
self._values["write_provisioned_throughput_settings"] = write_provisioned_throughput_settings
|
|
4085
4301
|
|
|
@@ -4225,6 +4441,16 @@ class CfnGlobalTableProps:
|
|
|
4225
4441
|
result = self._values.get("time_to_live_specification")
|
|
4226
4442
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.TimeToLiveSpecificationProperty]], result)
|
|
4227
4443
|
|
|
4444
|
+
@builtins.property
|
|
4445
|
+
def write_on_demand_throughput_settings(
|
|
4446
|
+
self,
|
|
4447
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteOnDemandThroughputSettingsProperty]]:
|
|
4448
|
+
'''
|
|
4449
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings
|
|
4450
|
+
'''
|
|
4451
|
+
result = self._values.get("write_on_demand_throughput_settings")
|
|
4452
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteOnDemandThroughputSettingsProperty]], result)
|
|
4453
|
+
|
|
4228
4454
|
@builtins.property
|
|
4229
4455
|
def write_provisioned_throughput_settings(
|
|
4230
4456
|
self,
|
|
@@ -4309,6 +4535,10 @@ class CfnTable(
|
|
|
4309
4535
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
4310
4536
|
enabled=False
|
|
4311
4537
|
),
|
|
4538
|
+
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
4539
|
+
max_read_request_units=123,
|
|
4540
|
+
max_write_request_units=123
|
|
4541
|
+
),
|
|
4312
4542
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
4313
4543
|
read_capacity_units=123,
|
|
4314
4544
|
write_capacity_units=123
|
|
@@ -4350,6 +4580,10 @@ class CfnTable(
|
|
|
4350
4580
|
projection_type="projectionType"
|
|
4351
4581
|
)
|
|
4352
4582
|
)],
|
|
4583
|
+
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
4584
|
+
max_read_request_units=123,
|
|
4585
|
+
max_write_request_units=123
|
|
4586
|
+
),
|
|
4353
4587
|
point_in_time_recovery_specification=dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty(
|
|
4354
4588
|
point_in_time_recovery_enabled=False
|
|
4355
4589
|
),
|
|
@@ -4404,6 +4638,7 @@ class CfnTable(
|
|
|
4404
4638
|
import_source_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ImportSourceSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4405
4639
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.KinesisStreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4406
4640
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.LocalSecondaryIndexProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
4641
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.OnDemandThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4407
4642
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.PointInTimeRecoverySpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4408
4643
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ProvisionedThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4409
4644
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ResourcePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -4426,6 +4661,7 @@ class CfnTable(
|
|
|
4426
4661
|
:param import_source_specification: Specifies the properties of data being imported from the S3 bucket source to the table. .. epigraph:: If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification`` , the ``TableClass`` property, or the ``DeletionProtectionEnabled`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
|
|
4427
4662
|
:param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
|
|
4428
4663
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to 5 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.
|
|
4664
|
+
:param on_demand_throughput:
|
|
4429
4665
|
:param point_in_time_recovery_specification: The settings used to enable point in time recovery.
|
|
4430
4666
|
:param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
|
|
4431
4667
|
:param resource_policy: A resource-based policy document that contains permissions to add to the specified table. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see `Using resource-based policies for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html>`_ and `Resource-based policy examples <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html>`_ . When you attach a resource-based policy while creating a table, the policy creation is *strongly consistent* . For information about the considerations that you should keep in mind while attaching a resource-based policy, see `Resource-based policy considerations <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html>`_ .
|
|
@@ -4450,6 +4686,7 @@ class CfnTable(
|
|
|
4450
4686
|
import_source_specification=import_source_specification,
|
|
4451
4687
|
kinesis_stream_specification=kinesis_stream_specification,
|
|
4452
4688
|
local_secondary_indexes=local_secondary_indexes,
|
|
4689
|
+
on_demand_throughput=on_demand_throughput,
|
|
4453
4690
|
point_in_time_recovery_specification=point_in_time_recovery_specification,
|
|
4454
4691
|
provisioned_throughput=provisioned_throughput,
|
|
4455
4692
|
resource_policy=resource_policy,
|
|
@@ -4686,6 +4923,23 @@ class CfnTable(
|
|
|
4686
4923
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4687
4924
|
jsii.set(self, "localSecondaryIndexes", value)
|
|
4688
4925
|
|
|
4926
|
+
@builtins.property
|
|
4927
|
+
@jsii.member(jsii_name="onDemandThroughput")
|
|
4928
|
+
def on_demand_throughput(
|
|
4929
|
+
self,
|
|
4930
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OnDemandThroughputProperty"]]:
|
|
4931
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OnDemandThroughputProperty"]], jsii.get(self, "onDemandThroughput"))
|
|
4932
|
+
|
|
4933
|
+
@on_demand_throughput.setter
|
|
4934
|
+
def on_demand_throughput(
|
|
4935
|
+
self,
|
|
4936
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OnDemandThroughputProperty"]],
|
|
4937
|
+
) -> None:
|
|
4938
|
+
if __debug__:
|
|
4939
|
+
type_hints = typing.get_type_hints(_typecheckingstub__510f5c7d4293f98a55434a588a20db69cf20ac7b409105b7335eb2699ba8c570)
|
|
4940
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4941
|
+
jsii.set(self, "onDemandThroughput", value)
|
|
4942
|
+
|
|
4689
4943
|
@builtins.property
|
|
4690
4944
|
@jsii.member(jsii_name="pointInTimeRecoverySpecification")
|
|
4691
4945
|
def point_in_time_recovery_specification(
|
|
@@ -5049,6 +5303,7 @@ class CfnTable(
|
|
|
5049
5303
|
"key_schema": "keySchema",
|
|
5050
5304
|
"projection": "projection",
|
|
5051
5305
|
"contributor_insights_specification": "contributorInsightsSpecification",
|
|
5306
|
+
"on_demand_throughput": "onDemandThroughput",
|
|
5052
5307
|
"provisioned_throughput": "provisionedThroughput",
|
|
5053
5308
|
},
|
|
5054
5309
|
)
|
|
@@ -5060,6 +5315,7 @@ class CfnTable(
|
|
|
5060
5315
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.KeySchemaProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
5061
5316
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ProjectionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
5062
5317
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ContributorInsightsSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5318
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.OnDemandThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5063
5319
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ProvisionedThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5064
5320
|
) -> None:
|
|
5065
5321
|
'''Represents the properties of a global secondary index.
|
|
@@ -5068,6 +5324,7 @@ class CfnTable(
|
|
|
5068
5324
|
:param key_schema: The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: - ``HASH`` - partition key - ``RANGE`` - sort key > The partition key of an item is also known as its *hash attribute* . The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. .. epigraph:: The sort key of an item is also known as its *range attribute* . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
|
|
5069
5325
|
:param projection: Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
|
|
5070
5326
|
:param contributor_insights_specification: The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.
|
|
5327
|
+
:param on_demand_throughput:
|
|
5071
5328
|
:param provisioned_throughput: Represents the provisioned throughput settings for the specified global secondary index. For current minimum and maximum provisioned throughput values, see `Service, Account, and Table Quotas <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html>`_ in the *Amazon DynamoDB Developer Guide* .
|
|
5072
5329
|
|
|
5073
5330
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html
|
|
@@ -5094,6 +5351,10 @@ class CfnTable(
|
|
|
5094
5351
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
5095
5352
|
enabled=False
|
|
5096
5353
|
),
|
|
5354
|
+
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
5355
|
+
max_read_request_units=123,
|
|
5356
|
+
max_write_request_units=123
|
|
5357
|
+
),
|
|
5097
5358
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
5098
5359
|
read_capacity_units=123,
|
|
5099
5360
|
write_capacity_units=123
|
|
@@ -5106,6 +5367,7 @@ class CfnTable(
|
|
|
5106
5367
|
check_type(argname="argument key_schema", value=key_schema, expected_type=type_hints["key_schema"])
|
|
5107
5368
|
check_type(argname="argument projection", value=projection, expected_type=type_hints["projection"])
|
|
5108
5369
|
check_type(argname="argument contributor_insights_specification", value=contributor_insights_specification, expected_type=type_hints["contributor_insights_specification"])
|
|
5370
|
+
check_type(argname="argument on_demand_throughput", value=on_demand_throughput, expected_type=type_hints["on_demand_throughput"])
|
|
5109
5371
|
check_type(argname="argument provisioned_throughput", value=provisioned_throughput, expected_type=type_hints["provisioned_throughput"])
|
|
5110
5372
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5111
5373
|
"index_name": index_name,
|
|
@@ -5114,6 +5376,8 @@ class CfnTable(
|
|
|
5114
5376
|
}
|
|
5115
5377
|
if contributor_insights_specification is not None:
|
|
5116
5378
|
self._values["contributor_insights_specification"] = contributor_insights_specification
|
|
5379
|
+
if on_demand_throughput is not None:
|
|
5380
|
+
self._values["on_demand_throughput"] = on_demand_throughput
|
|
5117
5381
|
if provisioned_throughput is not None:
|
|
5118
5382
|
self._values["provisioned_throughput"] = provisioned_throughput
|
|
5119
5383
|
|
|
@@ -5171,6 +5435,16 @@ class CfnTable(
|
|
|
5171
5435
|
result = self._values.get("contributor_insights_specification")
|
|
5172
5436
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ContributorInsightsSpecificationProperty"]], result)
|
|
5173
5437
|
|
|
5438
|
+
@builtins.property
|
|
5439
|
+
def on_demand_throughput(
|
|
5440
|
+
self,
|
|
5441
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OnDemandThroughputProperty"]]:
|
|
5442
|
+
'''
|
|
5443
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html#cfn-dynamodb-table-globalsecondaryindex-ondemandthroughput
|
|
5444
|
+
'''
|
|
5445
|
+
result = self._values.get("on_demand_throughput")
|
|
5446
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.OnDemandThroughputProperty"]], result)
|
|
5447
|
+
|
|
5174
5448
|
@builtins.property
|
|
5175
5449
|
def provisioned_throughput(
|
|
5176
5450
|
self,
|
|
@@ -5661,6 +5935,76 @@ class CfnTable(
|
|
|
5661
5935
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5662
5936
|
)
|
|
5663
5937
|
|
|
5938
|
+
@jsii.data_type(
|
|
5939
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.OnDemandThroughputProperty",
|
|
5940
|
+
jsii_struct_bases=[],
|
|
5941
|
+
name_mapping={
|
|
5942
|
+
"max_read_request_units": "maxReadRequestUnits",
|
|
5943
|
+
"max_write_request_units": "maxWriteRequestUnits",
|
|
5944
|
+
},
|
|
5945
|
+
)
|
|
5946
|
+
class OnDemandThroughputProperty:
|
|
5947
|
+
def __init__(
|
|
5948
|
+
self,
|
|
5949
|
+
*,
|
|
5950
|
+
max_read_request_units: typing.Optional[jsii.Number] = None,
|
|
5951
|
+
max_write_request_units: typing.Optional[jsii.Number] = None,
|
|
5952
|
+
) -> None:
|
|
5953
|
+
'''
|
|
5954
|
+
:param max_read_request_units:
|
|
5955
|
+
:param max_write_request_units:
|
|
5956
|
+
|
|
5957
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html
|
|
5958
|
+
:exampleMetadata: fixture=_generated
|
|
5959
|
+
|
|
5960
|
+
Example::
|
|
5961
|
+
|
|
5962
|
+
# The code below shows an example of how to instantiate this type.
|
|
5963
|
+
# The values are placeholders you should change.
|
|
5964
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
5965
|
+
|
|
5966
|
+
on_demand_throughput_property = dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
5967
|
+
max_read_request_units=123,
|
|
5968
|
+
max_write_request_units=123
|
|
5969
|
+
)
|
|
5970
|
+
'''
|
|
5971
|
+
if __debug__:
|
|
5972
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57fa9b9c0a1959797987b8f7dde13da703eb6da6e9a1d7c412f4b26d868eaf48)
|
|
5973
|
+
check_type(argname="argument max_read_request_units", value=max_read_request_units, expected_type=type_hints["max_read_request_units"])
|
|
5974
|
+
check_type(argname="argument max_write_request_units", value=max_write_request_units, expected_type=type_hints["max_write_request_units"])
|
|
5975
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5976
|
+
if max_read_request_units is not None:
|
|
5977
|
+
self._values["max_read_request_units"] = max_read_request_units
|
|
5978
|
+
if max_write_request_units is not None:
|
|
5979
|
+
self._values["max_write_request_units"] = max_write_request_units
|
|
5980
|
+
|
|
5981
|
+
@builtins.property
|
|
5982
|
+
def max_read_request_units(self) -> typing.Optional[jsii.Number]:
|
|
5983
|
+
'''
|
|
5984
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxreadrequestunits
|
|
5985
|
+
'''
|
|
5986
|
+
result = self._values.get("max_read_request_units")
|
|
5987
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5988
|
+
|
|
5989
|
+
@builtins.property
|
|
5990
|
+
def max_write_request_units(self) -> typing.Optional[jsii.Number]:
|
|
5991
|
+
'''
|
|
5992
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-ondemandthroughput.html#cfn-dynamodb-table-ondemandthroughput-maxwriterequestunits
|
|
5993
|
+
'''
|
|
5994
|
+
result = self._values.get("max_write_request_units")
|
|
5995
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
5996
|
+
|
|
5997
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5998
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5999
|
+
|
|
6000
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
6001
|
+
return not (rhs == self)
|
|
6002
|
+
|
|
6003
|
+
def __repr__(self) -> str:
|
|
6004
|
+
return "OnDemandThroughputProperty(%s)" % ", ".join(
|
|
6005
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
6006
|
+
)
|
|
6007
|
+
|
|
5664
6008
|
@jsii.data_type(
|
|
5665
6009
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty",
|
|
5666
6010
|
jsii_struct_bases=[],
|
|
@@ -6334,6 +6678,7 @@ class CfnTable(
|
|
|
6334
6678
|
"import_source_specification": "importSourceSpecification",
|
|
6335
6679
|
"kinesis_stream_specification": "kinesisStreamSpecification",
|
|
6336
6680
|
"local_secondary_indexes": "localSecondaryIndexes",
|
|
6681
|
+
"on_demand_throughput": "onDemandThroughput",
|
|
6337
6682
|
"point_in_time_recovery_specification": "pointInTimeRecoverySpecification",
|
|
6338
6683
|
"provisioned_throughput": "provisionedThroughput",
|
|
6339
6684
|
"resource_policy": "resourcePolicy",
|
|
@@ -6358,6 +6703,7 @@ class CfnTableProps:
|
|
|
6358
6703
|
import_source_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ImportSourceSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6359
6704
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.KinesisStreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6360
6705
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
6706
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OnDemandThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6361
6707
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6362
6708
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProvisionedThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6363
6709
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -6379,6 +6725,7 @@ class CfnTableProps:
|
|
|
6379
6725
|
:param import_source_specification: Specifies the properties of data being imported from the S3 bucket source to the table. .. epigraph:: If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification`` , the ``TableClass`` property, or the ``DeletionProtectionEnabled`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
|
|
6380
6726
|
:param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
|
|
6381
6727
|
:param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to 5 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.
|
|
6728
|
+
:param on_demand_throughput:
|
|
6382
6729
|
:param point_in_time_recovery_specification: The settings used to enable point in time recovery.
|
|
6383
6730
|
:param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
|
|
6384
6731
|
:param resource_policy: A resource-based policy document that contains permissions to add to the specified table. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see `Using resource-based policies for DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html>`_ and `Resource-based policy examples <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html>`_ . When you attach a resource-based policy while creating a table, the policy creation is *strongly consistent* . For information about the considerations that you should keep in mind while attaching a resource-based policy, see `Resource-based policy considerations <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html>`_ .
|
|
@@ -6431,6 +6778,10 @@ class CfnTableProps:
|
|
|
6431
6778
|
contributor_insights_specification=dynamodb.CfnTable.ContributorInsightsSpecificationProperty(
|
|
6432
6779
|
enabled=False
|
|
6433
6780
|
),
|
|
6781
|
+
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
6782
|
+
max_read_request_units=123,
|
|
6783
|
+
max_write_request_units=123
|
|
6784
|
+
),
|
|
6434
6785
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
6435
6786
|
read_capacity_units=123,
|
|
6436
6787
|
write_capacity_units=123
|
|
@@ -6472,6 +6823,10 @@ class CfnTableProps:
|
|
|
6472
6823
|
projection_type="projectionType"
|
|
6473
6824
|
)
|
|
6474
6825
|
)],
|
|
6826
|
+
on_demand_throughput=dynamodb.CfnTable.OnDemandThroughputProperty(
|
|
6827
|
+
max_read_request_units=123,
|
|
6828
|
+
max_write_request_units=123
|
|
6829
|
+
),
|
|
6475
6830
|
point_in_time_recovery_specification=dynamodb.CfnTable.PointInTimeRecoverySpecificationProperty(
|
|
6476
6831
|
point_in_time_recovery_enabled=False
|
|
6477
6832
|
),
|
|
@@ -6522,6 +6877,7 @@ class CfnTableProps:
|
|
|
6522
6877
|
check_type(argname="argument import_source_specification", value=import_source_specification, expected_type=type_hints["import_source_specification"])
|
|
6523
6878
|
check_type(argname="argument kinesis_stream_specification", value=kinesis_stream_specification, expected_type=type_hints["kinesis_stream_specification"])
|
|
6524
6879
|
check_type(argname="argument local_secondary_indexes", value=local_secondary_indexes, expected_type=type_hints["local_secondary_indexes"])
|
|
6880
|
+
check_type(argname="argument on_demand_throughput", value=on_demand_throughput, expected_type=type_hints["on_demand_throughput"])
|
|
6525
6881
|
check_type(argname="argument point_in_time_recovery_specification", value=point_in_time_recovery_specification, expected_type=type_hints["point_in_time_recovery_specification"])
|
|
6526
6882
|
check_type(argname="argument provisioned_throughput", value=provisioned_throughput, expected_type=type_hints["provisioned_throughput"])
|
|
6527
6883
|
check_type(argname="argument resource_policy", value=resource_policy, expected_type=type_hints["resource_policy"])
|
|
@@ -6550,6 +6906,8 @@ class CfnTableProps:
|
|
|
6550
6906
|
self._values["kinesis_stream_specification"] = kinesis_stream_specification
|
|
6551
6907
|
if local_secondary_indexes is not None:
|
|
6552
6908
|
self._values["local_secondary_indexes"] = local_secondary_indexes
|
|
6909
|
+
if on_demand_throughput is not None:
|
|
6910
|
+
self._values["on_demand_throughput"] = on_demand_throughput
|
|
6553
6911
|
if point_in_time_recovery_specification is not None:
|
|
6554
6912
|
self._values["point_in_time_recovery_specification"] = point_in_time_recovery_specification
|
|
6555
6913
|
if provisioned_throughput is not None:
|
|
@@ -6699,6 +7057,16 @@ class CfnTableProps:
|
|
|
6699
7057
|
result = self._values.get("local_secondary_indexes")
|
|
6700
7058
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnTable.LocalSecondaryIndexProperty]]]], result)
|
|
6701
7059
|
|
|
7060
|
+
@builtins.property
|
|
7061
|
+
def on_demand_throughput(
|
|
7062
|
+
self,
|
|
7063
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OnDemandThroughputProperty]]:
|
|
7064
|
+
'''
|
|
7065
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-ondemandthroughput
|
|
7066
|
+
'''
|
|
7067
|
+
result = self._values.get("on_demand_throughput")
|
|
7068
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OnDemandThroughputProperty]], result)
|
|
7069
|
+
|
|
6702
7070
|
@builtins.property
|
|
6703
7071
|
def point_in_time_recovery_specification(
|
|
6704
7072
|
self,
|
|
@@ -14012,6 +14380,7 @@ def _typecheckingstub__751414def1994180982879a700bdaa6afcf528def91a672904946db1b
|
|
|
14012
14380
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14013
14381
|
table_name: typing.Optional[builtins.str] = None,
|
|
14014
14382
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14383
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14015
14384
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14016
14385
|
) -> None:
|
|
14017
14386
|
"""Type checking stubs"""
|
|
@@ -14089,6 +14458,12 @@ def _typecheckingstub__0b2a71693eba1f1adfbaa4a2d1968a10f7e914f3714a169453fb5831d
|
|
|
14089
14458
|
"""Type checking stubs"""
|
|
14090
14459
|
pass
|
|
14091
14460
|
|
|
14461
|
+
def _typecheckingstub__e9e1941bc70970aa12bf29b98d00fed94dd701aea1acb0d4280e0f96ab3ca8bc(
|
|
14462
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteOnDemandThroughputSettingsProperty]],
|
|
14463
|
+
) -> None:
|
|
14464
|
+
"""Type checking stubs"""
|
|
14465
|
+
pass
|
|
14466
|
+
|
|
14092
14467
|
def _typecheckingstub__575a6fcd8e2e451f04b5c40c3e6da53aad798e3089f98afaa25d709c7d291a10(
|
|
14093
14468
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteProvisionedThroughputSettingsProperty]],
|
|
14094
14469
|
) -> None:
|
|
@@ -14125,6 +14500,7 @@ def _typecheckingstub__e4c0e93a19b9176fd628b4a4e5a1bb2ecabf4d1960e7d8fd138a1ecf0
|
|
|
14125
14500
|
index_name: builtins.str,
|
|
14126
14501
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.KeySchemaProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
14127
14502
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ProjectionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
14503
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14128
14504
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14129
14505
|
) -> None:
|
|
14130
14506
|
"""Type checking stubs"""
|
|
@@ -14170,6 +14546,13 @@ def _typecheckingstub__4c0de1c2636b4a9d86fe25eb5edc6065c41b4822ca849d93b7d9dd461
|
|
|
14170
14546
|
"""Type checking stubs"""
|
|
14171
14547
|
pass
|
|
14172
14548
|
|
|
14549
|
+
def _typecheckingstub__0fd14c9cf2e3c45eb388ee769c75710497a5d90721d232825a5cf8f3e9f4a225(
|
|
14550
|
+
*,
|
|
14551
|
+
max_read_request_units: typing.Optional[jsii.Number] = None,
|
|
14552
|
+
) -> None:
|
|
14553
|
+
"""Type checking stubs"""
|
|
14554
|
+
pass
|
|
14555
|
+
|
|
14173
14556
|
def _typecheckingstub__b95856807eaa8352f280e9d6233fd175afe80fcaffeb2aa7ece368e85c369db9(
|
|
14174
14557
|
*,
|
|
14175
14558
|
read_capacity_auto_scaling_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.CapacityAutoScalingSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14182,6 +14565,7 @@ def _typecheckingstub__49303cfe760c4878a1d5ead21be42a0bc2eebc2849956fff8adf78f55
|
|
|
14182
14565
|
*,
|
|
14183
14566
|
index_name: builtins.str,
|
|
14184
14567
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ContributorInsightsSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14568
|
+
read_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReadOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14185
14569
|
read_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReadProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14186
14570
|
) -> None:
|
|
14187
14571
|
"""Type checking stubs"""
|
|
@@ -14202,6 +14586,7 @@ def _typecheckingstub__912e2bc047b1f65121a39316718e5632909682a5243ef8e21ead42e3e
|
|
|
14202
14586
|
global_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14203
14587
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.KinesisStreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14204
14588
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14589
|
+
read_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReadOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14205
14590
|
read_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReadProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14206
14591
|
replica_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ReplicaStreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14207
14592
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14259,6 +14644,13 @@ def _typecheckingstub__dcf0cf3bffc007a79dfc055873ae7915dea668a00f7752d51c421f918
|
|
|
14259
14644
|
"""Type checking stubs"""
|
|
14260
14645
|
pass
|
|
14261
14646
|
|
|
14647
|
+
def _typecheckingstub__a74a3ac973b7df1320fab048c78a8197faf1684042be3f88a34a74adb99870fc(
|
|
14648
|
+
*,
|
|
14649
|
+
max_write_request_units: typing.Optional[jsii.Number] = None,
|
|
14650
|
+
) -> None:
|
|
14651
|
+
"""Type checking stubs"""
|
|
14652
|
+
pass
|
|
14653
|
+
|
|
14262
14654
|
def _typecheckingstub__18a3302042e66f614ad3ddfe94bd456ac404316f80809965b0a7980371a56484(
|
|
14263
14655
|
*,
|
|
14264
14656
|
write_capacity_auto_scaling_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.CapacityAutoScalingSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14278,6 +14670,7 @@ def _typecheckingstub__ca0383ad91536c26961e85e52a3e6a3d2d74db3c4d430cbbe3d9f42e2
|
|
|
14278
14670
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14279
14671
|
table_name: typing.Optional[builtins.str] = None,
|
|
14280
14672
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14673
|
+
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14281
14674
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14282
14675
|
) -> None:
|
|
14283
14676
|
"""Type checking stubs"""
|
|
@@ -14296,6 +14689,7 @@ def _typecheckingstub__9c4a83992df200bfde2ccfe129994eeacab105432a2509473861feb73
|
|
|
14296
14689
|
import_source_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ImportSourceSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14297
14690
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.KinesisStreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14298
14691
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14692
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OnDemandThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14299
14693
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14300
14694
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProvisionedThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14301
14695
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -14375,6 +14769,12 @@ def _typecheckingstub__45185c524451628b623abf4663f9427843c4d4a709a2cf82b14f8d2b3
|
|
|
14375
14769
|
"""Type checking stubs"""
|
|
14376
14770
|
pass
|
|
14377
14771
|
|
|
14772
|
+
def _typecheckingstub__510f5c7d4293f98a55434a588a20db69cf20ac7b409105b7335eb2699ba8c570(
|
|
14773
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.OnDemandThroughputProperty]],
|
|
14774
|
+
) -> None:
|
|
14775
|
+
"""Type checking stubs"""
|
|
14776
|
+
pass
|
|
14777
|
+
|
|
14378
14778
|
def _typecheckingstub__06f7cca9d14af75b709b53e94a6fb51bba6dfa0cb31a23e0b70f506be9551e8d(
|
|
14379
14779
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.PointInTimeRecoverySpecificationProperty]],
|
|
14380
14780
|
) -> None:
|
|
@@ -14458,6 +14858,7 @@ def _typecheckingstub__112c1b7034b42e59580b7feba43dc401f21ec329ca66e8612a1b056b0
|
|
|
14458
14858
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.KeySchemaProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
14459
14859
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProjectionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
14460
14860
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ContributorInsightsSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14861
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OnDemandThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14461
14862
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProvisionedThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14462
14863
|
) -> None:
|
|
14463
14864
|
"""Type checking stubs"""
|
|
@@ -14505,6 +14906,14 @@ def _typecheckingstub__b0b88333ee681d4ae2ca57b460a2cb522a3c2318088078bf3d60236c2
|
|
|
14505
14906
|
"""Type checking stubs"""
|
|
14506
14907
|
pass
|
|
14507
14908
|
|
|
14909
|
+
def _typecheckingstub__57fa9b9c0a1959797987b8f7dde13da703eb6da6e9a1d7c412f4b26d868eaf48(
|
|
14910
|
+
*,
|
|
14911
|
+
max_read_request_units: typing.Optional[jsii.Number] = None,
|
|
14912
|
+
max_write_request_units: typing.Optional[jsii.Number] = None,
|
|
14913
|
+
) -> None:
|
|
14914
|
+
"""Type checking stubs"""
|
|
14915
|
+
pass
|
|
14916
|
+
|
|
14508
14917
|
def _typecheckingstub__8f4487b11f07e01ff872dc1405e046ab6c6bc7141706d606b21b57dcbd2f74eb(
|
|
14509
14918
|
*,
|
|
14510
14919
|
point_in_time_recovery_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
@@ -14580,6 +14989,7 @@ def _typecheckingstub__0b7f8e29621d526383ce725f2daafbe00b52cfe2381995edac86b72a6
|
|
|
14580
14989
|
import_source_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ImportSourceSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14581
14990
|
kinesis_stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.KinesisStreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14582
14991
|
local_secondary_indexes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.LocalSecondaryIndexProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
14992
|
+
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OnDemandThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14583
14993
|
point_in_time_recovery_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.PointInTimeRecoverySpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14584
14994
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProvisionedThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14585
14995
|
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|