aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 +2083 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
- aws_cdk/aws_applicationinsights/__init__.py +41 -0
- aws_cdk/aws_applicationsignals/__init__.py +124 -0
- aws_cdk/aws_autoscaling/__init__.py +743 -7
- aws_cdk/aws_batch/__init__.py +202 -5
- aws_cdk/aws_bedrock/__init__.py +12 -12
- aws_cdk/aws_cleanrooms/__init__.py +17 -8
- aws_cdk/aws_cloudformation/__init__.py +2571 -492
- aws_cdk/aws_cloudfront/__init__.py +281 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
- aws_cdk/aws_cloudtrail/__init__.py +52 -14
- aws_cdk/aws_codebuild/__init__.py +670 -4
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +359 -16
- aws_cdk/aws_ec2/__init__.py +19 -6
- aws_cdk/aws_ecs/__init__.py +231 -12
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
- aws_cdk/aws_fis/__init__.py +495 -0
- aws_cdk/aws_gamelift/__init__.py +3204 -1104
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
- aws_cdk/aws_lambda/__init__.py +634 -259
- aws_cdk/aws_lambda_destinations/__init__.py +73 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
- aws_cdk/aws_location/__init__.py +18 -18
- aws_cdk/aws_mediastore/__init__.py +22 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +35 -19
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +166 -3
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_securityhub/__init__.py +11 -14
- aws_cdk/aws_ses/__init__.py +58 -5
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_transfer/__init__.py +0 -8
- aws_cdk/aws_vpclattice/__init__.py +157 -2
- aws_cdk/aws_wisdom/__init__.py +113 -69
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dynamodb/__init__.py
CHANGED
|
@@ -1578,6 +1578,10 @@ class CfnGlobalTable(
|
|
|
1578
1578
|
),
|
|
1579
1579
|
|
|
1580
1580
|
# the properties below are optional
|
|
1581
|
+
warm_throughput=dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
1582
|
+
read_units_per_second=123,
|
|
1583
|
+
write_units_per_second=123
|
|
1584
|
+
),
|
|
1581
1585
|
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
1582
1586
|
max_write_request_units=123
|
|
1583
1587
|
),
|
|
@@ -1626,6 +1630,10 @@ class CfnGlobalTable(
|
|
|
1626
1630
|
# the properties below are optional
|
|
1627
1631
|
attribute_name="attributeName"
|
|
1628
1632
|
),
|
|
1633
|
+
warm_throughput=dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
1634
|
+
read_units_per_second=123,
|
|
1635
|
+
write_units_per_second=123
|
|
1636
|
+
),
|
|
1629
1637
|
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
1630
1638
|
max_write_request_units=123
|
|
1631
1639
|
),
|
|
@@ -1664,6 +1672,7 @@ class CfnGlobalTable(
|
|
|
1664
1672
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.StreamSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1665
1673
|
table_name: typing.Optional[builtins.str] = None,
|
|
1666
1674
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.TimeToLiveSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1675
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WarmThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1667
1676
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1668
1677
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1669
1678
|
) -> None:
|
|
@@ -1680,7 +1689,8 @@ class CfnGlobalTable(
|
|
|
1680
1689
|
: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.
|
|
1681
1690
|
: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.
|
|
1682
1691
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
1683
|
-
:param
|
|
1692
|
+
:param warm_throughput: Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
1693
|
+
:param write_on_demand_throughput_settings: Sets the write request settings for a global table or a global secondary index. You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
1684
1694
|
: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`` .
|
|
1685
1695
|
'''
|
|
1686
1696
|
if __debug__:
|
|
@@ -1698,6 +1708,7 @@ class CfnGlobalTable(
|
|
|
1698
1708
|
stream_specification=stream_specification,
|
|
1699
1709
|
table_name=table_name,
|
|
1700
1710
|
time_to_live_specification=time_to_live_specification,
|
|
1711
|
+
warm_throughput=warm_throughput,
|
|
1701
1712
|
write_on_demand_throughput_settings=write_on_demand_throughput_settings,
|
|
1702
1713
|
write_provisioned_throughput_settings=write_provisioned_throughput_settings,
|
|
1703
1714
|
)
|
|
@@ -1947,6 +1958,24 @@ class CfnGlobalTable(
|
|
|
1947
1958
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1948
1959
|
jsii.set(self, "timeToLiveSpecification", value) # pyright: ignore[reportArgumentType]
|
|
1949
1960
|
|
|
1961
|
+
@builtins.property
|
|
1962
|
+
@jsii.member(jsii_name="warmThroughput")
|
|
1963
|
+
def warm_throughput(
|
|
1964
|
+
self,
|
|
1965
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WarmThroughputProperty"]]:
|
|
1966
|
+
'''Provides visibility into the number of read and write operations your table or secondary index can instantaneously support.'''
|
|
1967
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WarmThroughputProperty"]], jsii.get(self, "warmThroughput"))
|
|
1968
|
+
|
|
1969
|
+
@warm_throughput.setter
|
|
1970
|
+
def warm_throughput(
|
|
1971
|
+
self,
|
|
1972
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WarmThroughputProperty"]],
|
|
1973
|
+
) -> None:
|
|
1974
|
+
if __debug__:
|
|
1975
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5cffa71e41723d2cc6240a56e0993116de480cb2c21c1c9bb92de9599718c4b2)
|
|
1976
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1977
|
+
jsii.set(self, "warmThroughput", value) # pyright: ignore[reportArgumentType]
|
|
1978
|
+
|
|
1950
1979
|
@builtins.property
|
|
1951
1980
|
@jsii.member(jsii_name="writeOnDemandThroughputSettings")
|
|
1952
1981
|
def write_on_demand_throughput_settings(
|
|
@@ -2247,6 +2276,7 @@ class CfnGlobalTable(
|
|
|
2247
2276
|
"index_name": "indexName",
|
|
2248
2277
|
"key_schema": "keySchema",
|
|
2249
2278
|
"projection": "projection",
|
|
2279
|
+
"warm_throughput": "warmThroughput",
|
|
2250
2280
|
"write_on_demand_throughput_settings": "writeOnDemandThroughputSettings",
|
|
2251
2281
|
"write_provisioned_throughput_settings": "writeProvisionedThroughputSettings",
|
|
2252
2282
|
},
|
|
@@ -2258,6 +2288,7 @@ class CfnGlobalTable(
|
|
|
2258
2288
|
index_name: builtins.str,
|
|
2259
2289
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.KeySchemaProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
2260
2290
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.ProjectionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2291
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WarmThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2261
2292
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteOnDemandThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2262
2293
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGlobalTable.WriteProvisionedThroughputSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2263
2294
|
) -> None:
|
|
@@ -2268,7 +2299,8 @@ class CfnGlobalTable(
|
|
|
2268
2299
|
:param index_name: The name of the global secondary index. The name must be unique among all other indexes on this table.
|
|
2269
2300
|
: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.
|
|
2270
2301
|
: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.
|
|
2271
|
-
:param
|
|
2302
|
+
:param warm_throughput: Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index. If you use this parameter, you must specify ``ReadUnitsPerSecond`` , ``WriteUnitsPerSecond`` , or both.
|
|
2303
|
+
:param write_on_demand_throughput_settings: Sets the write request settings for a global table or a global secondary index. You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
2272
2304
|
: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.
|
|
2273
2305
|
|
|
2274
2306
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html
|
|
@@ -2292,6 +2324,10 @@ class CfnGlobalTable(
|
|
|
2292
2324
|
),
|
|
2293
2325
|
|
|
2294
2326
|
# the properties below are optional
|
|
2327
|
+
warm_throughput=dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
2328
|
+
read_units_per_second=123,
|
|
2329
|
+
write_units_per_second=123
|
|
2330
|
+
),
|
|
2295
2331
|
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
2296
2332
|
max_write_request_units=123
|
|
2297
2333
|
),
|
|
@@ -2319,6 +2355,7 @@ class CfnGlobalTable(
|
|
|
2319
2355
|
check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
|
|
2320
2356
|
check_type(argname="argument key_schema", value=key_schema, expected_type=type_hints["key_schema"])
|
|
2321
2357
|
check_type(argname="argument projection", value=projection, expected_type=type_hints["projection"])
|
|
2358
|
+
check_type(argname="argument warm_throughput", value=warm_throughput, expected_type=type_hints["warm_throughput"])
|
|
2322
2359
|
check_type(argname="argument write_on_demand_throughput_settings", value=write_on_demand_throughput_settings, expected_type=type_hints["write_on_demand_throughput_settings"])
|
|
2323
2360
|
check_type(argname="argument write_provisioned_throughput_settings", value=write_provisioned_throughput_settings, expected_type=type_hints["write_provisioned_throughput_settings"])
|
|
2324
2361
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -2326,6 +2363,8 @@ class CfnGlobalTable(
|
|
|
2326
2363
|
"key_schema": key_schema,
|
|
2327
2364
|
"projection": projection,
|
|
2328
2365
|
}
|
|
2366
|
+
if warm_throughput is not None:
|
|
2367
|
+
self._values["warm_throughput"] = warm_throughput
|
|
2329
2368
|
if write_on_demand_throughput_settings is not None:
|
|
2330
2369
|
self._values["write_on_demand_throughput_settings"] = write_on_demand_throughput_settings
|
|
2331
2370
|
if write_provisioned_throughput_settings is not None:
|
|
@@ -2374,13 +2413,26 @@ class CfnGlobalTable(
|
|
|
2374
2413
|
assert result is not None, "Required property 'projection' is missing"
|
|
2375
2414
|
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ProjectionProperty"], result)
|
|
2376
2415
|
|
|
2416
|
+
@builtins.property
|
|
2417
|
+
def warm_throughput(
|
|
2418
|
+
self,
|
|
2419
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WarmThroughputProperty"]]:
|
|
2420
|
+
'''Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.
|
|
2421
|
+
|
|
2422
|
+
If you use this parameter, you must specify ``ReadUnitsPerSecond`` , ``WriteUnitsPerSecond`` , or both.
|
|
2423
|
+
|
|
2424
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-warmthroughput
|
|
2425
|
+
'''
|
|
2426
|
+
result = self._values.get("warm_throughput")
|
|
2427
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WarmThroughputProperty"]], result)
|
|
2428
|
+
|
|
2377
2429
|
@builtins.property
|
|
2378
2430
|
def write_on_demand_throughput_settings(
|
|
2379
2431
|
self,
|
|
2380
2432
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.WriteOnDemandThroughputSettingsProperty"]]:
|
|
2381
2433
|
'''Sets the write request settings for a global table or a global secondary index.
|
|
2382
2434
|
|
|
2383
|
-
You
|
|
2435
|
+
You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
2384
2436
|
|
|
2385
2437
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globalsecondaryindex.html#cfn-dynamodb-globaltable-globalsecondaryindex-writeondemandthroughputsettings
|
|
2386
2438
|
'''
|
|
@@ -2839,7 +2891,7 @@ class CfnGlobalTable(
|
|
|
2839
2891
|
) -> None:
|
|
2840
2892
|
'''Sets the read request settings for a replica table or a replica global secondary index.
|
|
2841
2893
|
|
|
2842
|
-
You
|
|
2894
|
+
You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
2843
2895
|
|
|
2844
2896
|
:param max_read_request_units: Maximum number of read request units for the specified replica of a global table.
|
|
2845
2897
|
|
|
@@ -2997,7 +3049,7 @@ class CfnGlobalTable(
|
|
|
2997
3049
|
|
|
2998
3050
|
:param index_name: The name of the global secondary index. The name must be unique among all other indexes on this table.
|
|
2999
3051
|
: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.
|
|
3000
|
-
:param read_on_demand_throughput_settings: Sets the read request settings for a replica global secondary index. You
|
|
3052
|
+
:param read_on_demand_throughput_settings: Sets the read request settings for a replica global secondary index. You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
3001
3053
|
: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`` .
|
|
3002
3054
|
|
|
3003
3055
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html
|
|
@@ -3086,7 +3138,7 @@ class CfnGlobalTable(
|
|
|
3086
3138
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGlobalTable.ReadOnDemandThroughputSettingsProperty"]]:
|
|
3087
3139
|
'''Sets the read request settings for a replica global secondary index.
|
|
3088
3140
|
|
|
3089
|
-
You
|
|
3141
|
+
You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
3090
3142
|
|
|
3091
3143
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicaglobalsecondaryindexspecification.html#cfn-dynamodb-globaltable-replicaglobalsecondaryindexspecification-readondemandthroughputsettings
|
|
3092
3144
|
'''
|
|
@@ -3998,6 +4050,81 @@ class CfnGlobalTable(
|
|
|
3998
4050
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
3999
4051
|
)
|
|
4000
4052
|
|
|
4053
|
+
@jsii.data_type(
|
|
4054
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.WarmThroughputProperty",
|
|
4055
|
+
jsii_struct_bases=[],
|
|
4056
|
+
name_mapping={
|
|
4057
|
+
"read_units_per_second": "readUnitsPerSecond",
|
|
4058
|
+
"write_units_per_second": "writeUnitsPerSecond",
|
|
4059
|
+
},
|
|
4060
|
+
)
|
|
4061
|
+
class WarmThroughputProperty:
|
|
4062
|
+
def __init__(
|
|
4063
|
+
self,
|
|
4064
|
+
*,
|
|
4065
|
+
read_units_per_second: typing.Optional[jsii.Number] = None,
|
|
4066
|
+
write_units_per_second: typing.Optional[jsii.Number] = None,
|
|
4067
|
+
) -> None:
|
|
4068
|
+
'''Provides visibility into the number of read and write operations your table or secondary index can instantaneously support.
|
|
4069
|
+
|
|
4070
|
+
The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
4071
|
+
|
|
4072
|
+
:param read_units_per_second: Represents the number of read operations your base table can instantaneously support.
|
|
4073
|
+
:param write_units_per_second: Represents the number of write operations your base table can instantaneously support.
|
|
4074
|
+
|
|
4075
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-warmthroughput.html
|
|
4076
|
+
:exampleMetadata: fixture=_generated
|
|
4077
|
+
|
|
4078
|
+
Example::
|
|
4079
|
+
|
|
4080
|
+
# The code below shows an example of how to instantiate this type.
|
|
4081
|
+
# The values are placeholders you should change.
|
|
4082
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
4083
|
+
|
|
4084
|
+
warm_throughput_property = dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
4085
|
+
read_units_per_second=123,
|
|
4086
|
+
write_units_per_second=123
|
|
4087
|
+
)
|
|
4088
|
+
'''
|
|
4089
|
+
if __debug__:
|
|
4090
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0b4a9630f73ba64974f75710b10a566fd0d88349b6d07fc41deb6fac3b443b29)
|
|
4091
|
+
check_type(argname="argument read_units_per_second", value=read_units_per_second, expected_type=type_hints["read_units_per_second"])
|
|
4092
|
+
check_type(argname="argument write_units_per_second", value=write_units_per_second, expected_type=type_hints["write_units_per_second"])
|
|
4093
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4094
|
+
if read_units_per_second is not None:
|
|
4095
|
+
self._values["read_units_per_second"] = read_units_per_second
|
|
4096
|
+
if write_units_per_second is not None:
|
|
4097
|
+
self._values["write_units_per_second"] = write_units_per_second
|
|
4098
|
+
|
|
4099
|
+
@builtins.property
|
|
4100
|
+
def read_units_per_second(self) -> typing.Optional[jsii.Number]:
|
|
4101
|
+
'''Represents the number of read operations your base table can instantaneously support.
|
|
4102
|
+
|
|
4103
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-warmthroughput.html#cfn-dynamodb-globaltable-warmthroughput-readunitspersecond
|
|
4104
|
+
'''
|
|
4105
|
+
result = self._values.get("read_units_per_second")
|
|
4106
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
4107
|
+
|
|
4108
|
+
@builtins.property
|
|
4109
|
+
def write_units_per_second(self) -> typing.Optional[jsii.Number]:
|
|
4110
|
+
'''Represents the number of write operations your base table can instantaneously support.
|
|
4111
|
+
|
|
4112
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-warmthroughput.html#cfn-dynamodb-globaltable-warmthroughput-writeunitspersecond
|
|
4113
|
+
'''
|
|
4114
|
+
result = self._values.get("write_units_per_second")
|
|
4115
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
4116
|
+
|
|
4117
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4118
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4119
|
+
|
|
4120
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4121
|
+
return not (rhs == self)
|
|
4122
|
+
|
|
4123
|
+
def __repr__(self) -> str:
|
|
4124
|
+
return "WarmThroughputProperty(%s)" % ", ".join(
|
|
4125
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4126
|
+
)
|
|
4127
|
+
|
|
4001
4128
|
@jsii.data_type(
|
|
4002
4129
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty",
|
|
4003
4130
|
jsii_struct_bases=[],
|
|
@@ -4011,7 +4138,7 @@ class CfnGlobalTable(
|
|
|
4011
4138
|
) -> None:
|
|
4012
4139
|
'''Sets the write request settings for a global table or a global secondary index.
|
|
4013
4140
|
|
|
4014
|
-
You
|
|
4141
|
+
You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
4015
4142
|
|
|
4016
4143
|
:param max_write_request_units: Maximum number of write request settings for the specified replica of a global table.
|
|
4017
4144
|
|
|
@@ -4145,6 +4272,7 @@ class CfnGlobalTable(
|
|
|
4145
4272
|
"stream_specification": "streamSpecification",
|
|
4146
4273
|
"table_name": "tableName",
|
|
4147
4274
|
"time_to_live_specification": "timeToLiveSpecification",
|
|
4275
|
+
"warm_throughput": "warmThroughput",
|
|
4148
4276
|
"write_on_demand_throughput_settings": "writeOnDemandThroughputSettings",
|
|
4149
4277
|
"write_provisioned_throughput_settings": "writeProvisionedThroughputSettings",
|
|
4150
4278
|
},
|
|
@@ -4163,6 +4291,7 @@ class CfnGlobalTableProps:
|
|
|
4163
4291
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4164
4292
|
table_name: typing.Optional[builtins.str] = None,
|
|
4165
4293
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4294
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4166
4295
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4167
4296
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4168
4297
|
) -> None:
|
|
@@ -4178,7 +4307,8 @@ class CfnGlobalTableProps:
|
|
|
4178
4307
|
: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.
|
|
4179
4308
|
: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.
|
|
4180
4309
|
:param time_to_live_specification: Specifies the time to live (TTL) settings for the table. This setting will be applied to all replicas.
|
|
4181
|
-
:param
|
|
4310
|
+
:param warm_throughput: Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
4311
|
+
:param write_on_demand_throughput_settings: Sets the write request settings for a global table or a global secondary index. You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
4182
4312
|
: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`` .
|
|
4183
4313
|
|
|
4184
4314
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html
|
|
@@ -4300,6 +4430,10 @@ class CfnGlobalTableProps:
|
|
|
4300
4430
|
),
|
|
4301
4431
|
|
|
4302
4432
|
# the properties below are optional
|
|
4433
|
+
warm_throughput=dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
4434
|
+
read_units_per_second=123,
|
|
4435
|
+
write_units_per_second=123
|
|
4436
|
+
),
|
|
4303
4437
|
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
4304
4438
|
max_write_request_units=123
|
|
4305
4439
|
),
|
|
@@ -4348,6 +4482,10 @@ class CfnGlobalTableProps:
|
|
|
4348
4482
|
# the properties below are optional
|
|
4349
4483
|
attribute_name="attributeName"
|
|
4350
4484
|
),
|
|
4485
|
+
warm_throughput=dynamodb.CfnGlobalTable.WarmThroughputProperty(
|
|
4486
|
+
read_units_per_second=123,
|
|
4487
|
+
write_units_per_second=123
|
|
4488
|
+
),
|
|
4351
4489
|
write_on_demand_throughput_settings=dynamodb.CfnGlobalTable.WriteOnDemandThroughputSettingsProperty(
|
|
4352
4490
|
max_write_request_units=123
|
|
4353
4491
|
),
|
|
@@ -4382,6 +4520,7 @@ class CfnGlobalTableProps:
|
|
|
4382
4520
|
check_type(argname="argument stream_specification", value=stream_specification, expected_type=type_hints["stream_specification"])
|
|
4383
4521
|
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
4384
4522
|
check_type(argname="argument time_to_live_specification", value=time_to_live_specification, expected_type=type_hints["time_to_live_specification"])
|
|
4523
|
+
check_type(argname="argument warm_throughput", value=warm_throughput, expected_type=type_hints["warm_throughput"])
|
|
4385
4524
|
check_type(argname="argument write_on_demand_throughput_settings", value=write_on_demand_throughput_settings, expected_type=type_hints["write_on_demand_throughput_settings"])
|
|
4386
4525
|
check_type(argname="argument write_provisioned_throughput_settings", value=write_provisioned_throughput_settings, expected_type=type_hints["write_provisioned_throughput_settings"])
|
|
4387
4526
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -4403,6 +4542,8 @@ class CfnGlobalTableProps:
|
|
|
4403
4542
|
self._values["table_name"] = table_name
|
|
4404
4543
|
if time_to_live_specification is not None:
|
|
4405
4544
|
self._values["time_to_live_specification"] = time_to_live_specification
|
|
4545
|
+
if warm_throughput is not None:
|
|
4546
|
+
self._values["warm_throughput"] = warm_throughput
|
|
4406
4547
|
if write_on_demand_throughput_settings is not None:
|
|
4407
4548
|
self._values["write_on_demand_throughput_settings"] = write_on_demand_throughput_settings
|
|
4408
4549
|
if write_provisioned_throughput_settings is not None:
|
|
@@ -4550,13 +4691,26 @@ class CfnGlobalTableProps:
|
|
|
4550
4691
|
result = self._values.get("time_to_live_specification")
|
|
4551
4692
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.TimeToLiveSpecificationProperty]], result)
|
|
4552
4693
|
|
|
4694
|
+
@builtins.property
|
|
4695
|
+
def warm_throughput(
|
|
4696
|
+
self,
|
|
4697
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WarmThroughputProperty]]:
|
|
4698
|
+
'''Provides visibility into the number of read and write operations your table or secondary index can instantaneously support.
|
|
4699
|
+
|
|
4700
|
+
The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
4701
|
+
|
|
4702
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-warmthroughput
|
|
4703
|
+
'''
|
|
4704
|
+
result = self._values.get("warm_throughput")
|
|
4705
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WarmThroughputProperty]], result)
|
|
4706
|
+
|
|
4553
4707
|
@builtins.property
|
|
4554
4708
|
def write_on_demand_throughput_settings(
|
|
4555
4709
|
self,
|
|
4556
4710
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteOnDemandThroughputSettingsProperty]]:
|
|
4557
4711
|
'''Sets the write request settings for a global table or a global secondary index.
|
|
4558
4712
|
|
|
4559
|
-
You
|
|
4713
|
+
You can only specify this setting if your resource uses the ``PAY_PER_REQUEST`` ``BillingMode`` .
|
|
4560
4714
|
|
|
4561
4715
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-writeondemandthroughputsettings
|
|
4562
4716
|
'''
|
|
@@ -4602,7 +4756,7 @@ class CfnTable(
|
|
|
4602
4756
|
|
|
4603
4757
|
.. epigraph::
|
|
4604
4758
|
|
|
4605
|
-
Our guidance is to use the latest schema documented
|
|
4759
|
+
Our guidance is to use the latest schema documented for your AWS CloudFormation templates. This schema supports the provisioning of all table settings below. When using this schema in your AWS CloudFormation templates, please ensure that your Identity and Access Management ( IAM ) policies are updated with appropriate permissions to allow for the authorization of these setting changes.
|
|
4606
4760
|
|
|
4607
4761
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html
|
|
4608
4762
|
:cloudformationResource: AWS::DynamoDB::Table
|
|
@@ -4654,6 +4808,10 @@ class CfnTable(
|
|
|
4654
4808
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
4655
4809
|
read_capacity_units=123,
|
|
4656
4810
|
write_capacity_units=123
|
|
4811
|
+
),
|
|
4812
|
+
warm_throughput=dynamodb.CfnTable.WarmThroughputProperty(
|
|
4813
|
+
read_units_per_second=123,
|
|
4814
|
+
write_units_per_second=123
|
|
4657
4815
|
)
|
|
4658
4816
|
)],
|
|
4659
4817
|
import_source_specification=dynamodb.CfnTable.ImportSourceSpecificationProperty(
|
|
@@ -4732,6 +4890,10 @@ class CfnTable(
|
|
|
4732
4890
|
|
|
4733
4891
|
# the properties below are optional
|
|
4734
4892
|
attribute_name="attributeName"
|
|
4893
|
+
),
|
|
4894
|
+
warm_throughput=dynamodb.CfnTable.WarmThroughputProperty(
|
|
4895
|
+
read_units_per_second=123,
|
|
4896
|
+
write_units_per_second=123
|
|
4735
4897
|
)
|
|
4736
4898
|
)
|
|
4737
4899
|
'''
|
|
@@ -4760,6 +4922,7 @@ class CfnTable(
|
|
|
4760
4922
|
table_name: typing.Optional[builtins.str] = None,
|
|
4761
4923
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4762
4924
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.TimeToLiveSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4925
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.WarmThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4763
4926
|
) -> None:
|
|
4764
4927
|
'''
|
|
4765
4928
|
:param scope: Scope in which this resource is defined.
|
|
@@ -4770,7 +4933,7 @@ class CfnTable(
|
|
|
4770
4933
|
:param contributor_insights_specification: The settings used to enable or disable CloudWatch Contributor Insights for the specified table.
|
|
4771
4934
|
:param deletion_protection_enabled: Determines if a table is protected from deletion. When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see `Using deletion protection <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection>`_ in the *Amazon DynamoDB Developer Guide* .
|
|
4772
4935
|
:param global_secondary_indexes: Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes. .. epigraph:: If you update a table to include a new global secondary index, AWS CloudFormation initiates the index creation and then proceeds with the stack update. AWS CloudFormation doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is ``ACTIVE`` . You can track its status by using the DynamoDB `DescribeTable <https://docs.aws.amazon.com/cli/latest/reference/dynamodb/describe-table.html>`_ command. If you add or delete an index during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new index, you must manually delete the index. Updates are not supported. The following are exceptions: - If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption. - You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails.
|
|
4773
|
-
: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 ``
|
|
4936
|
+
: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, the ``DeletionProtectionEnabled`` property, or the ``WarmThroughput`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
|
|
4774
4937
|
:param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
|
|
4775
4938
|
: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.
|
|
4776
4939
|
:param on_demand_throughput: Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits`` , ``MaxWriteRequestUnits`` , or both.
|
|
@@ -4783,6 +4946,7 @@ class CfnTable(
|
|
|
4783
4946
|
:param table_name: A name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for 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.
|
|
4784
4947
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
4785
4948
|
:param time_to_live_specification: Specifies the Time to Live (TTL) settings for the table. .. epigraph:: For detailed information about the limits in DynamoDB, see `Limits in Amazon DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html>`_ in the Amazon DynamoDB Developer Guide.
|
|
4949
|
+
:param warm_throughput: Represents the warm throughput (in read units per second and write units per second) for creating a table.
|
|
4786
4950
|
'''
|
|
4787
4951
|
if __debug__:
|
|
4788
4952
|
type_hints = typing.get_type_hints(_typecheckingstub__9c4a83992df200bfde2ccfe129994eeacab105432a2509473861feb736dd5ea6)
|
|
@@ -4808,6 +4972,7 @@ class CfnTable(
|
|
|
4808
4972
|
table_name=table_name,
|
|
4809
4973
|
tags=tags,
|
|
4810
4974
|
time_to_live_specification=time_to_live_specification,
|
|
4975
|
+
warm_throughput=warm_throughput,
|
|
4811
4976
|
)
|
|
4812
4977
|
|
|
4813
4978
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -4986,7 +5151,7 @@ class CfnTable(
|
|
|
4986
5151
|
def import_source_specification(
|
|
4987
5152
|
self,
|
|
4988
5153
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ImportSourceSpecificationProperty"]]:
|
|
4989
|
-
'''Specifies the properties of data being imported from the S3 bucket source to the table.'''
|
|
5154
|
+
'''Specifies the properties of data being imported from the S3 bucket source to the" table.'''
|
|
4990
5155
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ImportSourceSpecificationProperty"]], jsii.get(self, "importSourceSpecification"))
|
|
4991
5156
|
|
|
4992
5157
|
@import_source_specification.setter
|
|
@@ -5200,6 +5365,24 @@ class CfnTable(
|
|
|
5200
5365
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5201
5366
|
jsii.set(self, "timeToLiveSpecification", value) # pyright: ignore[reportArgumentType]
|
|
5202
5367
|
|
|
5368
|
+
@builtins.property
|
|
5369
|
+
@jsii.member(jsii_name="warmThroughput")
|
|
5370
|
+
def warm_throughput(
|
|
5371
|
+
self,
|
|
5372
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.WarmThroughputProperty"]]:
|
|
5373
|
+
'''Represents the warm throughput (in read units per second and write units per second) for creating a table.'''
|
|
5374
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.WarmThroughputProperty"]], jsii.get(self, "warmThroughput"))
|
|
5375
|
+
|
|
5376
|
+
@warm_throughput.setter
|
|
5377
|
+
def warm_throughput(
|
|
5378
|
+
self,
|
|
5379
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.WarmThroughputProperty"]],
|
|
5380
|
+
) -> None:
|
|
5381
|
+
if __debug__:
|
|
5382
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8eb093514d81ccb0743d4c6abe13c5421f3570760fac0d429feb8eb70cd70401)
|
|
5383
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5384
|
+
jsii.set(self, "warmThroughput", value) # pyright: ignore[reportArgumentType]
|
|
5385
|
+
|
|
5203
5386
|
@jsii.data_type(
|
|
5204
5387
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.AttributeDefinitionProperty",
|
|
5205
5388
|
jsii_struct_bases=[],
|
|
@@ -5418,6 +5601,7 @@ class CfnTable(
|
|
|
5418
5601
|
"contributor_insights_specification": "contributorInsightsSpecification",
|
|
5419
5602
|
"on_demand_throughput": "onDemandThroughput",
|
|
5420
5603
|
"provisioned_throughput": "provisionedThroughput",
|
|
5604
|
+
"warm_throughput": "warmThroughput",
|
|
5421
5605
|
},
|
|
5422
5606
|
)
|
|
5423
5607
|
class GlobalSecondaryIndexProperty:
|
|
@@ -5430,6 +5614,7 @@ class CfnTable(
|
|
|
5430
5614
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ContributorInsightsSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5431
5615
|
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.OnDemandThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5432
5616
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ProvisionedThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5617
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.WarmThroughputProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5433
5618
|
) -> None:
|
|
5434
5619
|
'''Represents the properties of a global secondary index.
|
|
5435
5620
|
|
|
@@ -5439,6 +5624,7 @@ class CfnTable(
|
|
|
5439
5624
|
:param contributor_insights_specification: The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.
|
|
5440
5625
|
:param on_demand_throughput: The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits`` , ``MaxWriteRequestUnits`` , or both.
|
|
5441
5626
|
: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* .
|
|
5627
|
+
:param warm_throughput: Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index. If you use this parameter, you must specify ``ReadUnitsPerSecond`` , ``WriteUnitsPerSecond`` , or both.
|
|
5442
5628
|
|
|
5443
5629
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html
|
|
5444
5630
|
:exampleMetadata: fixture=_generated
|
|
@@ -5471,6 +5657,10 @@ class CfnTable(
|
|
|
5471
5657
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
5472
5658
|
read_capacity_units=123,
|
|
5473
5659
|
write_capacity_units=123
|
|
5660
|
+
),
|
|
5661
|
+
warm_throughput=dynamodb.CfnTable.WarmThroughputProperty(
|
|
5662
|
+
read_units_per_second=123,
|
|
5663
|
+
write_units_per_second=123
|
|
5474
5664
|
)
|
|
5475
5665
|
)
|
|
5476
5666
|
'''
|
|
@@ -5482,6 +5672,7 @@ class CfnTable(
|
|
|
5482
5672
|
check_type(argname="argument contributor_insights_specification", value=contributor_insights_specification, expected_type=type_hints["contributor_insights_specification"])
|
|
5483
5673
|
check_type(argname="argument on_demand_throughput", value=on_demand_throughput, expected_type=type_hints["on_demand_throughput"])
|
|
5484
5674
|
check_type(argname="argument provisioned_throughput", value=provisioned_throughput, expected_type=type_hints["provisioned_throughput"])
|
|
5675
|
+
check_type(argname="argument warm_throughput", value=warm_throughput, expected_type=type_hints["warm_throughput"])
|
|
5485
5676
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5486
5677
|
"index_name": index_name,
|
|
5487
5678
|
"key_schema": key_schema,
|
|
@@ -5493,6 +5684,8 @@ class CfnTable(
|
|
|
5493
5684
|
self._values["on_demand_throughput"] = on_demand_throughput
|
|
5494
5685
|
if provisioned_throughput is not None:
|
|
5495
5686
|
self._values["provisioned_throughput"] = provisioned_throughput
|
|
5687
|
+
if warm_throughput is not None:
|
|
5688
|
+
self._values["warm_throughput"] = warm_throughput
|
|
5496
5689
|
|
|
5497
5690
|
@builtins.property
|
|
5498
5691
|
def index_name(self) -> builtins.str:
|
|
@@ -5574,6 +5767,19 @@ class CfnTable(
|
|
|
5574
5767
|
result = self._values.get("provisioned_throughput")
|
|
5575
5768
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ProvisionedThroughputProperty"]], result)
|
|
5576
5769
|
|
|
5770
|
+
@builtins.property
|
|
5771
|
+
def warm_throughput(
|
|
5772
|
+
self,
|
|
5773
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.WarmThroughputProperty"]]:
|
|
5774
|
+
'''Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.
|
|
5775
|
+
|
|
5776
|
+
If you use this parameter, you must specify ``ReadUnitsPerSecond`` , ``WriteUnitsPerSecond`` , or both.
|
|
5777
|
+
|
|
5778
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-globalsecondaryindex.html#cfn-dynamodb-table-globalsecondaryindex-warmthroughput
|
|
5779
|
+
'''
|
|
5780
|
+
result = self._values.get("warm_throughput")
|
|
5781
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.WarmThroughputProperty"]], result)
|
|
5782
|
+
|
|
5577
5783
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5578
5784
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5579
5785
|
|
|
@@ -6789,6 +6995,81 @@ class CfnTable(
|
|
|
6789
6995
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
6790
6996
|
)
|
|
6791
6997
|
|
|
6998
|
+
@jsii.data_type(
|
|
6999
|
+
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.WarmThroughputProperty",
|
|
7000
|
+
jsii_struct_bases=[],
|
|
7001
|
+
name_mapping={
|
|
7002
|
+
"read_units_per_second": "readUnitsPerSecond",
|
|
7003
|
+
"write_units_per_second": "writeUnitsPerSecond",
|
|
7004
|
+
},
|
|
7005
|
+
)
|
|
7006
|
+
class WarmThroughputProperty:
|
|
7007
|
+
def __init__(
|
|
7008
|
+
self,
|
|
7009
|
+
*,
|
|
7010
|
+
read_units_per_second: typing.Optional[jsii.Number] = None,
|
|
7011
|
+
write_units_per_second: typing.Optional[jsii.Number] = None,
|
|
7012
|
+
) -> None:
|
|
7013
|
+
'''Provides visibility into the number of read and write operations your table or secondary index can instantaneously support.
|
|
7014
|
+
|
|
7015
|
+
The settings can be modified using the ``UpdateTable`` operation to meet the throughput requirements of an upcoming peak event.
|
|
7016
|
+
|
|
7017
|
+
:param read_units_per_second: Represents the number of read operations your base table can instantaneously support.
|
|
7018
|
+
:param write_units_per_second: Represents the number of write operations your base table can instantaneously support.
|
|
7019
|
+
|
|
7020
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-warmthroughput.html
|
|
7021
|
+
:exampleMetadata: fixture=_generated
|
|
7022
|
+
|
|
7023
|
+
Example::
|
|
7024
|
+
|
|
7025
|
+
# The code below shows an example of how to instantiate this type.
|
|
7026
|
+
# The values are placeholders you should change.
|
|
7027
|
+
from aws_cdk import aws_dynamodb as dynamodb
|
|
7028
|
+
|
|
7029
|
+
warm_throughput_property = dynamodb.CfnTable.WarmThroughputProperty(
|
|
7030
|
+
read_units_per_second=123,
|
|
7031
|
+
write_units_per_second=123
|
|
7032
|
+
)
|
|
7033
|
+
'''
|
|
7034
|
+
if __debug__:
|
|
7035
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1ddf88a87c38a2c772533f42deb8bc496ef2b564e2f9605ed588471312d01306)
|
|
7036
|
+
check_type(argname="argument read_units_per_second", value=read_units_per_second, expected_type=type_hints["read_units_per_second"])
|
|
7037
|
+
check_type(argname="argument write_units_per_second", value=write_units_per_second, expected_type=type_hints["write_units_per_second"])
|
|
7038
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
7039
|
+
if read_units_per_second is not None:
|
|
7040
|
+
self._values["read_units_per_second"] = read_units_per_second
|
|
7041
|
+
if write_units_per_second is not None:
|
|
7042
|
+
self._values["write_units_per_second"] = write_units_per_second
|
|
7043
|
+
|
|
7044
|
+
@builtins.property
|
|
7045
|
+
def read_units_per_second(self) -> typing.Optional[jsii.Number]:
|
|
7046
|
+
'''Represents the number of read operations your base table can instantaneously support.
|
|
7047
|
+
|
|
7048
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-warmthroughput.html#cfn-dynamodb-table-warmthroughput-readunitspersecond
|
|
7049
|
+
'''
|
|
7050
|
+
result = self._values.get("read_units_per_second")
|
|
7051
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7052
|
+
|
|
7053
|
+
@builtins.property
|
|
7054
|
+
def write_units_per_second(self) -> typing.Optional[jsii.Number]:
|
|
7055
|
+
'''Represents the number of write operations your base table can instantaneously support.
|
|
7056
|
+
|
|
7057
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-warmthroughput.html#cfn-dynamodb-table-warmthroughput-writeunitspersecond
|
|
7058
|
+
'''
|
|
7059
|
+
result = self._values.get("write_units_per_second")
|
|
7060
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
7061
|
+
|
|
7062
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7063
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7064
|
+
|
|
7065
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
7066
|
+
return not (rhs == self)
|
|
7067
|
+
|
|
7068
|
+
def __repr__(self) -> str:
|
|
7069
|
+
return "WarmThroughputProperty(%s)" % ", ".join(
|
|
7070
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
7071
|
+
)
|
|
7072
|
+
|
|
6792
7073
|
|
|
6793
7074
|
@jsii.data_type(
|
|
6794
7075
|
jsii_type="aws-cdk-lib.aws_dynamodb.CfnTableProps",
|
|
@@ -6813,6 +7094,7 @@ class CfnTable(
|
|
|
6813
7094
|
"table_name": "tableName",
|
|
6814
7095
|
"tags": "tags",
|
|
6815
7096
|
"time_to_live_specification": "timeToLiveSpecification",
|
|
7097
|
+
"warm_throughput": "warmThroughput",
|
|
6816
7098
|
},
|
|
6817
7099
|
)
|
|
6818
7100
|
class CfnTableProps:
|
|
@@ -6838,6 +7120,7 @@ class CfnTableProps:
|
|
|
6838
7120
|
table_name: typing.Optional[builtins.str] = None,
|
|
6839
7121
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6840
7122
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7123
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6841
7124
|
) -> None:
|
|
6842
7125
|
'''Properties for defining a ``CfnTable``.
|
|
6843
7126
|
|
|
@@ -6847,7 +7130,7 @@ class CfnTableProps:
|
|
|
6847
7130
|
:param contributor_insights_specification: The settings used to enable or disable CloudWatch Contributor Insights for the specified table.
|
|
6848
7131
|
:param deletion_protection_enabled: Determines if a table is protected from deletion. When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see `Using deletion protection <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection>`_ in the *Amazon DynamoDB Developer Guide* .
|
|
6849
7132
|
:param global_secondary_indexes: Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes. .. epigraph:: If you update a table to include a new global secondary index, AWS CloudFormation initiates the index creation and then proceeds with the stack update. AWS CloudFormation doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is ``ACTIVE`` . You can track its status by using the DynamoDB `DescribeTable <https://docs.aws.amazon.com/cli/latest/reference/dynamodb/describe-table.html>`_ command. If you add or delete an index during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new index, you must manually delete the index. Updates are not supported. The following are exceptions: - If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption. - You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails.
|
|
6850
|
-
: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 ``
|
|
7133
|
+
: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, the ``DeletionProtectionEnabled`` property, or the ``WarmThroughput`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
|
|
6851
7134
|
:param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
|
|
6852
7135
|
: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.
|
|
6853
7136
|
:param on_demand_throughput: Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits`` , ``MaxWriteRequestUnits`` , or both.
|
|
@@ -6860,6 +7143,7 @@ class CfnTableProps:
|
|
|
6860
7143
|
:param table_name: A name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for 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.
|
|
6861
7144
|
:param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
|
|
6862
7145
|
:param time_to_live_specification: Specifies the Time to Live (TTL) settings for the table. .. epigraph:: For detailed information about the limits in DynamoDB, see `Limits in Amazon DynamoDB <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html>`_ in the Amazon DynamoDB Developer Guide.
|
|
7146
|
+
:param warm_throughput: Represents the warm throughput (in read units per second and write units per second) for creating a table.
|
|
6863
7147
|
|
|
6864
7148
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html
|
|
6865
7149
|
:exampleMetadata: fixture=_generated
|
|
@@ -6910,6 +7194,10 @@ class CfnTableProps:
|
|
|
6910
7194
|
provisioned_throughput=dynamodb.CfnTable.ProvisionedThroughputProperty(
|
|
6911
7195
|
read_capacity_units=123,
|
|
6912
7196
|
write_capacity_units=123
|
|
7197
|
+
),
|
|
7198
|
+
warm_throughput=dynamodb.CfnTable.WarmThroughputProperty(
|
|
7199
|
+
read_units_per_second=123,
|
|
7200
|
+
write_units_per_second=123
|
|
6913
7201
|
)
|
|
6914
7202
|
)],
|
|
6915
7203
|
import_source_specification=dynamodb.CfnTable.ImportSourceSpecificationProperty(
|
|
@@ -6988,6 +7276,10 @@ class CfnTableProps:
|
|
|
6988
7276
|
|
|
6989
7277
|
# the properties below are optional
|
|
6990
7278
|
attribute_name="attributeName"
|
|
7279
|
+
),
|
|
7280
|
+
warm_throughput=dynamodb.CfnTable.WarmThroughputProperty(
|
|
7281
|
+
read_units_per_second=123,
|
|
7282
|
+
write_units_per_second=123
|
|
6991
7283
|
)
|
|
6992
7284
|
)
|
|
6993
7285
|
'''
|
|
@@ -7012,6 +7304,7 @@ class CfnTableProps:
|
|
|
7012
7304
|
check_type(argname="argument table_name", value=table_name, expected_type=type_hints["table_name"])
|
|
7013
7305
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
7014
7306
|
check_type(argname="argument time_to_live_specification", value=time_to_live_specification, expected_type=type_hints["time_to_live_specification"])
|
|
7307
|
+
check_type(argname="argument warm_throughput", value=warm_throughput, expected_type=type_hints["warm_throughput"])
|
|
7015
7308
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
7016
7309
|
"key_schema": key_schema,
|
|
7017
7310
|
}
|
|
@@ -7051,6 +7344,8 @@ class CfnTableProps:
|
|
|
7051
7344
|
self._values["tags"] = tags
|
|
7052
7345
|
if time_to_live_specification is not None:
|
|
7053
7346
|
self._values["time_to_live_specification"] = time_to_live_specification
|
|
7347
|
+
if warm_throughput is not None:
|
|
7348
|
+
self._values["warm_throughput"] = warm_throughput
|
|
7054
7349
|
|
|
7055
7350
|
@builtins.property
|
|
7056
7351
|
def key_schema(
|
|
@@ -7147,11 +7442,11 @@ class CfnTableProps:
|
|
|
7147
7442
|
def import_source_specification(
|
|
7148
7443
|
self,
|
|
7149
7444
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.ImportSourceSpecificationProperty]]:
|
|
7150
|
-
'''Specifies the properties of data being imported from the S3 bucket source to the table.
|
|
7445
|
+
'''Specifies the properties of data being imported from the S3 bucket source to the" table.
|
|
7151
7446
|
|
|
7152
7447
|
.. epigraph::
|
|
7153
7448
|
|
|
7154
|
-
If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification`` , the ``TableClass`` property, or the ``
|
|
7449
|
+
If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification`` , the ``TableClass`` property, the ``DeletionProtectionEnabled`` property, or the ``WarmThroughput`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission.
|
|
7155
7450
|
|
|
7156
7451
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-importsourcespecification
|
|
7157
7452
|
'''
|
|
@@ -7309,6 +7604,17 @@ class CfnTableProps:
|
|
|
7309
7604
|
result = self._values.get("time_to_live_specification")
|
|
7310
7605
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.TimeToLiveSpecificationProperty]], result)
|
|
7311
7606
|
|
|
7607
|
+
@builtins.property
|
|
7608
|
+
def warm_throughput(
|
|
7609
|
+
self,
|
|
7610
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.WarmThroughputProperty]]:
|
|
7611
|
+
'''Represents the warm throughput (in read units per second and write units per second) for creating a table.
|
|
7612
|
+
|
|
7613
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-warmthroughput
|
|
7614
|
+
'''
|
|
7615
|
+
result = self._values.get("warm_throughput")
|
|
7616
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.WarmThroughputProperty]], result)
|
|
7617
|
+
|
|
7312
7618
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
7313
7619
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
7314
7620
|
|
|
@@ -9227,9 +9533,12 @@ class StreamViewType(enum.Enum):
|
|
|
9227
9533
|
),
|
|
9228
9534
|
stream=dynamodb.StreamViewType.NEW_IMAGE
|
|
9229
9535
|
)
|
|
9536
|
+
|
|
9230
9537
|
fn.add_event_source(eventsources.DynamoEventSource(table,
|
|
9231
9538
|
starting_position=lambda_.StartingPosition.LATEST,
|
|
9232
|
-
|
|
9539
|
+
metrics_config=lambda.MetricsConfig(
|
|
9540
|
+
metrics=[lambda_.MetricType.EVENT_COUNT]
|
|
9541
|
+
)
|
|
9233
9542
|
))
|
|
9234
9543
|
'''
|
|
9235
9544
|
|
|
@@ -15028,6 +15337,7 @@ def _typecheckingstub__751414def1994180982879a700bdaa6afcf528def91a672904946db1b
|
|
|
15028
15337
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15029
15338
|
table_name: typing.Optional[builtins.str] = None,
|
|
15030
15339
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15340
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15031
15341
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15032
15342
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15033
15343
|
) -> None:
|
|
@@ -15106,6 +15416,12 @@ def _typecheckingstub__0b2a71693eba1f1adfbaa4a2d1968a10f7e914f3714a169453fb5831d
|
|
|
15106
15416
|
"""Type checking stubs"""
|
|
15107
15417
|
pass
|
|
15108
15418
|
|
|
15419
|
+
def _typecheckingstub__5cffa71e41723d2cc6240a56e0993116de480cb2c21c1c9bb92de9599718c4b2(
|
|
15420
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WarmThroughputProperty]],
|
|
15421
|
+
) -> None:
|
|
15422
|
+
"""Type checking stubs"""
|
|
15423
|
+
pass
|
|
15424
|
+
|
|
15109
15425
|
def _typecheckingstub__e9e1941bc70970aa12bf29b98d00fed94dd701aea1acb0d4280e0f96ab3ca8bc(
|
|
15110
15426
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnGlobalTable.WriteOnDemandThroughputSettingsProperty]],
|
|
15111
15427
|
) -> None:
|
|
@@ -15148,6 +15464,7 @@ def _typecheckingstub__e4c0e93a19b9176fd628b4a4e5a1bb2ecabf4d1960e7d8fd138a1ecf0
|
|
|
15148
15464
|
index_name: builtins.str,
|
|
15149
15465
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.KeySchemaProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
15150
15466
|
projection: typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.ProjectionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
15467
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15151
15468
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15152
15469
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15153
15470
|
) -> None:
|
|
@@ -15292,6 +15609,14 @@ def _typecheckingstub__dcf0cf3bffc007a79dfc055873ae7915dea668a00f7752d51c421f918
|
|
|
15292
15609
|
"""Type checking stubs"""
|
|
15293
15610
|
pass
|
|
15294
15611
|
|
|
15612
|
+
def _typecheckingstub__0b4a9630f73ba64974f75710b10a566fd0d88349b6d07fc41deb6fac3b443b29(
|
|
15613
|
+
*,
|
|
15614
|
+
read_units_per_second: typing.Optional[jsii.Number] = None,
|
|
15615
|
+
write_units_per_second: typing.Optional[jsii.Number] = None,
|
|
15616
|
+
) -> None:
|
|
15617
|
+
"""Type checking stubs"""
|
|
15618
|
+
pass
|
|
15619
|
+
|
|
15295
15620
|
def _typecheckingstub__a74a3ac973b7df1320fab048c78a8197faf1684042be3f88a34a74adb99870fc(
|
|
15296
15621
|
*,
|
|
15297
15622
|
max_write_request_units: typing.Optional[jsii.Number] = None,
|
|
@@ -15318,6 +15643,7 @@ def _typecheckingstub__ca0383ad91536c26961e85e52a3e6a3d2d74db3c4d430cbbe3d9f42e2
|
|
|
15318
15643
|
stream_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.StreamSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15319
15644
|
table_name: typing.Optional[builtins.str] = None,
|
|
15320
15645
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15646
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15321
15647
|
write_on_demand_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteOnDemandThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15322
15648
|
write_provisioned_throughput_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGlobalTable.WriteProvisionedThroughputSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15323
15649
|
) -> None:
|
|
@@ -15347,6 +15673,7 @@ def _typecheckingstub__9c4a83992df200bfde2ccfe129994eeacab105432a2509473861feb73
|
|
|
15347
15673
|
table_name: typing.Optional[builtins.str] = None,
|
|
15348
15674
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15349
15675
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15676
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15350
15677
|
) -> None:
|
|
15351
15678
|
"""Type checking stubs"""
|
|
15352
15679
|
pass
|
|
@@ -15477,6 +15804,12 @@ def _typecheckingstub__13f09e3b5bed84728f44ababaa84b1754ef531ec7fc1a8800692ac3ee
|
|
|
15477
15804
|
"""Type checking stubs"""
|
|
15478
15805
|
pass
|
|
15479
15806
|
|
|
15807
|
+
def _typecheckingstub__8eb093514d81ccb0743d4c6abe13c5421f3570760fac0d429feb8eb70cd70401(
|
|
15808
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.WarmThroughputProperty]],
|
|
15809
|
+
) -> None:
|
|
15810
|
+
"""Type checking stubs"""
|
|
15811
|
+
pass
|
|
15812
|
+
|
|
15480
15813
|
def _typecheckingstub__09c7a32c39444fb07dbb26b4ad1f9b87ad574421e0b12ac175c090173de657a3(
|
|
15481
15814
|
*,
|
|
15482
15815
|
attribute_name: builtins.str,
|
|
@@ -15508,6 +15841,7 @@ def _typecheckingstub__112c1b7034b42e59580b7feba43dc401f21ec329ca66e8612a1b056b0
|
|
|
15508
15841
|
contributor_insights_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ContributorInsightsSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15509
15842
|
on_demand_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.OnDemandThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15510
15843
|
provisioned_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ProvisionedThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15844
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15511
15845
|
) -> None:
|
|
15512
15846
|
"""Type checking stubs"""
|
|
15513
15847
|
pass
|
|
@@ -15626,6 +15960,14 @@ def _typecheckingstub__5d786558ff9ca543f7d0799e61bed247b8ecf13464a91bfd641c90c6a
|
|
|
15626
15960
|
"""Type checking stubs"""
|
|
15627
15961
|
pass
|
|
15628
15962
|
|
|
15963
|
+
def _typecheckingstub__1ddf88a87c38a2c772533f42deb8bc496ef2b564e2f9605ed588471312d01306(
|
|
15964
|
+
*,
|
|
15965
|
+
read_units_per_second: typing.Optional[jsii.Number] = None,
|
|
15966
|
+
write_units_per_second: typing.Optional[jsii.Number] = None,
|
|
15967
|
+
) -> None:
|
|
15968
|
+
"""Type checking stubs"""
|
|
15969
|
+
pass
|
|
15970
|
+
|
|
15629
15971
|
def _typecheckingstub__0b7f8e29621d526383ce725f2daafbe00b52cfe2381995edac86b72a6e301dd3(
|
|
15630
15972
|
*,
|
|
15631
15973
|
key_schema: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.KeySchemaProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
@@ -15647,6 +15989,7 @@ def _typecheckingstub__0b7f8e29621d526383ce725f2daafbe00b52cfe2381995edac86b72a6
|
|
|
15647
15989
|
table_name: typing.Optional[builtins.str] = None,
|
|
15648
15990
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15649
15991
|
time_to_live_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.TimeToLiveSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15992
|
+
warm_throughput: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.WarmThroughputProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15650
15993
|
) -> None:
|
|
15651
15994
|
"""Type checking stubs"""
|
|
15652
15995
|
pass
|