aws-cdk-lib 2.184.0__py3-none-any.whl → 2.185.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.184.0.jsii.tgz → aws-cdk-lib@2.185.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_applicationsignals/__init__.py +134 -0
- aws_cdk/aws_appsync/__init__.py +0 -8
- aws_cdk/aws_athena/__init__.py +143 -0
- aws_cdk/aws_backup/__init__.py +4 -2
- aws_cdk/aws_batch/__init__.py +9 -0
- aws_cdk/aws_bedrock/__init__.py +260 -185
- aws_cdk/aws_cassandra/__init__.py +3 -5
- aws_cdk/aws_chatbot/__init__.py +41 -0
- aws_cdk/aws_codebuild/__init__.py +10 -3
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +12 -14
- aws_cdk/aws_ec2/__init__.py +148 -19
- aws_cdk/aws_ecr/__init__.py +84 -2
- aws_cdk/aws_ecs/__init__.py +5 -5
- aws_cdk/aws_eks/__init__.py +2 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +42 -5
- aws_cdk/aws_elasticsearch/__init__.py +1 -1
- aws_cdk/aws_events_targets/__init__.py +5 -5
- aws_cdk/aws_gamelift/__init__.py +162 -162
- aws_cdk/aws_gameliftstreams/__init__.py +199 -59
- aws_cdk/aws_iam/__init__.py +58 -30
- aws_cdk/aws_imagebuilder/__init__.py +42 -5
- aws_cdk/aws_iotfleetwise/__init__.py +15 -6
- aws_cdk/aws_kinesisfirehose/__init__.py +113 -110
- aws_cdk/aws_logs/__init__.py +21 -27
- aws_cdk/aws_msk/__init__.py +9 -48
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_pcs/__init__.py +33 -22
- aws_cdk/aws_rds/__init__.py +8 -4
- aws_cdk/aws_rum/__init__.py +148 -0
- aws_cdk/aws_s3/__init__.py +4 -6
- aws_cdk/aws_s3_deployment/__init__.py +2 -0
- aws_cdk/aws_sagemaker/__init__.py +524 -0
- aws_cdk/aws_ses/__init__.py +9 -9
- aws_cdk/aws_sns/__init__.py +12 -12
- aws_cdk/cx_api/__init__.py +30 -0
- aws_cdk/region_info/__init__.py +2 -2
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/RECORD +46 -46
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.184.0.dist-info → aws_cdk_lib-2.185.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rum/__init__.py
CHANGED
|
@@ -130,6 +130,12 @@ class CfnAppMonitor(
|
|
|
130
130
|
status="status"
|
|
131
131
|
),
|
|
132
132
|
cw_log_enabled=False,
|
|
133
|
+
resource_policy=rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
134
|
+
policy_document="policyDocument",
|
|
135
|
+
|
|
136
|
+
# the properties below are optional
|
|
137
|
+
policy_revision_id="policyRevisionId"
|
|
138
|
+
),
|
|
133
139
|
tags=[CfnTag(
|
|
134
140
|
key="key",
|
|
135
141
|
value="value"
|
|
@@ -147,6 +153,7 @@ class CfnAppMonitor(
|
|
|
147
153
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.AppMonitorConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
154
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.CustomEventsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
149
155
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
156
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.ResourcePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
150
157
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
151
158
|
) -> None:
|
|
152
159
|
'''
|
|
@@ -157,6 +164,7 @@ class CfnAppMonitor(
|
|
|
157
164
|
:param app_monitor_configuration: A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include ``AppMonitorConfiguration`` , you must set up your own authorization method. For more information, see `Authorize your application to send data to AWS <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html>`_ . If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
|
|
158
165
|
:param custom_events: Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are ``DISABLED`` .
|
|
159
166
|
:param cw_log_enabled: Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether CloudWatch RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. If you omit this parameter, the default is ``false`` .
|
|
167
|
+
:param resource_policy: A structure that defines resource policy attached to your app monitor.
|
|
160
168
|
:param tags: Assigns one or more tags (key-value pairs) to the app monitor. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can associate as many as 50 tags with an app monitor. For more information, see `Tagging AWS resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ .
|
|
161
169
|
'''
|
|
162
170
|
if __debug__:
|
|
@@ -169,6 +177,7 @@ class CfnAppMonitor(
|
|
|
169
177
|
app_monitor_configuration=app_monitor_configuration,
|
|
170
178
|
custom_events=custom_events,
|
|
171
179
|
cw_log_enabled=cw_log_enabled,
|
|
180
|
+
resource_policy=resource_policy,
|
|
172
181
|
tags=tags,
|
|
173
182
|
)
|
|
174
183
|
|
|
@@ -304,6 +313,24 @@ class CfnAppMonitor(
|
|
|
304
313
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
305
314
|
jsii.set(self, "cwLogEnabled", value) # pyright: ignore[reportArgumentType]
|
|
306
315
|
|
|
316
|
+
@builtins.property
|
|
317
|
+
@jsii.member(jsii_name="resourcePolicy")
|
|
318
|
+
def resource_policy(
|
|
319
|
+
self,
|
|
320
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]]:
|
|
321
|
+
'''A structure that defines resource policy attached to your app monitor.'''
|
|
322
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]], jsii.get(self, "resourcePolicy"))
|
|
323
|
+
|
|
324
|
+
@resource_policy.setter
|
|
325
|
+
def resource_policy(
|
|
326
|
+
self,
|
|
327
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]],
|
|
328
|
+
) -> None:
|
|
329
|
+
if __debug__:
|
|
330
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02ad50a0bedc842a57f77840ff242508a77c0b4d3a7db3dabb035464285b86fa)
|
|
331
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
332
|
+
jsii.set(self, "resourcePolicy", value) # pyright: ignore[reportArgumentType]
|
|
333
|
+
|
|
307
334
|
@builtins.property
|
|
308
335
|
@jsii.member(jsii_name="tagsRaw")
|
|
309
336
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -919,6 +946,88 @@ class CfnAppMonitor(
|
|
|
919
946
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
920
947
|
)
|
|
921
948
|
|
|
949
|
+
@jsii.data_type(
|
|
950
|
+
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitor.ResourcePolicyProperty",
|
|
951
|
+
jsii_struct_bases=[],
|
|
952
|
+
name_mapping={
|
|
953
|
+
"policy_document": "policyDocument",
|
|
954
|
+
"policy_revision_id": "policyRevisionId",
|
|
955
|
+
},
|
|
956
|
+
)
|
|
957
|
+
class ResourcePolicyProperty:
|
|
958
|
+
def __init__(
|
|
959
|
+
self,
|
|
960
|
+
*,
|
|
961
|
+
policy_document: builtins.str,
|
|
962
|
+
policy_revision_id: typing.Optional[builtins.str] = None,
|
|
963
|
+
) -> None:
|
|
964
|
+
'''A structure that defines resource policy attached to your app monitor.
|
|
965
|
+
|
|
966
|
+
:param policy_document: The JSON to use as the resource policy. The document can be up to 4 KB in size.
|
|
967
|
+
:param policy_revision_id: A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you assign a policy revision ID, then later requests about that policy will be rejected with an InvalidPolicyRevisionIdException error if they don't provide the correct current revision ID.
|
|
968
|
+
|
|
969
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html
|
|
970
|
+
:exampleMetadata: fixture=_generated
|
|
971
|
+
|
|
972
|
+
Example::
|
|
973
|
+
|
|
974
|
+
# The code below shows an example of how to instantiate this type.
|
|
975
|
+
# The values are placeholders you should change.
|
|
976
|
+
from aws_cdk import aws_rum as rum
|
|
977
|
+
|
|
978
|
+
resource_policy_property = rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
979
|
+
policy_document="policyDocument",
|
|
980
|
+
|
|
981
|
+
# the properties below are optional
|
|
982
|
+
policy_revision_id="policyRevisionId"
|
|
983
|
+
)
|
|
984
|
+
'''
|
|
985
|
+
if __debug__:
|
|
986
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50574a83877817c5c30ff641cfa13fc211766060d3c8591b640545f5594000af)
|
|
987
|
+
check_type(argname="argument policy_document", value=policy_document, expected_type=type_hints["policy_document"])
|
|
988
|
+
check_type(argname="argument policy_revision_id", value=policy_revision_id, expected_type=type_hints["policy_revision_id"])
|
|
989
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
990
|
+
"policy_document": policy_document,
|
|
991
|
+
}
|
|
992
|
+
if policy_revision_id is not None:
|
|
993
|
+
self._values["policy_revision_id"] = policy_revision_id
|
|
994
|
+
|
|
995
|
+
@builtins.property
|
|
996
|
+
def policy_document(self) -> builtins.str:
|
|
997
|
+
'''The JSON to use as the resource policy.
|
|
998
|
+
|
|
999
|
+
The document can be up to 4 KB in size.
|
|
1000
|
+
|
|
1001
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html#cfn-rum-appmonitor-resourcepolicy-policydocument
|
|
1002
|
+
'''
|
|
1003
|
+
result = self._values.get("policy_document")
|
|
1004
|
+
assert result is not None, "Required property 'policy_document' is missing"
|
|
1005
|
+
return typing.cast(builtins.str, result)
|
|
1006
|
+
|
|
1007
|
+
@builtins.property
|
|
1008
|
+
def policy_revision_id(self) -> typing.Optional[builtins.str]:
|
|
1009
|
+
'''A string value that you can use to conditionally update your policy.
|
|
1010
|
+
|
|
1011
|
+
You can provide the revision ID of your existing policy to make mutating requests against that policy.
|
|
1012
|
+
|
|
1013
|
+
When you assign a policy revision ID, then later requests about that policy will be rejected with an InvalidPolicyRevisionIdException error if they don't provide the correct current revision ID.
|
|
1014
|
+
|
|
1015
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html#cfn-rum-appmonitor-resourcepolicy-policyrevisionid
|
|
1016
|
+
'''
|
|
1017
|
+
result = self._values.get("policy_revision_id")
|
|
1018
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1019
|
+
|
|
1020
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1021
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1022
|
+
|
|
1023
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1024
|
+
return not (rhs == self)
|
|
1025
|
+
|
|
1026
|
+
def __repr__(self) -> str:
|
|
1027
|
+
return "ResourcePolicyProperty(%s)" % ", ".join(
|
|
1028
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1029
|
+
)
|
|
1030
|
+
|
|
922
1031
|
|
|
923
1032
|
@jsii.data_type(
|
|
924
1033
|
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitorProps",
|
|
@@ -929,6 +1038,7 @@ class CfnAppMonitor(
|
|
|
929
1038
|
"app_monitor_configuration": "appMonitorConfiguration",
|
|
930
1039
|
"custom_events": "customEvents",
|
|
931
1040
|
"cw_log_enabled": "cwLogEnabled",
|
|
1041
|
+
"resource_policy": "resourcePolicy",
|
|
932
1042
|
"tags": "tags",
|
|
933
1043
|
},
|
|
934
1044
|
)
|
|
@@ -941,6 +1051,7 @@ class CfnAppMonitorProps:
|
|
|
941
1051
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
942
1052
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
943
1053
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1054
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
944
1055
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
945
1056
|
) -> None:
|
|
946
1057
|
'''Properties for defining a ``CfnAppMonitor``.
|
|
@@ -950,6 +1061,7 @@ class CfnAppMonitorProps:
|
|
|
950
1061
|
:param app_monitor_configuration: A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include ``AppMonitorConfiguration`` , you must set up your own authorization method. For more information, see `Authorize your application to send data to AWS <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-get-started-authorization.html>`_ . If you omit this argument, the sample rate used for CloudWatch RUM is set to 10% of the user sessions.
|
|
951
1062
|
:param custom_events: Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are ``DISABLED`` .
|
|
952
1063
|
:param cw_log_enabled: Data collected by CloudWatch RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether CloudWatch RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges. If you omit this parameter, the default is ``false`` .
|
|
1064
|
+
:param resource_policy: A structure that defines resource policy attached to your app monitor.
|
|
953
1065
|
:param tags: Assigns one or more tags (key-value pairs) to the app monitor. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can associate as many as 50 tags with an app monitor. For more information, see `Tagging AWS resources <https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html>`_ .
|
|
954
1066
|
|
|
955
1067
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html
|
|
@@ -1000,6 +1112,12 @@ class CfnAppMonitorProps:
|
|
|
1000
1112
|
status="status"
|
|
1001
1113
|
),
|
|
1002
1114
|
cw_log_enabled=False,
|
|
1115
|
+
resource_policy=rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
1116
|
+
policy_document="policyDocument",
|
|
1117
|
+
|
|
1118
|
+
# the properties below are optional
|
|
1119
|
+
policy_revision_id="policyRevisionId"
|
|
1120
|
+
),
|
|
1003
1121
|
tags=[CfnTag(
|
|
1004
1122
|
key="key",
|
|
1005
1123
|
value="value"
|
|
@@ -1013,6 +1131,7 @@ class CfnAppMonitorProps:
|
|
|
1013
1131
|
check_type(argname="argument app_monitor_configuration", value=app_monitor_configuration, expected_type=type_hints["app_monitor_configuration"])
|
|
1014
1132
|
check_type(argname="argument custom_events", value=custom_events, expected_type=type_hints["custom_events"])
|
|
1015
1133
|
check_type(argname="argument cw_log_enabled", value=cw_log_enabled, expected_type=type_hints["cw_log_enabled"])
|
|
1134
|
+
check_type(argname="argument resource_policy", value=resource_policy, expected_type=type_hints["resource_policy"])
|
|
1016
1135
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1017
1136
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1018
1137
|
"domain": domain,
|
|
@@ -1024,6 +1143,8 @@ class CfnAppMonitorProps:
|
|
|
1024
1143
|
self._values["custom_events"] = custom_events
|
|
1025
1144
|
if cw_log_enabled is not None:
|
|
1026
1145
|
self._values["cw_log_enabled"] = cw_log_enabled
|
|
1146
|
+
if resource_policy is not None:
|
|
1147
|
+
self._values["resource_policy"] = resource_policy
|
|
1027
1148
|
if tags is not None:
|
|
1028
1149
|
self._values["tags"] = tags
|
|
1029
1150
|
|
|
@@ -1094,6 +1215,17 @@ class CfnAppMonitorProps:
|
|
|
1094
1215
|
result = self._values.get("cw_log_enabled")
|
|
1095
1216
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1096
1217
|
|
|
1218
|
+
@builtins.property
|
|
1219
|
+
def resource_policy(
|
|
1220
|
+
self,
|
|
1221
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]]:
|
|
1222
|
+
'''A structure that defines resource policy attached to your app monitor.
|
|
1223
|
+
|
|
1224
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-resourcepolicy
|
|
1225
|
+
'''
|
|
1226
|
+
result = self._values.get("resource_policy")
|
|
1227
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]], result)
|
|
1228
|
+
|
|
1097
1229
|
@builtins.property
|
|
1098
1230
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1099
1231
|
'''Assigns one or more tags (key-value pairs) to the app monitor.
|
|
@@ -1139,6 +1271,7 @@ def _typecheckingstub__be8f88e750c0e7122a036d486a439c075fc32835a9e8ecd39a432f9d8
|
|
|
1139
1271
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1140
1272
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1141
1273
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1274
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1142
1275
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1143
1276
|
) -> None:
|
|
1144
1277
|
"""Type checking stubs"""
|
|
@@ -1186,6 +1319,12 @@ def _typecheckingstub__cd674d3834ab7c9a15c2cc3b7dfc188fd561725f3c30ee84200f63547
|
|
|
1186
1319
|
"""Type checking stubs"""
|
|
1187
1320
|
pass
|
|
1188
1321
|
|
|
1322
|
+
def _typecheckingstub__02ad50a0bedc842a57f77840ff242508a77c0b4d3a7db3dabb035464285b86fa(
|
|
1323
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]],
|
|
1324
|
+
) -> None:
|
|
1325
|
+
"""Type checking stubs"""
|
|
1326
|
+
pass
|
|
1327
|
+
|
|
1189
1328
|
def _typecheckingstub__fd15333478ba004b01e5eeb19cecf4a73325add1db14df013fda84f63d3c4a4d(
|
|
1190
1329
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1191
1330
|
) -> None:
|
|
@@ -1237,6 +1376,14 @@ def _typecheckingstub__6bc8896836b392f4778e438dc2fd24dc53c06571d579092660fa95755
|
|
|
1237
1376
|
"""Type checking stubs"""
|
|
1238
1377
|
pass
|
|
1239
1378
|
|
|
1379
|
+
def _typecheckingstub__50574a83877817c5c30ff641cfa13fc211766060d3c8591b640545f5594000af(
|
|
1380
|
+
*,
|
|
1381
|
+
policy_document: builtins.str,
|
|
1382
|
+
policy_revision_id: typing.Optional[builtins.str] = None,
|
|
1383
|
+
) -> None:
|
|
1384
|
+
"""Type checking stubs"""
|
|
1385
|
+
pass
|
|
1386
|
+
|
|
1240
1387
|
def _typecheckingstub__2caf0433822b63bd4f9fca8828d4497f8e2d6471cd21d40d16fd3657ddb662f5(
|
|
1241
1388
|
*,
|
|
1242
1389
|
domain: builtins.str,
|
|
@@ -1244,6 +1391,7 @@ def _typecheckingstub__2caf0433822b63bd4f9fca8828d4497f8e2d6471cd21d40d16fd3657d
|
|
|
1244
1391
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1245
1392
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1246
1393
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1394
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1247
1395
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1248
1396
|
) -> None:
|
|
1249
1397
|
"""Type checking stubs"""
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -818,9 +818,8 @@ bucket = s3.Bucket(self, "MyBucket",
|
|
|
818
818
|
transitions=[s3.Transition(
|
|
819
819
|
storage_class=s3.StorageClass.GLACIER,
|
|
820
820
|
|
|
821
|
-
#
|
|
822
|
-
transition_after=Duration.days(30)
|
|
823
|
-
transition_date=Date()
|
|
821
|
+
# exactly one of transitionAfter or transitionDate must be specified
|
|
822
|
+
transition_after=Duration.days(30)
|
|
824
823
|
)
|
|
825
824
|
]
|
|
826
825
|
)
|
|
@@ -19276,9 +19275,8 @@ class StorageClass(
|
|
|
19276
19275
|
transitions=[s3.Transition(
|
|
19277
19276
|
storage_class=s3.StorageClass.GLACIER,
|
|
19278
19277
|
|
|
19279
|
-
#
|
|
19280
|
-
transition_after=Duration.days(30)
|
|
19281
|
-
transition_date=Date()
|
|
19278
|
+
# exactly one of transitionAfter or transitionDate must be specified
|
|
19279
|
+
transition_after=Duration.days(30)
|
|
19282
19280
|
)
|
|
19283
19281
|
]
|
|
19284
19282
|
)
|
|
@@ -1909,6 +1909,8 @@ class ServerSideEncryption(enum.Enum):
|
|
|
1909
1909
|
''''AES256'.'''
|
|
1910
1910
|
AWS_KMS = "AWS_KMS"
|
|
1911
1911
|
''''aws:kms'.'''
|
|
1912
|
+
AWS_KMS_DSSE = "AWS_KMS_DSSE"
|
|
1913
|
+
''''aws:kms:dsse'.'''
|
|
1912
1914
|
|
|
1913
1915
|
|
|
1914
1916
|
class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.Source"):
|