aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -64,6 +64,7 @@ from .. import (
|
|
|
64
64
|
IInspectable as _IInspectable_c2943556,
|
|
65
65
|
IResolvable as _IResolvable_da3f097b,
|
|
66
66
|
ITaggable as _ITaggable_36806126,
|
|
67
|
+
ITaggableV2 as _ITaggableV2_4e6798f8,
|
|
67
68
|
TagManager as _TagManager_0a598cb3,
|
|
68
69
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
69
70
|
)
|
|
@@ -103,6 +104,8 @@ class CfnAgreement(
|
|
|
103
104
|
|
|
104
105
|
# the properties below are optional
|
|
105
106
|
description="description",
|
|
107
|
+
enforce_message_signing="enforceMessageSigning",
|
|
108
|
+
preserve_filename="preserveFilename",
|
|
106
109
|
status="status",
|
|
107
110
|
tags=[CfnTag(
|
|
108
111
|
key="key",
|
|
@@ -122,6 +125,8 @@ class CfnAgreement(
|
|
|
122
125
|
partner_profile_id: builtins.str,
|
|
123
126
|
server_id: builtins.str,
|
|
124
127
|
description: typing.Optional[builtins.str] = None,
|
|
128
|
+
enforce_message_signing: typing.Optional[builtins.str] = None,
|
|
129
|
+
preserve_filename: typing.Optional[builtins.str] = None,
|
|
125
130
|
status: typing.Optional[builtins.str] = None,
|
|
126
131
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
127
132
|
) -> None:
|
|
@@ -134,6 +139,8 @@ class CfnAgreement(
|
|
|
134
139
|
:param partner_profile_id: A unique identifier for the partner profile used in the agreement.
|
|
135
140
|
:param server_id: A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.
|
|
136
141
|
:param description: The name or short description that's used to identify the agreement.
|
|
142
|
+
:param enforce_message_signing: Determines whether or not unsigned messages from your trading partners will be accepted. - ``ENABLED`` : Transfer Family rejects unsigned messages from your trading partner. - ``DISABLED`` (default value): Transfer Family accepts unsigned messages from your trading partner.
|
|
143
|
+
:param preserve_filename: Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload filename when saving it. - ``ENABLED`` : the filename provided by your trading parter is preserved when the file is saved. - ``DISABLED`` (default value): when Transfer Family saves the file, the filename is adjusted, as described in `File names and locations <https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2>`_ .
|
|
137
144
|
:param status: The current status of the agreement, either ``ACTIVE`` or ``INACTIVE`` .
|
|
138
145
|
:param tags: Key-value pairs that can be used to group and search for agreements.
|
|
139
146
|
'''
|
|
@@ -148,6 +155,8 @@ class CfnAgreement(
|
|
|
148
155
|
partner_profile_id=partner_profile_id,
|
|
149
156
|
server_id=server_id,
|
|
150
157
|
description=description,
|
|
158
|
+
enforce_message_signing=enforce_message_signing,
|
|
159
|
+
preserve_filename=preserve_filename,
|
|
151
160
|
status=status,
|
|
152
161
|
tags=tags,
|
|
153
162
|
)
|
|
@@ -291,6 +300,32 @@ class CfnAgreement(
|
|
|
291
300
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
292
301
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
293
302
|
|
|
303
|
+
@builtins.property
|
|
304
|
+
@jsii.member(jsii_name="enforceMessageSigning")
|
|
305
|
+
def enforce_message_signing(self) -> typing.Optional[builtins.str]:
|
|
306
|
+
'''Determines whether or not unsigned messages from your trading partners will be accepted.'''
|
|
307
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "enforceMessageSigning"))
|
|
308
|
+
|
|
309
|
+
@enforce_message_signing.setter
|
|
310
|
+
def enforce_message_signing(self, value: typing.Optional[builtins.str]) -> None:
|
|
311
|
+
if __debug__:
|
|
312
|
+
type_hints = typing.get_type_hints(_typecheckingstub__21309644320e7387ed8b8bad8e7f1cae3841efd58a7ee09e263313c3ed573fe0)
|
|
313
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
314
|
+
jsii.set(self, "enforceMessageSigning", value) # pyright: ignore[reportArgumentType]
|
|
315
|
+
|
|
316
|
+
@builtins.property
|
|
317
|
+
@jsii.member(jsii_name="preserveFilename")
|
|
318
|
+
def preserve_filename(self) -> typing.Optional[builtins.str]:
|
|
319
|
+
'''Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload filename when saving it.'''
|
|
320
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "preserveFilename"))
|
|
321
|
+
|
|
322
|
+
@preserve_filename.setter
|
|
323
|
+
def preserve_filename(self, value: typing.Optional[builtins.str]) -> None:
|
|
324
|
+
if __debug__:
|
|
325
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a8e3dcc245fac0e15a9dfed2729f9d36d2a9bf94ddf00d1e9da1c45cfafec37b)
|
|
326
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
327
|
+
jsii.set(self, "preserveFilename", value) # pyright: ignore[reportArgumentType]
|
|
328
|
+
|
|
294
329
|
@builtins.property
|
|
295
330
|
@jsii.member(jsii_name="status")
|
|
296
331
|
def status(self) -> typing.Optional[builtins.str]:
|
|
@@ -328,6 +363,8 @@ class CfnAgreement(
|
|
|
328
363
|
"partner_profile_id": "partnerProfileId",
|
|
329
364
|
"server_id": "serverId",
|
|
330
365
|
"description": "description",
|
|
366
|
+
"enforce_message_signing": "enforceMessageSigning",
|
|
367
|
+
"preserve_filename": "preserveFilename",
|
|
331
368
|
"status": "status",
|
|
332
369
|
"tags": "tags",
|
|
333
370
|
},
|
|
@@ -342,6 +379,8 @@ class CfnAgreementProps:
|
|
|
342
379
|
partner_profile_id: builtins.str,
|
|
343
380
|
server_id: builtins.str,
|
|
344
381
|
description: typing.Optional[builtins.str] = None,
|
|
382
|
+
enforce_message_signing: typing.Optional[builtins.str] = None,
|
|
383
|
+
preserve_filename: typing.Optional[builtins.str] = None,
|
|
345
384
|
status: typing.Optional[builtins.str] = None,
|
|
346
385
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
347
386
|
) -> None:
|
|
@@ -353,6 +392,8 @@ class CfnAgreementProps:
|
|
|
353
392
|
:param partner_profile_id: A unique identifier for the partner profile used in the agreement.
|
|
354
393
|
:param server_id: A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.
|
|
355
394
|
:param description: The name or short description that's used to identify the agreement.
|
|
395
|
+
:param enforce_message_signing: Determines whether or not unsigned messages from your trading partners will be accepted. - ``ENABLED`` : Transfer Family rejects unsigned messages from your trading partner. - ``DISABLED`` (default value): Transfer Family accepts unsigned messages from your trading partner.
|
|
396
|
+
:param preserve_filename: Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload filename when saving it. - ``ENABLED`` : the filename provided by your trading parter is preserved when the file is saved. - ``DISABLED`` (default value): when Transfer Family saves the file, the filename is adjusted, as described in `File names and locations <https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2>`_ .
|
|
356
397
|
:param status: The current status of the agreement, either ``ACTIVE`` or ``INACTIVE`` .
|
|
357
398
|
:param tags: Key-value pairs that can be used to group and search for agreements.
|
|
358
399
|
|
|
@@ -374,6 +415,8 @@ class CfnAgreementProps:
|
|
|
374
415
|
|
|
375
416
|
# the properties below are optional
|
|
376
417
|
description="description",
|
|
418
|
+
enforce_message_signing="enforceMessageSigning",
|
|
419
|
+
preserve_filename="preserveFilename",
|
|
377
420
|
status="status",
|
|
378
421
|
tags=[CfnTag(
|
|
379
422
|
key="key",
|
|
@@ -389,6 +432,8 @@ class CfnAgreementProps:
|
|
|
389
432
|
check_type(argname="argument partner_profile_id", value=partner_profile_id, expected_type=type_hints["partner_profile_id"])
|
|
390
433
|
check_type(argname="argument server_id", value=server_id, expected_type=type_hints["server_id"])
|
|
391
434
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
435
|
+
check_type(argname="argument enforce_message_signing", value=enforce_message_signing, expected_type=type_hints["enforce_message_signing"])
|
|
436
|
+
check_type(argname="argument preserve_filename", value=preserve_filename, expected_type=type_hints["preserve_filename"])
|
|
392
437
|
check_type(argname="argument status", value=status, expected_type=type_hints["status"])
|
|
393
438
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
394
439
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -400,6 +445,10 @@ class CfnAgreementProps:
|
|
|
400
445
|
}
|
|
401
446
|
if description is not None:
|
|
402
447
|
self._values["description"] = description
|
|
448
|
+
if enforce_message_signing is not None:
|
|
449
|
+
self._values["enforce_message_signing"] = enforce_message_signing
|
|
450
|
+
if preserve_filename is not None:
|
|
451
|
+
self._values["preserve_filename"] = preserve_filename
|
|
403
452
|
if status is not None:
|
|
404
453
|
self._values["status"] = status
|
|
405
454
|
if tags is not None:
|
|
@@ -478,6 +527,30 @@ class CfnAgreementProps:
|
|
|
478
527
|
result = self._values.get("description")
|
|
479
528
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
480
529
|
|
|
530
|
+
@builtins.property
|
|
531
|
+
def enforce_message_signing(self) -> typing.Optional[builtins.str]:
|
|
532
|
+
'''Determines whether or not unsigned messages from your trading partners will be accepted.
|
|
533
|
+
|
|
534
|
+
- ``ENABLED`` : Transfer Family rejects unsigned messages from your trading partner.
|
|
535
|
+
- ``DISABLED`` (default value): Transfer Family accepts unsigned messages from your trading partner.
|
|
536
|
+
|
|
537
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-agreement.html#cfn-transfer-agreement-enforcemessagesigning
|
|
538
|
+
'''
|
|
539
|
+
result = self._values.get("enforce_message_signing")
|
|
540
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
541
|
+
|
|
542
|
+
@builtins.property
|
|
543
|
+
def preserve_filename(self) -> typing.Optional[builtins.str]:
|
|
544
|
+
'''Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload filename when saving it.
|
|
545
|
+
|
|
546
|
+
- ``ENABLED`` : the filename provided by your trading parter is preserved when the file is saved.
|
|
547
|
+
- ``DISABLED`` (default value): when Transfer Family saves the file, the filename is adjusted, as described in `File names and locations <https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2>`_ .
|
|
548
|
+
|
|
549
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-agreement.html#cfn-transfer-agreement-preservefilename
|
|
550
|
+
'''
|
|
551
|
+
result = self._values.get("preserve_filename")
|
|
552
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
553
|
+
|
|
481
554
|
@builtins.property
|
|
482
555
|
def status(self) -> typing.Optional[builtins.str]:
|
|
483
556
|
'''The current status of the agreement, either ``ACTIVE`` or ``INACTIVE`` .
|
|
@@ -1246,6 +1319,7 @@ class CfnConnector(
|
|
|
1246
1319
|
"mdn_signing_algorithm": "mdnSigningAlgorithm",
|
|
1247
1320
|
"message_subject": "messageSubject",
|
|
1248
1321
|
"partner_profile_id": "partnerProfileId",
|
|
1322
|
+
"preserve_content_type": "preserveContentType",
|
|
1249
1323
|
"signing_algorithm": "signingAlgorithm",
|
|
1250
1324
|
},
|
|
1251
1325
|
)
|
|
@@ -1261,6 +1335,7 @@ class CfnConnector(
|
|
|
1261
1335
|
mdn_signing_algorithm: typing.Optional[builtins.str] = None,
|
|
1262
1336
|
message_subject: typing.Optional[builtins.str] = None,
|
|
1263
1337
|
partner_profile_id: typing.Optional[builtins.str] = None,
|
|
1338
|
+
preserve_content_type: typing.Optional[builtins.str] = None,
|
|
1264
1339
|
signing_algorithm: typing.Optional[builtins.str] = None,
|
|
1265
1340
|
) -> None:
|
|
1266
1341
|
'''A structure that contains the parameters for an AS2 connector object.
|
|
@@ -1273,6 +1348,7 @@ class CfnConnector(
|
|
|
1273
1348
|
:param mdn_signing_algorithm: The signing algorithm for the MDN response. .. epigraph:: If set to DEFAULT (or not set at all), the value for ``SigningAlgorithm`` is used.
|
|
1274
1349
|
:param message_subject: Used as the ``Subject`` HTTP header attribute in AS2 messages that are being sent with the connector.
|
|
1275
1350
|
:param partner_profile_id: A unique identifier for the partner profile for the connector.
|
|
1351
|
+
:param preserve_content_type: Specifies whether to use the AWS S3 object content-type as the content-type for the AS2 message.
|
|
1276
1352
|
:param signing_algorithm: The algorithm that is used to sign the AS2 messages sent with the connector.
|
|
1277
1353
|
|
|
1278
1354
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-connector-as2config.html
|
|
@@ -1293,6 +1369,7 @@ class CfnConnector(
|
|
|
1293
1369
|
mdn_signing_algorithm="mdnSigningAlgorithm",
|
|
1294
1370
|
message_subject="messageSubject",
|
|
1295
1371
|
partner_profile_id="partnerProfileId",
|
|
1372
|
+
preserve_content_type="preserveContentType",
|
|
1296
1373
|
signing_algorithm="signingAlgorithm"
|
|
1297
1374
|
)
|
|
1298
1375
|
'''
|
|
@@ -1306,6 +1383,7 @@ class CfnConnector(
|
|
|
1306
1383
|
check_type(argname="argument mdn_signing_algorithm", value=mdn_signing_algorithm, expected_type=type_hints["mdn_signing_algorithm"])
|
|
1307
1384
|
check_type(argname="argument message_subject", value=message_subject, expected_type=type_hints["message_subject"])
|
|
1308
1385
|
check_type(argname="argument partner_profile_id", value=partner_profile_id, expected_type=type_hints["partner_profile_id"])
|
|
1386
|
+
check_type(argname="argument preserve_content_type", value=preserve_content_type, expected_type=type_hints["preserve_content_type"])
|
|
1309
1387
|
check_type(argname="argument signing_algorithm", value=signing_algorithm, expected_type=type_hints["signing_algorithm"])
|
|
1310
1388
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1311
1389
|
if basic_auth_secret_id is not None:
|
|
@@ -1324,6 +1402,8 @@ class CfnConnector(
|
|
|
1324
1402
|
self._values["message_subject"] = message_subject
|
|
1325
1403
|
if partner_profile_id is not None:
|
|
1326
1404
|
self._values["partner_profile_id"] = partner_profile_id
|
|
1405
|
+
if preserve_content_type is not None:
|
|
1406
|
+
self._values["preserve_content_type"] = preserve_content_type
|
|
1327
1407
|
if signing_algorithm is not None:
|
|
1328
1408
|
self._values["signing_algorithm"] = signing_algorithm
|
|
1329
1409
|
|
|
@@ -1432,6 +1512,15 @@ class CfnConnector(
|
|
|
1432
1512
|
result = self._values.get("partner_profile_id")
|
|
1433
1513
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1434
1514
|
|
|
1515
|
+
@builtins.property
|
|
1516
|
+
def preserve_content_type(self) -> typing.Optional[builtins.str]:
|
|
1517
|
+
'''Specifies whether to use the AWS S3 object content-type as the content-type for the AS2 message.
|
|
1518
|
+
|
|
1519
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-connector-as2config.html#cfn-transfer-connector-as2config-preservecontenttype
|
|
1520
|
+
'''
|
|
1521
|
+
result = self._values.get("preserve_content_type")
|
|
1522
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1523
|
+
|
|
1435
1524
|
@builtins.property
|
|
1436
1525
|
def signing_algorithm(self) -> typing.Optional[builtins.str]:
|
|
1437
1526
|
'''The algorithm that is used to sign the AS2 messages sent with the connector.
|
|
@@ -3651,7 +3740,7 @@ class CfnUser(
|
|
|
3651
3740
|
:param home_directory_type: The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to ``PATH`` , the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it to ``LOGICAL`` , you need to provide mappings in the ``HomeDirectoryMappings`` for how you want to make Amazon S3 or Amazon EFS paths visible to your users. .. epigraph:: If ``HomeDirectoryType`` is ``LOGICAL`` , you must provide mappings, using the ``HomeDirectoryMappings`` parameter. If, on the other hand, ``HomeDirectoryType`` is ``PATH`` , you provide an absolute path using the ``HomeDirectory`` parameter. You cannot have both ``HomeDirectory`` and ``HomeDirectoryMappings`` in your template.
|
|
3652
3741
|
:param policy: A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ``${Transfer:UserName}`` , ``${Transfer:HomeDirectory}`` , and ``${Transfer:HomeBucket}`` . .. epigraph:: For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the ``Policy`` argument. For an example of a session policy, see `Example session policy <https://docs.aws.amazon.com/transfer/latest/userguide/session-policy.html>`_ . For more information, see `AssumeRole <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_ in the *AWS Security Token Service API Reference* .
|
|
3653
3742
|
:param posix_profile: Specifies the full POSIX identity, including user ID ( ``Uid`` ), group ID ( ``Gid`` ), and any secondary groups IDs ( ``SecondaryGids`` ), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems.
|
|
3654
|
-
:param ssh_public_keys: Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user.
|
|
3743
|
+
:param ssh_public_keys: Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user. .. epigraph:: To delete the public key body, set its value to zero keys, as shown here: ``SshPublicKeys: []``
|
|
3655
3744
|
:param tags: Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
|
|
3656
3745
|
'''
|
|
3657
3746
|
if __debug__:
|
|
@@ -4117,7 +4206,7 @@ class CfnUserProps:
|
|
|
4117
4206
|
:param home_directory_type: The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to ``PATH`` , the user will see the absolute Amazon S3 bucket or Amazon EFS path as is in their file transfer protocol clients. If you set it to ``LOGICAL`` , you need to provide mappings in the ``HomeDirectoryMappings`` for how you want to make Amazon S3 or Amazon EFS paths visible to your users. .. epigraph:: If ``HomeDirectoryType`` is ``LOGICAL`` , you must provide mappings, using the ``HomeDirectoryMappings`` parameter. If, on the other hand, ``HomeDirectoryType`` is ``PATH`` , you provide an absolute path using the ``HomeDirectory`` parameter. You cannot have both ``HomeDirectory`` and ``HomeDirectoryMappings`` in your template.
|
|
4118
4207
|
:param policy: A session policy for your user so you can use the same IAM role across multiple users. This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ``${Transfer:UserName}`` , ``${Transfer:HomeDirectory}`` , and ``${Transfer:HomeBucket}`` . .. epigraph:: For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the ``Policy`` argument. For an example of a session policy, see `Example session policy <https://docs.aws.amazon.com/transfer/latest/userguide/session-policy.html>`_ . For more information, see `AssumeRole <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_ in the *AWS Security Token Service API Reference* .
|
|
4119
4208
|
:param posix_profile: Specifies the full POSIX identity, including user ID ( ``Uid`` ), group ID ( ``Gid`` ), and any secondary groups IDs ( ``SecondaryGids`` ), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems.
|
|
4120
|
-
:param ssh_public_keys: Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user.
|
|
4209
|
+
:param ssh_public_keys: Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user. .. epigraph:: To delete the public key body, set its value to zero keys, as shown here: ``SshPublicKeys: []``
|
|
4121
4210
|
:param tags: Key-value pairs that can be used to group and search for users. Tags are metadata attached to users for any purpose.
|
|
4122
4211
|
|
|
4123
4212
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html
|
|
@@ -4313,6 +4402,12 @@ class CfnUserProps:
|
|
|
4313
4402
|
def ssh_public_keys(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4314
4403
|
'''Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user.
|
|
4315
4404
|
|
|
4405
|
+
.. epigraph::
|
|
4406
|
+
|
|
4407
|
+
To delete the public key body, set its value to zero keys, as shown here:
|
|
4408
|
+
|
|
4409
|
+
``SshPublicKeys: []``
|
|
4410
|
+
|
|
4316
4411
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html#cfn-transfer-user-sshpublickeys
|
|
4317
4412
|
'''
|
|
4318
4413
|
result = self._values.get("ssh_public_keys")
|
|
@@ -4341,6 +4436,619 @@ class CfnUserProps:
|
|
|
4341
4436
|
)
|
|
4342
4437
|
|
|
4343
4438
|
|
|
4439
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
4440
|
+
class CfnWebApp(
|
|
4441
|
+
_CfnResource_9df397a6,
|
|
4442
|
+
metaclass=jsii.JSIIMeta,
|
|
4443
|
+
jsii_type="aws-cdk-lib.aws_transfer.CfnWebApp",
|
|
4444
|
+
):
|
|
4445
|
+
'''Creates a web app based on specified parameters, and returns the ID for the new web app.
|
|
4446
|
+
|
|
4447
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html
|
|
4448
|
+
:cloudformationResource: AWS::Transfer::WebApp
|
|
4449
|
+
:exampleMetadata: fixture=_generated
|
|
4450
|
+
|
|
4451
|
+
Example::
|
|
4452
|
+
|
|
4453
|
+
# The code below shows an example of how to instantiate this type.
|
|
4454
|
+
# The values are placeholders you should change.
|
|
4455
|
+
from aws_cdk import aws_transfer as transfer
|
|
4456
|
+
|
|
4457
|
+
cfn_web_app = transfer.CfnWebApp(self, "MyCfnWebApp",
|
|
4458
|
+
identity_provider_details=transfer.CfnWebApp.IdentityProviderDetailsProperty(
|
|
4459
|
+
application_arn="applicationArn",
|
|
4460
|
+
instance_arn="instanceArn",
|
|
4461
|
+
role="role"
|
|
4462
|
+
),
|
|
4463
|
+
|
|
4464
|
+
# the properties below are optional
|
|
4465
|
+
access_endpoint="accessEndpoint",
|
|
4466
|
+
tags=[CfnTag(
|
|
4467
|
+
key="key",
|
|
4468
|
+
value="value"
|
|
4469
|
+
)],
|
|
4470
|
+
web_app_customization=transfer.CfnWebApp.WebAppCustomizationProperty(
|
|
4471
|
+
favicon_file="faviconFile",
|
|
4472
|
+
logo_file="logoFile",
|
|
4473
|
+
title="title"
|
|
4474
|
+
),
|
|
4475
|
+
web_app_units=transfer.CfnWebApp.WebAppUnitsProperty(
|
|
4476
|
+
provisioned=123
|
|
4477
|
+
)
|
|
4478
|
+
)
|
|
4479
|
+
'''
|
|
4480
|
+
|
|
4481
|
+
def __init__(
|
|
4482
|
+
self,
|
|
4483
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
4484
|
+
id: builtins.str,
|
|
4485
|
+
*,
|
|
4486
|
+
identity_provider_details: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebApp.IdentityProviderDetailsProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
4487
|
+
access_endpoint: typing.Optional[builtins.str] = None,
|
|
4488
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4489
|
+
web_app_customization: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebApp.WebAppCustomizationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4490
|
+
web_app_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebApp.WebAppUnitsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4491
|
+
) -> None:
|
|
4492
|
+
'''
|
|
4493
|
+
:param scope: Scope in which this resource is defined.
|
|
4494
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
4495
|
+
:param identity_provider_details: You can provide a structure that contains the details for the identity provider to use with your web app. For more details about this parameter, see `Configure your identity provider for Transfer Family web apps <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-identity-center.html>`_ .
|
|
4496
|
+
:param access_endpoint: The ``AccessEndpoint`` is the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value. Before you enter a custom URL for this parameter, follow the steps described in `Update your access endpoint with a custom URL <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-customize.html>`_ .
|
|
4497
|
+
:param tags: Key-value pairs that can be used to group and search for web apps. Tags are metadata attached to web apps for any purpose.
|
|
4498
|
+
:param web_app_customization: A structure that contains the customization fields for the web app. You can provide a title, logo, and icon to customize the appearance of your web app.
|
|
4499
|
+
:param web_app_units: A union that contains the value for number of concurrent connections or the user sessions on your web app.
|
|
4500
|
+
'''
|
|
4501
|
+
if __debug__:
|
|
4502
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7e725b505349ad94c74b92c89fcff0a41d3c479d533cc008fb193cc8b30c0f70)
|
|
4503
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
4504
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4505
|
+
props = CfnWebAppProps(
|
|
4506
|
+
identity_provider_details=identity_provider_details,
|
|
4507
|
+
access_endpoint=access_endpoint,
|
|
4508
|
+
tags=tags,
|
|
4509
|
+
web_app_customization=web_app_customization,
|
|
4510
|
+
web_app_units=web_app_units,
|
|
4511
|
+
)
|
|
4512
|
+
|
|
4513
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
4514
|
+
|
|
4515
|
+
@jsii.member(jsii_name="inspect")
|
|
4516
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
4517
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
4518
|
+
|
|
4519
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
4520
|
+
'''
|
|
4521
|
+
if __debug__:
|
|
4522
|
+
type_hints = typing.get_type_hints(_typecheckingstub__08aaa0faf06441ae9c1523d4ebf9fdfeccaf68e85c8fdc160642ec400dfa1faa)
|
|
4523
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
4524
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
4525
|
+
|
|
4526
|
+
@jsii.member(jsii_name="renderProperties")
|
|
4527
|
+
def _render_properties(
|
|
4528
|
+
self,
|
|
4529
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
4530
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4531
|
+
'''
|
|
4532
|
+
:param props: -
|
|
4533
|
+
'''
|
|
4534
|
+
if __debug__:
|
|
4535
|
+
type_hints = typing.get_type_hints(_typecheckingstub__35cc75162657b9202a49840d4e0aa4c3d918e09af68ff376e538710cee1cb6cb)
|
|
4536
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
4537
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
4538
|
+
|
|
4539
|
+
@jsii.python.classproperty
|
|
4540
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
4541
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
4542
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
4543
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4544
|
+
|
|
4545
|
+
@builtins.property
|
|
4546
|
+
@jsii.member(jsii_name="attrArn")
|
|
4547
|
+
def attr_arn(self) -> builtins.str:
|
|
4548
|
+
'''The Amazon Resource Name (ARN) of the web app.
|
|
4549
|
+
|
|
4550
|
+
:cloudformationAttribute: Arn
|
|
4551
|
+
'''
|
|
4552
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
4553
|
+
|
|
4554
|
+
@builtins.property
|
|
4555
|
+
@jsii.member(jsii_name="attrIdentityProviderDetailsApplicationArn")
|
|
4556
|
+
def attr_identity_provider_details_application_arn(self) -> builtins.str:
|
|
4557
|
+
'''The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.
|
|
4558
|
+
|
|
4559
|
+
:cloudformationAttribute: IdentityProviderDetails.ApplicationArn
|
|
4560
|
+
'''
|
|
4561
|
+
return typing.cast(builtins.str, jsii.get(self, "attrIdentityProviderDetailsApplicationArn"))
|
|
4562
|
+
|
|
4563
|
+
@builtins.property
|
|
4564
|
+
@jsii.member(jsii_name="attrWebAppId")
|
|
4565
|
+
def attr_web_app_id(self) -> builtins.str:
|
|
4566
|
+
'''The unique identifier for the web app.
|
|
4567
|
+
|
|
4568
|
+
:cloudformationAttribute: WebAppId
|
|
4569
|
+
'''
|
|
4570
|
+
return typing.cast(builtins.str, jsii.get(self, "attrWebAppId"))
|
|
4571
|
+
|
|
4572
|
+
@builtins.property
|
|
4573
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4574
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4575
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4576
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4577
|
+
|
|
4578
|
+
@builtins.property
|
|
4579
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
4580
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
4581
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
4582
|
+
|
|
4583
|
+
@builtins.property
|
|
4584
|
+
@jsii.member(jsii_name="identityProviderDetails")
|
|
4585
|
+
def identity_provider_details(
|
|
4586
|
+
self,
|
|
4587
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnWebApp.IdentityProviderDetailsProperty"]:
|
|
4588
|
+
'''You can provide a structure that contains the details for the identity provider to use with your web app.'''
|
|
4589
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWebApp.IdentityProviderDetailsProperty"], jsii.get(self, "identityProviderDetails"))
|
|
4590
|
+
|
|
4591
|
+
@identity_provider_details.setter
|
|
4592
|
+
def identity_provider_details(
|
|
4593
|
+
self,
|
|
4594
|
+
value: typing.Union[_IResolvable_da3f097b, "CfnWebApp.IdentityProviderDetailsProperty"],
|
|
4595
|
+
) -> None:
|
|
4596
|
+
if __debug__:
|
|
4597
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a143104dc72055a6346499a1c42dc1e9a55e0a2fac758a5fdb73cc172530fe8b)
|
|
4598
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4599
|
+
jsii.set(self, "identityProviderDetails", value) # pyright: ignore[reportArgumentType]
|
|
4600
|
+
|
|
4601
|
+
@builtins.property
|
|
4602
|
+
@jsii.member(jsii_name="accessEndpoint")
|
|
4603
|
+
def access_endpoint(self) -> typing.Optional[builtins.str]:
|
|
4604
|
+
'''The ``AccessEndpoint`` is the URL that you provide to your users for them to interact with the Transfer Family web app.'''
|
|
4605
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "accessEndpoint"))
|
|
4606
|
+
|
|
4607
|
+
@access_endpoint.setter
|
|
4608
|
+
def access_endpoint(self, value: typing.Optional[builtins.str]) -> None:
|
|
4609
|
+
if __debug__:
|
|
4610
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b49260e5a1b945671ba6797a35aa7d7bf93a577eac3292e024438feec4dc1976)
|
|
4611
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4612
|
+
jsii.set(self, "accessEndpoint", value) # pyright: ignore[reportArgumentType]
|
|
4613
|
+
|
|
4614
|
+
@builtins.property
|
|
4615
|
+
@jsii.member(jsii_name="tags")
|
|
4616
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
4617
|
+
'''Key-value pairs that can be used to group and search for web apps.'''
|
|
4618
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
4619
|
+
|
|
4620
|
+
@tags.setter
|
|
4621
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
4622
|
+
if __debug__:
|
|
4623
|
+
type_hints = typing.get_type_hints(_typecheckingstub__30b2b42c451b5cf18bc021ed1ab027f439a56a366c31b4bec2874a1319670127)
|
|
4624
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4625
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
4626
|
+
|
|
4627
|
+
@builtins.property
|
|
4628
|
+
@jsii.member(jsii_name="webAppCustomization")
|
|
4629
|
+
def web_app_customization(
|
|
4630
|
+
self,
|
|
4631
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppCustomizationProperty"]]:
|
|
4632
|
+
'''A structure that contains the customization fields for the web app.'''
|
|
4633
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppCustomizationProperty"]], jsii.get(self, "webAppCustomization"))
|
|
4634
|
+
|
|
4635
|
+
@web_app_customization.setter
|
|
4636
|
+
def web_app_customization(
|
|
4637
|
+
self,
|
|
4638
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppCustomizationProperty"]],
|
|
4639
|
+
) -> None:
|
|
4640
|
+
if __debug__:
|
|
4641
|
+
type_hints = typing.get_type_hints(_typecheckingstub__06cf7fb4d03ba1e31e57310f7a4e5b9ee65fd97449295a5fcca203aa59c8b3df)
|
|
4642
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4643
|
+
jsii.set(self, "webAppCustomization", value) # pyright: ignore[reportArgumentType]
|
|
4644
|
+
|
|
4645
|
+
@builtins.property
|
|
4646
|
+
@jsii.member(jsii_name="webAppUnits")
|
|
4647
|
+
def web_app_units(
|
|
4648
|
+
self,
|
|
4649
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppUnitsProperty"]]:
|
|
4650
|
+
'''A union that contains the value for number of concurrent connections or the user sessions on your web app.'''
|
|
4651
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppUnitsProperty"]], jsii.get(self, "webAppUnits"))
|
|
4652
|
+
|
|
4653
|
+
@web_app_units.setter
|
|
4654
|
+
def web_app_units(
|
|
4655
|
+
self,
|
|
4656
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebApp.WebAppUnitsProperty"]],
|
|
4657
|
+
) -> None:
|
|
4658
|
+
if __debug__:
|
|
4659
|
+
type_hints = typing.get_type_hints(_typecheckingstub__05c81ce4f64dae1408aa42ef29823b95b141813512df0fe6ef85a451fc930f0a)
|
|
4660
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4661
|
+
jsii.set(self, "webAppUnits", value) # pyright: ignore[reportArgumentType]
|
|
4662
|
+
|
|
4663
|
+
@jsii.data_type(
|
|
4664
|
+
jsii_type="aws-cdk-lib.aws_transfer.CfnWebApp.IdentityProviderDetailsProperty",
|
|
4665
|
+
jsii_struct_bases=[],
|
|
4666
|
+
name_mapping={
|
|
4667
|
+
"application_arn": "applicationArn",
|
|
4668
|
+
"instance_arn": "instanceArn",
|
|
4669
|
+
"role": "role",
|
|
4670
|
+
},
|
|
4671
|
+
)
|
|
4672
|
+
class IdentityProviderDetailsProperty:
|
|
4673
|
+
def __init__(
|
|
4674
|
+
self,
|
|
4675
|
+
*,
|
|
4676
|
+
application_arn: typing.Optional[builtins.str] = None,
|
|
4677
|
+
instance_arn: typing.Optional[builtins.str] = None,
|
|
4678
|
+
role: typing.Optional[builtins.str] = None,
|
|
4679
|
+
) -> None:
|
|
4680
|
+
'''A structure that describes the values to use for the IAM Identity Center settings when you create or update a web app.
|
|
4681
|
+
|
|
4682
|
+
:param application_arn: The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.
|
|
4683
|
+
:param instance_arn: The Amazon Resource Name (ARN) for the IAM Identity Center used for the web app.
|
|
4684
|
+
:param role: The IAM role in IAM Identity Center used for the web app.
|
|
4685
|
+
|
|
4686
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-identityproviderdetails.html
|
|
4687
|
+
:exampleMetadata: fixture=_generated
|
|
4688
|
+
|
|
4689
|
+
Example::
|
|
4690
|
+
|
|
4691
|
+
# The code below shows an example of how to instantiate this type.
|
|
4692
|
+
# The values are placeholders you should change.
|
|
4693
|
+
from aws_cdk import aws_transfer as transfer
|
|
4694
|
+
|
|
4695
|
+
identity_provider_details_property = transfer.CfnWebApp.IdentityProviderDetailsProperty(
|
|
4696
|
+
application_arn="applicationArn",
|
|
4697
|
+
instance_arn="instanceArn",
|
|
4698
|
+
role="role"
|
|
4699
|
+
)
|
|
4700
|
+
'''
|
|
4701
|
+
if __debug__:
|
|
4702
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b302a4e89f0273c2f4ecb9d1e9d455f99c8de91db6c0a9f929e41a9c0140a4a4)
|
|
4703
|
+
check_type(argname="argument application_arn", value=application_arn, expected_type=type_hints["application_arn"])
|
|
4704
|
+
check_type(argname="argument instance_arn", value=instance_arn, expected_type=type_hints["instance_arn"])
|
|
4705
|
+
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
4706
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4707
|
+
if application_arn is not None:
|
|
4708
|
+
self._values["application_arn"] = application_arn
|
|
4709
|
+
if instance_arn is not None:
|
|
4710
|
+
self._values["instance_arn"] = instance_arn
|
|
4711
|
+
if role is not None:
|
|
4712
|
+
self._values["role"] = role
|
|
4713
|
+
|
|
4714
|
+
@builtins.property
|
|
4715
|
+
def application_arn(self) -> typing.Optional[builtins.str]:
|
|
4716
|
+
'''The Amazon Resource Name (ARN) for the IAM Identity Center application: this value is set automatically when you create your web app.
|
|
4717
|
+
|
|
4718
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-identityproviderdetails.html#cfn-transfer-webapp-identityproviderdetails-applicationarn
|
|
4719
|
+
'''
|
|
4720
|
+
result = self._values.get("application_arn")
|
|
4721
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4722
|
+
|
|
4723
|
+
@builtins.property
|
|
4724
|
+
def instance_arn(self) -> typing.Optional[builtins.str]:
|
|
4725
|
+
'''The Amazon Resource Name (ARN) for the IAM Identity Center used for the web app.
|
|
4726
|
+
|
|
4727
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-identityproviderdetails.html#cfn-transfer-webapp-identityproviderdetails-instancearn
|
|
4728
|
+
'''
|
|
4729
|
+
result = self._values.get("instance_arn")
|
|
4730
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4731
|
+
|
|
4732
|
+
@builtins.property
|
|
4733
|
+
def role(self) -> typing.Optional[builtins.str]:
|
|
4734
|
+
'''The IAM role in IAM Identity Center used for the web app.
|
|
4735
|
+
|
|
4736
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-identityproviderdetails.html#cfn-transfer-webapp-identityproviderdetails-role
|
|
4737
|
+
'''
|
|
4738
|
+
result = self._values.get("role")
|
|
4739
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4740
|
+
|
|
4741
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4742
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4743
|
+
|
|
4744
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4745
|
+
return not (rhs == self)
|
|
4746
|
+
|
|
4747
|
+
def __repr__(self) -> str:
|
|
4748
|
+
return "IdentityProviderDetailsProperty(%s)" % ", ".join(
|
|
4749
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4750
|
+
)
|
|
4751
|
+
|
|
4752
|
+
@jsii.data_type(
|
|
4753
|
+
jsii_type="aws-cdk-lib.aws_transfer.CfnWebApp.WebAppCustomizationProperty",
|
|
4754
|
+
jsii_struct_bases=[],
|
|
4755
|
+
name_mapping={
|
|
4756
|
+
"favicon_file": "faviconFile",
|
|
4757
|
+
"logo_file": "logoFile",
|
|
4758
|
+
"title": "title",
|
|
4759
|
+
},
|
|
4760
|
+
)
|
|
4761
|
+
class WebAppCustomizationProperty:
|
|
4762
|
+
def __init__(
|
|
4763
|
+
self,
|
|
4764
|
+
*,
|
|
4765
|
+
favicon_file: typing.Optional[builtins.str] = None,
|
|
4766
|
+
logo_file: typing.Optional[builtins.str] = None,
|
|
4767
|
+
title: typing.Optional[builtins.str] = None,
|
|
4768
|
+
) -> None:
|
|
4769
|
+
'''A structure that contains the customization fields for the web app.
|
|
4770
|
+
|
|
4771
|
+
You can provide a title, logo, and icon to customize the appearance of your web app.
|
|
4772
|
+
|
|
4773
|
+
:param favicon_file: Returns an icon file data string (in base64 encoding).
|
|
4774
|
+
:param logo_file: Returns a logo file data string (in base64 encoding).
|
|
4775
|
+
:param title: Returns the page title that you defined for your web app.
|
|
4776
|
+
|
|
4777
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappcustomization.html
|
|
4778
|
+
:exampleMetadata: fixture=_generated
|
|
4779
|
+
|
|
4780
|
+
Example::
|
|
4781
|
+
|
|
4782
|
+
# The code below shows an example of how to instantiate this type.
|
|
4783
|
+
# The values are placeholders you should change.
|
|
4784
|
+
from aws_cdk import aws_transfer as transfer
|
|
4785
|
+
|
|
4786
|
+
web_app_customization_property = transfer.CfnWebApp.WebAppCustomizationProperty(
|
|
4787
|
+
favicon_file="faviconFile",
|
|
4788
|
+
logo_file="logoFile",
|
|
4789
|
+
title="title"
|
|
4790
|
+
)
|
|
4791
|
+
'''
|
|
4792
|
+
if __debug__:
|
|
4793
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e7ad602329ec3c900c7027cebb12a5f6509c389ad77660ed02d37f445d17a053)
|
|
4794
|
+
check_type(argname="argument favicon_file", value=favicon_file, expected_type=type_hints["favicon_file"])
|
|
4795
|
+
check_type(argname="argument logo_file", value=logo_file, expected_type=type_hints["logo_file"])
|
|
4796
|
+
check_type(argname="argument title", value=title, expected_type=type_hints["title"])
|
|
4797
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4798
|
+
if favicon_file is not None:
|
|
4799
|
+
self._values["favicon_file"] = favicon_file
|
|
4800
|
+
if logo_file is not None:
|
|
4801
|
+
self._values["logo_file"] = logo_file
|
|
4802
|
+
if title is not None:
|
|
4803
|
+
self._values["title"] = title
|
|
4804
|
+
|
|
4805
|
+
@builtins.property
|
|
4806
|
+
def favicon_file(self) -> typing.Optional[builtins.str]:
|
|
4807
|
+
'''Returns an icon file data string (in base64 encoding).
|
|
4808
|
+
|
|
4809
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappcustomization.html#cfn-transfer-webapp-webappcustomization-faviconfile
|
|
4810
|
+
'''
|
|
4811
|
+
result = self._values.get("favicon_file")
|
|
4812
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4813
|
+
|
|
4814
|
+
@builtins.property
|
|
4815
|
+
def logo_file(self) -> typing.Optional[builtins.str]:
|
|
4816
|
+
'''Returns a logo file data string (in base64 encoding).
|
|
4817
|
+
|
|
4818
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappcustomization.html#cfn-transfer-webapp-webappcustomization-logofile
|
|
4819
|
+
'''
|
|
4820
|
+
result = self._values.get("logo_file")
|
|
4821
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4822
|
+
|
|
4823
|
+
@builtins.property
|
|
4824
|
+
def title(self) -> typing.Optional[builtins.str]:
|
|
4825
|
+
'''Returns the page title that you defined for your web app.
|
|
4826
|
+
|
|
4827
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappcustomization.html#cfn-transfer-webapp-webappcustomization-title
|
|
4828
|
+
'''
|
|
4829
|
+
result = self._values.get("title")
|
|
4830
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4831
|
+
|
|
4832
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4833
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4834
|
+
|
|
4835
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4836
|
+
return not (rhs == self)
|
|
4837
|
+
|
|
4838
|
+
def __repr__(self) -> str:
|
|
4839
|
+
return "WebAppCustomizationProperty(%s)" % ", ".join(
|
|
4840
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4841
|
+
)
|
|
4842
|
+
|
|
4843
|
+
@jsii.data_type(
|
|
4844
|
+
jsii_type="aws-cdk-lib.aws_transfer.CfnWebApp.WebAppUnitsProperty",
|
|
4845
|
+
jsii_struct_bases=[],
|
|
4846
|
+
name_mapping={"provisioned": "provisioned"},
|
|
4847
|
+
)
|
|
4848
|
+
class WebAppUnitsProperty:
|
|
4849
|
+
def __init__(self, *, provisioned: jsii.Number) -> None:
|
|
4850
|
+
'''Contains an integer value that represents the value for number of concurrent connections or the user sessions on your web app.
|
|
4851
|
+
|
|
4852
|
+
:param provisioned: An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time. Each increment allows an additional 250 concurrent sessions: a value of ``1`` sets the number of concurrent sessions to 250; ``2`` sets a value of 500, and so on.
|
|
4853
|
+
|
|
4854
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappunits.html
|
|
4855
|
+
:exampleMetadata: fixture=_generated
|
|
4856
|
+
|
|
4857
|
+
Example::
|
|
4858
|
+
|
|
4859
|
+
# The code below shows an example of how to instantiate this type.
|
|
4860
|
+
# The values are placeholders you should change.
|
|
4861
|
+
from aws_cdk import aws_transfer as transfer
|
|
4862
|
+
|
|
4863
|
+
web_app_units_property = transfer.CfnWebApp.WebAppUnitsProperty(
|
|
4864
|
+
provisioned=123
|
|
4865
|
+
)
|
|
4866
|
+
'''
|
|
4867
|
+
if __debug__:
|
|
4868
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f60d6cda63c7834db5b6c31f65165e63d01404bdd2c426d37d6fba8f40916107)
|
|
4869
|
+
check_type(argname="argument provisioned", value=provisioned, expected_type=type_hints["provisioned"])
|
|
4870
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4871
|
+
"provisioned": provisioned,
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4874
|
+
@builtins.property
|
|
4875
|
+
def provisioned(self) -> jsii.Number:
|
|
4876
|
+
'''An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.
|
|
4877
|
+
|
|
4878
|
+
Each increment allows an additional 250 concurrent sessions: a value of ``1`` sets the number of concurrent sessions to 250; ``2`` sets a value of 500, and so on.
|
|
4879
|
+
|
|
4880
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-webapp-webappunits.html#cfn-transfer-webapp-webappunits-provisioned
|
|
4881
|
+
'''
|
|
4882
|
+
result = self._values.get("provisioned")
|
|
4883
|
+
assert result is not None, "Required property 'provisioned' is missing"
|
|
4884
|
+
return typing.cast(jsii.Number, result)
|
|
4885
|
+
|
|
4886
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4887
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4888
|
+
|
|
4889
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4890
|
+
return not (rhs == self)
|
|
4891
|
+
|
|
4892
|
+
def __repr__(self) -> str:
|
|
4893
|
+
return "WebAppUnitsProperty(%s)" % ", ".join(
|
|
4894
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4895
|
+
)
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
@jsii.data_type(
|
|
4899
|
+
jsii_type="aws-cdk-lib.aws_transfer.CfnWebAppProps",
|
|
4900
|
+
jsii_struct_bases=[],
|
|
4901
|
+
name_mapping={
|
|
4902
|
+
"identity_provider_details": "identityProviderDetails",
|
|
4903
|
+
"access_endpoint": "accessEndpoint",
|
|
4904
|
+
"tags": "tags",
|
|
4905
|
+
"web_app_customization": "webAppCustomization",
|
|
4906
|
+
"web_app_units": "webAppUnits",
|
|
4907
|
+
},
|
|
4908
|
+
)
|
|
4909
|
+
class CfnWebAppProps:
|
|
4910
|
+
def __init__(
|
|
4911
|
+
self,
|
|
4912
|
+
*,
|
|
4913
|
+
identity_provider_details: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.IdentityProviderDetailsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
4914
|
+
access_endpoint: typing.Optional[builtins.str] = None,
|
|
4915
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4916
|
+
web_app_customization: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppCustomizationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4917
|
+
web_app_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4918
|
+
) -> None:
|
|
4919
|
+
'''Properties for defining a ``CfnWebApp``.
|
|
4920
|
+
|
|
4921
|
+
:param identity_provider_details: You can provide a structure that contains the details for the identity provider to use with your web app. For more details about this parameter, see `Configure your identity provider for Transfer Family web apps <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-identity-center.html>`_ .
|
|
4922
|
+
:param access_endpoint: The ``AccessEndpoint`` is the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value. Before you enter a custom URL for this parameter, follow the steps described in `Update your access endpoint with a custom URL <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-customize.html>`_ .
|
|
4923
|
+
:param tags: Key-value pairs that can be used to group and search for web apps. Tags are metadata attached to web apps for any purpose.
|
|
4924
|
+
:param web_app_customization: A structure that contains the customization fields for the web app. You can provide a title, logo, and icon to customize the appearance of your web app.
|
|
4925
|
+
:param web_app_units: A union that contains the value for number of concurrent connections or the user sessions on your web app.
|
|
4926
|
+
|
|
4927
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html
|
|
4928
|
+
:exampleMetadata: fixture=_generated
|
|
4929
|
+
|
|
4930
|
+
Example::
|
|
4931
|
+
|
|
4932
|
+
# The code below shows an example of how to instantiate this type.
|
|
4933
|
+
# The values are placeholders you should change.
|
|
4934
|
+
from aws_cdk import aws_transfer as transfer
|
|
4935
|
+
|
|
4936
|
+
cfn_web_app_props = transfer.CfnWebAppProps(
|
|
4937
|
+
identity_provider_details=transfer.CfnWebApp.IdentityProviderDetailsProperty(
|
|
4938
|
+
application_arn="applicationArn",
|
|
4939
|
+
instance_arn="instanceArn",
|
|
4940
|
+
role="role"
|
|
4941
|
+
),
|
|
4942
|
+
|
|
4943
|
+
# the properties below are optional
|
|
4944
|
+
access_endpoint="accessEndpoint",
|
|
4945
|
+
tags=[CfnTag(
|
|
4946
|
+
key="key",
|
|
4947
|
+
value="value"
|
|
4948
|
+
)],
|
|
4949
|
+
web_app_customization=transfer.CfnWebApp.WebAppCustomizationProperty(
|
|
4950
|
+
favicon_file="faviconFile",
|
|
4951
|
+
logo_file="logoFile",
|
|
4952
|
+
title="title"
|
|
4953
|
+
),
|
|
4954
|
+
web_app_units=transfer.CfnWebApp.WebAppUnitsProperty(
|
|
4955
|
+
provisioned=123
|
|
4956
|
+
)
|
|
4957
|
+
)
|
|
4958
|
+
'''
|
|
4959
|
+
if __debug__:
|
|
4960
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fbc7bdd479da7eca2bd2264125d2580878fa82f5b9dcf4a35fe4aca05da20d4d)
|
|
4961
|
+
check_type(argname="argument identity_provider_details", value=identity_provider_details, expected_type=type_hints["identity_provider_details"])
|
|
4962
|
+
check_type(argname="argument access_endpoint", value=access_endpoint, expected_type=type_hints["access_endpoint"])
|
|
4963
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
4964
|
+
check_type(argname="argument web_app_customization", value=web_app_customization, expected_type=type_hints["web_app_customization"])
|
|
4965
|
+
check_type(argname="argument web_app_units", value=web_app_units, expected_type=type_hints["web_app_units"])
|
|
4966
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4967
|
+
"identity_provider_details": identity_provider_details,
|
|
4968
|
+
}
|
|
4969
|
+
if access_endpoint is not None:
|
|
4970
|
+
self._values["access_endpoint"] = access_endpoint
|
|
4971
|
+
if tags is not None:
|
|
4972
|
+
self._values["tags"] = tags
|
|
4973
|
+
if web_app_customization is not None:
|
|
4974
|
+
self._values["web_app_customization"] = web_app_customization
|
|
4975
|
+
if web_app_units is not None:
|
|
4976
|
+
self._values["web_app_units"] = web_app_units
|
|
4977
|
+
|
|
4978
|
+
@builtins.property
|
|
4979
|
+
def identity_provider_details(
|
|
4980
|
+
self,
|
|
4981
|
+
) -> typing.Union[_IResolvable_da3f097b, CfnWebApp.IdentityProviderDetailsProperty]:
|
|
4982
|
+
'''You can provide a structure that contains the details for the identity provider to use with your web app.
|
|
4983
|
+
|
|
4984
|
+
For more details about this parameter, see `Configure your identity provider for Transfer Family web apps <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-identity-center.html>`_ .
|
|
4985
|
+
|
|
4986
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#cfn-transfer-webapp-identityproviderdetails
|
|
4987
|
+
'''
|
|
4988
|
+
result = self._values.get("identity_provider_details")
|
|
4989
|
+
assert result is not None, "Required property 'identity_provider_details' is missing"
|
|
4990
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnWebApp.IdentityProviderDetailsProperty], result)
|
|
4991
|
+
|
|
4992
|
+
@builtins.property
|
|
4993
|
+
def access_endpoint(self) -> typing.Optional[builtins.str]:
|
|
4994
|
+
'''The ``AccessEndpoint`` is the URL that you provide to your users for them to interact with the Transfer Family web app.
|
|
4995
|
+
|
|
4996
|
+
You can specify a custom URL or use the default value.
|
|
4997
|
+
|
|
4998
|
+
Before you enter a custom URL for this parameter, follow the steps described in `Update your access endpoint with a custom URL <https://docs.aws.amazon.com//transfer/latest/userguide/webapp-customize.html>`_ .
|
|
4999
|
+
|
|
5000
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#cfn-transfer-webapp-accessendpoint
|
|
5001
|
+
'''
|
|
5002
|
+
result = self._values.get("access_endpoint")
|
|
5003
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5004
|
+
|
|
5005
|
+
@builtins.property
|
|
5006
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5007
|
+
'''Key-value pairs that can be used to group and search for web apps.
|
|
5008
|
+
|
|
5009
|
+
Tags are metadata attached to web apps for any purpose.
|
|
5010
|
+
|
|
5011
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#cfn-transfer-webapp-tags
|
|
5012
|
+
'''
|
|
5013
|
+
result = self._values.get("tags")
|
|
5014
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
5015
|
+
|
|
5016
|
+
@builtins.property
|
|
5017
|
+
def web_app_customization(
|
|
5018
|
+
self,
|
|
5019
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppCustomizationProperty]]:
|
|
5020
|
+
'''A structure that contains the customization fields for the web app.
|
|
5021
|
+
|
|
5022
|
+
You can provide a title, logo, and icon to customize the appearance of your web app.
|
|
5023
|
+
|
|
5024
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#cfn-transfer-webapp-webappcustomization
|
|
5025
|
+
'''
|
|
5026
|
+
result = self._values.get("web_app_customization")
|
|
5027
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppCustomizationProperty]], result)
|
|
5028
|
+
|
|
5029
|
+
@builtins.property
|
|
5030
|
+
def web_app_units(
|
|
5031
|
+
self,
|
|
5032
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppUnitsProperty]]:
|
|
5033
|
+
'''A union that contains the value for number of concurrent connections or the user sessions on your web app.
|
|
5034
|
+
|
|
5035
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-webapp.html#cfn-transfer-webapp-webappunits
|
|
5036
|
+
'''
|
|
5037
|
+
result = self._values.get("web_app_units")
|
|
5038
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppUnitsProperty]], result)
|
|
5039
|
+
|
|
5040
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5041
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5042
|
+
|
|
5043
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5044
|
+
return not (rhs == self)
|
|
5045
|
+
|
|
5046
|
+
def __repr__(self) -> str:
|
|
5047
|
+
return "CfnWebAppProps(%s)" % ", ".join(
|
|
5048
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5049
|
+
)
|
|
5050
|
+
|
|
5051
|
+
|
|
4344
5052
|
@jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
|
|
4345
5053
|
class CfnWorkflow(
|
|
4346
5054
|
_CfnResource_9df397a6,
|
|
@@ -5879,6 +6587,8 @@ __all__ = [
|
|
|
5879
6587
|
"CfnServerProps",
|
|
5880
6588
|
"CfnUser",
|
|
5881
6589
|
"CfnUserProps",
|
|
6590
|
+
"CfnWebApp",
|
|
6591
|
+
"CfnWebAppProps",
|
|
5882
6592
|
"CfnWorkflow",
|
|
5883
6593
|
"CfnWorkflowProps",
|
|
5884
6594
|
]
|
|
@@ -5895,6 +6605,8 @@ def _typecheckingstub__f95ec07e6c4ee624e4f9374f7db0e66b46af64fa8c86e2e41aa290c72
|
|
|
5895
6605
|
partner_profile_id: builtins.str,
|
|
5896
6606
|
server_id: builtins.str,
|
|
5897
6607
|
description: typing.Optional[builtins.str] = None,
|
|
6608
|
+
enforce_message_signing: typing.Optional[builtins.str] = None,
|
|
6609
|
+
preserve_filename: typing.Optional[builtins.str] = None,
|
|
5898
6610
|
status: typing.Optional[builtins.str] = None,
|
|
5899
6611
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5900
6612
|
) -> None:
|
|
@@ -5949,6 +6661,18 @@ def _typecheckingstub__53c57c4c1fcab40ff6fbf72d1b3a40161b6904921f0e56930629bce8d
|
|
|
5949
6661
|
"""Type checking stubs"""
|
|
5950
6662
|
pass
|
|
5951
6663
|
|
|
6664
|
+
def _typecheckingstub__21309644320e7387ed8b8bad8e7f1cae3841efd58a7ee09e263313c3ed573fe0(
|
|
6665
|
+
value: typing.Optional[builtins.str],
|
|
6666
|
+
) -> None:
|
|
6667
|
+
"""Type checking stubs"""
|
|
6668
|
+
pass
|
|
6669
|
+
|
|
6670
|
+
def _typecheckingstub__a8e3dcc245fac0e15a9dfed2729f9d36d2a9bf94ddf00d1e9da1c45cfafec37b(
|
|
6671
|
+
value: typing.Optional[builtins.str],
|
|
6672
|
+
) -> None:
|
|
6673
|
+
"""Type checking stubs"""
|
|
6674
|
+
pass
|
|
6675
|
+
|
|
5952
6676
|
def _typecheckingstub__78211aad1a50ad3834dcb7a48092349fa0f45f77997fe33f6e8cab4593032c48(
|
|
5953
6677
|
value: typing.Optional[builtins.str],
|
|
5954
6678
|
) -> None:
|
|
@@ -5969,6 +6693,8 @@ def _typecheckingstub__c92e8cdff7d6f57ae5fd00ef4190544d79a76c01e88d32b21b88588ee
|
|
|
5969
6693
|
partner_profile_id: builtins.str,
|
|
5970
6694
|
server_id: builtins.str,
|
|
5971
6695
|
description: typing.Optional[builtins.str] = None,
|
|
6696
|
+
enforce_message_signing: typing.Optional[builtins.str] = None,
|
|
6697
|
+
preserve_filename: typing.Optional[builtins.str] = None,
|
|
5972
6698
|
status: typing.Optional[builtins.str] = None,
|
|
5973
6699
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5974
6700
|
) -> None:
|
|
@@ -6144,6 +6870,7 @@ def _typecheckingstub__328497a7bbb181a996e0747268f6105731221ad3f578e8a5ca68e405d
|
|
|
6144
6870
|
mdn_signing_algorithm: typing.Optional[builtins.str] = None,
|
|
6145
6871
|
message_subject: typing.Optional[builtins.str] = None,
|
|
6146
6872
|
partner_profile_id: typing.Optional[builtins.str] = None,
|
|
6873
|
+
preserve_content_type: typing.Optional[builtins.str] = None,
|
|
6147
6874
|
signing_algorithm: typing.Optional[builtins.str] = None,
|
|
6148
6875
|
) -> None:
|
|
6149
6876
|
"""Type checking stubs"""
|
|
@@ -6561,6 +7288,97 @@ def _typecheckingstub__ad0aa64ea17d55d9634df57b389b841e68b583b0c7f4818453a5cb087
|
|
|
6561
7288
|
"""Type checking stubs"""
|
|
6562
7289
|
pass
|
|
6563
7290
|
|
|
7291
|
+
def _typecheckingstub__7e725b505349ad94c74b92c89fcff0a41d3c479d533cc008fb193cc8b30c0f70(
|
|
7292
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
7293
|
+
id: builtins.str,
|
|
7294
|
+
*,
|
|
7295
|
+
identity_provider_details: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.IdentityProviderDetailsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7296
|
+
access_endpoint: typing.Optional[builtins.str] = None,
|
|
7297
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7298
|
+
web_app_customization: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppCustomizationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7299
|
+
web_app_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7300
|
+
) -> None:
|
|
7301
|
+
"""Type checking stubs"""
|
|
7302
|
+
pass
|
|
7303
|
+
|
|
7304
|
+
def _typecheckingstub__08aaa0faf06441ae9c1523d4ebf9fdfeccaf68e85c8fdc160642ec400dfa1faa(
|
|
7305
|
+
inspector: _TreeInspector_488e0dd5,
|
|
7306
|
+
) -> None:
|
|
7307
|
+
"""Type checking stubs"""
|
|
7308
|
+
pass
|
|
7309
|
+
|
|
7310
|
+
def _typecheckingstub__35cc75162657b9202a49840d4e0aa4c3d918e09af68ff376e538710cee1cb6cb(
|
|
7311
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
7312
|
+
) -> None:
|
|
7313
|
+
"""Type checking stubs"""
|
|
7314
|
+
pass
|
|
7315
|
+
|
|
7316
|
+
def _typecheckingstub__a143104dc72055a6346499a1c42dc1e9a55e0a2fac758a5fdb73cc172530fe8b(
|
|
7317
|
+
value: typing.Union[_IResolvable_da3f097b, CfnWebApp.IdentityProviderDetailsProperty],
|
|
7318
|
+
) -> None:
|
|
7319
|
+
"""Type checking stubs"""
|
|
7320
|
+
pass
|
|
7321
|
+
|
|
7322
|
+
def _typecheckingstub__b49260e5a1b945671ba6797a35aa7d7bf93a577eac3292e024438feec4dc1976(
|
|
7323
|
+
value: typing.Optional[builtins.str],
|
|
7324
|
+
) -> None:
|
|
7325
|
+
"""Type checking stubs"""
|
|
7326
|
+
pass
|
|
7327
|
+
|
|
7328
|
+
def _typecheckingstub__30b2b42c451b5cf18bc021ed1ab027f439a56a366c31b4bec2874a1319670127(
|
|
7329
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
7330
|
+
) -> None:
|
|
7331
|
+
"""Type checking stubs"""
|
|
7332
|
+
pass
|
|
7333
|
+
|
|
7334
|
+
def _typecheckingstub__06cf7fb4d03ba1e31e57310f7a4e5b9ee65fd97449295a5fcca203aa59c8b3df(
|
|
7335
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppCustomizationProperty]],
|
|
7336
|
+
) -> None:
|
|
7337
|
+
"""Type checking stubs"""
|
|
7338
|
+
pass
|
|
7339
|
+
|
|
7340
|
+
def _typecheckingstub__05c81ce4f64dae1408aa42ef29823b95b141813512df0fe6ef85a451fc930f0a(
|
|
7341
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebApp.WebAppUnitsProperty]],
|
|
7342
|
+
) -> None:
|
|
7343
|
+
"""Type checking stubs"""
|
|
7344
|
+
pass
|
|
7345
|
+
|
|
7346
|
+
def _typecheckingstub__b302a4e89f0273c2f4ecb9d1e9d455f99c8de91db6c0a9f929e41a9c0140a4a4(
|
|
7347
|
+
*,
|
|
7348
|
+
application_arn: typing.Optional[builtins.str] = None,
|
|
7349
|
+
instance_arn: typing.Optional[builtins.str] = None,
|
|
7350
|
+
role: typing.Optional[builtins.str] = None,
|
|
7351
|
+
) -> None:
|
|
7352
|
+
"""Type checking stubs"""
|
|
7353
|
+
pass
|
|
7354
|
+
|
|
7355
|
+
def _typecheckingstub__e7ad602329ec3c900c7027cebb12a5f6509c389ad77660ed02d37f445d17a053(
|
|
7356
|
+
*,
|
|
7357
|
+
favicon_file: typing.Optional[builtins.str] = None,
|
|
7358
|
+
logo_file: typing.Optional[builtins.str] = None,
|
|
7359
|
+
title: typing.Optional[builtins.str] = None,
|
|
7360
|
+
) -> None:
|
|
7361
|
+
"""Type checking stubs"""
|
|
7362
|
+
pass
|
|
7363
|
+
|
|
7364
|
+
def _typecheckingstub__f60d6cda63c7834db5b6c31f65165e63d01404bdd2c426d37d6fba8f40916107(
|
|
7365
|
+
*,
|
|
7366
|
+
provisioned: jsii.Number,
|
|
7367
|
+
) -> None:
|
|
7368
|
+
"""Type checking stubs"""
|
|
7369
|
+
pass
|
|
7370
|
+
|
|
7371
|
+
def _typecheckingstub__fbc7bdd479da7eca2bd2264125d2580878fa82f5b9dcf4a35fe4aca05da20d4d(
|
|
7372
|
+
*,
|
|
7373
|
+
identity_provider_details: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.IdentityProviderDetailsProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
7374
|
+
access_endpoint: typing.Optional[builtins.str] = None,
|
|
7375
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7376
|
+
web_app_customization: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppCustomizationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7377
|
+
web_app_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebApp.WebAppUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7378
|
+
) -> None:
|
|
7379
|
+
"""Type checking stubs"""
|
|
7380
|
+
pass
|
|
7381
|
+
|
|
6564
7382
|
def _typecheckingstub__9a86ecf6f123d228f6edf61149bc2542f6ce02d9365ac8986ec7c6468379f655(
|
|
6565
7383
|
scope: _constructs_77d1e7e8.Construct,
|
|
6566
7384
|
id: builtins.str,
|