aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 +404 -54
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +2 -1
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
- aws_cdk/aws_appconfig/__init__.py +9 -0
- aws_cdk/aws_appintegrations/__init__.py +395 -0
- aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
- aws_cdk/aws_athena/__init__.py +23 -19
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_batch/__init__.py +725 -55
- aws_cdk/aws_bedrock/__init__.py +18 -0
- aws_cdk/aws_billingconductor/__init__.py +3 -3
- aws_cdk/aws_cassandra/__init__.py +28 -1
- aws_cdk/aws_cloudfront/__init__.py +39 -8
- aws_cdk/aws_codebuild/__init__.py +122 -0
- aws_cdk/aws_codepipeline/__init__.py +51 -50
- aws_cdk/aws_cognito/__init__.py +9 -2
- aws_cdk/aws_connect/__init__.py +40 -15
- aws_cdk/aws_datazone/__init__.py +118 -77
- aws_cdk/aws_dax/__init__.py +39 -0
- aws_cdk/aws_deadline/__init__.py +166 -7
- aws_cdk/aws_docdb/__init__.py +20 -11
- aws_cdk/aws_dynamodb/__init__.py +246 -36
- aws_cdk/aws_ec2/__init__.py +1044 -111
- aws_cdk/aws_ecr/__init__.py +274 -0
- aws_cdk/aws_ecs/__init__.py +1637 -137
- aws_cdk/aws_eks/__init__.py +53 -3
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
- aws_cdk/aws_entityresolution/__init__.py +240 -45
- aws_cdk/aws_evs/__init__.py +20 -45
- aws_cdk/aws_gameliftstreams/__init__.py +7 -6
- aws_cdk/aws_glue/__init__.py +18 -9
- aws_cdk/aws_guardduty/__init__.py +1233 -113
- aws_cdk/aws_imagebuilder/__init__.py +34 -20
- aws_cdk/aws_inspectorv2/__init__.py +1516 -0
- aws_cdk/aws_iot/__init__.py +387 -0
- aws_cdk/aws_iotsitewise/__init__.py +1247 -139
- aws_cdk/aws_ivs/__init__.py +443 -33
- aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
- aws_cdk/aws_lakeformation/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +9 -9
- aws_cdk/aws_lightsail/__init__.py +590 -0
- aws_cdk/aws_logs/__init__.py +97 -3
- aws_cdk/aws_medialive/__init__.py +270 -7
- aws_cdk/aws_mediapackagev2/__init__.py +204 -6
- aws_cdk/aws_neptune/__init__.py +41 -2
- aws_cdk/aws_networkfirewall/__init__.py +490 -134
- aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
- aws_cdk/aws_omics/__init__.py +1 -1
- aws_cdk/aws_opensearchserverless/__init__.py +2 -2
- aws_cdk/aws_opensearchservice/__init__.py +128 -0
- aws_cdk/aws_opsworks/__init__.py +125 -125
- aws_cdk/aws_opsworkscm/__init__.py +1 -53
- aws_cdk/aws_pcs/__init__.py +49 -5
- aws_cdk/aws_qbusiness/__init__.py +3 -3
- aws_cdk/aws_quicksight/__init__.py +188 -83
- aws_cdk/aws_rds/__init__.py +245 -103
- aws_cdk/aws_s3/__init__.py +56 -1
- aws_cdk/aws_s3express/__init__.py +56 -1
- aws_cdk/aws_s3tables/__init__.py +2 -2
- aws_cdk/aws_sagemaker/__init__.py +4080 -223
- aws_cdk/aws_ses/__init__.py +172 -9
- aws_cdk/aws_sqs/__init__.py +4 -3
- aws_cdk/aws_ssm/__init__.py +8 -4
- aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
- aws_cdk/aws_synthetics/__init__.py +116 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/aws_workspacesweb/__init__.py +949 -157
- aws_cdk/cx_api/__init__.py +22 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
|
@@ -2123,6 +2123,15 @@ class CfnDeployment(
|
|
|
2123
2123
|
'''
|
|
2124
2124
|
return typing.cast(builtins.str, jsii.get(self, "attrDeploymentNumber"))
|
|
2125
2125
|
|
|
2126
|
+
@builtins.property
|
|
2127
|
+
@jsii.member(jsii_name="attrState")
|
|
2128
|
+
def attr_state(self) -> builtins.str:
|
|
2129
|
+
'''The state of the deployment.
|
|
2130
|
+
|
|
2131
|
+
:cloudformationAttribute: State
|
|
2132
|
+
'''
|
|
2133
|
+
return typing.cast(builtins.str, jsii.get(self, "attrState"))
|
|
2134
|
+
|
|
2126
2135
|
@builtins.property
|
|
2127
2136
|
@jsii.member(jsii_name="cdkTagManager")
|
|
2128
2137
|
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
@@ -102,6 +102,17 @@ class CfnApplication(
|
|
|
102
102
|
namespace="namespace",
|
|
103
103
|
|
|
104
104
|
# the properties below are optional
|
|
105
|
+
application_config=appintegrations.CfnApplication.ApplicationConfigProperty(
|
|
106
|
+
contact_handling=appintegrations.CfnApplication.ContactHandlingProperty(
|
|
107
|
+
scope="scope"
|
|
108
|
+
)
|
|
109
|
+
),
|
|
110
|
+
iframe_config=appintegrations.CfnApplication.IframeConfigProperty(
|
|
111
|
+
allow=["allow"],
|
|
112
|
+
sandbox=["sandbox"]
|
|
113
|
+
),
|
|
114
|
+
initialization_timeout=123,
|
|
115
|
+
is_service=False,
|
|
105
116
|
permissions=["permissions"],
|
|
106
117
|
tags=[CfnTag(
|
|
107
118
|
key="key",
|
|
@@ -119,6 +130,10 @@ class CfnApplication(
|
|
|
119
130
|
description: builtins.str,
|
|
120
131
|
name: builtins.str,
|
|
121
132
|
namespace: builtins.str,
|
|
133
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ApplicationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
134
|
+
iframe_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.IframeConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
135
|
+
initialization_timeout: typing.Optional[jsii.Number] = None,
|
|
136
|
+
is_service: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
122
137
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
123
138
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
124
139
|
) -> None:
|
|
@@ -129,6 +144,10 @@ class CfnApplication(
|
|
|
129
144
|
:param description: The description of the application.
|
|
130
145
|
:param name: The name of the application.
|
|
131
146
|
:param namespace: The namespace of the application.
|
|
147
|
+
:param application_config:
|
|
148
|
+
:param iframe_config:
|
|
149
|
+
:param initialization_timeout: The initialization timeout in milliseconds. Required when IsService is true.
|
|
150
|
+
:param is_service: Indicates if the application is a service. Default: - false
|
|
132
151
|
:param permissions: The configuration of events or requests that the application has access to.
|
|
133
152
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
134
153
|
'''
|
|
@@ -141,6 +160,10 @@ class CfnApplication(
|
|
|
141
160
|
description=description,
|
|
142
161
|
name=name,
|
|
143
162
|
namespace=namespace,
|
|
163
|
+
application_config=application_config,
|
|
164
|
+
iframe_config=iframe_config,
|
|
165
|
+
initialization_timeout=initialization_timeout,
|
|
166
|
+
is_service=is_service,
|
|
144
167
|
permissions=permissions,
|
|
145
168
|
tags=tags,
|
|
146
169
|
)
|
|
@@ -263,6 +286,71 @@ class CfnApplication(
|
|
|
263
286
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
264
287
|
jsii.set(self, "namespace", value) # pyright: ignore[reportArgumentType]
|
|
265
288
|
|
|
289
|
+
@builtins.property
|
|
290
|
+
@jsii.member(jsii_name="applicationConfig")
|
|
291
|
+
def application_config(
|
|
292
|
+
self,
|
|
293
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationConfigProperty"]]:
|
|
294
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationConfigProperty"]], jsii.get(self, "applicationConfig"))
|
|
295
|
+
|
|
296
|
+
@application_config.setter
|
|
297
|
+
def application_config(
|
|
298
|
+
self,
|
|
299
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationConfigProperty"]],
|
|
300
|
+
) -> None:
|
|
301
|
+
if __debug__:
|
|
302
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f3caf601b0f569fd019f866e47cc5b0bb49379d4b882f320078ed605052b7ca7)
|
|
303
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
304
|
+
jsii.set(self, "applicationConfig", value) # pyright: ignore[reportArgumentType]
|
|
305
|
+
|
|
306
|
+
@builtins.property
|
|
307
|
+
@jsii.member(jsii_name="iframeConfig")
|
|
308
|
+
def iframe_config(
|
|
309
|
+
self,
|
|
310
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IframeConfigProperty"]]:
|
|
311
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IframeConfigProperty"]], jsii.get(self, "iframeConfig"))
|
|
312
|
+
|
|
313
|
+
@iframe_config.setter
|
|
314
|
+
def iframe_config(
|
|
315
|
+
self,
|
|
316
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.IframeConfigProperty"]],
|
|
317
|
+
) -> None:
|
|
318
|
+
if __debug__:
|
|
319
|
+
type_hints = typing.get_type_hints(_typecheckingstub__132e84c3b7d79e8adb5125bdb2456de645edaaaecf7c9ace8f172b799e55c46d)
|
|
320
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
321
|
+
jsii.set(self, "iframeConfig", value) # pyright: ignore[reportArgumentType]
|
|
322
|
+
|
|
323
|
+
@builtins.property
|
|
324
|
+
@jsii.member(jsii_name="initializationTimeout")
|
|
325
|
+
def initialization_timeout(self) -> typing.Optional[jsii.Number]:
|
|
326
|
+
'''The initialization timeout in milliseconds.'''
|
|
327
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "initializationTimeout"))
|
|
328
|
+
|
|
329
|
+
@initialization_timeout.setter
|
|
330
|
+
def initialization_timeout(self, value: typing.Optional[jsii.Number]) -> None:
|
|
331
|
+
if __debug__:
|
|
332
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3537c46fc02c6c8123f54755ecdc6281ac08636fb1bb28aa4bd15f35b256420b)
|
|
333
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
334
|
+
jsii.set(self, "initializationTimeout", value) # pyright: ignore[reportArgumentType]
|
|
335
|
+
|
|
336
|
+
@builtins.property
|
|
337
|
+
@jsii.member(jsii_name="isService")
|
|
338
|
+
def is_service(
|
|
339
|
+
self,
|
|
340
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
341
|
+
'''Indicates if the application is a service.'''
|
|
342
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "isService"))
|
|
343
|
+
|
|
344
|
+
@is_service.setter
|
|
345
|
+
def is_service(
|
|
346
|
+
self,
|
|
347
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
348
|
+
) -> None:
|
|
349
|
+
if __debug__:
|
|
350
|
+
type_hints = typing.get_type_hints(_typecheckingstub__024ff94ee9a9dbd7a4348422377053fce4ef5b4393f67aa6561ab4f37e813332)
|
|
351
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
352
|
+
jsii.set(self, "isService", value) # pyright: ignore[reportArgumentType]
|
|
353
|
+
|
|
266
354
|
@builtins.property
|
|
267
355
|
@jsii.member(jsii_name="permissions")
|
|
268
356
|
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -289,6 +377,63 @@ class CfnApplication(
|
|
|
289
377
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
290
378
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
291
379
|
|
|
380
|
+
@jsii.data_type(
|
|
381
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ApplicationConfigProperty",
|
|
382
|
+
jsii_struct_bases=[],
|
|
383
|
+
name_mapping={"contact_handling": "contactHandling"},
|
|
384
|
+
)
|
|
385
|
+
class ApplicationConfigProperty:
|
|
386
|
+
def __init__(
|
|
387
|
+
self,
|
|
388
|
+
*,
|
|
389
|
+
contact_handling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ContactHandlingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
390
|
+
) -> None:
|
|
391
|
+
'''
|
|
392
|
+
:param contact_handling:
|
|
393
|
+
|
|
394
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationconfig.html
|
|
395
|
+
:exampleMetadata: fixture=_generated
|
|
396
|
+
|
|
397
|
+
Example::
|
|
398
|
+
|
|
399
|
+
# The code below shows an example of how to instantiate this type.
|
|
400
|
+
# The values are placeholders you should change.
|
|
401
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
402
|
+
|
|
403
|
+
application_config_property = appintegrations.CfnApplication.ApplicationConfigProperty(
|
|
404
|
+
contact_handling=appintegrations.CfnApplication.ContactHandlingProperty(
|
|
405
|
+
scope="scope"
|
|
406
|
+
)
|
|
407
|
+
)
|
|
408
|
+
'''
|
|
409
|
+
if __debug__:
|
|
410
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7a200fd881a848470f5631cfc744a53d5588ec7b4c6cf9b16ad4a194b4b85b1d)
|
|
411
|
+
check_type(argname="argument contact_handling", value=contact_handling, expected_type=type_hints["contact_handling"])
|
|
412
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
413
|
+
if contact_handling is not None:
|
|
414
|
+
self._values["contact_handling"] = contact_handling
|
|
415
|
+
|
|
416
|
+
@builtins.property
|
|
417
|
+
def contact_handling(
|
|
418
|
+
self,
|
|
419
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ContactHandlingProperty"]]:
|
|
420
|
+
'''
|
|
421
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationconfig.html#cfn-appintegrations-application-applicationconfig-contacthandling
|
|
422
|
+
'''
|
|
423
|
+
result = self._values.get("contact_handling")
|
|
424
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ContactHandlingProperty"]], result)
|
|
425
|
+
|
|
426
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
427
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
428
|
+
|
|
429
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
430
|
+
return not (rhs == self)
|
|
431
|
+
|
|
432
|
+
def __repr__(self) -> str:
|
|
433
|
+
return "ApplicationConfigProperty(%s)" % ", ".join(
|
|
434
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
435
|
+
)
|
|
436
|
+
|
|
292
437
|
@jsii.data_type(
|
|
293
438
|
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ApplicationSourceConfigProperty",
|
|
294
439
|
jsii_struct_bases=[],
|
|
@@ -352,6 +497,56 @@ class CfnApplication(
|
|
|
352
497
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
353
498
|
)
|
|
354
499
|
|
|
500
|
+
@jsii.data_type(
|
|
501
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ContactHandlingProperty",
|
|
502
|
+
jsii_struct_bases=[],
|
|
503
|
+
name_mapping={"scope": "scope"},
|
|
504
|
+
)
|
|
505
|
+
class ContactHandlingProperty:
|
|
506
|
+
def __init__(self, *, scope: builtins.str) -> None:
|
|
507
|
+
'''
|
|
508
|
+
:param scope:
|
|
509
|
+
|
|
510
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-contacthandling.html
|
|
511
|
+
:exampleMetadata: fixture=_generated
|
|
512
|
+
|
|
513
|
+
Example::
|
|
514
|
+
|
|
515
|
+
# The code below shows an example of how to instantiate this type.
|
|
516
|
+
# The values are placeholders you should change.
|
|
517
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
518
|
+
|
|
519
|
+
contact_handling_property = appintegrations.CfnApplication.ContactHandlingProperty(
|
|
520
|
+
scope="scope"
|
|
521
|
+
)
|
|
522
|
+
'''
|
|
523
|
+
if __debug__:
|
|
524
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b220c6975b2fa737bd89eee1ab6f116e5ebe4d905d6233b53e35f5b0b40f162e)
|
|
525
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
526
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
527
|
+
"scope": scope,
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@builtins.property
|
|
531
|
+
def scope(self) -> builtins.str:
|
|
532
|
+
'''
|
|
533
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-contacthandling.html#cfn-appintegrations-application-contacthandling-scope
|
|
534
|
+
'''
|
|
535
|
+
result = self._values.get("scope")
|
|
536
|
+
assert result is not None, "Required property 'scope' is missing"
|
|
537
|
+
return typing.cast(builtins.str, result)
|
|
538
|
+
|
|
539
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
540
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
541
|
+
|
|
542
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
543
|
+
return not (rhs == self)
|
|
544
|
+
|
|
545
|
+
def __repr__(self) -> str:
|
|
546
|
+
return "ContactHandlingProperty(%s)" % ", ".join(
|
|
547
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
548
|
+
)
|
|
549
|
+
|
|
355
550
|
@jsii.data_type(
|
|
356
551
|
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ExternalUrlConfigProperty",
|
|
357
552
|
jsii_struct_bases=[],
|
|
@@ -428,6 +623,73 @@ class CfnApplication(
|
|
|
428
623
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
429
624
|
)
|
|
430
625
|
|
|
626
|
+
@jsii.data_type(
|
|
627
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.IframeConfigProperty",
|
|
628
|
+
jsii_struct_bases=[],
|
|
629
|
+
name_mapping={"allow": "allow", "sandbox": "sandbox"},
|
|
630
|
+
)
|
|
631
|
+
class IframeConfigProperty:
|
|
632
|
+
def __init__(
|
|
633
|
+
self,
|
|
634
|
+
*,
|
|
635
|
+
allow: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
636
|
+
sandbox: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
637
|
+
) -> None:
|
|
638
|
+
'''
|
|
639
|
+
:param allow:
|
|
640
|
+
:param sandbox:
|
|
641
|
+
|
|
642
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html
|
|
643
|
+
:exampleMetadata: fixture=_generated
|
|
644
|
+
|
|
645
|
+
Example::
|
|
646
|
+
|
|
647
|
+
# The code below shows an example of how to instantiate this type.
|
|
648
|
+
# The values are placeholders you should change.
|
|
649
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
650
|
+
|
|
651
|
+
iframe_config_property = appintegrations.CfnApplication.IframeConfigProperty(
|
|
652
|
+
allow=["allow"],
|
|
653
|
+
sandbox=["sandbox"]
|
|
654
|
+
)
|
|
655
|
+
'''
|
|
656
|
+
if __debug__:
|
|
657
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a4e1d29a683508d5dce338ead2d5d12168d88348304cab46c45234c9c8e6d558)
|
|
658
|
+
check_type(argname="argument allow", value=allow, expected_type=type_hints["allow"])
|
|
659
|
+
check_type(argname="argument sandbox", value=sandbox, expected_type=type_hints["sandbox"])
|
|
660
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
661
|
+
if allow is not None:
|
|
662
|
+
self._values["allow"] = allow
|
|
663
|
+
if sandbox is not None:
|
|
664
|
+
self._values["sandbox"] = sandbox
|
|
665
|
+
|
|
666
|
+
@builtins.property
|
|
667
|
+
def allow(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
668
|
+
'''
|
|
669
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html#cfn-appintegrations-application-iframeconfig-allow
|
|
670
|
+
'''
|
|
671
|
+
result = self._values.get("allow")
|
|
672
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
673
|
+
|
|
674
|
+
@builtins.property
|
|
675
|
+
def sandbox(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
676
|
+
'''
|
|
677
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-iframeconfig.html#cfn-appintegrations-application-iframeconfig-sandbox
|
|
678
|
+
'''
|
|
679
|
+
result = self._values.get("sandbox")
|
|
680
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
681
|
+
|
|
682
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
683
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
684
|
+
|
|
685
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
686
|
+
return not (rhs == self)
|
|
687
|
+
|
|
688
|
+
def __repr__(self) -> str:
|
|
689
|
+
return "IframeConfigProperty(%s)" % ", ".join(
|
|
690
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
691
|
+
)
|
|
692
|
+
|
|
431
693
|
|
|
432
694
|
@jsii.data_type(
|
|
433
695
|
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplicationProps",
|
|
@@ -437,6 +699,10 @@ class CfnApplication(
|
|
|
437
699
|
"description": "description",
|
|
438
700
|
"name": "name",
|
|
439
701
|
"namespace": "namespace",
|
|
702
|
+
"application_config": "applicationConfig",
|
|
703
|
+
"iframe_config": "iframeConfig",
|
|
704
|
+
"initialization_timeout": "initializationTimeout",
|
|
705
|
+
"is_service": "isService",
|
|
440
706
|
"permissions": "permissions",
|
|
441
707
|
"tags": "tags",
|
|
442
708
|
},
|
|
@@ -449,6 +715,10 @@ class CfnApplicationProps:
|
|
|
449
715
|
description: builtins.str,
|
|
450
716
|
name: builtins.str,
|
|
451
717
|
namespace: builtins.str,
|
|
718
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
719
|
+
iframe_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IframeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
720
|
+
initialization_timeout: typing.Optional[jsii.Number] = None,
|
|
721
|
+
is_service: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
452
722
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
453
723
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
454
724
|
) -> None:
|
|
@@ -458,6 +728,10 @@ class CfnApplicationProps:
|
|
|
458
728
|
:param description: The description of the application.
|
|
459
729
|
:param name: The name of the application.
|
|
460
730
|
:param namespace: The namespace of the application.
|
|
731
|
+
:param application_config:
|
|
732
|
+
:param iframe_config:
|
|
733
|
+
:param initialization_timeout: The initialization timeout in milliseconds. Required when IsService is true.
|
|
734
|
+
:param is_service: Indicates if the application is a service. Default: - false
|
|
461
735
|
:param permissions: The configuration of events or requests that the application has access to.
|
|
462
736
|
:param tags: The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
463
737
|
|
|
@@ -484,6 +758,17 @@ class CfnApplicationProps:
|
|
|
484
758
|
namespace="namespace",
|
|
485
759
|
|
|
486
760
|
# the properties below are optional
|
|
761
|
+
application_config=appintegrations.CfnApplication.ApplicationConfigProperty(
|
|
762
|
+
contact_handling=appintegrations.CfnApplication.ContactHandlingProperty(
|
|
763
|
+
scope="scope"
|
|
764
|
+
)
|
|
765
|
+
),
|
|
766
|
+
iframe_config=appintegrations.CfnApplication.IframeConfigProperty(
|
|
767
|
+
allow=["allow"],
|
|
768
|
+
sandbox=["sandbox"]
|
|
769
|
+
),
|
|
770
|
+
initialization_timeout=123,
|
|
771
|
+
is_service=False,
|
|
487
772
|
permissions=["permissions"],
|
|
488
773
|
tags=[CfnTag(
|
|
489
774
|
key="key",
|
|
@@ -497,6 +782,10 @@ class CfnApplicationProps:
|
|
|
497
782
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
498
783
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
499
784
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
785
|
+
check_type(argname="argument application_config", value=application_config, expected_type=type_hints["application_config"])
|
|
786
|
+
check_type(argname="argument iframe_config", value=iframe_config, expected_type=type_hints["iframe_config"])
|
|
787
|
+
check_type(argname="argument initialization_timeout", value=initialization_timeout, expected_type=type_hints["initialization_timeout"])
|
|
788
|
+
check_type(argname="argument is_service", value=is_service, expected_type=type_hints["is_service"])
|
|
500
789
|
check_type(argname="argument permissions", value=permissions, expected_type=type_hints["permissions"])
|
|
501
790
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
502
791
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -505,6 +794,14 @@ class CfnApplicationProps:
|
|
|
505
794
|
"name": name,
|
|
506
795
|
"namespace": namespace,
|
|
507
796
|
}
|
|
797
|
+
if application_config is not None:
|
|
798
|
+
self._values["application_config"] = application_config
|
|
799
|
+
if iframe_config is not None:
|
|
800
|
+
self._values["iframe_config"] = iframe_config
|
|
801
|
+
if initialization_timeout is not None:
|
|
802
|
+
self._values["initialization_timeout"] = initialization_timeout
|
|
803
|
+
if is_service is not None:
|
|
804
|
+
self._values["is_service"] = is_service
|
|
508
805
|
if permissions is not None:
|
|
509
806
|
self._values["permissions"] = permissions
|
|
510
807
|
if tags is not None:
|
|
@@ -552,6 +849,50 @@ class CfnApplicationProps:
|
|
|
552
849
|
assert result is not None, "Required property 'namespace' is missing"
|
|
553
850
|
return typing.cast(builtins.str, result)
|
|
554
851
|
|
|
852
|
+
@builtins.property
|
|
853
|
+
def application_config(
|
|
854
|
+
self,
|
|
855
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationConfigProperty]]:
|
|
856
|
+
'''
|
|
857
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-applicationconfig
|
|
858
|
+
'''
|
|
859
|
+
result = self._values.get("application_config")
|
|
860
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationConfigProperty]], result)
|
|
861
|
+
|
|
862
|
+
@builtins.property
|
|
863
|
+
def iframe_config(
|
|
864
|
+
self,
|
|
865
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IframeConfigProperty]]:
|
|
866
|
+
'''
|
|
867
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-iframeconfig
|
|
868
|
+
'''
|
|
869
|
+
result = self._values.get("iframe_config")
|
|
870
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IframeConfigProperty]], result)
|
|
871
|
+
|
|
872
|
+
@builtins.property
|
|
873
|
+
def initialization_timeout(self) -> typing.Optional[jsii.Number]:
|
|
874
|
+
'''The initialization timeout in milliseconds.
|
|
875
|
+
|
|
876
|
+
Required when IsService is true.
|
|
877
|
+
|
|
878
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-initializationtimeout
|
|
879
|
+
'''
|
|
880
|
+
result = self._values.get("initialization_timeout")
|
|
881
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
882
|
+
|
|
883
|
+
@builtins.property
|
|
884
|
+
def is_service(
|
|
885
|
+
self,
|
|
886
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
887
|
+
'''Indicates if the application is a service.
|
|
888
|
+
|
|
889
|
+
:default: - false
|
|
890
|
+
|
|
891
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-isservice
|
|
892
|
+
'''
|
|
893
|
+
result = self._values.get("is_service")
|
|
894
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
895
|
+
|
|
555
896
|
@builtins.property
|
|
556
897
|
def permissions(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
557
898
|
'''The configuration of events or requests that the application has access to.
|
|
@@ -1609,6 +1950,10 @@ def _typecheckingstub__2c1bbb1e03e672595eb80bdb7dcb70bb6e71fccf39633133ee8a5b86b
|
|
|
1609
1950
|
description: builtins.str,
|
|
1610
1951
|
name: builtins.str,
|
|
1611
1952
|
namespace: builtins.str,
|
|
1953
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1954
|
+
iframe_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IframeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1955
|
+
initialization_timeout: typing.Optional[jsii.Number] = None,
|
|
1956
|
+
is_service: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1612
1957
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1613
1958
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1614
1959
|
) -> None:
|
|
@@ -1651,6 +1996,30 @@ def _typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd1
|
|
|
1651
1996
|
"""Type checking stubs"""
|
|
1652
1997
|
pass
|
|
1653
1998
|
|
|
1999
|
+
def _typecheckingstub__f3caf601b0f569fd019f866e47cc5b0bb49379d4b882f320078ed605052b7ca7(
|
|
2000
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationConfigProperty]],
|
|
2001
|
+
) -> None:
|
|
2002
|
+
"""Type checking stubs"""
|
|
2003
|
+
pass
|
|
2004
|
+
|
|
2005
|
+
def _typecheckingstub__132e84c3b7d79e8adb5125bdb2456de645edaaaecf7c9ace8f172b799e55c46d(
|
|
2006
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.IframeConfigProperty]],
|
|
2007
|
+
) -> None:
|
|
2008
|
+
"""Type checking stubs"""
|
|
2009
|
+
pass
|
|
2010
|
+
|
|
2011
|
+
def _typecheckingstub__3537c46fc02c6c8123f54755ecdc6281ac08636fb1bb28aa4bd15f35b256420b(
|
|
2012
|
+
value: typing.Optional[jsii.Number],
|
|
2013
|
+
) -> None:
|
|
2014
|
+
"""Type checking stubs"""
|
|
2015
|
+
pass
|
|
2016
|
+
|
|
2017
|
+
def _typecheckingstub__024ff94ee9a9dbd7a4348422377053fce4ef5b4393f67aa6561ab4f37e813332(
|
|
2018
|
+
value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
|
|
2019
|
+
) -> None:
|
|
2020
|
+
"""Type checking stubs"""
|
|
2021
|
+
pass
|
|
2022
|
+
|
|
1654
2023
|
def _typecheckingstub__1aafc4daa721930073f0dbbb7da26dc3c3c3be9c01fc9424bbc85944b766472d(
|
|
1655
2024
|
value: typing.Optional[typing.List[builtins.str]],
|
|
1656
2025
|
) -> None:
|
|
@@ -1663,6 +2032,13 @@ def _typecheckingstub__bf726959aa4191428101440b70a3eb393290a7cdec2b995b07413ac05
|
|
|
1663
2032
|
"""Type checking stubs"""
|
|
1664
2033
|
pass
|
|
1665
2034
|
|
|
2035
|
+
def _typecheckingstub__7a200fd881a848470f5631cfc744a53d5588ec7b4c6cf9b16ad4a194b4b85b1d(
|
|
2036
|
+
*,
|
|
2037
|
+
contact_handling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ContactHandlingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2038
|
+
) -> None:
|
|
2039
|
+
"""Type checking stubs"""
|
|
2040
|
+
pass
|
|
2041
|
+
|
|
1666
2042
|
def _typecheckingstub__599151bfc17f24879de38cf44b4a12c218d6b40ffaf8a24fc33beaa3691268b7(
|
|
1667
2043
|
*,
|
|
1668
2044
|
external_url_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ExternalUrlConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
@@ -1670,6 +2046,13 @@ def _typecheckingstub__599151bfc17f24879de38cf44b4a12c218d6b40ffaf8a24fc33beaa36
|
|
|
1670
2046
|
"""Type checking stubs"""
|
|
1671
2047
|
pass
|
|
1672
2048
|
|
|
2049
|
+
def _typecheckingstub__b220c6975b2fa737bd89eee1ab6f116e5ebe4d905d6233b53e35f5b0b40f162e(
|
|
2050
|
+
*,
|
|
2051
|
+
scope: builtins.str,
|
|
2052
|
+
) -> None:
|
|
2053
|
+
"""Type checking stubs"""
|
|
2054
|
+
pass
|
|
2055
|
+
|
|
1673
2056
|
def _typecheckingstub__685c9ea63d4a7f3b4f8c0ba5680f0ec9ac1f12cdeb524e0b6a869beee33009cc(
|
|
1674
2057
|
*,
|
|
1675
2058
|
access_url: builtins.str,
|
|
@@ -1678,12 +2061,24 @@ def _typecheckingstub__685c9ea63d4a7f3b4f8c0ba5680f0ec9ac1f12cdeb524e0b6a869beee
|
|
|
1678
2061
|
"""Type checking stubs"""
|
|
1679
2062
|
pass
|
|
1680
2063
|
|
|
2064
|
+
def _typecheckingstub__a4e1d29a683508d5dce338ead2d5d12168d88348304cab46c45234c9c8e6d558(
|
|
2065
|
+
*,
|
|
2066
|
+
allow: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2067
|
+
sandbox: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2068
|
+
) -> None:
|
|
2069
|
+
"""Type checking stubs"""
|
|
2070
|
+
pass
|
|
2071
|
+
|
|
1681
2072
|
def _typecheckingstub__7d2c7ce5dfd3af1b41c02f961c30070527579ac243574e11a9dfe26cc453fe9f(
|
|
1682
2073
|
*,
|
|
1683
2074
|
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1684
2075
|
description: builtins.str,
|
|
1685
2076
|
name: builtins.str,
|
|
1686
2077
|
namespace: builtins.str,
|
|
2078
|
+
application_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2079
|
+
iframe_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.IframeConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2080
|
+
initialization_timeout: typing.Optional[jsii.Number] = None,
|
|
2081
|
+
is_service: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1687
2082
|
permissions: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1688
2083
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1689
2084
|
) -> None:
|