aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
|
@@ -46,11 +46,479 @@ from .. import (
|
|
|
46
46
|
IInspectable as _IInspectable_c2943556,
|
|
47
47
|
IResolvable as _IResolvable_da3f097b,
|
|
48
48
|
ITaggable as _ITaggable_36806126,
|
|
49
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
49
50
|
TagManager as _TagManager_0a598cb3,
|
|
50
51
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
51
52
|
)
|
|
52
53
|
|
|
53
54
|
|
|
55
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
56
|
+
class CfnApplication(
|
|
57
|
+
_CfnResource_9df397a6,
|
|
58
|
+
metaclass=jsii.JSIIMeta,
|
|
59
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication",
|
|
60
|
+
):
|
|
61
|
+
'''Resource Type definition for AWS:AppIntegrations::Application.
|
|
62
|
+
|
|
63
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html
|
|
64
|
+
:cloudformationResource: AWS::AppIntegrations::Application
|
|
65
|
+
:exampleMetadata: fixture=_generated
|
|
66
|
+
|
|
67
|
+
Example::
|
|
68
|
+
|
|
69
|
+
# The code below shows an example of how to instantiate this type.
|
|
70
|
+
# The values are placeholders you should change.
|
|
71
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
72
|
+
|
|
73
|
+
cfn_application = appintegrations.CfnApplication(self, "MyCfnApplication",
|
|
74
|
+
application_source_config=appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
75
|
+
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
76
|
+
access_url="accessUrl",
|
|
77
|
+
approved_origins=["approvedOrigins"]
|
|
78
|
+
)
|
|
79
|
+
),
|
|
80
|
+
description="description",
|
|
81
|
+
name="name",
|
|
82
|
+
|
|
83
|
+
# the properties below are optional
|
|
84
|
+
namespace="namespace",
|
|
85
|
+
tags=[CfnTag(
|
|
86
|
+
key="key",
|
|
87
|
+
value="value"
|
|
88
|
+
)]
|
|
89
|
+
)
|
|
90
|
+
'''
|
|
91
|
+
|
|
92
|
+
def __init__(
|
|
93
|
+
self,
|
|
94
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
95
|
+
id: builtins.str,
|
|
96
|
+
*,
|
|
97
|
+
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ApplicationSourceConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
98
|
+
description: builtins.str,
|
|
99
|
+
name: builtins.str,
|
|
100
|
+
namespace: typing.Optional[builtins.str] = None,
|
|
101
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
102
|
+
) -> None:
|
|
103
|
+
'''
|
|
104
|
+
:param scope: Scope in which this resource is defined.
|
|
105
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
106
|
+
:param application_source_config: Application source config.
|
|
107
|
+
:param description: The application description.
|
|
108
|
+
:param name: The name of the application.
|
|
109
|
+
:param namespace: The namespace of the application.
|
|
110
|
+
:param tags: The tags (keys and values) associated with the application.
|
|
111
|
+
'''
|
|
112
|
+
if __debug__:
|
|
113
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2c1bbb1e03e672595eb80bdb7dcb70bb6e71fccf39633133ee8a5b86b6874772)
|
|
114
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
115
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
116
|
+
props = CfnApplicationProps(
|
|
117
|
+
application_source_config=application_source_config,
|
|
118
|
+
description=description,
|
|
119
|
+
name=name,
|
|
120
|
+
namespace=namespace,
|
|
121
|
+
tags=tags,
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
125
|
+
|
|
126
|
+
@jsii.member(jsii_name="inspect")
|
|
127
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
128
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
129
|
+
|
|
130
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
131
|
+
'''
|
|
132
|
+
if __debug__:
|
|
133
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2397143274609e6f7787d10c8effb0139785b91de02a335ac411b9f6e4478fb6)
|
|
134
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
135
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
136
|
+
|
|
137
|
+
@jsii.member(jsii_name="renderProperties")
|
|
138
|
+
def _render_properties(
|
|
139
|
+
self,
|
|
140
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
141
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
142
|
+
'''
|
|
143
|
+
:param props: -
|
|
144
|
+
'''
|
|
145
|
+
if __debug__:
|
|
146
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0f2b0f5530bab214011baa3953ec2f0059bf19c5005c20b1a37a58186c8d1c94)
|
|
147
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
148
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
149
|
+
|
|
150
|
+
@jsii.python.classproperty
|
|
151
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
152
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
153
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
154
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
155
|
+
|
|
156
|
+
@builtins.property
|
|
157
|
+
@jsii.member(jsii_name="attrApplicationArn")
|
|
158
|
+
def attr_application_arn(self) -> builtins.str:
|
|
159
|
+
'''The Amazon Resource Name (ARN) of the Application.
|
|
160
|
+
|
|
161
|
+
:cloudformationAttribute: ApplicationArn
|
|
162
|
+
'''
|
|
163
|
+
return typing.cast(builtins.str, jsii.get(self, "attrApplicationArn"))
|
|
164
|
+
|
|
165
|
+
@builtins.property
|
|
166
|
+
@jsii.member(jsii_name="attrId")
|
|
167
|
+
def attr_id(self) -> builtins.str:
|
|
168
|
+
'''A unique identifier for the Application.
|
|
169
|
+
|
|
170
|
+
:cloudformationAttribute: Id
|
|
171
|
+
'''
|
|
172
|
+
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
173
|
+
|
|
174
|
+
@builtins.property
|
|
175
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
176
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
177
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
178
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
179
|
+
|
|
180
|
+
@builtins.property
|
|
181
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
182
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
183
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
184
|
+
|
|
185
|
+
@builtins.property
|
|
186
|
+
@jsii.member(jsii_name="applicationSourceConfig")
|
|
187
|
+
def application_source_config(
|
|
188
|
+
self,
|
|
189
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationSourceConfigProperty"]:
|
|
190
|
+
'''Application source config.'''
|
|
191
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationSourceConfigProperty"], jsii.get(self, "applicationSourceConfig"))
|
|
192
|
+
|
|
193
|
+
@application_source_config.setter
|
|
194
|
+
def application_source_config(
|
|
195
|
+
self,
|
|
196
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnApplication.ApplicationSourceConfigProperty"],
|
|
197
|
+
) -> None:
|
|
198
|
+
if __debug__:
|
|
199
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1e6a672bbf82d8b3bb39f56510a2db6c1a10b1776e0b968cd61c6665d29508e7)
|
|
200
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
201
|
+
jsii.set(self, "applicationSourceConfig", value)
|
|
202
|
+
|
|
203
|
+
@builtins.property
|
|
204
|
+
@jsii.member(jsii_name="description")
|
|
205
|
+
def description(self) -> builtins.str:
|
|
206
|
+
'''The application description.'''
|
|
207
|
+
return typing.cast(builtins.str, jsii.get(self, "description"))
|
|
208
|
+
|
|
209
|
+
@description.setter
|
|
210
|
+
def description(self, value: builtins.str) -> None:
|
|
211
|
+
if __debug__:
|
|
212
|
+
type_hints = typing.get_type_hints(_typecheckingstub__87943d6227ebd97ed6b280da7778e22bd3c7bef93cf9ab4a400fe6c9240847b1)
|
|
213
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
214
|
+
jsii.set(self, "description", value)
|
|
215
|
+
|
|
216
|
+
@builtins.property
|
|
217
|
+
@jsii.member(jsii_name="name")
|
|
218
|
+
def name(self) -> builtins.str:
|
|
219
|
+
'''The name of the application.'''
|
|
220
|
+
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
221
|
+
|
|
222
|
+
@name.setter
|
|
223
|
+
def name(self, value: builtins.str) -> None:
|
|
224
|
+
if __debug__:
|
|
225
|
+
type_hints = typing.get_type_hints(_typecheckingstub__416a93fef610e4b348e491404913fee978fabfb7d56f70287417ddc540c85c77)
|
|
226
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
227
|
+
jsii.set(self, "name", value)
|
|
228
|
+
|
|
229
|
+
@builtins.property
|
|
230
|
+
@jsii.member(jsii_name="namespace")
|
|
231
|
+
def namespace(self) -> typing.Optional[builtins.str]:
|
|
232
|
+
'''The namespace of the application.'''
|
|
233
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "namespace"))
|
|
234
|
+
|
|
235
|
+
@namespace.setter
|
|
236
|
+
def namespace(self, value: typing.Optional[builtins.str]) -> None:
|
|
237
|
+
if __debug__:
|
|
238
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd17cc3a45)
|
|
239
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
240
|
+
jsii.set(self, "namespace", value)
|
|
241
|
+
|
|
242
|
+
@builtins.property
|
|
243
|
+
@jsii.member(jsii_name="tags")
|
|
244
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
245
|
+
'''The tags (keys and values) associated with the application.'''
|
|
246
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
247
|
+
|
|
248
|
+
@tags.setter
|
|
249
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
250
|
+
if __debug__:
|
|
251
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bf726959aa4191428101440b70a3eb393290a7cdec2b995b07413ac05f6d0c28)
|
|
252
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
253
|
+
jsii.set(self, "tags", value)
|
|
254
|
+
|
|
255
|
+
@jsii.data_type(
|
|
256
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ApplicationSourceConfigProperty",
|
|
257
|
+
jsii_struct_bases=[],
|
|
258
|
+
name_mapping={"external_url_config": "externalUrlConfig"},
|
|
259
|
+
)
|
|
260
|
+
class ApplicationSourceConfigProperty:
|
|
261
|
+
def __init__(
|
|
262
|
+
self,
|
|
263
|
+
*,
|
|
264
|
+
external_url_config: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ExternalUrlConfigProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
265
|
+
) -> None:
|
|
266
|
+
'''Application source config.
|
|
267
|
+
|
|
268
|
+
:param external_url_config:
|
|
269
|
+
|
|
270
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationsourceconfig.html
|
|
271
|
+
:exampleMetadata: fixture=_generated
|
|
272
|
+
|
|
273
|
+
Example::
|
|
274
|
+
|
|
275
|
+
# The code below shows an example of how to instantiate this type.
|
|
276
|
+
# The values are placeholders you should change.
|
|
277
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
278
|
+
|
|
279
|
+
application_source_config_property = appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
280
|
+
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
281
|
+
access_url="accessUrl",
|
|
282
|
+
approved_origins=["approvedOrigins"]
|
|
283
|
+
)
|
|
284
|
+
)
|
|
285
|
+
'''
|
|
286
|
+
if __debug__:
|
|
287
|
+
type_hints = typing.get_type_hints(_typecheckingstub__599151bfc17f24879de38cf44b4a12c218d6b40ffaf8a24fc33beaa3691268b7)
|
|
288
|
+
check_type(argname="argument external_url_config", value=external_url_config, expected_type=type_hints["external_url_config"])
|
|
289
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
290
|
+
"external_url_config": external_url_config,
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
@builtins.property
|
|
294
|
+
def external_url_config(
|
|
295
|
+
self,
|
|
296
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnApplication.ExternalUrlConfigProperty"]:
|
|
297
|
+
'''
|
|
298
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-applicationsourceconfig.html#cfn-appintegrations-application-applicationsourceconfig-externalurlconfig
|
|
299
|
+
'''
|
|
300
|
+
result = self._values.get("external_url_config")
|
|
301
|
+
assert result is not None, "Required property 'external_url_config' is missing"
|
|
302
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApplication.ExternalUrlConfigProperty"], result)
|
|
303
|
+
|
|
304
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
305
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
306
|
+
|
|
307
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
308
|
+
return not (rhs == self)
|
|
309
|
+
|
|
310
|
+
def __repr__(self) -> str:
|
|
311
|
+
return "ApplicationSourceConfigProperty(%s)" % ", ".join(
|
|
312
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
313
|
+
)
|
|
314
|
+
|
|
315
|
+
@jsii.data_type(
|
|
316
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplication.ExternalUrlConfigProperty",
|
|
317
|
+
jsii_struct_bases=[],
|
|
318
|
+
name_mapping={
|
|
319
|
+
"access_url": "accessUrl",
|
|
320
|
+
"approved_origins": "approvedOrigins",
|
|
321
|
+
},
|
|
322
|
+
)
|
|
323
|
+
class ExternalUrlConfigProperty:
|
|
324
|
+
def __init__(
|
|
325
|
+
self,
|
|
326
|
+
*,
|
|
327
|
+
access_url: builtins.str,
|
|
328
|
+
approved_origins: typing.Sequence[builtins.str],
|
|
329
|
+
) -> None:
|
|
330
|
+
'''
|
|
331
|
+
:param access_url:
|
|
332
|
+
:param approved_origins:
|
|
333
|
+
|
|
334
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html
|
|
335
|
+
:exampleMetadata: fixture=_generated
|
|
336
|
+
|
|
337
|
+
Example::
|
|
338
|
+
|
|
339
|
+
# The code below shows an example of how to instantiate this type.
|
|
340
|
+
# The values are placeholders you should change.
|
|
341
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
342
|
+
|
|
343
|
+
external_url_config_property = appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
344
|
+
access_url="accessUrl",
|
|
345
|
+
approved_origins=["approvedOrigins"]
|
|
346
|
+
)
|
|
347
|
+
'''
|
|
348
|
+
if __debug__:
|
|
349
|
+
type_hints = typing.get_type_hints(_typecheckingstub__685c9ea63d4a7f3b4f8c0ba5680f0ec9ac1f12cdeb524e0b6a869beee33009cc)
|
|
350
|
+
check_type(argname="argument access_url", value=access_url, expected_type=type_hints["access_url"])
|
|
351
|
+
check_type(argname="argument approved_origins", value=approved_origins, expected_type=type_hints["approved_origins"])
|
|
352
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
353
|
+
"access_url": access_url,
|
|
354
|
+
"approved_origins": approved_origins,
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
@builtins.property
|
|
358
|
+
def access_url(self) -> builtins.str:
|
|
359
|
+
'''
|
|
360
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html#cfn-appintegrations-application-externalurlconfig-accessurl
|
|
361
|
+
'''
|
|
362
|
+
result = self._values.get("access_url")
|
|
363
|
+
assert result is not None, "Required property 'access_url' is missing"
|
|
364
|
+
return typing.cast(builtins.str, result)
|
|
365
|
+
|
|
366
|
+
@builtins.property
|
|
367
|
+
def approved_origins(self) -> typing.List[builtins.str]:
|
|
368
|
+
'''
|
|
369
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html#cfn-appintegrations-application-externalurlconfig-approvedorigins
|
|
370
|
+
'''
|
|
371
|
+
result = self._values.get("approved_origins")
|
|
372
|
+
assert result is not None, "Required property 'approved_origins' is missing"
|
|
373
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
374
|
+
|
|
375
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
376
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
377
|
+
|
|
378
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
379
|
+
return not (rhs == self)
|
|
380
|
+
|
|
381
|
+
def __repr__(self) -> str:
|
|
382
|
+
return "ExternalUrlConfigProperty(%s)" % ", ".join(
|
|
383
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
384
|
+
)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
@jsii.data_type(
|
|
388
|
+
jsii_type="aws-cdk-lib.aws_appintegrations.CfnApplicationProps",
|
|
389
|
+
jsii_struct_bases=[],
|
|
390
|
+
name_mapping={
|
|
391
|
+
"application_source_config": "applicationSourceConfig",
|
|
392
|
+
"description": "description",
|
|
393
|
+
"name": "name",
|
|
394
|
+
"namespace": "namespace",
|
|
395
|
+
"tags": "tags",
|
|
396
|
+
},
|
|
397
|
+
)
|
|
398
|
+
class CfnApplicationProps:
|
|
399
|
+
def __init__(
|
|
400
|
+
self,
|
|
401
|
+
*,
|
|
402
|
+
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
403
|
+
description: builtins.str,
|
|
404
|
+
name: builtins.str,
|
|
405
|
+
namespace: typing.Optional[builtins.str] = None,
|
|
406
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
407
|
+
) -> None:
|
|
408
|
+
'''Properties for defining a ``CfnApplication``.
|
|
409
|
+
|
|
410
|
+
:param application_source_config: Application source config.
|
|
411
|
+
:param description: The application description.
|
|
412
|
+
:param name: The name of the application.
|
|
413
|
+
:param namespace: The namespace of the application.
|
|
414
|
+
:param tags: The tags (keys and values) associated with the application.
|
|
415
|
+
|
|
416
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html
|
|
417
|
+
:exampleMetadata: fixture=_generated
|
|
418
|
+
|
|
419
|
+
Example::
|
|
420
|
+
|
|
421
|
+
# The code below shows an example of how to instantiate this type.
|
|
422
|
+
# The values are placeholders you should change.
|
|
423
|
+
from aws_cdk import aws_appintegrations as appintegrations
|
|
424
|
+
|
|
425
|
+
cfn_application_props = appintegrations.CfnApplicationProps(
|
|
426
|
+
application_source_config=appintegrations.CfnApplication.ApplicationSourceConfigProperty(
|
|
427
|
+
external_url_config=appintegrations.CfnApplication.ExternalUrlConfigProperty(
|
|
428
|
+
access_url="accessUrl",
|
|
429
|
+
approved_origins=["approvedOrigins"]
|
|
430
|
+
)
|
|
431
|
+
),
|
|
432
|
+
description="description",
|
|
433
|
+
name="name",
|
|
434
|
+
|
|
435
|
+
# the properties below are optional
|
|
436
|
+
namespace="namespace",
|
|
437
|
+
tags=[CfnTag(
|
|
438
|
+
key="key",
|
|
439
|
+
value="value"
|
|
440
|
+
)]
|
|
441
|
+
)
|
|
442
|
+
'''
|
|
443
|
+
if __debug__:
|
|
444
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7d2c7ce5dfd3af1b41c02f961c30070527579ac243574e11a9dfe26cc453fe9f)
|
|
445
|
+
check_type(argname="argument application_source_config", value=application_source_config, expected_type=type_hints["application_source_config"])
|
|
446
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
447
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
448
|
+
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
449
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
450
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
451
|
+
"application_source_config": application_source_config,
|
|
452
|
+
"description": description,
|
|
453
|
+
"name": name,
|
|
454
|
+
}
|
|
455
|
+
if namespace is not None:
|
|
456
|
+
self._values["namespace"] = namespace
|
|
457
|
+
if tags is not None:
|
|
458
|
+
self._values["tags"] = tags
|
|
459
|
+
|
|
460
|
+
@builtins.property
|
|
461
|
+
def application_source_config(
|
|
462
|
+
self,
|
|
463
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationSourceConfigProperty]:
|
|
464
|
+
'''Application source config.
|
|
465
|
+
|
|
466
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-applicationsourceconfig
|
|
467
|
+
'''
|
|
468
|
+
result = self._values.get("application_source_config")
|
|
469
|
+
assert result is not None, "Required property 'application_source_config' is missing"
|
|
470
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationSourceConfigProperty], result)
|
|
471
|
+
|
|
472
|
+
@builtins.property
|
|
473
|
+
def description(self) -> builtins.str:
|
|
474
|
+
'''The application description.
|
|
475
|
+
|
|
476
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-description
|
|
477
|
+
'''
|
|
478
|
+
result = self._values.get("description")
|
|
479
|
+
assert result is not None, "Required property 'description' is missing"
|
|
480
|
+
return typing.cast(builtins.str, result)
|
|
481
|
+
|
|
482
|
+
@builtins.property
|
|
483
|
+
def name(self) -> builtins.str:
|
|
484
|
+
'''The name of the application.
|
|
485
|
+
|
|
486
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-name
|
|
487
|
+
'''
|
|
488
|
+
result = self._values.get("name")
|
|
489
|
+
assert result is not None, "Required property 'name' is missing"
|
|
490
|
+
return typing.cast(builtins.str, result)
|
|
491
|
+
|
|
492
|
+
@builtins.property
|
|
493
|
+
def namespace(self) -> typing.Optional[builtins.str]:
|
|
494
|
+
'''The namespace of the application.
|
|
495
|
+
|
|
496
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-namespace
|
|
497
|
+
'''
|
|
498
|
+
result = self._values.get("namespace")
|
|
499
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
500
|
+
|
|
501
|
+
@builtins.property
|
|
502
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
503
|
+
'''The tags (keys and values) associated with the application.
|
|
504
|
+
|
|
505
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#cfn-appintegrations-application-tags
|
|
506
|
+
'''
|
|
507
|
+
result = self._values.get("tags")
|
|
508
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
509
|
+
|
|
510
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
511
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
512
|
+
|
|
513
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
514
|
+
return not (rhs == self)
|
|
515
|
+
|
|
516
|
+
def __repr__(self) -> str:
|
|
517
|
+
return "CfnApplicationProps(%s)" % ", ".join(
|
|
518
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
519
|
+
)
|
|
520
|
+
|
|
521
|
+
|
|
54
522
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
55
523
|
class CfnDataIntegration(
|
|
56
524
|
_CfnResource_9df397a6,
|
|
@@ -1058,6 +1526,8 @@ class CfnEventIntegrationProps:
|
|
|
1058
1526
|
|
|
1059
1527
|
|
|
1060
1528
|
__all__ = [
|
|
1529
|
+
"CfnApplication",
|
|
1530
|
+
"CfnApplicationProps",
|
|
1061
1531
|
"CfnDataIntegration",
|
|
1062
1532
|
"CfnDataIntegrationProps",
|
|
1063
1533
|
"CfnEventIntegration",
|
|
@@ -1066,6 +1536,87 @@ __all__ = [
|
|
|
1066
1536
|
|
|
1067
1537
|
publication.publish()
|
|
1068
1538
|
|
|
1539
|
+
def _typecheckingstub__2c1bbb1e03e672595eb80bdb7dcb70bb6e71fccf39633133ee8a5b86b6874772(
|
|
1540
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1541
|
+
id: builtins.str,
|
|
1542
|
+
*,
|
|
1543
|
+
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1544
|
+
description: builtins.str,
|
|
1545
|
+
name: builtins.str,
|
|
1546
|
+
namespace: typing.Optional[builtins.str] = None,
|
|
1547
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1548
|
+
) -> None:
|
|
1549
|
+
"""Type checking stubs"""
|
|
1550
|
+
pass
|
|
1551
|
+
|
|
1552
|
+
def _typecheckingstub__2397143274609e6f7787d10c8effb0139785b91de02a335ac411b9f6e4478fb6(
|
|
1553
|
+
inspector: _TreeInspector_488e0dd5,
|
|
1554
|
+
) -> None:
|
|
1555
|
+
"""Type checking stubs"""
|
|
1556
|
+
pass
|
|
1557
|
+
|
|
1558
|
+
def _typecheckingstub__0f2b0f5530bab214011baa3953ec2f0059bf19c5005c20b1a37a58186c8d1c94(
|
|
1559
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1560
|
+
) -> None:
|
|
1561
|
+
"""Type checking stubs"""
|
|
1562
|
+
pass
|
|
1563
|
+
|
|
1564
|
+
def _typecheckingstub__1e6a672bbf82d8b3bb39f56510a2db6c1a10b1776e0b968cd61c6665d29508e7(
|
|
1565
|
+
value: typing.Union[_IResolvable_da3f097b, CfnApplication.ApplicationSourceConfigProperty],
|
|
1566
|
+
) -> None:
|
|
1567
|
+
"""Type checking stubs"""
|
|
1568
|
+
pass
|
|
1569
|
+
|
|
1570
|
+
def _typecheckingstub__87943d6227ebd97ed6b280da7778e22bd3c7bef93cf9ab4a400fe6c9240847b1(
|
|
1571
|
+
value: builtins.str,
|
|
1572
|
+
) -> None:
|
|
1573
|
+
"""Type checking stubs"""
|
|
1574
|
+
pass
|
|
1575
|
+
|
|
1576
|
+
def _typecheckingstub__416a93fef610e4b348e491404913fee978fabfb7d56f70287417ddc540c85c77(
|
|
1577
|
+
value: builtins.str,
|
|
1578
|
+
) -> None:
|
|
1579
|
+
"""Type checking stubs"""
|
|
1580
|
+
pass
|
|
1581
|
+
|
|
1582
|
+
def _typecheckingstub__c1133ff0df5163630ae65aa9c2ffa87e2e0db4c7e7d6a197c3a256bd17cc3a45(
|
|
1583
|
+
value: typing.Optional[builtins.str],
|
|
1584
|
+
) -> None:
|
|
1585
|
+
"""Type checking stubs"""
|
|
1586
|
+
pass
|
|
1587
|
+
|
|
1588
|
+
def _typecheckingstub__bf726959aa4191428101440b70a3eb393290a7cdec2b995b07413ac05f6d0c28(
|
|
1589
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
1590
|
+
) -> None:
|
|
1591
|
+
"""Type checking stubs"""
|
|
1592
|
+
pass
|
|
1593
|
+
|
|
1594
|
+
def _typecheckingstub__599151bfc17f24879de38cf44b4a12c218d6b40ffaf8a24fc33beaa3691268b7(
|
|
1595
|
+
*,
|
|
1596
|
+
external_url_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ExternalUrlConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1597
|
+
) -> None:
|
|
1598
|
+
"""Type checking stubs"""
|
|
1599
|
+
pass
|
|
1600
|
+
|
|
1601
|
+
def _typecheckingstub__685c9ea63d4a7f3b4f8c0ba5680f0ec9ac1f12cdeb524e0b6a869beee33009cc(
|
|
1602
|
+
*,
|
|
1603
|
+
access_url: builtins.str,
|
|
1604
|
+
approved_origins: typing.Sequence[builtins.str],
|
|
1605
|
+
) -> None:
|
|
1606
|
+
"""Type checking stubs"""
|
|
1607
|
+
pass
|
|
1608
|
+
|
|
1609
|
+
def _typecheckingstub__7d2c7ce5dfd3af1b41c02f961c30070527579ac243574e11a9dfe26cc453fe9f(
|
|
1610
|
+
*,
|
|
1611
|
+
application_source_config: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ApplicationSourceConfigProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1612
|
+
description: builtins.str,
|
|
1613
|
+
name: builtins.str,
|
|
1614
|
+
namespace: typing.Optional[builtins.str] = None,
|
|
1615
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1616
|
+
) -> None:
|
|
1617
|
+
"""Type checking stubs"""
|
|
1618
|
+
pass
|
|
1619
|
+
|
|
1069
1620
|
def _typecheckingstub__07830c24dc09b0662b03583ee4edbdbaeb4fabf95d85c4f4ed965ea9d0999f40(
|
|
1070
1621
|
scope: _constructs_77d1e7e8.Construct,
|
|
1071
1622
|
id: builtins.str,
|