aws-cdk-lib 2.184.1__py3-none-any.whl → 2.186.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 +102 -29
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.184.1.jsii.tgz → aws-cdk-lib@2.186.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +3 -2
- aws_cdk/aws_apigateway/__init__.py +1 -1
- aws_cdk/aws_apigatewayv2/__init__.py +9 -0
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_applicationsignals/__init__.py +495 -1
- aws_cdk/aws_appsync/__init__.py +65 -11
- 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 +645 -199
- aws_cdk/aws_cassandra/__init__.py +3 -5
- aws_cdk/aws_chatbot/__init__.py +41 -0
- aws_cdk/aws_cleanrooms/__init__.py +21 -9
- aws_cdk/aws_cloudformation/__init__.py +1 -5
- aws_cdk/aws_cloudfront/__init__.py +4 -1
- aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
- aws_cdk/aws_codeartifact/__init__.py +20 -33
- aws_cdk/aws_codebuild/__init__.py +10 -3
- aws_cdk/aws_codepipeline/__init__.py +1328 -120
- aws_cdk/aws_cognito/__init__.py +1 -1
- aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
- aws_cdk/aws_config/__init__.py +1 -1
- aws_cdk/aws_connect/__init__.py +3 -7
- aws_cdk/aws_controltower/__init__.py +18 -26
- aws_cdk/aws_datasync/__init__.py +12 -14
- aws_cdk/aws_datazone/__init__.py +3471 -2
- aws_cdk/aws_ec2/__init__.py +701 -37
- aws_cdk/aws_ecr/__init__.py +84 -2
- aws_cdk/aws_ecs/__init__.py +20 -25
- 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/__init__.py +37 -14
- aws_cdk/aws_events_targets/__init__.py +5 -5
- aws_cdk/aws_gamelift/__init__.py +165 -165
- aws_cdk/aws_gameliftstreams/__init__.py +199 -59
- aws_cdk/aws_iam/__init__.py +320 -25
- aws_cdk/aws_imagebuilder/__init__.py +15 -2
- aws_cdk/aws_iotfleetwise/__init__.py +15 -6
- aws_cdk/aws_kinesisfirehose/__init__.py +115 -113
- aws_cdk/aws_lambda/__init__.py +7 -1
- aws_cdk/aws_location/__init__.py +24 -7
- aws_cdk/aws_logs/__init__.py +21 -27
- aws_cdk/aws_msk/__init__.py +17 -50
- aws_cdk/aws_networkfirewall/__init__.py +16 -12
- aws_cdk/aws_oam/__init__.py +8 -37
- aws_cdk/aws_opensearchservice/__init__.py +1 -1
- aws_cdk/aws_pcs/__init__.py +33 -22
- aws_cdk/aws_quicksight/__init__.py +6 -69
- aws_cdk/aws_rds/__init__.py +8 -4
- aws_cdk/aws_redshiftserverless/__init__.py +192 -15
- aws_cdk/aws_rum/__init__.py +454 -43
- 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_scheduler/__init__.py +3944 -121
- aws_cdk/aws_scheduler_targets/__init__.py +4472 -0
- aws_cdk/aws_ses/__init__.py +9 -9
- aws_cdk/aws_sns/__init__.py +12 -12
- aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
- aws_cdk/aws_stepfunctions/__init__.py +17 -15
- aws_cdk/aws_timestream/__init__.py +4 -4
- aws_cdk/aws_wafv2/__init__.py +345 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
- aws_cdk/cx_api/__init__.py +53 -0
- aws_cdk/region_info/__init__.py +2 -2
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/RECORD +75 -73
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.184.1.dist-info → aws_cdk_lib-2.186.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_rum/__init__.py
CHANGED
|
@@ -92,7 +92,6 @@ class CfnAppMonitor(
|
|
|
92
92
|
from aws_cdk import aws_rum as rum
|
|
93
93
|
|
|
94
94
|
cfn_app_monitor = rum.CfnAppMonitor(self, "MyCfnAppMonitor",
|
|
95
|
-
domain="domain",
|
|
96
95
|
name="name",
|
|
97
96
|
|
|
98
97
|
# the properties below are optional
|
|
@@ -130,6 +129,22 @@ class CfnAppMonitor(
|
|
|
130
129
|
status="status"
|
|
131
130
|
),
|
|
132
131
|
cw_log_enabled=False,
|
|
132
|
+
deobfuscation_configuration=rum.CfnAppMonitor.DeobfuscationConfigurationProperty(
|
|
133
|
+
java_script_source_maps=rum.CfnAppMonitor.JavaScriptSourceMapsProperty(
|
|
134
|
+
status="status",
|
|
135
|
+
|
|
136
|
+
# the properties below are optional
|
|
137
|
+
s3_uri="s3Uri"
|
|
138
|
+
)
|
|
139
|
+
),
|
|
140
|
+
domain="domain",
|
|
141
|
+
domain_list=["domainList"],
|
|
142
|
+
resource_policy=rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
143
|
+
policy_document="policyDocument",
|
|
144
|
+
|
|
145
|
+
# the properties below are optional
|
|
146
|
+
policy_revision_id="policyRevisionId"
|
|
147
|
+
),
|
|
133
148
|
tags=[CfnTag(
|
|
134
149
|
key="key",
|
|
135
150
|
value="value"
|
|
@@ -142,21 +157,27 @@ class CfnAppMonitor(
|
|
|
142
157
|
scope: _constructs_77d1e7e8.Construct,
|
|
143
158
|
id: builtins.str,
|
|
144
159
|
*,
|
|
145
|
-
domain: builtins.str,
|
|
146
160
|
name: builtins.str,
|
|
147
161
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.AppMonitorConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
148
162
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.CustomEventsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
149
163
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
164
|
+
deobfuscation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.DeobfuscationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
165
|
+
domain: typing.Optional[builtins.str] = None,
|
|
166
|
+
domain_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
167
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.ResourcePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
150
168
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
151
169
|
) -> None:
|
|
152
170
|
'''
|
|
153
171
|
:param scope: Scope in which this resource is defined.
|
|
154
172
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
155
|
-
:param domain: The top-level internet domain name for which your application has administrative authority. This parameter is required.
|
|
156
173
|
:param name: A name for the app monitor. This parameter is required.
|
|
157
174
|
: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
175
|
: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
176
|
: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`` .
|
|
177
|
+
:param deobfuscation_configuration: A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
178
|
+
:param domain: The top-level internet domain name for which your application has administrative authority. This parameter is required.
|
|
179
|
+
:param domain_list: The top-level internet domain names for which your application has administrative authority. The CreateAppMonitor requires either the domain or the domain list.
|
|
180
|
+
:param resource_policy: Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
160
181
|
: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
182
|
'''
|
|
162
183
|
if __debug__:
|
|
@@ -164,11 +185,14 @@ class CfnAppMonitor(
|
|
|
164
185
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
165
186
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
166
187
|
props = CfnAppMonitorProps(
|
|
167
|
-
domain=domain,
|
|
168
188
|
name=name,
|
|
169
189
|
app_monitor_configuration=app_monitor_configuration,
|
|
170
190
|
custom_events=custom_events,
|
|
171
191
|
cw_log_enabled=cw_log_enabled,
|
|
192
|
+
deobfuscation_configuration=deobfuscation_configuration,
|
|
193
|
+
domain=domain,
|
|
194
|
+
domain_list=domain_list,
|
|
195
|
+
resource_policy=resource_policy,
|
|
172
196
|
tags=tags,
|
|
173
197
|
)
|
|
174
198
|
|
|
@@ -224,19 +248,6 @@ class CfnAppMonitor(
|
|
|
224
248
|
'''Tag Manager which manages the tags for this resource.'''
|
|
225
249
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
226
250
|
|
|
227
|
-
@builtins.property
|
|
228
|
-
@jsii.member(jsii_name="domain")
|
|
229
|
-
def domain(self) -> builtins.str:
|
|
230
|
-
'''The top-level internet domain name for which your application has administrative authority.'''
|
|
231
|
-
return typing.cast(builtins.str, jsii.get(self, "domain"))
|
|
232
|
-
|
|
233
|
-
@domain.setter
|
|
234
|
-
def domain(self, value: builtins.str) -> None:
|
|
235
|
-
if __debug__:
|
|
236
|
-
type_hints = typing.get_type_hints(_typecheckingstub__0456aa4886c478c5fc3157398096bfee936719f2df864f6df5d0d99dfb18c0a6)
|
|
237
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
238
|
-
jsii.set(self, "domain", value) # pyright: ignore[reportArgumentType]
|
|
239
|
-
|
|
240
251
|
@builtins.property
|
|
241
252
|
@jsii.member(jsii_name="name")
|
|
242
253
|
def name(self) -> builtins.str:
|
|
@@ -304,6 +315,68 @@ class CfnAppMonitor(
|
|
|
304
315
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
305
316
|
jsii.set(self, "cwLogEnabled", value) # pyright: ignore[reportArgumentType]
|
|
306
317
|
|
|
318
|
+
@builtins.property
|
|
319
|
+
@jsii.member(jsii_name="deobfuscationConfiguration")
|
|
320
|
+
def deobfuscation_configuration(
|
|
321
|
+
self,
|
|
322
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.DeobfuscationConfigurationProperty"]]:
|
|
323
|
+
'''A structure that contains the configuration for how an app monitor can deobfuscate stack traces.'''
|
|
324
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.DeobfuscationConfigurationProperty"]], jsii.get(self, "deobfuscationConfiguration"))
|
|
325
|
+
|
|
326
|
+
@deobfuscation_configuration.setter
|
|
327
|
+
def deobfuscation_configuration(
|
|
328
|
+
self,
|
|
329
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.DeobfuscationConfigurationProperty"]],
|
|
330
|
+
) -> None:
|
|
331
|
+
if __debug__:
|
|
332
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9f2d704d10058b4d7b134a686b042efc84971acf09b892129589706da314ce17)
|
|
333
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
334
|
+
jsii.set(self, "deobfuscationConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
335
|
+
|
|
336
|
+
@builtins.property
|
|
337
|
+
@jsii.member(jsii_name="domain")
|
|
338
|
+
def domain(self) -> typing.Optional[builtins.str]:
|
|
339
|
+
'''The top-level internet domain name for which your application has administrative authority.'''
|
|
340
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "domain"))
|
|
341
|
+
|
|
342
|
+
@domain.setter
|
|
343
|
+
def domain(self, value: typing.Optional[builtins.str]) -> None:
|
|
344
|
+
if __debug__:
|
|
345
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0456aa4886c478c5fc3157398096bfee936719f2df864f6df5d0d99dfb18c0a6)
|
|
346
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
347
|
+
jsii.set(self, "domain", value) # pyright: ignore[reportArgumentType]
|
|
348
|
+
|
|
349
|
+
@builtins.property
|
|
350
|
+
@jsii.member(jsii_name="domainList")
|
|
351
|
+
def domain_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
352
|
+
'''The top-level internet domain names for which your application has administrative authority.'''
|
|
353
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "domainList"))
|
|
354
|
+
|
|
355
|
+
@domain_list.setter
|
|
356
|
+
def domain_list(self, value: typing.Optional[typing.List[builtins.str]]) -> None:
|
|
357
|
+
if __debug__:
|
|
358
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f86b0a9a53fb7afe4df111651fb954ae88b1fcdc7037dc764fa0b071918819c)
|
|
359
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
360
|
+
jsii.set(self, "domainList", value) # pyright: ignore[reportArgumentType]
|
|
361
|
+
|
|
362
|
+
@builtins.property
|
|
363
|
+
@jsii.member(jsii_name="resourcePolicy")
|
|
364
|
+
def resource_policy(
|
|
365
|
+
self,
|
|
366
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]]:
|
|
367
|
+
'''Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it.'''
|
|
368
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]], jsii.get(self, "resourcePolicy"))
|
|
369
|
+
|
|
370
|
+
@resource_policy.setter
|
|
371
|
+
def resource_policy(
|
|
372
|
+
self,
|
|
373
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.ResourcePolicyProperty"]],
|
|
374
|
+
) -> None:
|
|
375
|
+
if __debug__:
|
|
376
|
+
type_hints = typing.get_type_hints(_typecheckingstub__02ad50a0bedc842a57f77840ff242508a77c0b4d3a7db3dabb035464285b86fa)
|
|
377
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
378
|
+
jsii.set(self, "resourcePolicy", value) # pyright: ignore[reportArgumentType]
|
|
379
|
+
|
|
307
380
|
@builtins.property
|
|
308
381
|
@jsii.member(jsii_name="tagsRaw")
|
|
309
382
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
@@ -613,6 +686,145 @@ class CfnAppMonitor(
|
|
|
613
686
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
614
687
|
)
|
|
615
688
|
|
|
689
|
+
@jsii.data_type(
|
|
690
|
+
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitor.DeobfuscationConfigurationProperty",
|
|
691
|
+
jsii_struct_bases=[],
|
|
692
|
+
name_mapping={"java_script_source_maps": "javaScriptSourceMaps"},
|
|
693
|
+
)
|
|
694
|
+
class DeobfuscationConfigurationProperty:
|
|
695
|
+
def __init__(
|
|
696
|
+
self,
|
|
697
|
+
*,
|
|
698
|
+
java_script_source_maps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAppMonitor.JavaScriptSourceMapsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
699
|
+
) -> None:
|
|
700
|
+
'''A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
701
|
+
|
|
702
|
+
:param java_script_source_maps: A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
703
|
+
|
|
704
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-deobfuscationconfiguration.html
|
|
705
|
+
:exampleMetadata: fixture=_generated
|
|
706
|
+
|
|
707
|
+
Example::
|
|
708
|
+
|
|
709
|
+
# The code below shows an example of how to instantiate this type.
|
|
710
|
+
# The values are placeholders you should change.
|
|
711
|
+
from aws_cdk import aws_rum as rum
|
|
712
|
+
|
|
713
|
+
deobfuscation_configuration_property = rum.CfnAppMonitor.DeobfuscationConfigurationProperty(
|
|
714
|
+
java_script_source_maps=rum.CfnAppMonitor.JavaScriptSourceMapsProperty(
|
|
715
|
+
status="status",
|
|
716
|
+
|
|
717
|
+
# the properties below are optional
|
|
718
|
+
s3_uri="s3Uri"
|
|
719
|
+
)
|
|
720
|
+
)
|
|
721
|
+
'''
|
|
722
|
+
if __debug__:
|
|
723
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fdf3e214c72bb6242e27105dcba552227c63b454a171ca355bccf1321a0906ad)
|
|
724
|
+
check_type(argname="argument java_script_source_maps", value=java_script_source_maps, expected_type=type_hints["java_script_source_maps"])
|
|
725
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
726
|
+
if java_script_source_maps is not None:
|
|
727
|
+
self._values["java_script_source_maps"] = java_script_source_maps
|
|
728
|
+
|
|
729
|
+
@builtins.property
|
|
730
|
+
def java_script_source_maps(
|
|
731
|
+
self,
|
|
732
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.JavaScriptSourceMapsProperty"]]:
|
|
733
|
+
'''A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
734
|
+
|
|
735
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-deobfuscationconfiguration.html#cfn-rum-appmonitor-deobfuscationconfiguration-javascriptsourcemaps
|
|
736
|
+
'''
|
|
737
|
+
result = self._values.get("java_script_source_maps")
|
|
738
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAppMonitor.JavaScriptSourceMapsProperty"]], result)
|
|
739
|
+
|
|
740
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
741
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
742
|
+
|
|
743
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
744
|
+
return not (rhs == self)
|
|
745
|
+
|
|
746
|
+
def __repr__(self) -> str:
|
|
747
|
+
return "DeobfuscationConfigurationProperty(%s)" % ", ".join(
|
|
748
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
749
|
+
)
|
|
750
|
+
|
|
751
|
+
@jsii.data_type(
|
|
752
|
+
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitor.JavaScriptSourceMapsProperty",
|
|
753
|
+
jsii_struct_bases=[],
|
|
754
|
+
name_mapping={"status": "status", "s3_uri": "s3Uri"},
|
|
755
|
+
)
|
|
756
|
+
class JavaScriptSourceMapsProperty:
|
|
757
|
+
def __init__(
|
|
758
|
+
self,
|
|
759
|
+
*,
|
|
760
|
+
status: builtins.str,
|
|
761
|
+
s3_uri: typing.Optional[builtins.str] = None,
|
|
762
|
+
) -> None:
|
|
763
|
+
'''A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
764
|
+
|
|
765
|
+
:param status: Specifies whether JavaScript error stack traces should be unminified for this app monitor. The default is for JavaScript error stack trace unminification to be DISABLED
|
|
766
|
+
:param s3_uri: The S3Uri of the bucket or folder that stores the source map files. It is required if status is ENABLED.
|
|
767
|
+
|
|
768
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-javascriptsourcemaps.html
|
|
769
|
+
:exampleMetadata: fixture=_generated
|
|
770
|
+
|
|
771
|
+
Example::
|
|
772
|
+
|
|
773
|
+
# The code below shows an example of how to instantiate this type.
|
|
774
|
+
# The values are placeholders you should change.
|
|
775
|
+
from aws_cdk import aws_rum as rum
|
|
776
|
+
|
|
777
|
+
java_script_source_maps_property = rum.CfnAppMonitor.JavaScriptSourceMapsProperty(
|
|
778
|
+
status="status",
|
|
779
|
+
|
|
780
|
+
# the properties below are optional
|
|
781
|
+
s3_uri="s3Uri"
|
|
782
|
+
)
|
|
783
|
+
'''
|
|
784
|
+
if __debug__:
|
|
785
|
+
type_hints = typing.get_type_hints(_typecheckingstub__78c04a50ef32713cea26d41602085c025ced86700aa160ec7d04d54d4b8e133d)
|
|
786
|
+
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
787
|
+
check_type(argname="argument s3_uri", value=s3_uri, expected_type=type_hints["s3_uri"])
|
|
788
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
789
|
+
"status": status,
|
|
790
|
+
}
|
|
791
|
+
if s3_uri is not None:
|
|
792
|
+
self._values["s3_uri"] = s3_uri
|
|
793
|
+
|
|
794
|
+
@builtins.property
|
|
795
|
+
def status(self) -> builtins.str:
|
|
796
|
+
'''Specifies whether JavaScript error stack traces should be unminified for this app monitor.
|
|
797
|
+
|
|
798
|
+
The default is for JavaScript error stack trace unminification to be DISABLED
|
|
799
|
+
|
|
800
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-javascriptsourcemaps.html#cfn-rum-appmonitor-javascriptsourcemaps-status
|
|
801
|
+
'''
|
|
802
|
+
result = self._values.get("status")
|
|
803
|
+
assert result is not None, "Required property 'status' is missing"
|
|
804
|
+
return typing.cast(builtins.str, result)
|
|
805
|
+
|
|
806
|
+
@builtins.property
|
|
807
|
+
def s3_uri(self) -> typing.Optional[builtins.str]:
|
|
808
|
+
'''The S3Uri of the bucket or folder that stores the source map files.
|
|
809
|
+
|
|
810
|
+
It is required if status is ENABLED.
|
|
811
|
+
|
|
812
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-javascriptsourcemaps.html#cfn-rum-appmonitor-javascriptsourcemaps-s3uri
|
|
813
|
+
'''
|
|
814
|
+
result = self._values.get("s3_uri")
|
|
815
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
816
|
+
|
|
817
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
818
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
819
|
+
|
|
820
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
821
|
+
return not (rhs == self)
|
|
822
|
+
|
|
823
|
+
def __repr__(self) -> str:
|
|
824
|
+
return "JavaScriptSourceMapsProperty(%s)" % ", ".join(
|
|
825
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
826
|
+
)
|
|
827
|
+
|
|
616
828
|
@jsii.data_type(
|
|
617
829
|
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitor.MetricDefinitionProperty",
|
|
618
830
|
jsii_struct_bases=[],
|
|
@@ -919,16 +1131,103 @@ class CfnAppMonitor(
|
|
|
919
1131
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
920
1132
|
)
|
|
921
1133
|
|
|
1134
|
+
@jsii.data_type(
|
|
1135
|
+
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitor.ResourcePolicyProperty",
|
|
1136
|
+
jsii_struct_bases=[],
|
|
1137
|
+
name_mapping={
|
|
1138
|
+
"policy_document": "policyDocument",
|
|
1139
|
+
"policy_revision_id": "policyRevisionId",
|
|
1140
|
+
},
|
|
1141
|
+
)
|
|
1142
|
+
class ResourcePolicyProperty:
|
|
1143
|
+
def __init__(
|
|
1144
|
+
self,
|
|
1145
|
+
*,
|
|
1146
|
+
policy_document: builtins.str,
|
|
1147
|
+
policy_revision_id: typing.Optional[builtins.str] = None,
|
|
1148
|
+
) -> None:
|
|
1149
|
+
'''Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it.
|
|
1150
|
+
|
|
1151
|
+
Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
1152
|
+
|
|
1153
|
+
:param policy_document: The JSON to use as the resource policy. The document can be up to 4 KB in size. For more information about the contents and syntax for this policy, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
1154
|
+
: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.
|
|
1155
|
+
|
|
1156
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html
|
|
1157
|
+
:exampleMetadata: fixture=_generated
|
|
1158
|
+
|
|
1159
|
+
Example::
|
|
1160
|
+
|
|
1161
|
+
# The code below shows an example of how to instantiate this type.
|
|
1162
|
+
# The values are placeholders you should change.
|
|
1163
|
+
from aws_cdk import aws_rum as rum
|
|
1164
|
+
|
|
1165
|
+
resource_policy_property = rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
1166
|
+
policy_document="policyDocument",
|
|
1167
|
+
|
|
1168
|
+
# the properties below are optional
|
|
1169
|
+
policy_revision_id="policyRevisionId"
|
|
1170
|
+
)
|
|
1171
|
+
'''
|
|
1172
|
+
if __debug__:
|
|
1173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__50574a83877817c5c30ff641cfa13fc211766060d3c8591b640545f5594000af)
|
|
1174
|
+
check_type(argname="argument policy_document", value=policy_document, expected_type=type_hints["policy_document"])
|
|
1175
|
+
check_type(argname="argument policy_revision_id", value=policy_revision_id, expected_type=type_hints["policy_revision_id"])
|
|
1176
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1177
|
+
"policy_document": policy_document,
|
|
1178
|
+
}
|
|
1179
|
+
if policy_revision_id is not None:
|
|
1180
|
+
self._values["policy_revision_id"] = policy_revision_id
|
|
1181
|
+
|
|
1182
|
+
@builtins.property
|
|
1183
|
+
def policy_document(self) -> builtins.str:
|
|
1184
|
+
'''The JSON to use as the resource policy.
|
|
1185
|
+
|
|
1186
|
+
The document can be up to 4 KB in size. For more information about the contents and syntax for this policy, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
1187
|
+
|
|
1188
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html#cfn-rum-appmonitor-resourcepolicy-policydocument
|
|
1189
|
+
'''
|
|
1190
|
+
result = self._values.get("policy_document")
|
|
1191
|
+
assert result is not None, "Required property 'policy_document' is missing"
|
|
1192
|
+
return typing.cast(builtins.str, result)
|
|
1193
|
+
|
|
1194
|
+
@builtins.property
|
|
1195
|
+
def policy_revision_id(self) -> typing.Optional[builtins.str]:
|
|
1196
|
+
'''A string value that you can use to conditionally update your policy.
|
|
1197
|
+
|
|
1198
|
+
You can provide the revision ID of your existing policy to make mutating requests against that policy.
|
|
1199
|
+
|
|
1200
|
+
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.
|
|
1201
|
+
|
|
1202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-resourcepolicy.html#cfn-rum-appmonitor-resourcepolicy-policyrevisionid
|
|
1203
|
+
'''
|
|
1204
|
+
result = self._values.get("policy_revision_id")
|
|
1205
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1206
|
+
|
|
1207
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1208
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1209
|
+
|
|
1210
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1211
|
+
return not (rhs == self)
|
|
1212
|
+
|
|
1213
|
+
def __repr__(self) -> str:
|
|
1214
|
+
return "ResourcePolicyProperty(%s)" % ", ".join(
|
|
1215
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1216
|
+
)
|
|
1217
|
+
|
|
922
1218
|
|
|
923
1219
|
@jsii.data_type(
|
|
924
1220
|
jsii_type="aws-cdk-lib.aws_rum.CfnAppMonitorProps",
|
|
925
1221
|
jsii_struct_bases=[],
|
|
926
1222
|
name_mapping={
|
|
927
|
-
"domain": "domain",
|
|
928
1223
|
"name": "name",
|
|
929
1224
|
"app_monitor_configuration": "appMonitorConfiguration",
|
|
930
1225
|
"custom_events": "customEvents",
|
|
931
1226
|
"cw_log_enabled": "cwLogEnabled",
|
|
1227
|
+
"deobfuscation_configuration": "deobfuscationConfiguration",
|
|
1228
|
+
"domain": "domain",
|
|
1229
|
+
"domain_list": "domainList",
|
|
1230
|
+
"resource_policy": "resourcePolicy",
|
|
932
1231
|
"tags": "tags",
|
|
933
1232
|
},
|
|
934
1233
|
)
|
|
@@ -936,20 +1235,26 @@ class CfnAppMonitorProps:
|
|
|
936
1235
|
def __init__(
|
|
937
1236
|
self,
|
|
938
1237
|
*,
|
|
939
|
-
domain: builtins.str,
|
|
940
1238
|
name: builtins.str,
|
|
941
1239
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
942
1240
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
943
1241
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1242
|
+
deobfuscation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.DeobfuscationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1243
|
+
domain: typing.Optional[builtins.str] = None,
|
|
1244
|
+
domain_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1245
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
944
1246
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
945
1247
|
) -> None:
|
|
946
1248
|
'''Properties for defining a ``CfnAppMonitor``.
|
|
947
1249
|
|
|
948
|
-
:param domain: The top-level internet domain name for which your application has administrative authority. This parameter is required.
|
|
949
1250
|
:param name: A name for the app monitor. This parameter is required.
|
|
950
1251
|
: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
1252
|
: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
1253
|
: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`` .
|
|
1254
|
+
:param deobfuscation_configuration: A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
1255
|
+
:param domain: The top-level internet domain name for which your application has administrative authority. This parameter is required.
|
|
1256
|
+
:param domain_list: The top-level internet domain names for which your application has administrative authority. The CreateAppMonitor requires either the domain or the domain list.
|
|
1257
|
+
:param resource_policy: Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
953
1258
|
: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
1259
|
|
|
955
1260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html
|
|
@@ -962,7 +1267,6 @@ class CfnAppMonitorProps:
|
|
|
962
1267
|
from aws_cdk import aws_rum as rum
|
|
963
1268
|
|
|
964
1269
|
cfn_app_monitor_props = rum.CfnAppMonitorProps(
|
|
965
|
-
domain="domain",
|
|
966
1270
|
name="name",
|
|
967
1271
|
|
|
968
1272
|
# the properties below are optional
|
|
@@ -1000,6 +1304,22 @@ class CfnAppMonitorProps:
|
|
|
1000
1304
|
status="status"
|
|
1001
1305
|
),
|
|
1002
1306
|
cw_log_enabled=False,
|
|
1307
|
+
deobfuscation_configuration=rum.CfnAppMonitor.DeobfuscationConfigurationProperty(
|
|
1308
|
+
java_script_source_maps=rum.CfnAppMonitor.JavaScriptSourceMapsProperty(
|
|
1309
|
+
status="status",
|
|
1310
|
+
|
|
1311
|
+
# the properties below are optional
|
|
1312
|
+
s3_uri="s3Uri"
|
|
1313
|
+
)
|
|
1314
|
+
),
|
|
1315
|
+
domain="domain",
|
|
1316
|
+
domain_list=["domainList"],
|
|
1317
|
+
resource_policy=rum.CfnAppMonitor.ResourcePolicyProperty(
|
|
1318
|
+
policy_document="policyDocument",
|
|
1319
|
+
|
|
1320
|
+
# the properties below are optional
|
|
1321
|
+
policy_revision_id="policyRevisionId"
|
|
1322
|
+
),
|
|
1003
1323
|
tags=[CfnTag(
|
|
1004
1324
|
key="key",
|
|
1005
1325
|
value="value"
|
|
@@ -1008,14 +1328,16 @@ class CfnAppMonitorProps:
|
|
|
1008
1328
|
'''
|
|
1009
1329
|
if __debug__:
|
|
1010
1330
|
type_hints = typing.get_type_hints(_typecheckingstub__2caf0433822b63bd4f9fca8828d4497f8e2d6471cd21d40d16fd3657ddb662f5)
|
|
1011
|
-
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
1012
1331
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1013
1332
|
check_type(argname="argument app_monitor_configuration", value=app_monitor_configuration, expected_type=type_hints["app_monitor_configuration"])
|
|
1014
1333
|
check_type(argname="argument custom_events", value=custom_events, expected_type=type_hints["custom_events"])
|
|
1015
1334
|
check_type(argname="argument cw_log_enabled", value=cw_log_enabled, expected_type=type_hints["cw_log_enabled"])
|
|
1335
|
+
check_type(argname="argument deobfuscation_configuration", value=deobfuscation_configuration, expected_type=type_hints["deobfuscation_configuration"])
|
|
1336
|
+
check_type(argname="argument domain", value=domain, expected_type=type_hints["domain"])
|
|
1337
|
+
check_type(argname="argument domain_list", value=domain_list, expected_type=type_hints["domain_list"])
|
|
1338
|
+
check_type(argname="argument resource_policy", value=resource_policy, expected_type=type_hints["resource_policy"])
|
|
1016
1339
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1017
1340
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1018
|
-
"domain": domain,
|
|
1019
1341
|
"name": name,
|
|
1020
1342
|
}
|
|
1021
1343
|
if app_monitor_configuration is not None:
|
|
@@ -1024,21 +1346,17 @@ class CfnAppMonitorProps:
|
|
|
1024
1346
|
self._values["custom_events"] = custom_events
|
|
1025
1347
|
if cw_log_enabled is not None:
|
|
1026
1348
|
self._values["cw_log_enabled"] = cw_log_enabled
|
|
1349
|
+
if deobfuscation_configuration is not None:
|
|
1350
|
+
self._values["deobfuscation_configuration"] = deobfuscation_configuration
|
|
1351
|
+
if domain is not None:
|
|
1352
|
+
self._values["domain"] = domain
|
|
1353
|
+
if domain_list is not None:
|
|
1354
|
+
self._values["domain_list"] = domain_list
|
|
1355
|
+
if resource_policy is not None:
|
|
1356
|
+
self._values["resource_policy"] = resource_policy
|
|
1027
1357
|
if tags is not None:
|
|
1028
1358
|
self._values["tags"] = tags
|
|
1029
1359
|
|
|
1030
|
-
@builtins.property
|
|
1031
|
-
def domain(self) -> builtins.str:
|
|
1032
|
-
'''The top-level internet domain name for which your application has administrative authority.
|
|
1033
|
-
|
|
1034
|
-
This parameter is required.
|
|
1035
|
-
|
|
1036
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-domain
|
|
1037
|
-
'''
|
|
1038
|
-
result = self._values.get("domain")
|
|
1039
|
-
assert result is not None, "Required property 'domain' is missing"
|
|
1040
|
-
return typing.cast(builtins.str, result)
|
|
1041
|
-
|
|
1042
1360
|
@builtins.property
|
|
1043
1361
|
def name(self) -> builtins.str:
|
|
1044
1362
|
'''A name for the app monitor.
|
|
@@ -1094,6 +1412,52 @@ class CfnAppMonitorProps:
|
|
|
1094
1412
|
result = self._values.get("cw_log_enabled")
|
|
1095
1413
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
1096
1414
|
|
|
1415
|
+
@builtins.property
|
|
1416
|
+
def deobfuscation_configuration(
|
|
1417
|
+
self,
|
|
1418
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.DeobfuscationConfigurationProperty]]:
|
|
1419
|
+
'''A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
1420
|
+
|
|
1421
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-deobfuscationconfiguration
|
|
1422
|
+
'''
|
|
1423
|
+
result = self._values.get("deobfuscation_configuration")
|
|
1424
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.DeobfuscationConfigurationProperty]], result)
|
|
1425
|
+
|
|
1426
|
+
@builtins.property
|
|
1427
|
+
def domain(self) -> typing.Optional[builtins.str]:
|
|
1428
|
+
'''The top-level internet domain name for which your application has administrative authority.
|
|
1429
|
+
|
|
1430
|
+
This parameter is required.
|
|
1431
|
+
|
|
1432
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-domain
|
|
1433
|
+
'''
|
|
1434
|
+
result = self._values.get("domain")
|
|
1435
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1436
|
+
|
|
1437
|
+
@builtins.property
|
|
1438
|
+
def domain_list(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1439
|
+
'''The top-level internet domain names for which your application has administrative authority.
|
|
1440
|
+
|
|
1441
|
+
The CreateAppMonitor requires either the domain or the domain list.
|
|
1442
|
+
|
|
1443
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-domainlist
|
|
1444
|
+
'''
|
|
1445
|
+
result = self._values.get("domain_list")
|
|
1446
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1447
|
+
|
|
1448
|
+
@builtins.property
|
|
1449
|
+
def resource_policy(
|
|
1450
|
+
self,
|
|
1451
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]]:
|
|
1452
|
+
'''Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it.
|
|
1453
|
+
|
|
1454
|
+
Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see `Using resource-based policies with CloudWatch RUM <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html>`_ .
|
|
1455
|
+
|
|
1456
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rum-appmonitor.html#cfn-rum-appmonitor-resourcepolicy
|
|
1457
|
+
'''
|
|
1458
|
+
result = self._values.get("resource_policy")
|
|
1459
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]], result)
|
|
1460
|
+
|
|
1097
1461
|
@builtins.property
|
|
1098
1462
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1099
1463
|
'''Assigns one or more tags (key-value pairs) to the app monitor.
|
|
@@ -1134,11 +1498,14 @@ def _typecheckingstub__be8f88e750c0e7122a036d486a439c075fc32835a9e8ecd39a432f9d8
|
|
|
1134
1498
|
scope: _constructs_77d1e7e8.Construct,
|
|
1135
1499
|
id: builtins.str,
|
|
1136
1500
|
*,
|
|
1137
|
-
domain: builtins.str,
|
|
1138
1501
|
name: builtins.str,
|
|
1139
1502
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1140
1503
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1141
1504
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1505
|
+
deobfuscation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.DeobfuscationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1506
|
+
domain: typing.Optional[builtins.str] = None,
|
|
1507
|
+
domain_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1508
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1142
1509
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1143
1510
|
) -> None:
|
|
1144
1511
|
"""Type checking stubs"""
|
|
@@ -1156,12 +1523,6 @@ def _typecheckingstub__f3ff9506c9eec23255dd33f8626dae2e4ac799a56ca2372ad12d3677f
|
|
|
1156
1523
|
"""Type checking stubs"""
|
|
1157
1524
|
pass
|
|
1158
1525
|
|
|
1159
|
-
def _typecheckingstub__0456aa4886c478c5fc3157398096bfee936719f2df864f6df5d0d99dfb18c0a6(
|
|
1160
|
-
value: builtins.str,
|
|
1161
|
-
) -> None:
|
|
1162
|
-
"""Type checking stubs"""
|
|
1163
|
-
pass
|
|
1164
|
-
|
|
1165
1526
|
def _typecheckingstub__28bed8e51b4cd861f00044e721965e61478696f88fa5cf4528fece9faad98be4(
|
|
1166
1527
|
value: builtins.str,
|
|
1167
1528
|
) -> None:
|
|
@@ -1186,6 +1547,30 @@ def _typecheckingstub__cd674d3834ab7c9a15c2cc3b7dfc188fd561725f3c30ee84200f63547
|
|
|
1186
1547
|
"""Type checking stubs"""
|
|
1187
1548
|
pass
|
|
1188
1549
|
|
|
1550
|
+
def _typecheckingstub__9f2d704d10058b4d7b134a686b042efc84971acf09b892129589706da314ce17(
|
|
1551
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.DeobfuscationConfigurationProperty]],
|
|
1552
|
+
) -> None:
|
|
1553
|
+
"""Type checking stubs"""
|
|
1554
|
+
pass
|
|
1555
|
+
|
|
1556
|
+
def _typecheckingstub__0456aa4886c478c5fc3157398096bfee936719f2df864f6df5d0d99dfb18c0a6(
|
|
1557
|
+
value: typing.Optional[builtins.str],
|
|
1558
|
+
) -> None:
|
|
1559
|
+
"""Type checking stubs"""
|
|
1560
|
+
pass
|
|
1561
|
+
|
|
1562
|
+
def _typecheckingstub__0f86b0a9a53fb7afe4df111651fb954ae88b1fcdc7037dc764fa0b071918819c(
|
|
1563
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
1564
|
+
) -> None:
|
|
1565
|
+
"""Type checking stubs"""
|
|
1566
|
+
pass
|
|
1567
|
+
|
|
1568
|
+
def _typecheckingstub__02ad50a0bedc842a57f77840ff242508a77c0b4d3a7db3dabb035464285b86fa(
|
|
1569
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnAppMonitor.ResourcePolicyProperty]],
|
|
1570
|
+
) -> None:
|
|
1571
|
+
"""Type checking stubs"""
|
|
1572
|
+
pass
|
|
1573
|
+
|
|
1189
1574
|
def _typecheckingstub__fd15333478ba004b01e5eeb19cecf4a73325add1db14df013fda84f63d3c4a4d(
|
|
1190
1575
|
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1191
1576
|
) -> None:
|
|
@@ -1215,6 +1600,21 @@ def _typecheckingstub__dbddfb5cea796155615c50462c2f74dceb1015bc37ceb1d56a4673eee
|
|
|
1215
1600
|
"""Type checking stubs"""
|
|
1216
1601
|
pass
|
|
1217
1602
|
|
|
1603
|
+
def _typecheckingstub__fdf3e214c72bb6242e27105dcba552227c63b454a171ca355bccf1321a0906ad(
|
|
1604
|
+
*,
|
|
1605
|
+
java_script_source_maps: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.JavaScriptSourceMapsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1606
|
+
) -> None:
|
|
1607
|
+
"""Type checking stubs"""
|
|
1608
|
+
pass
|
|
1609
|
+
|
|
1610
|
+
def _typecheckingstub__78c04a50ef32713cea26d41602085c025ced86700aa160ec7d04d54d4b8e133d(
|
|
1611
|
+
*,
|
|
1612
|
+
status: builtins.str,
|
|
1613
|
+
s3_uri: typing.Optional[builtins.str] = None,
|
|
1614
|
+
) -> None:
|
|
1615
|
+
"""Type checking stubs"""
|
|
1616
|
+
pass
|
|
1617
|
+
|
|
1218
1618
|
def _typecheckingstub__001da0942488042bedaa7bac57ce421214804f088803aac4b0f5c16385fb5991(
|
|
1219
1619
|
*,
|
|
1220
1620
|
name: builtins.str,
|
|
@@ -1237,13 +1637,24 @@ def _typecheckingstub__6bc8896836b392f4778e438dc2fd24dc53c06571d579092660fa95755
|
|
|
1237
1637
|
"""Type checking stubs"""
|
|
1238
1638
|
pass
|
|
1239
1639
|
|
|
1640
|
+
def _typecheckingstub__50574a83877817c5c30ff641cfa13fc211766060d3c8591b640545f5594000af(
|
|
1641
|
+
*,
|
|
1642
|
+
policy_document: builtins.str,
|
|
1643
|
+
policy_revision_id: typing.Optional[builtins.str] = None,
|
|
1644
|
+
) -> None:
|
|
1645
|
+
"""Type checking stubs"""
|
|
1646
|
+
pass
|
|
1647
|
+
|
|
1240
1648
|
def _typecheckingstub__2caf0433822b63bd4f9fca8828d4497f8e2d6471cd21d40d16fd3657ddb662f5(
|
|
1241
1649
|
*,
|
|
1242
|
-
domain: builtins.str,
|
|
1243
1650
|
name: builtins.str,
|
|
1244
1651
|
app_monitor_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.AppMonitorConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1245
1652
|
custom_events: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.CustomEventsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1246
1653
|
cw_log_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1654
|
+
deobfuscation_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.DeobfuscationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1655
|
+
domain: typing.Optional[builtins.str] = None,
|
|
1656
|
+
domain_list: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1657
|
+
resource_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAppMonitor.ResourcePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1247
1658
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1248
1659
|
) -> None:
|
|
1249
1660
|
"""Type checking stubs"""
|