aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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 +303 -119
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +136 -0
- aws_cdk/aws_apigateway/__init__.py +69 -17
- aws_cdk/aws_apigatewayv2/__init__.py +88 -0
- aws_cdk/aws_appconfig/__init__.py +30 -14
- aws_cdk/aws_appsync/__init__.py +14 -5
- aws_cdk/aws_arczonalshift/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +637 -32
- aws_cdk/aws_budgets/__init__.py +8 -8
- aws_cdk/aws_cassandra/__init__.py +4 -2
- aws_cdk/aws_ce/__init__.py +2 -2
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +11 -0
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codebuild/__init__.py +32 -1
- aws_cdk/aws_codepipeline/__init__.py +47 -32
- aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
- aws_cdk/aws_codestarnotifications/__init__.py +16 -16
- aws_cdk/aws_cognito/__init__.py +8 -2
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_datazone/__init__.py +287 -226
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +2448 -442
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +51 -0
- aws_cdk/aws_eks/__init__.py +222 -6
- aws_cdk/aws_events/__init__.py +8 -11
- aws_cdk/aws_events_targets/__init__.py +136 -0
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +6 -4
- aws_cdk/aws_identitystore/__init__.py +6 -4
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +105 -4
- aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +985 -5
- aws_cdk/aws_logs/__init__.py +18 -0
- aws_cdk/aws_logs_destinations/__init__.py +146 -0
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +44 -0
- aws_cdk/aws_notifications/__init__.py +4 -4
- aws_cdk/aws_omics/__init__.py +225 -1
- aws_cdk/aws_opensearchserverless/__init__.py +31 -23
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
- aws_cdk/aws_quicksight/__init__.py +268 -50
- aws_cdk/aws_rds/__init__.py +186 -10
- aws_cdk/aws_route53/__init__.py +5 -5
- aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
- aws_cdk/aws_rum/__init__.py +13 -10
- aws_cdk/aws_s3/__init__.py +3 -6
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +47 -4
- aws_cdk/aws_scheduler_targets/__init__.py +4 -16
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +23 -17
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_wafv2/__init__.py +512 -1141
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -2
- aws_cdk/pipelines/__init__.py +52 -2
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
|
@@ -92,6 +92,11 @@ class CfnApplication(
|
|
|
92
92
|
application_type="applicationType",
|
|
93
93
|
|
|
94
94
|
# the properties below are optional
|
|
95
|
+
components_info=[systemsmanagersap.CfnApplication.ComponentInfoProperty(
|
|
96
|
+
component_type="componentType",
|
|
97
|
+
ec2_instance_id="ec2InstanceId",
|
|
98
|
+
sid="sid"
|
|
99
|
+
)],
|
|
95
100
|
credentials=[systemsmanagersap.CfnApplication.CredentialProperty(
|
|
96
101
|
credential_type="credentialType",
|
|
97
102
|
database_name="databaseName",
|
|
@@ -115,6 +120,7 @@ class CfnApplication(
|
|
|
115
120
|
*,
|
|
116
121
|
application_id: builtins.str,
|
|
117
122
|
application_type: builtins.str,
|
|
123
|
+
components_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ComponentInfoProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
118
124
|
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.CredentialProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
119
125
|
database_arn: typing.Optional[builtins.str] = None,
|
|
120
126
|
instances: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -127,6 +133,7 @@ class CfnApplication(
|
|
|
127
133
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
128
134
|
:param application_id: The ID of the application.
|
|
129
135
|
:param application_type: The type of the application.
|
|
136
|
+
:param components_info: This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.
|
|
130
137
|
:param credentials: The credentials of the SAP application.
|
|
131
138
|
:param database_arn: The Amazon Resource Name (ARN) of the database.
|
|
132
139
|
:param instances: The Amazon EC2 instances on which your SAP application is running.
|
|
@@ -141,6 +148,7 @@ class CfnApplication(
|
|
|
141
148
|
props = CfnApplicationProps(
|
|
142
149
|
application_id=application_id,
|
|
143
150
|
application_type=application_type,
|
|
151
|
+
components_info=components_info,
|
|
144
152
|
credentials=credentials,
|
|
145
153
|
database_arn=database_arn,
|
|
146
154
|
instances=instances,
|
|
@@ -227,6 +235,24 @@ class CfnApplication(
|
|
|
227
235
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
228
236
|
jsii.set(self, "applicationType", value) # pyright: ignore[reportArgumentType]
|
|
229
237
|
|
|
238
|
+
@builtins.property
|
|
239
|
+
@jsii.member(jsii_name="componentsInfo")
|
|
240
|
+
def components_info(
|
|
241
|
+
self,
|
|
242
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ComponentInfoProperty"]]]]:
|
|
243
|
+
'''This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.'''
|
|
244
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ComponentInfoProperty"]]]], jsii.get(self, "componentsInfo"))
|
|
245
|
+
|
|
246
|
+
@components_info.setter
|
|
247
|
+
def components_info(
|
|
248
|
+
self,
|
|
249
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnApplication.ComponentInfoProperty"]]]],
|
|
250
|
+
) -> None:
|
|
251
|
+
if __debug__:
|
|
252
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2a90939925dbb220d73328e704914b8b8622262010f7b16d224d782fd843e8a3)
|
|
253
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
254
|
+
jsii.set(self, "componentsInfo", value) # pyright: ignore[reportArgumentType]
|
|
255
|
+
|
|
230
256
|
@builtins.property
|
|
231
257
|
@jsii.member(jsii_name="credentials")
|
|
232
258
|
def credentials(
|
|
@@ -310,6 +336,101 @@ class CfnApplication(
|
|
|
310
336
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
311
337
|
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
312
338
|
|
|
339
|
+
@jsii.data_type(
|
|
340
|
+
jsii_type="aws-cdk-lib.aws_systemsmanagersap.CfnApplication.ComponentInfoProperty",
|
|
341
|
+
jsii_struct_bases=[],
|
|
342
|
+
name_mapping={
|
|
343
|
+
"component_type": "componentType",
|
|
344
|
+
"ec2_instance_id": "ec2InstanceId",
|
|
345
|
+
"sid": "sid",
|
|
346
|
+
},
|
|
347
|
+
)
|
|
348
|
+
class ComponentInfoProperty:
|
|
349
|
+
def __init__(
|
|
350
|
+
self,
|
|
351
|
+
*,
|
|
352
|
+
component_type: typing.Optional[builtins.str] = None,
|
|
353
|
+
ec2_instance_id: typing.Optional[builtins.str] = None,
|
|
354
|
+
sid: typing.Optional[builtins.str] = None,
|
|
355
|
+
) -> None:
|
|
356
|
+
'''This is information about the component of your SAP application, such as Web Dispatcher.
|
|
357
|
+
|
|
358
|
+
:param component_type: This string is the type of the component. Accepted value is ``WD`` .
|
|
359
|
+
:param ec2_instance_id: This is the Amazon EC2 instance on which your SAP component is running. Accepted values are alphanumeric.
|
|
360
|
+
:param sid: This string is the SAP System ID of the component. Accepted values are alphanumeric.
|
|
361
|
+
|
|
362
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html
|
|
363
|
+
:exampleMetadata: fixture=_generated
|
|
364
|
+
|
|
365
|
+
Example::
|
|
366
|
+
|
|
367
|
+
# The code below shows an example of how to instantiate this type.
|
|
368
|
+
# The values are placeholders you should change.
|
|
369
|
+
from aws_cdk import aws_systemsmanagersap as systemsmanagersap
|
|
370
|
+
|
|
371
|
+
component_info_property = systemsmanagersap.CfnApplication.ComponentInfoProperty(
|
|
372
|
+
component_type="componentType",
|
|
373
|
+
ec2_instance_id="ec2InstanceId",
|
|
374
|
+
sid="sid"
|
|
375
|
+
)
|
|
376
|
+
'''
|
|
377
|
+
if __debug__:
|
|
378
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1d49f9988316c0ff51fd56107927f5c7d63f756eab7f3d81bea3d009409a851d)
|
|
379
|
+
check_type(argname="argument component_type", value=component_type, expected_type=type_hints["component_type"])
|
|
380
|
+
check_type(argname="argument ec2_instance_id", value=ec2_instance_id, expected_type=type_hints["ec2_instance_id"])
|
|
381
|
+
check_type(argname="argument sid", value=sid, expected_type=type_hints["sid"])
|
|
382
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
383
|
+
if component_type is not None:
|
|
384
|
+
self._values["component_type"] = component_type
|
|
385
|
+
if ec2_instance_id is not None:
|
|
386
|
+
self._values["ec2_instance_id"] = ec2_instance_id
|
|
387
|
+
if sid is not None:
|
|
388
|
+
self._values["sid"] = sid
|
|
389
|
+
|
|
390
|
+
@builtins.property
|
|
391
|
+
def component_type(self) -> typing.Optional[builtins.str]:
|
|
392
|
+
'''This string is the type of the component.
|
|
393
|
+
|
|
394
|
+
Accepted value is ``WD`` .
|
|
395
|
+
|
|
396
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-componenttype
|
|
397
|
+
'''
|
|
398
|
+
result = self._values.get("component_type")
|
|
399
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
400
|
+
|
|
401
|
+
@builtins.property
|
|
402
|
+
def ec2_instance_id(self) -> typing.Optional[builtins.str]:
|
|
403
|
+
'''This is the Amazon EC2 instance on which your SAP component is running.
|
|
404
|
+
|
|
405
|
+
Accepted values are alphanumeric.
|
|
406
|
+
|
|
407
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-ec2instanceid
|
|
408
|
+
'''
|
|
409
|
+
result = self._values.get("ec2_instance_id")
|
|
410
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
411
|
+
|
|
412
|
+
@builtins.property
|
|
413
|
+
def sid(self) -> typing.Optional[builtins.str]:
|
|
414
|
+
'''This string is the SAP System ID of the component.
|
|
415
|
+
|
|
416
|
+
Accepted values are alphanumeric.
|
|
417
|
+
|
|
418
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-systemsmanagersap-application-componentinfo.html#cfn-systemsmanagersap-application-componentinfo-sid
|
|
419
|
+
'''
|
|
420
|
+
result = self._values.get("sid")
|
|
421
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
422
|
+
|
|
423
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
424
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
425
|
+
|
|
426
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
427
|
+
return not (rhs == self)
|
|
428
|
+
|
|
429
|
+
def __repr__(self) -> str:
|
|
430
|
+
return "ComponentInfoProperty(%s)" % ", ".join(
|
|
431
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
432
|
+
)
|
|
433
|
+
|
|
313
434
|
@jsii.data_type(
|
|
314
435
|
jsii_type="aws-cdk-lib.aws_systemsmanagersap.CfnApplication.CredentialProperty",
|
|
315
436
|
jsii_struct_bases=[],
|
|
@@ -406,6 +527,7 @@ class CfnApplication(
|
|
|
406
527
|
name_mapping={
|
|
407
528
|
"application_id": "applicationId",
|
|
408
529
|
"application_type": "applicationType",
|
|
530
|
+
"components_info": "componentsInfo",
|
|
409
531
|
"credentials": "credentials",
|
|
410
532
|
"database_arn": "databaseArn",
|
|
411
533
|
"instances": "instances",
|
|
@@ -420,6 +542,7 @@ class CfnApplicationProps:
|
|
|
420
542
|
*,
|
|
421
543
|
application_id: builtins.str,
|
|
422
544
|
application_type: builtins.str,
|
|
545
|
+
components_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ComponentInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
423
546
|
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.CredentialProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
424
547
|
database_arn: typing.Optional[builtins.str] = None,
|
|
425
548
|
instances: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -431,6 +554,7 @@ class CfnApplicationProps:
|
|
|
431
554
|
|
|
432
555
|
:param application_id: The ID of the application.
|
|
433
556
|
:param application_type: The type of the application.
|
|
557
|
+
:param components_info: This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.
|
|
434
558
|
:param credentials: The credentials of the SAP application.
|
|
435
559
|
:param database_arn: The Amazon Resource Name (ARN) of the database.
|
|
436
560
|
:param instances: The Amazon EC2 instances on which your SAP application is running.
|
|
@@ -452,6 +576,11 @@ class CfnApplicationProps:
|
|
|
452
576
|
application_type="applicationType",
|
|
453
577
|
|
|
454
578
|
# the properties below are optional
|
|
579
|
+
components_info=[systemsmanagersap.CfnApplication.ComponentInfoProperty(
|
|
580
|
+
component_type="componentType",
|
|
581
|
+
ec2_instance_id="ec2InstanceId",
|
|
582
|
+
sid="sid"
|
|
583
|
+
)],
|
|
455
584
|
credentials=[systemsmanagersap.CfnApplication.CredentialProperty(
|
|
456
585
|
credential_type="credentialType",
|
|
457
586
|
database_name="databaseName",
|
|
@@ -471,6 +600,7 @@ class CfnApplicationProps:
|
|
|
471
600
|
type_hints = typing.get_type_hints(_typecheckingstub__0a3a450935d6aacabad9991c3fdce7052d4392d63c713049280ff2a2a2615a38)
|
|
472
601
|
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
473
602
|
check_type(argname="argument application_type", value=application_type, expected_type=type_hints["application_type"])
|
|
603
|
+
check_type(argname="argument components_info", value=components_info, expected_type=type_hints["components_info"])
|
|
474
604
|
check_type(argname="argument credentials", value=credentials, expected_type=type_hints["credentials"])
|
|
475
605
|
check_type(argname="argument database_arn", value=database_arn, expected_type=type_hints["database_arn"])
|
|
476
606
|
check_type(argname="argument instances", value=instances, expected_type=type_hints["instances"])
|
|
@@ -481,6 +611,8 @@ class CfnApplicationProps:
|
|
|
481
611
|
"application_id": application_id,
|
|
482
612
|
"application_type": application_type,
|
|
483
613
|
}
|
|
614
|
+
if components_info is not None:
|
|
615
|
+
self._values["components_info"] = components_info
|
|
484
616
|
if credentials is not None:
|
|
485
617
|
self._values["credentials"] = credentials
|
|
486
618
|
if database_arn is not None:
|
|
@@ -514,6 +646,17 @@ class CfnApplicationProps:
|
|
|
514
646
|
assert result is not None, "Required property 'application_type' is missing"
|
|
515
647
|
return typing.cast(builtins.str, result)
|
|
516
648
|
|
|
649
|
+
@builtins.property
|
|
650
|
+
def components_info(
|
|
651
|
+
self,
|
|
652
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.ComponentInfoProperty]]]]:
|
|
653
|
+
'''This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.
|
|
654
|
+
|
|
655
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-systemsmanagersap-application.html#cfn-systemsmanagersap-application-componentsinfo
|
|
656
|
+
'''
|
|
657
|
+
result = self._values.get("components_info")
|
|
658
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.ComponentInfoProperty]]]], result)
|
|
659
|
+
|
|
517
660
|
@builtins.property
|
|
518
661
|
def credentials(
|
|
519
662
|
self,
|
|
@@ -595,6 +738,7 @@ def _typecheckingstub__d9271c1fe4df837d944d62ed41ed4e1f7b01ee290ee0cedef450b7d3b
|
|
|
595
738
|
*,
|
|
596
739
|
application_id: builtins.str,
|
|
597
740
|
application_type: builtins.str,
|
|
741
|
+
components_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ComponentInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
598
742
|
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.CredentialProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
599
743
|
database_arn: typing.Optional[builtins.str] = None,
|
|
600
744
|
instances: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -629,6 +773,12 @@ def _typecheckingstub__c4b8f1dc3ab2cc2af53565165fea2e3a71b3636909d6590d329ac8b01
|
|
|
629
773
|
"""Type checking stubs"""
|
|
630
774
|
pass
|
|
631
775
|
|
|
776
|
+
def _typecheckingstub__2a90939925dbb220d73328e704914b8b8622262010f7b16d224d782fd843e8a3(
|
|
777
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.ComponentInfoProperty]]]],
|
|
778
|
+
) -> None:
|
|
779
|
+
"""Type checking stubs"""
|
|
780
|
+
pass
|
|
781
|
+
|
|
632
782
|
def _typecheckingstub__3d7fd4ddc7b1c5dd15b7872fe8002624e595dabcca134f126fb732c23e5149c6(
|
|
633
783
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnApplication.CredentialProperty]]]],
|
|
634
784
|
) -> None:
|
|
@@ -665,6 +815,15 @@ def _typecheckingstub__84a8afb3becf838692cd2e040ef53d955aba6f46033283c6fd2d80766
|
|
|
665
815
|
"""Type checking stubs"""
|
|
666
816
|
pass
|
|
667
817
|
|
|
818
|
+
def _typecheckingstub__1d49f9988316c0ff51fd56107927f5c7d63f756eab7f3d81bea3d009409a851d(
|
|
819
|
+
*,
|
|
820
|
+
component_type: typing.Optional[builtins.str] = None,
|
|
821
|
+
ec2_instance_id: typing.Optional[builtins.str] = None,
|
|
822
|
+
sid: typing.Optional[builtins.str] = None,
|
|
823
|
+
) -> None:
|
|
824
|
+
"""Type checking stubs"""
|
|
825
|
+
pass
|
|
826
|
+
|
|
668
827
|
def _typecheckingstub__209aa7feaf1ed6ac2bf183538ccbb7555a21c47880975dd9f9b002d73b1e7cbb(
|
|
669
828
|
*,
|
|
670
829
|
credential_type: typing.Optional[builtins.str] = None,
|
|
@@ -678,6 +837,7 @@ def _typecheckingstub__0a3a450935d6aacabad9991c3fdce7052d4392d63c713049280ff2a2a
|
|
|
678
837
|
*,
|
|
679
838
|
application_id: builtins.str,
|
|
680
839
|
application_type: builtins.str,
|
|
840
|
+
components_info: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ComponentInfoProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
681
841
|
credentials: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.CredentialProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
682
842
|
database_arn: typing.Optional[builtins.str] = None,
|
|
683
843
|
instances: typing.Optional[typing.Sequence[builtins.str]] = None,
|
aws_cdk/aws_transfer/__init__.py
CHANGED
|
@@ -771,6 +771,11 @@ class CfnCertificate(
|
|
|
771
771
|
):
|
|
772
772
|
'''Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.
|
|
773
773
|
|
|
774
|
+
You can import both the certificate and its chain in the ``Certificate`` parameter.
|
|
775
|
+
.. epigraph::
|
|
776
|
+
|
|
777
|
+
If you use the ``Certificate`` parameter to upload both the certificate and its chain, don't use the ``CertificateChain`` parameter.
|
|
778
|
+
|
|
774
779
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-certificate.html
|
|
775
780
|
:cloudformationResource: AWS::Transfer::Certificate
|
|
776
781
|
:exampleMetadata: fixture=_generated
|
|
@@ -817,10 +822,10 @@ class CfnCertificate(
|
|
|
817
822
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
818
823
|
:param certificate: The file name for the certificate.
|
|
819
824
|
:param usage: Specifies how this certificate is used. It can be used in the following ways:. - ``SIGNING`` : For signing AS2 messages - ``ENCRYPTION`` : For encrypting AS2 messages - ``TLS`` : For securing AS2 communications sent over HTTPS
|
|
820
|
-
:param active_date: An optional date that specifies when the certificate becomes active.
|
|
825
|
+
:param active_date: An optional date that specifies when the certificate becomes active. If you do not specify a value, ``ActiveDate`` takes the same value as ``NotBeforeDate`` , which is specified by the CA.
|
|
821
826
|
:param certificate_chain: The list of certificates that make up the chain for the certificate.
|
|
822
827
|
:param description: The name or description that's used to identity the certificate.
|
|
823
|
-
:param inactive_date: An optional date that specifies when the certificate becomes inactive.
|
|
828
|
+
:param inactive_date: An optional date that specifies when the certificate becomes inactive. If you do not specify a value, ``InactiveDate`` takes the same value as ``NotAfterDate`` , which is specified by the CA.
|
|
824
829
|
:param private_key: The file that contains the private key for the certificate that's being imported.
|
|
825
830
|
:param tags: Key-value pairs that can be used to group and search for certificates.
|
|
826
831
|
'''
|
|
@@ -1090,10 +1095,10 @@ class CfnCertificateProps:
|
|
|
1090
1095
|
|
|
1091
1096
|
:param certificate: The file name for the certificate.
|
|
1092
1097
|
:param usage: Specifies how this certificate is used. It can be used in the following ways:. - ``SIGNING`` : For signing AS2 messages - ``ENCRYPTION`` : For encrypting AS2 messages - ``TLS`` : For securing AS2 communications sent over HTTPS
|
|
1093
|
-
:param active_date: An optional date that specifies when the certificate becomes active.
|
|
1098
|
+
:param active_date: An optional date that specifies when the certificate becomes active. If you do not specify a value, ``ActiveDate`` takes the same value as ``NotBeforeDate`` , which is specified by the CA.
|
|
1094
1099
|
:param certificate_chain: The list of certificates that make up the chain for the certificate.
|
|
1095
1100
|
:param description: The name or description that's used to identity the certificate.
|
|
1096
|
-
:param inactive_date: An optional date that specifies when the certificate becomes inactive.
|
|
1101
|
+
:param inactive_date: An optional date that specifies when the certificate becomes inactive. If you do not specify a value, ``InactiveDate`` takes the same value as ``NotAfterDate`` , which is specified by the CA.
|
|
1097
1102
|
:param private_key: The file that contains the private key for the certificate that's being imported.
|
|
1098
1103
|
:param tags: Key-value pairs that can be used to group and search for certificates.
|
|
1099
1104
|
|
|
@@ -1177,6 +1182,8 @@ class CfnCertificateProps:
|
|
|
1177
1182
|
def active_date(self) -> typing.Optional[builtins.str]:
|
|
1178
1183
|
'''An optional date that specifies when the certificate becomes active.
|
|
1179
1184
|
|
|
1185
|
+
If you do not specify a value, ``ActiveDate`` takes the same value as ``NotBeforeDate`` , which is specified by the CA.
|
|
1186
|
+
|
|
1180
1187
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-certificate.html#cfn-transfer-certificate-activedate
|
|
1181
1188
|
'''
|
|
1182
1189
|
result = self._values.get("active_date")
|
|
@@ -1204,6 +1211,8 @@ class CfnCertificateProps:
|
|
|
1204
1211
|
def inactive_date(self) -> typing.Optional[builtins.str]:
|
|
1205
1212
|
'''An optional date that specifies when the certificate becomes inactive.
|
|
1206
1213
|
|
|
1214
|
+
If you do not specify a value, ``InactiveDate`` takes the same value as ``NotAfterDate`` , which is specified by the CA.
|
|
1215
|
+
|
|
1207
1216
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-certificate.html#cfn-transfer-certificate-inactivedate
|
|
1208
1217
|
'''
|
|
1209
1218
|
result = self._values.get("inactive_date")
|
|
@@ -1526,7 +1535,7 @@ class CfnConnector(
|
|
|
1526
1535
|
:param compression: Specifies whether the AS2 file is compressed.
|
|
1527
1536
|
:param encryption_algorithm: The algorithm that is used to encrypt the file. Note the following: - Do not use the ``DES_EDE3_CBC`` algorithm unless you must support a legacy client that requires it, as it is a weak encryption algorithm. - You can only specify ``NONE`` if the URL for your connector uses HTTPS. Using HTTPS ensures that no traffic is sent in clear text.
|
|
1528
1537
|
:param local_profile_id: A unique identifier for the AS2 local profile.
|
|
1529
|
-
:param mdn_response: Used for outbound requests (from an AWS Transfer Family
|
|
1538
|
+
:param mdn_response: Used for outbound requests (from an AWS Transfer Family connector to a partner AS2 server) to determine whether the partner response for transfers is synchronous or asynchronous. Specify either of the following values: - ``SYNC`` : The system expects a synchronous MDN response, confirming that the file was transferred successfully (or not). - ``NONE`` : Specifies that no MDN response is required.
|
|
1530
1539
|
: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.
|
|
1531
1540
|
:param message_subject: Used as the ``Subject`` HTTP header attribute in AS2 messages that are being sent with the connector.
|
|
1532
1541
|
:param partner_profile_id: A unique identifier for the partner profile for the connector.
|
|
@@ -1651,7 +1660,7 @@ class CfnConnector(
|
|
|
1651
1660
|
|
|
1652
1661
|
@builtins.property
|
|
1653
1662
|
def mdn_response(self) -> typing.Optional[builtins.str]:
|
|
1654
|
-
'''Used for outbound requests (from an AWS Transfer Family
|
|
1663
|
+
'''Used for outbound requests (from an AWS Transfer Family connector to a partner AS2 server) to determine whether the partner response for transfers is synchronous or asynchronous.
|
|
1655
1664
|
|
|
1656
1665
|
Specify either of the following values:
|
|
1657
1666
|
|
|
@@ -2394,7 +2403,7 @@ class CfnServer(
|
|
|
2394
2403
|
:param endpoint_type: The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it. .. epigraph:: After May 19, 2021, you won't be able to create a server using ``EndpointType=VPC_ENDPOINT`` in your AWS account if your account hasn't already done so before May 19, 2021. If you have already created servers with ``EndpointType=VPC_ENDPOINT`` in your AWS account on or before May 19, 2021, you will not be affected. After this date, use ``EndpointType`` = ``VPC`` . For more information, see `Discontinuing the use of VPC_ENDPOINT <https://docs.aws.amazon.com//transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint>`_ . It is recommended that you use ``VPC`` as the ``EndpointType`` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with ``EndpointType`` set to ``VPC_ENDPOINT`` .
|
|
2395
2404
|
:param identity_provider_details: Required when ``IdentityProviderType`` is set to ``AWS_DIRECTORY_SERVICE`` , ``AWS _LAMBDA`` or ``API_GATEWAY`` . Accepts an array containing all of the information required to use a directory in ``AWS_DIRECTORY_SERVICE`` or invoke a customer-supplied authentication API, including the API Gateway URL. Cannot be specified when ``IdentityProviderType`` is set to ``SERVICE_MANAGED`` .
|
|
2396
2405
|
:param identity_provider_type: The mode of authentication for a server. The default value is ``SERVICE_MANAGED`` , which allows you to store and access user credentials within the AWS Transfer Family service. Use ``AWS_DIRECTORY_SERVICE`` to provide access to Active Directory groups in AWS Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in AWS using AD Connector. This option also requires you to provide a Directory ID by using the ``IdentityProviderDetails`` parameter. Use the ``API_GATEWAY`` value to integrate with an identity provider of your choosing. The ``API_GATEWAY`` setting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using the ``IdentityProviderDetails`` parameter. Use the ``AWS_LAMBDA`` value to directly use an AWS Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in the ``Function`` parameter for the ``IdentityProviderDetails`` data type.
|
|
2397
|
-
:param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
2406
|
+
:param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in your CloudWatch logs.
|
|
2398
2407
|
:param post_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed after the user authenticates. .. epigraph:: The SFTP protocol does not support post-authentication display banners.
|
|
2399
2408
|
:param pre_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system: ``This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.``
|
|
2400
2409
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
@@ -2606,7 +2615,7 @@ class CfnServer(
|
|
|
2606
2615
|
@builtins.property
|
|
2607
2616
|
@jsii.member(jsii_name="loggingRole")
|
|
2608
2617
|
def logging_role(self) -> typing.Optional[builtins.str]:
|
|
2609
|
-
'''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
2618
|
+
'''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.'''
|
|
2610
2619
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "loggingRole"))
|
|
2611
2620
|
|
|
2612
2621
|
@logging_role.setter
|
|
@@ -3468,7 +3477,7 @@ class CfnServerProps:
|
|
|
3468
3477
|
:param endpoint_type: The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP addresses directly to it. .. epigraph:: After May 19, 2021, you won't be able to create a server using ``EndpointType=VPC_ENDPOINT`` in your AWS account if your account hasn't already done so before May 19, 2021. If you have already created servers with ``EndpointType=VPC_ENDPOINT`` in your AWS account on or before May 19, 2021, you will not be affected. After this date, use ``EndpointType`` = ``VPC`` . For more information, see `Discontinuing the use of VPC_ENDPOINT <https://docs.aws.amazon.com//transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint>`_ . It is recommended that you use ``VPC`` as the ``EndpointType`` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with ``EndpointType`` set to ``VPC_ENDPOINT`` .
|
|
3469
3478
|
:param identity_provider_details: Required when ``IdentityProviderType`` is set to ``AWS_DIRECTORY_SERVICE`` , ``AWS _LAMBDA`` or ``API_GATEWAY`` . Accepts an array containing all of the information required to use a directory in ``AWS_DIRECTORY_SERVICE`` or invoke a customer-supplied authentication API, including the API Gateway URL. Cannot be specified when ``IdentityProviderType`` is set to ``SERVICE_MANAGED`` .
|
|
3470
3479
|
:param identity_provider_type: The mode of authentication for a server. The default value is ``SERVICE_MANAGED`` , which allows you to store and access user credentials within the AWS Transfer Family service. Use ``AWS_DIRECTORY_SERVICE`` to provide access to Active Directory groups in AWS Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in AWS using AD Connector. This option also requires you to provide a Directory ID by using the ``IdentityProviderDetails`` parameter. Use the ``API_GATEWAY`` value to integrate with an identity provider of your choosing. The ``API_GATEWAY`` setting requires you to provide an Amazon API Gateway endpoint URL to call for authentication by using the ``IdentityProviderDetails`` parameter. Use the ``AWS_LAMBDA`` value to directly use an AWS Lambda function as your identity provider. If you choose this value, you must specify the ARN for the Lambda function in the ``Function`` parameter for the ``IdentityProviderDetails`` data type.
|
|
3471
|
-
:param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
3480
|
+
:param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in your CloudWatch logs.
|
|
3472
3481
|
:param post_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed after the user authenticates. .. epigraph:: The SFTP protocol does not support post-authentication display banners.
|
|
3473
3482
|
:param pre_authentication_login_banner: Specifies a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system: ``This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.``
|
|
3474
3483
|
:param protocol_details: The protocol settings that are configured for your server. - To indicate passive mode (for FTP and FTPS protocols), use the ``PassiveIp`` parameter. Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. - To ignore the error that is generated when the client attempts to use the ``SETSTAT`` command on a file that you are uploading to an Amazon S3 bucket, use the ``SetStatOption`` parameter. To have the AWS Transfer Family server ignore the ``SETSTAT`` command and upload files without needing to make any changes to your SFTP client, set the value to ``ENABLE_NO_OP`` . If you set the ``SetStatOption`` parameter to ``ENABLE_NO_OP`` , Transfer Family generates a log entry to Amazon CloudWatch Logs, so that you can determine when the client is making a ``SETSTAT`` call. - To determine whether your AWS Transfer Family server resumes recent, negotiated sessions through a unique session ID, use the ``TlsSessionResumptionMode`` parameter. - ``As2Transports`` indicates the transport method for the AS2 messages. Currently, only HTTP is supported. The ``Protocols`` parameter is an array of strings. *Allowed values* : One or more of ``SFTP`` , ``FTPS`` , ``FTP`` , ``AS2``
|
|
@@ -3693,7 +3702,7 @@ class CfnServerProps:
|
|
|
3693
3702
|
|
|
3694
3703
|
@builtins.property
|
|
3695
3704
|
def logging_role(self) -> typing.Optional[builtins.str]:
|
|
3696
|
-
'''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
3705
|
+
'''The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
|
|
3697
3706
|
|
|
3698
3707
|
When set, you can view user activity in your CloudWatch logs.
|
|
3699
3708
|
|