aws-cdk-lib 2.204.0__py3-none-any.whl → 2.205.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 +170 -92
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.204.0.jsii.tgz → aws-cdk-lib@2.205.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +89 -39
- aws_cdk/aws_applicationautoscaling/__init__.py +2 -2
- aws_cdk/aws_arczonalshift/__init__.py +4 -1
- aws_cdk/aws_b2bi/__init__.py +32 -16
- aws_cdk/aws_bedrock/__init__.py +198 -10
- aws_cdk/aws_cassandra/__init__.py +156 -0
- aws_cdk/aws_cloudformation/__init__.py +74 -72
- aws_cdk/aws_cloudfront/__init__.py +1181 -485
- aws_cdk/aws_cloudfront_origins/__init__.py +26 -21
- aws_cdk/aws_cloudwatch/__init__.py +61 -0
- aws_cdk/aws_codebuild/__init__.py +216 -36
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_docdb/__init__.py +78 -0
- aws_cdk/aws_dynamodb/__init__.py +207 -35
- aws_cdk/aws_ec2/__init__.py +32 -30
- aws_cdk/aws_ecs/__init__.py +12 -19
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +58 -3
- aws_cdk/aws_events_targets/__init__.py +7 -2
- aws_cdk/aws_evs/__init__.py +7 -7
- aws_cdk/aws_fsx/__init__.py +138 -78
- aws_cdk/aws_gamelift/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +3 -3
- aws_cdk/aws_iot/__init__.py +1 -1
- aws_cdk/aws_kinesis/__init__.py +67 -13
- aws_cdk/aws_kinesisfirehose/__init__.py +28 -1
- aws_cdk/aws_lex/__init__.py +36 -19
- aws_cdk/aws_neptune/__init__.py +12 -12
- aws_cdk/aws_odb/__init__.py +4049 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +471 -4
- aws_cdk/aws_quicksight/__init__.py +185 -16
- aws_cdk/aws_rds/__init__.py +169 -17
- aws_cdk/aws_redshiftserverless/__init__.py +72 -45
- aws_cdk/aws_route53/__init__.py +41 -19
- aws_cdk/aws_s3tables/__init__.py +1005 -0
- aws_cdk/aws_sagemaker/__init__.py +20 -0
- aws_cdk/aws_synthetics/__init__.py +141 -37
- aws_cdk/aws_transfer/__init__.py +23 -1
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/RECORD +48 -47
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.204.0.dist-info → aws_cdk_lib-2.205.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_bedrock/__init__.py
CHANGED
|
@@ -9956,7 +9956,7 @@ class CfnDataSource(
|
|
|
9956
9956
|
|
|
9957
9957
|
:param bucket_arn: The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
|
|
9958
9958
|
:param bucket_owner_account_id: The account ID for the owner of the S3 bucket.
|
|
9959
|
-
:param inclusion_prefixes: A list of S3 prefixes to include certain files or content. For more information, see `Organizing objects using prefixes <https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html>`_ .
|
|
9959
|
+
:param inclusion_prefixes: A list of S3 prefixes to include certain files or content. This field is an array with a maximum of one item, which can contain a string that has a maximum length of 300 characters. For more information, see `Organizing objects using prefixes <https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html>`_ .
|
|
9960
9960
|
|
|
9961
9961
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html
|
|
9962
9962
|
:exampleMetadata: fixture=_generated
|
|
@@ -10011,7 +10011,7 @@ class CfnDataSource(
|
|
|
10011
10011
|
def inclusion_prefixes(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
10012
10012
|
'''A list of S3 prefixes to include certain files or content.
|
|
10013
10013
|
|
|
10014
|
-
For more information, see `Organizing objects using prefixes <https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html>`_ .
|
|
10014
|
+
This field is an array with a maximum of one item, which can contain a string that has a maximum length of 300 characters. For more information, see `Organizing objects using prefixes <https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html>`_ .
|
|
10015
10015
|
|
|
10016
10016
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html#cfn-bedrock-datasource-s3datasourceconfiguration-inclusionprefixes
|
|
10017
10017
|
'''
|
|
@@ -23213,7 +23213,12 @@ class CfnGuardrail(
|
|
|
23213
23213
|
output_action="outputAction",
|
|
23214
23214
|
output_enabled=False,
|
|
23215
23215
|
output_modalities=["outputModalities"]
|
|
23216
|
-
)]
|
|
23216
|
+
)],
|
|
23217
|
+
|
|
23218
|
+
# the properties below are optional
|
|
23219
|
+
content_filters_tier_config=bedrock.CfnGuardrail.ContentFiltersTierConfigProperty(
|
|
23220
|
+
tier_name="tierName"
|
|
23221
|
+
)
|
|
23217
23222
|
),
|
|
23218
23223
|
contextual_grounding_policy_config=bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty(
|
|
23219
23224
|
filters_config=[bedrock.CfnGuardrail.ContextualGroundingFilterConfigProperty(
|
|
@@ -23270,7 +23275,12 @@ class CfnGuardrail(
|
|
|
23270
23275
|
input_enabled=False,
|
|
23271
23276
|
output_action="outputAction",
|
|
23272
23277
|
output_enabled=False
|
|
23273
|
-
)]
|
|
23278
|
+
)],
|
|
23279
|
+
|
|
23280
|
+
# the properties below are optional
|
|
23281
|
+
topics_tier_config=bedrock.CfnGuardrail.TopicsTierConfigProperty(
|
|
23282
|
+
tier_name="tierName"
|
|
23283
|
+
)
|
|
23274
23284
|
),
|
|
23275
23285
|
word_policy_config=bedrock.CfnGuardrail.WordPolicyConfigProperty(
|
|
23276
23286
|
managed_word_lists_config=[bedrock.CfnGuardrail.ManagedWordsConfigProperty(
|
|
@@ -23858,20 +23868,77 @@ class CfnGuardrail(
|
|
|
23858
23868
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
23859
23869
|
)
|
|
23860
23870
|
|
|
23871
|
+
@jsii.data_type(
|
|
23872
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail.ContentFiltersTierConfigProperty",
|
|
23873
|
+
jsii_struct_bases=[],
|
|
23874
|
+
name_mapping={"tier_name": "tierName"},
|
|
23875
|
+
)
|
|
23876
|
+
class ContentFiltersTierConfigProperty:
|
|
23877
|
+
def __init__(self, *, tier_name: builtins.str) -> None:
|
|
23878
|
+
'''Guardrail tier config for content policy.
|
|
23879
|
+
|
|
23880
|
+
:param tier_name: Tier name for tier configuration in content filters policy.
|
|
23881
|
+
|
|
23882
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterstierconfig.html
|
|
23883
|
+
:exampleMetadata: fixture=_generated
|
|
23884
|
+
|
|
23885
|
+
Example::
|
|
23886
|
+
|
|
23887
|
+
# The code below shows an example of how to instantiate this type.
|
|
23888
|
+
# The values are placeholders you should change.
|
|
23889
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
23890
|
+
|
|
23891
|
+
content_filters_tier_config_property = bedrock.CfnGuardrail.ContentFiltersTierConfigProperty(
|
|
23892
|
+
tier_name="tierName"
|
|
23893
|
+
)
|
|
23894
|
+
'''
|
|
23895
|
+
if __debug__:
|
|
23896
|
+
type_hints = typing.get_type_hints(_typecheckingstub__41fd4ea54ea6af8c3dab6d3870ca7f484ac15185331f9fe5dc1ae49db7fe3954)
|
|
23897
|
+
check_type(argname="argument tier_name", value=tier_name, expected_type=type_hints["tier_name"])
|
|
23898
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
23899
|
+
"tier_name": tier_name,
|
|
23900
|
+
}
|
|
23901
|
+
|
|
23902
|
+
@builtins.property
|
|
23903
|
+
def tier_name(self) -> builtins.str:
|
|
23904
|
+
'''Tier name for tier configuration in content filters policy.
|
|
23905
|
+
|
|
23906
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterstierconfig.html#cfn-bedrock-guardrail-contentfilterstierconfig-tiername
|
|
23907
|
+
'''
|
|
23908
|
+
result = self._values.get("tier_name")
|
|
23909
|
+
assert result is not None, "Required property 'tier_name' is missing"
|
|
23910
|
+
return typing.cast(builtins.str, result)
|
|
23911
|
+
|
|
23912
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
23913
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
23914
|
+
|
|
23915
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
23916
|
+
return not (rhs == self)
|
|
23917
|
+
|
|
23918
|
+
def __repr__(self) -> str:
|
|
23919
|
+
return "ContentFiltersTierConfigProperty(%s)" % ", ".join(
|
|
23920
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
23921
|
+
)
|
|
23922
|
+
|
|
23861
23923
|
@jsii.data_type(
|
|
23862
23924
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail.ContentPolicyConfigProperty",
|
|
23863
23925
|
jsii_struct_bases=[],
|
|
23864
|
-
name_mapping={
|
|
23926
|
+
name_mapping={
|
|
23927
|
+
"filters_config": "filtersConfig",
|
|
23928
|
+
"content_filters_tier_config": "contentFiltersTierConfig",
|
|
23929
|
+
},
|
|
23865
23930
|
)
|
|
23866
23931
|
class ContentPolicyConfigProperty:
|
|
23867
23932
|
def __init__(
|
|
23868
23933
|
self,
|
|
23869
23934
|
*,
|
|
23870
23935
|
filters_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardrail.ContentFilterConfigProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
23936
|
+
content_filters_tier_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardrail.ContentFiltersTierConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23871
23937
|
) -> None:
|
|
23872
23938
|
'''Contains details about how to handle harmful content.
|
|
23873
23939
|
|
|
23874
23940
|
:param filters_config: Contains the type of the content filter and how strongly it should apply to prompts and model responses.
|
|
23941
|
+
:param content_filters_tier_config: Guardrail tier config for content policy.
|
|
23875
23942
|
|
|
23876
23943
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html
|
|
23877
23944
|
:exampleMetadata: fixture=_generated
|
|
@@ -23895,15 +23962,23 @@ class CfnGuardrail(
|
|
|
23895
23962
|
output_action="outputAction",
|
|
23896
23963
|
output_enabled=False,
|
|
23897
23964
|
output_modalities=["outputModalities"]
|
|
23898
|
-
)]
|
|
23965
|
+
)],
|
|
23966
|
+
|
|
23967
|
+
# the properties below are optional
|
|
23968
|
+
content_filters_tier_config=bedrock.CfnGuardrail.ContentFiltersTierConfigProperty(
|
|
23969
|
+
tier_name="tierName"
|
|
23970
|
+
)
|
|
23899
23971
|
)
|
|
23900
23972
|
'''
|
|
23901
23973
|
if __debug__:
|
|
23902
23974
|
type_hints = typing.get_type_hints(_typecheckingstub__3c9f736a4ece8c00be77ba5cd1cda628f4fd10884f3d7ed2c668ae9c1c654fb0)
|
|
23903
23975
|
check_type(argname="argument filters_config", value=filters_config, expected_type=type_hints["filters_config"])
|
|
23976
|
+
check_type(argname="argument content_filters_tier_config", value=content_filters_tier_config, expected_type=type_hints["content_filters_tier_config"])
|
|
23904
23977
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
23905
23978
|
"filters_config": filters_config,
|
|
23906
23979
|
}
|
|
23980
|
+
if content_filters_tier_config is not None:
|
|
23981
|
+
self._values["content_filters_tier_config"] = content_filters_tier_config
|
|
23907
23982
|
|
|
23908
23983
|
@builtins.property
|
|
23909
23984
|
def filters_config(
|
|
@@ -23917,6 +23992,17 @@ class CfnGuardrail(
|
|
|
23917
23992
|
assert result is not None, "Required property 'filters_config' is missing"
|
|
23918
23993
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.ContentFilterConfigProperty"]]], result)
|
|
23919
23994
|
|
|
23995
|
+
@builtins.property
|
|
23996
|
+
def content_filters_tier_config(
|
|
23997
|
+
self,
|
|
23998
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.ContentFiltersTierConfigProperty"]]:
|
|
23999
|
+
'''Guardrail tier config for content policy.
|
|
24000
|
+
|
|
24001
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentpolicyconfig.html#cfn-bedrock-guardrail-contentpolicyconfig-contentfilterstierconfig
|
|
24002
|
+
'''
|
|
24003
|
+
result = self._values.get("content_filters_tier_config")
|
|
24004
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.ContentFiltersTierConfigProperty"]], result)
|
|
24005
|
+
|
|
23920
24006
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
23921
24007
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
23922
24008
|
|
|
@@ -25010,17 +25096,22 @@ class CfnGuardrail(
|
|
|
25010
25096
|
@jsii.data_type(
|
|
25011
25097
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail.TopicPolicyConfigProperty",
|
|
25012
25098
|
jsii_struct_bases=[],
|
|
25013
|
-
name_mapping={
|
|
25099
|
+
name_mapping={
|
|
25100
|
+
"topics_config": "topicsConfig",
|
|
25101
|
+
"topics_tier_config": "topicsTierConfig",
|
|
25102
|
+
},
|
|
25014
25103
|
)
|
|
25015
25104
|
class TopicPolicyConfigProperty:
|
|
25016
25105
|
def __init__(
|
|
25017
25106
|
self,
|
|
25018
25107
|
*,
|
|
25019
25108
|
topics_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardrail.TopicConfigProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
25109
|
+
topics_tier_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardrail.TopicsTierConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
25020
25110
|
) -> None:
|
|
25021
25111
|
'''Contains details about topics that the guardrail should identify and deny.
|
|
25022
25112
|
|
|
25023
25113
|
:param topics_config: A list of policies related to topics that the guardrail should deny.
|
|
25114
|
+
:param topics_tier_config: Guardrail tier config for topic policy.
|
|
25024
25115
|
|
|
25025
25116
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html
|
|
25026
25117
|
:exampleMetadata: fixture=_generated
|
|
@@ -25043,15 +25134,23 @@ class CfnGuardrail(
|
|
|
25043
25134
|
input_enabled=False,
|
|
25044
25135
|
output_action="outputAction",
|
|
25045
25136
|
output_enabled=False
|
|
25046
|
-
)]
|
|
25137
|
+
)],
|
|
25138
|
+
|
|
25139
|
+
# the properties below are optional
|
|
25140
|
+
topics_tier_config=bedrock.CfnGuardrail.TopicsTierConfigProperty(
|
|
25141
|
+
tier_name="tierName"
|
|
25142
|
+
)
|
|
25047
25143
|
)
|
|
25048
25144
|
'''
|
|
25049
25145
|
if __debug__:
|
|
25050
25146
|
type_hints = typing.get_type_hints(_typecheckingstub__a601b9bb5110351c09983ddf7f804dd1b1d64d78dffded374d89618a609277eb)
|
|
25051
25147
|
check_type(argname="argument topics_config", value=topics_config, expected_type=type_hints["topics_config"])
|
|
25148
|
+
check_type(argname="argument topics_tier_config", value=topics_tier_config, expected_type=type_hints["topics_tier_config"])
|
|
25052
25149
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
25053
25150
|
"topics_config": topics_config,
|
|
25054
25151
|
}
|
|
25152
|
+
if topics_tier_config is not None:
|
|
25153
|
+
self._values["topics_tier_config"] = topics_tier_config
|
|
25055
25154
|
|
|
25056
25155
|
@builtins.property
|
|
25057
25156
|
def topics_config(
|
|
@@ -25065,6 +25164,17 @@ class CfnGuardrail(
|
|
|
25065
25164
|
assert result is not None, "Required property 'topics_config' is missing"
|
|
25066
25165
|
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.TopicConfigProperty"]]], result)
|
|
25067
25166
|
|
|
25167
|
+
@builtins.property
|
|
25168
|
+
def topics_tier_config(
|
|
25169
|
+
self,
|
|
25170
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.TopicsTierConfigProperty"]]:
|
|
25171
|
+
'''Guardrail tier config for topic policy.
|
|
25172
|
+
|
|
25173
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicpolicyconfig.html#cfn-bedrock-guardrail-topicpolicyconfig-topicstierconfig
|
|
25174
|
+
'''
|
|
25175
|
+
result = self._values.get("topics_tier_config")
|
|
25176
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGuardrail.TopicsTierConfigProperty"]], result)
|
|
25177
|
+
|
|
25068
25178
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
25069
25179
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
25070
25180
|
|
|
@@ -25076,6 +25186,58 @@ class CfnGuardrail(
|
|
|
25076
25186
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
25077
25187
|
)
|
|
25078
25188
|
|
|
25189
|
+
@jsii.data_type(
|
|
25190
|
+
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail.TopicsTierConfigProperty",
|
|
25191
|
+
jsii_struct_bases=[],
|
|
25192
|
+
name_mapping={"tier_name": "tierName"},
|
|
25193
|
+
)
|
|
25194
|
+
class TopicsTierConfigProperty:
|
|
25195
|
+
def __init__(self, *, tier_name: builtins.str) -> None:
|
|
25196
|
+
'''Guardrail tier config for topic policy.
|
|
25197
|
+
|
|
25198
|
+
:param tier_name: Tier name for tier configuration in topic policy.
|
|
25199
|
+
|
|
25200
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicstierconfig.html
|
|
25201
|
+
:exampleMetadata: fixture=_generated
|
|
25202
|
+
|
|
25203
|
+
Example::
|
|
25204
|
+
|
|
25205
|
+
# The code below shows an example of how to instantiate this type.
|
|
25206
|
+
# The values are placeholders you should change.
|
|
25207
|
+
from aws_cdk import aws_bedrock as bedrock
|
|
25208
|
+
|
|
25209
|
+
topics_tier_config_property = bedrock.CfnGuardrail.TopicsTierConfigProperty(
|
|
25210
|
+
tier_name="tierName"
|
|
25211
|
+
)
|
|
25212
|
+
'''
|
|
25213
|
+
if __debug__:
|
|
25214
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ea9a9d736464d561710ac65e26fa4428bfdcc80faf4bd465f6e27c5797559c34)
|
|
25215
|
+
check_type(argname="argument tier_name", value=tier_name, expected_type=type_hints["tier_name"])
|
|
25216
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
25217
|
+
"tier_name": tier_name,
|
|
25218
|
+
}
|
|
25219
|
+
|
|
25220
|
+
@builtins.property
|
|
25221
|
+
def tier_name(self) -> builtins.str:
|
|
25222
|
+
'''Tier name for tier configuration in topic policy.
|
|
25223
|
+
|
|
25224
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicstierconfig.html#cfn-bedrock-guardrail-topicstierconfig-tiername
|
|
25225
|
+
'''
|
|
25226
|
+
result = self._values.get("tier_name")
|
|
25227
|
+
assert result is not None, "Required property 'tier_name' is missing"
|
|
25228
|
+
return typing.cast(builtins.str, result)
|
|
25229
|
+
|
|
25230
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
25231
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
25232
|
+
|
|
25233
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
25234
|
+
return not (rhs == self)
|
|
25235
|
+
|
|
25236
|
+
def __repr__(self) -> str:
|
|
25237
|
+
return "TopicsTierConfigProperty(%s)" % ", ".join(
|
|
25238
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
25239
|
+
)
|
|
25240
|
+
|
|
25079
25241
|
@jsii.data_type(
|
|
25080
25242
|
jsii_type="aws-cdk-lib.aws_bedrock.CfnGuardrail.WordConfigProperty",
|
|
25081
25243
|
jsii_struct_bases=[],
|
|
@@ -25372,7 +25534,12 @@ class CfnGuardrailProps:
|
|
|
25372
25534
|
output_action="outputAction",
|
|
25373
25535
|
output_enabled=False,
|
|
25374
25536
|
output_modalities=["outputModalities"]
|
|
25375
|
-
)]
|
|
25537
|
+
)],
|
|
25538
|
+
|
|
25539
|
+
# the properties below are optional
|
|
25540
|
+
content_filters_tier_config=bedrock.CfnGuardrail.ContentFiltersTierConfigProperty(
|
|
25541
|
+
tier_name="tierName"
|
|
25542
|
+
)
|
|
25376
25543
|
),
|
|
25377
25544
|
contextual_grounding_policy_config=bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty(
|
|
25378
25545
|
filters_config=[bedrock.CfnGuardrail.ContextualGroundingFilterConfigProperty(
|
|
@@ -25429,7 +25596,12 @@ class CfnGuardrailProps:
|
|
|
25429
25596
|
input_enabled=False,
|
|
25430
25597
|
output_action="outputAction",
|
|
25431
25598
|
output_enabled=False
|
|
25432
|
-
)]
|
|
25599
|
+
)],
|
|
25600
|
+
|
|
25601
|
+
# the properties below are optional
|
|
25602
|
+
topics_tier_config=bedrock.CfnGuardrail.TopicsTierConfigProperty(
|
|
25603
|
+
tier_name="tierName"
|
|
25604
|
+
)
|
|
25433
25605
|
),
|
|
25434
25606
|
word_policy_config=bedrock.CfnGuardrail.WordPolicyConfigProperty(
|
|
25435
25607
|
managed_word_lists_config=[bedrock.CfnGuardrail.ManagedWordsConfigProperty(
|
|
@@ -39044,9 +39216,17 @@ def _typecheckingstub__e931f7f6b53869d60aab0ecda0e56f276982aaf3a1ee755be3434f26d
|
|
|
39044
39216
|
"""Type checking stubs"""
|
|
39045
39217
|
pass
|
|
39046
39218
|
|
|
39219
|
+
def _typecheckingstub__41fd4ea54ea6af8c3dab6d3870ca7f484ac15185331f9fe5dc1ae49db7fe3954(
|
|
39220
|
+
*,
|
|
39221
|
+
tier_name: builtins.str,
|
|
39222
|
+
) -> None:
|
|
39223
|
+
"""Type checking stubs"""
|
|
39224
|
+
pass
|
|
39225
|
+
|
|
39047
39226
|
def _typecheckingstub__3c9f736a4ece8c00be77ba5cd1cda628f4fd10884f3d7ed2c668ae9c1c654fb0(
|
|
39048
39227
|
*,
|
|
39049
39228
|
filters_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardrail.ContentFilterConfigProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
39229
|
+
content_filters_tier_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardrail.ContentFiltersTierConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39050
39230
|
) -> None:
|
|
39051
39231
|
"""Type checking stubs"""
|
|
39052
39232
|
pass
|
|
@@ -39137,6 +39317,14 @@ def _typecheckingstub__55baba87f7434d59d4b6be04489cbfbd90b857b82944e9437475de8bd
|
|
|
39137
39317
|
def _typecheckingstub__a601b9bb5110351c09983ddf7f804dd1b1d64d78dffded374d89618a609277eb(
|
|
39138
39318
|
*,
|
|
39139
39319
|
topics_config: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardrail.TopicConfigProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
39320
|
+
topics_tier_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardrail.TopicsTierConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39321
|
+
) -> None:
|
|
39322
|
+
"""Type checking stubs"""
|
|
39323
|
+
pass
|
|
39324
|
+
|
|
39325
|
+
def _typecheckingstub__ea9a9d736464d561710ac65e26fa4428bfdcc80faf4bd465f6e27c5797559c34(
|
|
39326
|
+
*,
|
|
39327
|
+
tier_name: builtins.str,
|
|
39140
39328
|
) -> None:
|
|
39141
39329
|
"""Type checking stubs"""
|
|
39142
39330
|
pass
|
|
@@ -527,6 +527,12 @@ class CfnTable(
|
|
|
527
527
|
write_capacity_units=123
|
|
528
528
|
)
|
|
529
529
|
),
|
|
530
|
+
cdc_specification=cassandra.CfnTable.CdcSpecificationProperty(
|
|
531
|
+
status="status",
|
|
532
|
+
|
|
533
|
+
# the properties below are optional
|
|
534
|
+
view_type="viewType"
|
|
535
|
+
),
|
|
530
536
|
client_side_timestamps_enabled=False,
|
|
531
537
|
clustering_key_columns=[cassandra.CfnTable.ClusteringKeyColumnProperty(
|
|
532
538
|
column=cassandra.CfnTable.ColumnProperty(
|
|
@@ -587,6 +593,7 @@ class CfnTable(
|
|
|
587
593
|
partition_key_columns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ColumnProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
588
594
|
auto_scaling_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.AutoScalingSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
589
595
|
billing_mode: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.BillingModeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
596
|
+
cdc_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.CdcSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
590
597
|
client_side_timestamps_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
591
598
|
clustering_key_columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTable.ClusteringKeyColumnProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
592
599
|
default_time_to_live: typing.Optional[jsii.Number] = None,
|
|
@@ -604,6 +611,7 @@ class CfnTable(
|
|
|
604
611
|
:param partition_key_columns: One or more columns that uniquely identify every row in the table. Every table must have a partition key.
|
|
605
612
|
:param auto_scaling_specifications: The optional auto scaling capacity settings for a table in provisioned capacity mode.
|
|
606
613
|
:param billing_mode: The billing mode for the table, which determines how you'll be charged for reads and writes:. - *On-demand mode* (default) - You pay based on the actual reads and writes your application performs. - *Provisioned mode* - Lets you specify the number of reads and writes per second that you need for your application. If you don't specify a value for this property, then the table will use on-demand mode.
|
|
614
|
+
:param cdc_specification: The settings for the CDC stream of a table. For more information about CDC streams, see `Working with change data capture (CDC) streams in Amazon Keyspaces <https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
607
615
|
:param client_side_timestamps_enabled: Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option: - ``status: "enabled"`` After client-side timestamps are enabled for a table, you can't disable this setting.
|
|
608
616
|
:param clustering_key_columns: One or more columns that determine how the table data is sorted.
|
|
609
617
|
:param default_time_to_live: The default Time To Live (TTL) value for all rows in a table in seconds. The maximum configurable value is 630,720,000 seconds, which is the equivalent of 20 years. By default, the TTL value for a table is 0, which means data does not expire. For more information, see `Setting the default TTL value for a table <https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
@@ -623,6 +631,7 @@ class CfnTable(
|
|
|
623
631
|
partition_key_columns=partition_key_columns,
|
|
624
632
|
auto_scaling_specifications=auto_scaling_specifications,
|
|
625
633
|
billing_mode=billing_mode,
|
|
634
|
+
cdc_specification=cdc_specification,
|
|
626
635
|
client_side_timestamps_enabled=client_side_timestamps_enabled,
|
|
627
636
|
clustering_key_columns=clustering_key_columns,
|
|
628
637
|
default_time_to_live=default_time_to_live,
|
|
@@ -744,6 +753,24 @@ class CfnTable(
|
|
|
744
753
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
745
754
|
jsii.set(self, "billingMode", value) # pyright: ignore[reportArgumentType]
|
|
746
755
|
|
|
756
|
+
@builtins.property
|
|
757
|
+
@jsii.member(jsii_name="cdcSpecification")
|
|
758
|
+
def cdc_specification(
|
|
759
|
+
self,
|
|
760
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.CdcSpecificationProperty"]]:
|
|
761
|
+
'''The settings for the CDC stream of a table.'''
|
|
762
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.CdcSpecificationProperty"]], jsii.get(self, "cdcSpecification"))
|
|
763
|
+
|
|
764
|
+
@cdc_specification.setter
|
|
765
|
+
def cdc_specification(
|
|
766
|
+
self,
|
|
767
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.CdcSpecificationProperty"]],
|
|
768
|
+
) -> None:
|
|
769
|
+
if __debug__:
|
|
770
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6d6f243fb6b53b3d40f8fc1ed0b3c81e11937e534f5c4e508a4afcf41e5bb3b5)
|
|
771
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
772
|
+
jsii.set(self, "cdcSpecification", value) # pyright: ignore[reportArgumentType]
|
|
773
|
+
|
|
747
774
|
@builtins.property
|
|
748
775
|
@jsii.member(jsii_name="clientSideTimestampsEnabled")
|
|
749
776
|
def client_side_timestamps_enabled(
|
|
@@ -1226,6 +1253,94 @@ class CfnTable(
|
|
|
1226
1253
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1227
1254
|
)
|
|
1228
1255
|
|
|
1256
|
+
@jsii.data_type(
|
|
1257
|
+
jsii_type="aws-cdk-lib.aws_cassandra.CfnTable.CdcSpecificationProperty",
|
|
1258
|
+
jsii_struct_bases=[],
|
|
1259
|
+
name_mapping={"status": "status", "view_type": "viewType"},
|
|
1260
|
+
)
|
|
1261
|
+
class CdcSpecificationProperty:
|
|
1262
|
+
def __init__(
|
|
1263
|
+
self,
|
|
1264
|
+
*,
|
|
1265
|
+
status: builtins.str,
|
|
1266
|
+
view_type: typing.Optional[builtins.str] = None,
|
|
1267
|
+
) -> None:
|
|
1268
|
+
'''The settings for the CDC stream of a table.
|
|
1269
|
+
|
|
1270
|
+
For more information about CDC streams, see `Working with change data capture (CDC) streams in Amazon Keyspaces <https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
1271
|
+
|
|
1272
|
+
:param status: The status of the CDC stream. You can enable or disable a stream for a table.
|
|
1273
|
+
:param view_type: The view type specifies the changes Amazon Keyspaces records for each changed row in the stream. After you create the stream, you can't make changes to this selection. The options are: - ``NEW_AND_OLD_IMAGES`` - both versions of the row, before and after the change. This is the default. - ``NEW_IMAGE`` - the version of the row after the change. - ``OLD_IMAGE`` - the version of the row before the change. - ``KEYS_ONLY`` - the partition and clustering keys of the row that was changed. Default: - "NEW_AND_OLD_IMAGES"
|
|
1274
|
+
|
|
1275
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-cdcspecification.html
|
|
1276
|
+
:exampleMetadata: fixture=_generated
|
|
1277
|
+
|
|
1278
|
+
Example::
|
|
1279
|
+
|
|
1280
|
+
# The code below shows an example of how to instantiate this type.
|
|
1281
|
+
# The values are placeholders you should change.
|
|
1282
|
+
from aws_cdk import aws_cassandra as cassandra
|
|
1283
|
+
|
|
1284
|
+
cdc_specification_property = cassandra.CfnTable.CdcSpecificationProperty(
|
|
1285
|
+
status="status",
|
|
1286
|
+
|
|
1287
|
+
# the properties below are optional
|
|
1288
|
+
view_type="viewType"
|
|
1289
|
+
)
|
|
1290
|
+
'''
|
|
1291
|
+
if __debug__:
|
|
1292
|
+
type_hints = typing.get_type_hints(_typecheckingstub__504eaef70818f1cb4ead5434397a50494cf33314a00fe4e3045dad5cdcd7b160)
|
|
1293
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
1294
|
+
check_type(argname="argument view_type", value=view_type, expected_type=type_hints["view_type"])
|
|
1295
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1296
|
+
"status": status,
|
|
1297
|
+
}
|
|
1298
|
+
if view_type is not None:
|
|
1299
|
+
self._values["view_type"] = view_type
|
|
1300
|
+
|
|
1301
|
+
@builtins.property
|
|
1302
|
+
def status(self) -> builtins.str:
|
|
1303
|
+
'''The status of the CDC stream.
|
|
1304
|
+
|
|
1305
|
+
You can enable or disable a stream for a table.
|
|
1306
|
+
|
|
1307
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-cdcspecification.html#cfn-cassandra-table-cdcspecification-status
|
|
1308
|
+
'''
|
|
1309
|
+
result = self._values.get("status")
|
|
1310
|
+
assert result is not None, "Required property 'status' is missing"
|
|
1311
|
+
return typing.cast(builtins.str, result)
|
|
1312
|
+
|
|
1313
|
+
@builtins.property
|
|
1314
|
+
def view_type(self) -> typing.Optional[builtins.str]:
|
|
1315
|
+
'''The view type specifies the changes Amazon Keyspaces records for each changed row in the stream.
|
|
1316
|
+
|
|
1317
|
+
After you create the stream, you can't make changes to this selection.
|
|
1318
|
+
|
|
1319
|
+
The options are:
|
|
1320
|
+
|
|
1321
|
+
- ``NEW_AND_OLD_IMAGES`` - both versions of the row, before and after the change. This is the default.
|
|
1322
|
+
- ``NEW_IMAGE`` - the version of the row after the change.
|
|
1323
|
+
- ``OLD_IMAGE`` - the version of the row before the change.
|
|
1324
|
+
- ``KEYS_ONLY`` - the partition and clustering keys of the row that was changed.
|
|
1325
|
+
|
|
1326
|
+
:default: - "NEW_AND_OLD_IMAGES"
|
|
1327
|
+
|
|
1328
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-cdcspecification.html#cfn-cassandra-table-cdcspecification-viewtype
|
|
1329
|
+
'''
|
|
1330
|
+
result = self._values.get("view_type")
|
|
1331
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1332
|
+
|
|
1333
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1334
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1335
|
+
|
|
1336
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1337
|
+
return not (rhs == self)
|
|
1338
|
+
|
|
1339
|
+
def __repr__(self) -> str:
|
|
1340
|
+
return "CdcSpecificationProperty(%s)" % ", ".join(
|
|
1341
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1342
|
+
)
|
|
1343
|
+
|
|
1229
1344
|
@jsii.data_type(
|
|
1230
1345
|
jsii_type="aws-cdk-lib.aws_cassandra.CfnTable.ClusteringKeyColumnProperty",
|
|
1231
1346
|
jsii_struct_bases=[],
|
|
@@ -1875,6 +1990,7 @@ class CfnTable(
|
|
|
1875
1990
|
"partition_key_columns": "partitionKeyColumns",
|
|
1876
1991
|
"auto_scaling_specifications": "autoScalingSpecifications",
|
|
1877
1992
|
"billing_mode": "billingMode",
|
|
1993
|
+
"cdc_specification": "cdcSpecification",
|
|
1878
1994
|
"client_side_timestamps_enabled": "clientSideTimestampsEnabled",
|
|
1879
1995
|
"clustering_key_columns": "clusteringKeyColumns",
|
|
1880
1996
|
"default_time_to_live": "defaultTimeToLive",
|
|
@@ -1894,6 +2010,7 @@ class CfnTableProps:
|
|
|
1894
2010
|
partition_key_columns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ColumnProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
1895
2011
|
auto_scaling_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.AutoScalingSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1896
2012
|
billing_mode: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.BillingModeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2013
|
+
cdc_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.CdcSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1897
2014
|
client_side_timestamps_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1898
2015
|
clustering_key_columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ClusteringKeyColumnProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1899
2016
|
default_time_to_live: typing.Optional[jsii.Number] = None,
|
|
@@ -1910,6 +2027,7 @@ class CfnTableProps:
|
|
|
1910
2027
|
:param partition_key_columns: One or more columns that uniquely identify every row in the table. Every table must have a partition key.
|
|
1911
2028
|
:param auto_scaling_specifications: The optional auto scaling capacity settings for a table in provisioned capacity mode.
|
|
1912
2029
|
:param billing_mode: The billing mode for the table, which determines how you'll be charged for reads and writes:. - *On-demand mode* (default) - You pay based on the actual reads and writes your application performs. - *Provisioned mode* - Lets you specify the number of reads and writes per second that you need for your application. If you don't specify a value for this property, then the table will use on-demand mode.
|
|
2030
|
+
:param cdc_specification: The settings for the CDC stream of a table. For more information about CDC streams, see `Working with change data capture (CDC) streams in Amazon Keyspaces <https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
1913
2031
|
:param client_side_timestamps_enabled: Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option: - ``status: "enabled"`` After client-side timestamps are enabled for a table, you can't disable this setting.
|
|
1914
2032
|
:param clustering_key_columns: One or more columns that determine how the table data is sorted.
|
|
1915
2033
|
:param default_time_to_live: The default Time To Live (TTL) value for all rows in a table in seconds. The maximum configurable value is 630,720,000 seconds, which is the equivalent of 20 years. By default, the TTL value for a table is 0, which means data does not expire. For more information, see `Setting the default TTL value for a table <https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
@@ -1978,6 +2096,12 @@ class CfnTableProps:
|
|
|
1978
2096
|
write_capacity_units=123
|
|
1979
2097
|
)
|
|
1980
2098
|
),
|
|
2099
|
+
cdc_specification=cassandra.CfnTable.CdcSpecificationProperty(
|
|
2100
|
+
status="status",
|
|
2101
|
+
|
|
2102
|
+
# the properties below are optional
|
|
2103
|
+
view_type="viewType"
|
|
2104
|
+
),
|
|
1981
2105
|
client_side_timestamps_enabled=False,
|
|
1982
2106
|
clustering_key_columns=[cassandra.CfnTable.ClusteringKeyColumnProperty(
|
|
1983
2107
|
column=cassandra.CfnTable.ColumnProperty(
|
|
@@ -2034,6 +2158,7 @@ class CfnTableProps:
|
|
|
2034
2158
|
check_type(argname="argument partition_key_columns", value=partition_key_columns, expected_type=type_hints["partition_key_columns"])
|
|
2035
2159
|
check_type(argname="argument auto_scaling_specifications", value=auto_scaling_specifications, expected_type=type_hints["auto_scaling_specifications"])
|
|
2036
2160
|
check_type(argname="argument billing_mode", value=billing_mode, expected_type=type_hints["billing_mode"])
|
|
2161
|
+
check_type(argname="argument cdc_specification", value=cdc_specification, expected_type=type_hints["cdc_specification"])
|
|
2037
2162
|
check_type(argname="argument client_side_timestamps_enabled", value=client_side_timestamps_enabled, expected_type=type_hints["client_side_timestamps_enabled"])
|
|
2038
2163
|
check_type(argname="argument clustering_key_columns", value=clustering_key_columns, expected_type=type_hints["clustering_key_columns"])
|
|
2039
2164
|
check_type(argname="argument default_time_to_live", value=default_time_to_live, expected_type=type_hints["default_time_to_live"])
|
|
@@ -2051,6 +2176,8 @@ class CfnTableProps:
|
|
|
2051
2176
|
self._values["auto_scaling_specifications"] = auto_scaling_specifications
|
|
2052
2177
|
if billing_mode is not None:
|
|
2053
2178
|
self._values["billing_mode"] = billing_mode
|
|
2179
|
+
if cdc_specification is not None:
|
|
2180
|
+
self._values["cdc_specification"] = cdc_specification
|
|
2054
2181
|
if client_side_timestamps_enabled is not None:
|
|
2055
2182
|
self._values["client_side_timestamps_enabled"] = client_side_timestamps_enabled
|
|
2056
2183
|
if clustering_key_columns is not None:
|
|
@@ -2123,6 +2250,19 @@ class CfnTableProps:
|
|
|
2123
2250
|
result = self._values.get("billing_mode")
|
|
2124
2251
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.BillingModeProperty]], result)
|
|
2125
2252
|
|
|
2253
|
+
@builtins.property
|
|
2254
|
+
def cdc_specification(
|
|
2255
|
+
self,
|
|
2256
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.CdcSpecificationProperty]]:
|
|
2257
|
+
'''The settings for the CDC stream of a table.
|
|
2258
|
+
|
|
2259
|
+
For more information about CDC streams, see `Working with change data capture (CDC) streams in Amazon Keyspaces <https://docs.aws.amazon.com/keyspaces/latest/devguide/cdc.html>`_ in the *Amazon Keyspaces Developer Guide* .
|
|
2260
|
+
|
|
2261
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html#cfn-cassandra-table-cdcspecification
|
|
2262
|
+
'''
|
|
2263
|
+
result = self._values.get("cdc_specification")
|
|
2264
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.CdcSpecificationProperty]], result)
|
|
2265
|
+
|
|
2126
2266
|
@builtins.property
|
|
2127
2267
|
def client_side_timestamps_enabled(
|
|
2128
2268
|
self,
|
|
@@ -2713,6 +2853,7 @@ def _typecheckingstub__9d6fd025c7c0c8d4a27519b568ec6952b027c14ffb932a0cd5e53f0aa
|
|
|
2713
2853
|
partition_key_columns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ColumnProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2714
2854
|
auto_scaling_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.AutoScalingSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2715
2855
|
billing_mode: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.BillingModeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2856
|
+
cdc_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.CdcSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2716
2857
|
client_side_timestamps_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2717
2858
|
clustering_key_columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ClusteringKeyColumnProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2718
2859
|
default_time_to_live: typing.Optional[jsii.Number] = None,
|
|
@@ -2762,6 +2903,12 @@ def _typecheckingstub__b2219a43361bf3ff1d1bf29e1b2907d75a53df3b7016d534579938eea
|
|
|
2762
2903
|
"""Type checking stubs"""
|
|
2763
2904
|
pass
|
|
2764
2905
|
|
|
2906
|
+
def _typecheckingstub__6d6f243fb6b53b3d40f8fc1ed0b3c81e11937e534f5c4e508a4afcf41e5bb3b5(
|
|
2907
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.CdcSpecificationProperty]],
|
|
2908
|
+
) -> None:
|
|
2909
|
+
"""Type checking stubs"""
|
|
2910
|
+
pass
|
|
2911
|
+
|
|
2765
2912
|
def _typecheckingstub__fd9370f4f1ef0d5c1349ef8d576cad345ff735c9ca5c01758d25b48bfb48e5bb(
|
|
2766
2913
|
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
2767
2914
|
) -> None:
|
|
@@ -2842,6 +2989,14 @@ def _typecheckingstub__1b57c6da9515480ece2b86b6971f8563bcf0c49dab50c8c6e234c443b
|
|
|
2842
2989
|
"""Type checking stubs"""
|
|
2843
2990
|
pass
|
|
2844
2991
|
|
|
2992
|
+
def _typecheckingstub__504eaef70818f1cb4ead5434397a50494cf33314a00fe4e3045dad5cdcd7b160(
|
|
2993
|
+
*,
|
|
2994
|
+
status: builtins.str,
|
|
2995
|
+
view_type: typing.Optional[builtins.str] = None,
|
|
2996
|
+
) -> None:
|
|
2997
|
+
"""Type checking stubs"""
|
|
2998
|
+
pass
|
|
2999
|
+
|
|
2845
3000
|
def _typecheckingstub__0c4989a761d5af337ce8ad918b2d543390cab5ea5d5ea82741f1c3416e00d794(
|
|
2846
3001
|
*,
|
|
2847
3002
|
column: typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ColumnProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -2906,6 +3061,7 @@ def _typecheckingstub__bd1ff29b1ec22382a7c3d14031657668106b0fcd843c06a96897bcadf
|
|
|
2906
3061
|
partition_key_columns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ColumnProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
2907
3062
|
auto_scaling_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.AutoScalingSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2908
3063
|
billing_mode: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.BillingModeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3064
|
+
cdc_specification: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.CdcSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2909
3065
|
client_side_timestamps_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
2910
3066
|
clustering_key_columns: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnTable.ClusteringKeyColumnProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2911
3067
|
default_time_to_live: typing.Optional[jsii.Number] = None,
|