aws-cdk-lib 2.139.0__py3-none-any.whl → 2.140.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.

Files changed (47) hide show
  1. aws_cdk/__init__.py +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.139.0.jsii.tgz → aws-cdk-lib@2.140.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +70 -56
  5. aws_cdk/aws_apigateway/__init__.py +126 -53
  6. aws_cdk/aws_applicationautoscaling/__init__.py +1 -4
  7. aws_cdk/aws_arczonalshift/__init__.py +49 -44
  8. aws_cdk/aws_bedrock/__init__.py +2818 -146
  9. aws_cdk/aws_cloudfront/__init__.py +51 -9
  10. aws_cdk/aws_codecommit/__init__.py +72 -46
  11. aws_cdk/aws_connectcampaigns/__init__.py +34 -4
  12. aws_cdk/aws_datasync/__init__.py +47 -21
  13. aws_cdk/aws_dms/__init__.py +0 -269
  14. aws_cdk/aws_ec2/__init__.py +149 -44
  15. aws_cdk/aws_ecs/__init__.py +2 -4
  16. aws_cdk/aws_efs/__init__.py +16 -2
  17. aws_cdk/aws_eks/__init__.py +57 -0
  18. aws_cdk/aws_events/__init__.py +115 -0
  19. aws_cdk/aws_events_targets/__init__.py +15 -0
  20. aws_cdk/aws_fis/__init__.py +2 -1
  21. aws_cdk/aws_gamelift/__init__.py +1846 -70
  22. aws_cdk/aws_globalaccelerator/__init__.py +20 -16
  23. aws_cdk/aws_iam/__init__.py +2 -2
  24. aws_cdk/aws_kinesis/__init__.py +21 -0
  25. aws_cdk/aws_kinesisvideo/__init__.py +6 -4
  26. aws_cdk/aws_kms/__init__.py +22 -1
  27. aws_cdk/aws_lambda/__init__.py +0 -9
  28. aws_cdk/aws_medialive/__init__.py +444 -3
  29. aws_cdk/aws_paymentcryptography/__init__.py +1075 -0
  30. aws_cdk/aws_personalize/__init__.py +8 -2
  31. aws_cdk/aws_qbusiness/__init__.py +5257 -0
  32. aws_cdk/aws_quicksight/__init__.py +9996 -1446
  33. aws_cdk/aws_rds/__init__.py +42 -0
  34. aws_cdk/aws_redshiftserverless/__init__.py +13 -9
  35. aws_cdk/aws_route53/__init__.py +350 -0
  36. aws_cdk/aws_route53profiles/__init__.py +1048 -0
  37. aws_cdk/aws_s3/__init__.py +1 -1
  38. aws_cdk/aws_transfer/__init__.py +102 -37
  39. aws_cdk/aws_workspacesweb/__init__.py +92 -6
  40. aws_cdk/custom_resources/__init__.py +23 -2
  41. aws_cdk/cx_api/__init__.py +16 -0
  42. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/METADATA +2 -2
  43. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/RECORD +47 -44
  44. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/top_level.txt +0 -0
@@ -248,7 +248,7 @@ my_cross_region_bucket = s3.Bucket.from_bucket_attributes(self, "CrossRegionImpo
248
248
 
249
249
  The Amazon S3 notification feature enables you to receive notifications when
250
250
  certain events happen in your bucket as described under [S3 Bucket
251
- Notifications] of the S3 Developer Guide.
251
+ Notifications](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) of the S3 Developer Guide.
252
252
 
253
253
  To subscribe for bucket notifications, use the `bucket.addEventNotification` method. The
254
254
  `bucket.addObjectCreatedNotification` and `bucket.addObjectRemovedNotification` can also be used for
@@ -998,6 +998,7 @@ class CfnConnector(
998
998
  # the properties below are optional
999
999
  as2_config=as2_config,
1000
1000
  logging_role="loggingRole",
1001
+ security_policy_name="securityPolicyName",
1001
1002
  sftp_config=transfer.CfnConnector.SftpConfigProperty(
1002
1003
  trusted_host_keys=["trustedHostKeys"],
1003
1004
  user_secret_id="userSecretId"
@@ -1018,6 +1019,7 @@ class CfnConnector(
1018
1019
  url: builtins.str,
1019
1020
  as2_config: typing.Any = None,
1020
1021
  logging_role: typing.Optional[builtins.str] = None,
1022
+ security_policy_name: typing.Optional[builtins.str] = None,
1021
1023
  sftp_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnector.SftpConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1022
1024
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1023
1025
  ) -> None:
@@ -1028,6 +1030,7 @@ class CfnConnector(
1028
1030
  :param url: The URL of the partner's AS2 or SFTP endpoint.
1029
1031
  :param as2_config: A structure that contains the parameters for an AS2 connector object.
1030
1032
  :param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
1033
+ :param security_policy_name: Security policy for SFTP Connector.
1031
1034
  :param sftp_config: A structure that contains the parameters for an SFTP connector object.
1032
1035
  :param tags: Key-value pairs that can be used to group and search for connectors.
1033
1036
  '''
@@ -1040,6 +1043,7 @@ class CfnConnector(
1040
1043
  url=url,
1041
1044
  as2_config=as2_config,
1042
1045
  logging_role=logging_role,
1046
+ security_policy_name=security_policy_name,
1043
1047
  sftp_config=sftp_config,
1044
1048
  tags=tags,
1045
1049
  )
@@ -1094,6 +1098,17 @@ class CfnConnector(
1094
1098
  '''
1095
1099
  return typing.cast(builtins.str, jsii.get(self, "attrConnectorId"))
1096
1100
 
1101
+ @builtins.property
1102
+ @jsii.member(jsii_name="attrServiceManagedEgressIpAddresses")
1103
+ def attr_service_managed_egress_ip_addresses(self) -> typing.List[builtins.str]:
1104
+ '''The list of egress IP addresses of this connector.
1105
+
1106
+ These IP addresses are assigned automatically when you create the connector.
1107
+
1108
+ :cloudformationAttribute: ServiceManagedEgressIpAddresses
1109
+ '''
1110
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "attrServiceManagedEgressIpAddresses"))
1111
+
1097
1112
  @builtins.property
1098
1113
  @jsii.member(jsii_name="cfnProperties")
1099
1114
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -1157,6 +1172,19 @@ class CfnConnector(
1157
1172
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1158
1173
  jsii.set(self, "loggingRole", value)
1159
1174
 
1175
+ @builtins.property
1176
+ @jsii.member(jsii_name="securityPolicyName")
1177
+ def security_policy_name(self) -> typing.Optional[builtins.str]:
1178
+ '''Security policy for SFTP Connector.'''
1179
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityPolicyName"))
1180
+
1181
+ @security_policy_name.setter
1182
+ def security_policy_name(self, value: typing.Optional[builtins.str]) -> None:
1183
+ if __debug__:
1184
+ type_hints = typing.get_type_hints(_typecheckingstub__7c96b636b491e11ce074e40058c1620fda321bb7685ad3a5204502b6fdb4cc24)
1185
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1186
+ jsii.set(self, "securityPolicyName", value)
1187
+
1160
1188
  @builtins.property
1161
1189
  @jsii.member(jsii_name="sftpConfig")
1162
1190
  def sftp_config(
@@ -1509,6 +1537,7 @@ class CfnConnector(
1509
1537
  "url": "url",
1510
1538
  "as2_config": "as2Config",
1511
1539
  "logging_role": "loggingRole",
1540
+ "security_policy_name": "securityPolicyName",
1512
1541
  "sftp_config": "sftpConfig",
1513
1542
  "tags": "tags",
1514
1543
  },
@@ -1521,6 +1550,7 @@ class CfnConnectorProps:
1521
1550
  url: builtins.str,
1522
1551
  as2_config: typing.Any = None,
1523
1552
  logging_role: typing.Optional[builtins.str] = None,
1553
+ security_policy_name: typing.Optional[builtins.str] = None,
1524
1554
  sftp_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.SftpConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1525
1555
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1526
1556
  ) -> None:
@@ -1530,6 +1560,7 @@ class CfnConnectorProps:
1530
1560
  :param url: The URL of the partner's AS2 or SFTP endpoint.
1531
1561
  :param as2_config: A structure that contains the parameters for an AS2 connector object.
1532
1562
  :param logging_role: The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
1563
+ :param security_policy_name: Security policy for SFTP Connector.
1533
1564
  :param sftp_config: A structure that contains the parameters for an SFTP connector object.
1534
1565
  :param tags: Key-value pairs that can be used to group and search for connectors.
1535
1566
 
@@ -1551,6 +1582,7 @@ class CfnConnectorProps:
1551
1582
  # the properties below are optional
1552
1583
  as2_config=as2_config,
1553
1584
  logging_role="loggingRole",
1585
+ security_policy_name="securityPolicyName",
1554
1586
  sftp_config=transfer.CfnConnector.SftpConfigProperty(
1555
1587
  trusted_host_keys=["trustedHostKeys"],
1556
1588
  user_secret_id="userSecretId"
@@ -1567,6 +1599,7 @@ class CfnConnectorProps:
1567
1599
  check_type(argname="argument url", value=url, expected_type=type_hints["url"])
1568
1600
  check_type(argname="argument as2_config", value=as2_config, expected_type=type_hints["as2_config"])
1569
1601
  check_type(argname="argument logging_role", value=logging_role, expected_type=type_hints["logging_role"])
1602
+ check_type(argname="argument security_policy_name", value=security_policy_name, expected_type=type_hints["security_policy_name"])
1570
1603
  check_type(argname="argument sftp_config", value=sftp_config, expected_type=type_hints["sftp_config"])
1571
1604
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1572
1605
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -1577,6 +1610,8 @@ class CfnConnectorProps:
1577
1610
  self._values["as2_config"] = as2_config
1578
1611
  if logging_role is not None:
1579
1612
  self._values["logging_role"] = logging_role
1613
+ if security_policy_name is not None:
1614
+ self._values["security_policy_name"] = security_policy_name
1580
1615
  if sftp_config is not None:
1581
1616
  self._values["sftp_config"] = sftp_config
1582
1617
  if tags is not None:
@@ -1634,6 +1669,15 @@ class CfnConnectorProps:
1634
1669
  result = self._values.get("logging_role")
1635
1670
  return typing.cast(typing.Optional[builtins.str], result)
1636
1671
 
1672
+ @builtins.property
1673
+ def security_policy_name(self) -> typing.Optional[builtins.str]:
1674
+ '''Security policy for SFTP Connector.
1675
+
1676
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-connector.html#cfn-transfer-connector-securitypolicyname
1677
+ '''
1678
+ result = self._values.get("security_policy_name")
1679
+ return typing.cast(typing.Optional[builtins.str], result)
1680
+
1637
1681
  @builtins.property
1638
1682
  def sftp_config(
1639
1683
  self,
@@ -4306,10 +4350,12 @@ class CfnWorkflow(
4306
4350
  key="key"
4307
4351
  )
4308
4352
  ),
4353
+ type="type",
4354
+
4355
+ # the properties below are optional
4309
4356
  name="name",
4310
4357
  overwrite_existing="overwriteExisting",
4311
- source_file_location="sourceFileLocation",
4312
- type="type"
4358
+ source_file_location="sourceFileLocation"
4313
4359
  ),
4314
4360
  delete_step_details=delete_step_details,
4315
4361
  tag_step_details=tag_step_details,
@@ -4332,10 +4378,12 @@ class CfnWorkflow(
4332
4378
  key="key"
4333
4379
  )
4334
4380
  ),
4381
+ type="type",
4382
+
4383
+ # the properties below are optional
4335
4384
  name="name",
4336
4385
  overwrite_existing="overwriteExisting",
4337
- source_file_location="sourceFileLocation",
4338
- type="type"
4386
+ source_file_location="sourceFileLocation"
4339
4387
  ),
4340
4388
  delete_step_details=delete_step_details,
4341
4389
  tag_step_details=tag_step_details,
@@ -4750,21 +4798,21 @@ class CfnWorkflow(
4750
4798
  jsii_struct_bases=[],
4751
4799
  name_mapping={
4752
4800
  "destination_file_location": "destinationFileLocation",
4801
+ "type": "type",
4753
4802
  "name": "name",
4754
4803
  "overwrite_existing": "overwriteExisting",
4755
4804
  "source_file_location": "sourceFileLocation",
4756
- "type": "type",
4757
4805
  },
4758
4806
  )
4759
4807
  class DecryptStepDetailsProperty:
4760
4808
  def __init__(
4761
4809
  self,
4762
4810
  *,
4763
- destination_file_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkflow.InputFileLocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4811
+ destination_file_location: typing.Union[_IResolvable_da3f097b, typing.Union["CfnWorkflow.InputFileLocationProperty", typing.Dict[builtins.str, typing.Any]]],
4812
+ type: builtins.str,
4764
4813
  name: typing.Optional[builtins.str] = None,
4765
4814
  overwrite_existing: typing.Optional[builtins.str] = None,
4766
4815
  source_file_location: typing.Optional[builtins.str] = None,
4767
- type: typing.Optional[builtins.str] = None,
4768
4816
  ) -> None:
4769
4817
  '''Details for a step that decrypts an encrypted file.
4770
4818
 
@@ -4777,10 +4825,10 @@ class CfnWorkflow(
4777
4825
  - The type of encryption that's used. Currently, only PGP encryption is supported.
4778
4826
 
4779
4827
  :param destination_file_location: Specifies the location for the file being decrypted. Use ``${Transfer:UserName}`` or ``${Transfer:UploadDate}`` in this field to parametrize the destination prefix by username or uploaded date. - Set the value of ``DestinationFileLocation`` to ``${Transfer:UserName}`` to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file. - Set the value of ``DestinationFileLocation`` to ``${Transfer:UploadDate}`` to decrypt uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload. .. epigraph:: The system resolves ``UploadDate`` to a date format of *YYYY-MM-DD* , based on the date the file is uploaded in UTC.
4828
+ :param type: The type of encryption used. Currently, this value must be ``PGP`` .
4780
4829
  :param name: The name of the step, used as an identifier.
4781
4830
  :param overwrite_existing: A flag that indicates whether to overwrite an existing file of the same name. The default is ``FALSE`` . If the workflow is processing a file that has the same name as an existing file, the behavior is as follows: - If ``OverwriteExisting`` is ``TRUE`` , the existing file is replaced with the file being processed. - If ``OverwriteExisting`` is ``FALSE`` , nothing happens, and the workflow processing stops.
4782
4831
  :param source_file_location: Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow. - To use the previous file as the input, enter ``${previous.file}`` . In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value. - To use the originally uploaded file location as input for this step, enter ``${original.file}`` .
4783
- :param type: The type of encryption used. Currently, this value must be ``PGP`` .
4784
4832
 
4785
4833
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html
4786
4834
  :exampleMetadata: fixture=_generated
@@ -4802,35 +4850,36 @@ class CfnWorkflow(
4802
4850
  key="key"
4803
4851
  )
4804
4852
  ),
4853
+ type="type",
4854
+
4855
+ # the properties below are optional
4805
4856
  name="name",
4806
4857
  overwrite_existing="overwriteExisting",
4807
- source_file_location="sourceFileLocation",
4808
- type="type"
4858
+ source_file_location="sourceFileLocation"
4809
4859
  )
4810
4860
  '''
4811
4861
  if __debug__:
4812
4862
  type_hints = typing.get_type_hints(_typecheckingstub__ad8f772a5a88a70744cbdb419880ea7a579190d4fea687585ef9c062d4a6c34c)
4813
4863
  check_type(argname="argument destination_file_location", value=destination_file_location, expected_type=type_hints["destination_file_location"])
4864
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
4814
4865
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4815
4866
  check_type(argname="argument overwrite_existing", value=overwrite_existing, expected_type=type_hints["overwrite_existing"])
4816
4867
  check_type(argname="argument source_file_location", value=source_file_location, expected_type=type_hints["source_file_location"])
4817
- check_type(argname="argument type", value=type, expected_type=type_hints["type"])
4818
- self._values: typing.Dict[builtins.str, typing.Any] = {}
4819
- if destination_file_location is not None:
4820
- self._values["destination_file_location"] = destination_file_location
4868
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4869
+ "destination_file_location": destination_file_location,
4870
+ "type": type,
4871
+ }
4821
4872
  if name is not None:
4822
4873
  self._values["name"] = name
4823
4874
  if overwrite_existing is not None:
4824
4875
  self._values["overwrite_existing"] = overwrite_existing
4825
4876
  if source_file_location is not None:
4826
4877
  self._values["source_file_location"] = source_file_location
4827
- if type is not None:
4828
- self._values["type"] = type
4829
4878
 
4830
4879
  @builtins.property
4831
4880
  def destination_file_location(
4832
4881
  self,
4833
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkflow.InputFileLocationProperty"]]:
4882
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnWorkflow.InputFileLocationProperty"]:
4834
4883
  '''Specifies the location for the file being decrypted.
4835
4884
 
4836
4885
  Use ``${Transfer:UserName}`` or ``${Transfer:UploadDate}`` in this field to parametrize the destination prefix by username or uploaded date.
@@ -4845,7 +4894,20 @@ class CfnWorkflow(
4845
4894
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-destinationfilelocation
4846
4895
  '''
4847
4896
  result = self._values.get("destination_file_location")
4848
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWorkflow.InputFileLocationProperty"]], result)
4897
+ assert result is not None, "Required property 'destination_file_location' is missing"
4898
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnWorkflow.InputFileLocationProperty"], result)
4899
+
4900
+ @builtins.property
4901
+ def type(self) -> builtins.str:
4902
+ '''The type of encryption used.
4903
+
4904
+ Currently, this value must be ``PGP`` .
4905
+
4906
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-type
4907
+ '''
4908
+ result = self._values.get("type")
4909
+ assert result is not None, "Required property 'type' is missing"
4910
+ return typing.cast(builtins.str, result)
4849
4911
 
4850
4912
  @builtins.property
4851
4913
  def name(self) -> typing.Optional[builtins.str]:
@@ -4882,17 +4944,6 @@ class CfnWorkflow(
4882
4944
  result = self._values.get("source_file_location")
4883
4945
  return typing.cast(typing.Optional[builtins.str], result)
4884
4946
 
4885
- @builtins.property
4886
- def type(self) -> typing.Optional[builtins.str]:
4887
- '''The type of encryption used.
4888
-
4889
- Currently, this value must be ``PGP`` .
4890
-
4891
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-decryptstepdetails.html#cfn-transfer-workflow-decryptstepdetails-type
4892
- '''
4893
- result = self._values.get("type")
4894
- return typing.cast(typing.Optional[builtins.str], result)
4895
-
4896
4947
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4897
4948
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4898
4949
 
@@ -5487,10 +5538,12 @@ class CfnWorkflow(
5487
5538
  key="key"
5488
5539
  )
5489
5540
  ),
5541
+ type="type",
5542
+
5543
+ # the properties below are optional
5490
5544
  name="name",
5491
5545
  overwrite_existing="overwriteExisting",
5492
- source_file_location="sourceFileLocation",
5493
- type="type"
5546
+ source_file_location="sourceFileLocation"
5494
5547
  ),
5495
5548
  delete_step_details=delete_step_details,
5496
5549
  tag_step_details=tag_step_details,
@@ -5666,10 +5719,12 @@ class CfnWorkflowProps:
5666
5719
  key="key"
5667
5720
  )
5668
5721
  ),
5722
+ type="type",
5723
+
5724
+ # the properties below are optional
5669
5725
  name="name",
5670
5726
  overwrite_existing="overwriteExisting",
5671
- source_file_location="sourceFileLocation",
5672
- type="type"
5727
+ source_file_location="sourceFileLocation"
5673
5728
  ),
5674
5729
  delete_step_details=delete_step_details,
5675
5730
  tag_step_details=tag_step_details,
@@ -5692,10 +5747,12 @@ class CfnWorkflowProps:
5692
5747
  key="key"
5693
5748
  )
5694
5749
  ),
5750
+ type="type",
5751
+
5752
+ # the properties below are optional
5695
5753
  name="name",
5696
5754
  overwrite_existing="overwriteExisting",
5697
- source_file_location="sourceFileLocation",
5698
- type="type"
5755
+ source_file_location="sourceFileLocation"
5699
5756
  ),
5700
5757
  delete_step_details=delete_step_details,
5701
5758
  tag_step_details=tag_step_details,
@@ -5985,6 +6042,7 @@ def _typecheckingstub__2a3d92be7ab611ebe6dbf531ad899c2a95b3655fb829aeffdf52fdb11
5985
6042
  url: builtins.str,
5986
6043
  as2_config: typing.Any = None,
5987
6044
  logging_role: typing.Optional[builtins.str] = None,
6045
+ security_policy_name: typing.Optional[builtins.str] = None,
5988
6046
  sftp_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.SftpConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5989
6047
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5990
6048
  ) -> None:
@@ -6027,6 +6085,12 @@ def _typecheckingstub__f6fd1718d368db980c8cf49c237a691317f958db670b242715c5440aa
6027
6085
  """Type checking stubs"""
6028
6086
  pass
6029
6087
 
6088
+ def _typecheckingstub__7c96b636b491e11ce074e40058c1620fda321bb7685ad3a5204502b6fdb4cc24(
6089
+ value: typing.Optional[builtins.str],
6090
+ ) -> None:
6091
+ """Type checking stubs"""
6092
+ pass
6093
+
6030
6094
  def _typecheckingstub__391f4dfc56c4811c4c4aedb8ffcfac5c521d440de2f0de853365abcdec435568(
6031
6095
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnector.SftpConfigProperty]],
6032
6096
  ) -> None:
@@ -6068,6 +6132,7 @@ def _typecheckingstub__7675f9dcded8f51977cf70f499821100319fe5d62996cb917457f772c
6068
6132
  url: builtins.str,
6069
6133
  as2_config: typing.Any = None,
6070
6134
  logging_role: typing.Optional[builtins.str] = None,
6135
+ security_policy_name: typing.Optional[builtins.str] = None,
6071
6136
  sftp_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnector.SftpConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6072
6137
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
6073
6138
  ) -> None:
@@ -6535,11 +6600,11 @@ def _typecheckingstub__fe264913218615c435ebf846cbfed95b995c342d261b4903fa7163453
6535
6600
 
6536
6601
  def _typecheckingstub__ad8f772a5a88a70744cbdb419880ea7a579190d4fea687585ef9c062d4a6c34c(
6537
6602
  *,
6538
- destination_file_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkflow.InputFileLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6603
+ destination_file_location: typing.Union[_IResolvable_da3f097b, typing.Union[CfnWorkflow.InputFileLocationProperty, typing.Dict[builtins.str, typing.Any]]],
6604
+ type: builtins.str,
6539
6605
  name: typing.Optional[builtins.str] = None,
6540
6606
  overwrite_existing: typing.Optional[builtins.str] = None,
6541
6607
  source_file_location: typing.Optional[builtins.str] = None,
6542
- type: typing.Optional[builtins.str] = None,
6543
6608
  ) -> None:
6544
6609
  """Type checking stubs"""
6545
6610
  pass
@@ -1477,7 +1477,9 @@ class CfnPortal(
1477
1477
  browser_settings_arn="browserSettingsArn",
1478
1478
  customer_managed_key="customerManagedKey",
1479
1479
  display_name="displayName",
1480
+ instance_type="instanceType",
1480
1481
  ip_access_settings_arn="ipAccessSettingsArn",
1482
+ max_concurrent_sessions=123,
1481
1483
  network_settings_arn="networkSettingsArn",
1482
1484
  tags=[CfnTag(
1483
1485
  key="key",
@@ -1499,7 +1501,9 @@ class CfnPortal(
1499
1501
  browser_settings_arn: typing.Optional[builtins.str] = None,
1500
1502
  customer_managed_key: typing.Optional[builtins.str] = None,
1501
1503
  display_name: typing.Optional[builtins.str] = None,
1504
+ instance_type: typing.Optional[builtins.str] = None,
1502
1505
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
1506
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
1503
1507
  network_settings_arn: typing.Optional[builtins.str] = None,
1504
1508
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1505
1509
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -1514,7 +1518,9 @@ class CfnPortal(
1514
1518
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1515
1519
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
1516
1520
  :param display_name: The name of the web portal.
1521
+ :param instance_type: The type and resources of the underlying instance.
1517
1522
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
1523
+ :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
1518
1524
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
1519
1525
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
1520
1526
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
@@ -1531,7 +1537,9 @@ class CfnPortal(
1531
1537
  browser_settings_arn=browser_settings_arn,
1532
1538
  customer_managed_key=customer_managed_key,
1533
1539
  display_name=display_name,
1540
+ instance_type=instance_type,
1534
1541
  ip_access_settings_arn=ip_access_settings_arn,
1542
+ max_concurrent_sessions=max_concurrent_sessions,
1535
1543
  network_settings_arn=network_settings_arn,
1536
1544
  tags=tags,
1537
1545
  trust_store_arn=trust_store_arn,
@@ -1727,6 +1735,19 @@ class CfnPortal(
1727
1735
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1728
1736
  jsii.set(self, "displayName", value)
1729
1737
 
1738
+ @builtins.property
1739
+ @jsii.member(jsii_name="instanceType")
1740
+ def instance_type(self) -> typing.Optional[builtins.str]:
1741
+ '''The type and resources of the underlying instance.'''
1742
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "instanceType"))
1743
+
1744
+ @instance_type.setter
1745
+ def instance_type(self, value: typing.Optional[builtins.str]) -> None:
1746
+ if __debug__:
1747
+ type_hints = typing.get_type_hints(_typecheckingstub__2707a9d7f008c455546b27a146dac5ed1d57c34aff9249e7561ee09fdc92f357)
1748
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1749
+ jsii.set(self, "instanceType", value)
1750
+
1730
1751
  @builtins.property
1731
1752
  @jsii.member(jsii_name="ipAccessSettingsArn")
1732
1753
  def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
@@ -1740,6 +1761,19 @@ class CfnPortal(
1740
1761
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1741
1762
  jsii.set(self, "ipAccessSettingsArn", value)
1742
1763
 
1764
+ @builtins.property
1765
+ @jsii.member(jsii_name="maxConcurrentSessions")
1766
+ def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
1767
+ '''The maximum number of concurrent sessions for the portal.'''
1768
+ return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxConcurrentSessions"))
1769
+
1770
+ @max_concurrent_sessions.setter
1771
+ def max_concurrent_sessions(self, value: typing.Optional[jsii.Number]) -> None:
1772
+ if __debug__:
1773
+ type_hints = typing.get_type_hints(_typecheckingstub__5dad94379f446f44b9f9dfc0281e9cf4564c37b144b841df727ed7e762cb1a19)
1774
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1775
+ jsii.set(self, "maxConcurrentSessions", value)
1776
+
1743
1777
  @builtins.property
1744
1778
  @jsii.member(jsii_name="networkSettingsArn")
1745
1779
  def network_settings_arn(self) -> typing.Optional[builtins.str]:
@@ -1818,7 +1852,9 @@ class CfnPortal(
1818
1852
  "browser_settings_arn": "browserSettingsArn",
1819
1853
  "customer_managed_key": "customerManagedKey",
1820
1854
  "display_name": "displayName",
1855
+ "instance_type": "instanceType",
1821
1856
  "ip_access_settings_arn": "ipAccessSettingsArn",
1857
+ "max_concurrent_sessions": "maxConcurrentSessions",
1822
1858
  "network_settings_arn": "networkSettingsArn",
1823
1859
  "tags": "tags",
1824
1860
  "trust_store_arn": "trustStoreArn",
@@ -1835,7 +1871,9 @@ class CfnPortalProps:
1835
1871
  browser_settings_arn: typing.Optional[builtins.str] = None,
1836
1872
  customer_managed_key: typing.Optional[builtins.str] = None,
1837
1873
  display_name: typing.Optional[builtins.str] = None,
1874
+ instance_type: typing.Optional[builtins.str] = None,
1838
1875
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
1876
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
1839
1877
  network_settings_arn: typing.Optional[builtins.str] = None,
1840
1878
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1841
1879
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -1849,7 +1887,9 @@ class CfnPortalProps:
1849
1887
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1850
1888
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
1851
1889
  :param display_name: The name of the web portal.
1890
+ :param instance_type: The type and resources of the underlying instance.
1852
1891
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
1892
+ :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
1853
1893
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
1854
1894
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
1855
1895
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
@@ -1873,7 +1913,9 @@ class CfnPortalProps:
1873
1913
  browser_settings_arn="browserSettingsArn",
1874
1914
  customer_managed_key="customerManagedKey",
1875
1915
  display_name="displayName",
1916
+ instance_type="instanceType",
1876
1917
  ip_access_settings_arn="ipAccessSettingsArn",
1918
+ max_concurrent_sessions=123,
1877
1919
  network_settings_arn="networkSettingsArn",
1878
1920
  tags=[CfnTag(
1879
1921
  key="key",
@@ -1891,7 +1933,9 @@ class CfnPortalProps:
1891
1933
  check_type(argname="argument browser_settings_arn", value=browser_settings_arn, expected_type=type_hints["browser_settings_arn"])
1892
1934
  check_type(argname="argument customer_managed_key", value=customer_managed_key, expected_type=type_hints["customer_managed_key"])
1893
1935
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1936
+ check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
1894
1937
  check_type(argname="argument ip_access_settings_arn", value=ip_access_settings_arn, expected_type=type_hints["ip_access_settings_arn"])
1938
+ check_type(argname="argument max_concurrent_sessions", value=max_concurrent_sessions, expected_type=type_hints["max_concurrent_sessions"])
1895
1939
  check_type(argname="argument network_settings_arn", value=network_settings_arn, expected_type=type_hints["network_settings_arn"])
1896
1940
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1897
1941
  check_type(argname="argument trust_store_arn", value=trust_store_arn, expected_type=type_hints["trust_store_arn"])
@@ -1908,8 +1952,12 @@ class CfnPortalProps:
1908
1952
  self._values["customer_managed_key"] = customer_managed_key
1909
1953
  if display_name is not None:
1910
1954
  self._values["display_name"] = display_name
1955
+ if instance_type is not None:
1956
+ self._values["instance_type"] = instance_type
1911
1957
  if ip_access_settings_arn is not None:
1912
1958
  self._values["ip_access_settings_arn"] = ip_access_settings_arn
1959
+ if max_concurrent_sessions is not None:
1960
+ self._values["max_concurrent_sessions"] = max_concurrent_sessions
1913
1961
  if network_settings_arn is not None:
1914
1962
  self._values["network_settings_arn"] = network_settings_arn
1915
1963
  if tags is not None:
@@ -1979,6 +2027,15 @@ class CfnPortalProps:
1979
2027
  result = self._values.get("display_name")
1980
2028
  return typing.cast(typing.Optional[builtins.str], result)
1981
2029
 
2030
+ @builtins.property
2031
+ def instance_type(self) -> typing.Optional[builtins.str]:
2032
+ '''The type and resources of the underlying instance.
2033
+
2034
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype
2035
+ '''
2036
+ result = self._values.get("instance_type")
2037
+ return typing.cast(typing.Optional[builtins.str], result)
2038
+
1982
2039
  @builtins.property
1983
2040
  def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
1984
2041
  '''The ARN of the IP access settings that is associated with the web portal.
@@ -1988,6 +2045,15 @@ class CfnPortalProps:
1988
2045
  result = self._values.get("ip_access_settings_arn")
1989
2046
  return typing.cast(typing.Optional[builtins.str], result)
1990
2047
 
2048
+ @builtins.property
2049
+ def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
2050
+ '''The maximum number of concurrent sessions for the portal.
2051
+
2052
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions
2053
+ '''
2054
+ result = self._values.get("max_concurrent_sessions")
2055
+ return typing.cast(typing.Optional[jsii.Number], result)
2056
+
1991
2057
  @builtins.property
1992
2058
  def network_settings_arn(self) -> typing.Optional[builtins.str]:
1993
2059
  '''The ARN of the network settings that is associated with the web portal.
@@ -2573,9 +2639,9 @@ class CfnUserSettings(
2573
2639
  :param paste_allowed: Specifies whether the user can paste text from the local device to the streaming session.
2574
2640
  :param print_allowed: Specifies whether the user can print to the local device.
2575
2641
  :param upload_allowed: Specifies whether the user can upload files from the local device to the streaming session.
2576
- :param additional_encryption_context:
2642
+ :param additional_encryption_context: The additional encryption context of the user settings.
2577
2643
  :param cookie_synchronization_configuration: The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
2578
- :param customer_managed_key:
2644
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the user settings.
2579
2645
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
2580
2646
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
2581
2647
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
@@ -2729,6 +2795,7 @@ class CfnUserSettings(
2729
2795
  def additional_encryption_context(
2730
2796
  self,
2731
2797
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
2798
+ '''The additional encryption context of the user settings.'''
2732
2799
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], jsii.get(self, "additionalEncryptionContext"))
2733
2800
 
2734
2801
  @additional_encryption_context.setter
@@ -2762,6 +2829,7 @@ class CfnUserSettings(
2762
2829
  @builtins.property
2763
2830
  @jsii.member(jsii_name="customerManagedKey")
2764
2831
  def customer_managed_key(self) -> typing.Optional[builtins.str]:
2832
+ '''The customer managed key used to encrypt sensitive information in the user settings.'''
2765
2833
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "customerManagedKey"))
2766
2834
 
2767
2835
  @customer_managed_key.setter
@@ -3034,9 +3102,9 @@ class CfnUserSettingsProps:
3034
3102
  :param paste_allowed: Specifies whether the user can paste text from the local device to the streaming session.
3035
3103
  :param print_allowed: Specifies whether the user can print to the local device.
3036
3104
  :param upload_allowed: Specifies whether the user can upload files from the local device to the streaming session.
3037
- :param additional_encryption_context:
3105
+ :param additional_encryption_context: The additional encryption context of the user settings.
3038
3106
  :param cookie_synchronization_configuration: The configuration that specifies which cookies should be synchronized from the end user's local browser to the remote browser.
3039
- :param customer_managed_key:
3107
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the user settings.
3040
3108
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
3041
3109
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
3042
3110
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
@@ -3175,7 +3243,8 @@ class CfnUserSettingsProps:
3175
3243
  def additional_encryption_context(
3176
3244
  self,
3177
3245
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
3178
- '''
3246
+ '''The additional encryption context of the user settings.
3247
+
3179
3248
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-additionalencryptioncontext
3180
3249
  '''
3181
3250
  result = self._values.get("additional_encryption_context")
@@ -3194,7 +3263,8 @@ class CfnUserSettingsProps:
3194
3263
 
3195
3264
  @builtins.property
3196
3265
  def customer_managed_key(self) -> typing.Optional[builtins.str]:
3197
- '''
3266
+ '''The customer managed key used to encrypt sensitive information in the user settings.
3267
+
3198
3268
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-customermanagedkey
3199
3269
  '''
3200
3270
  result = self._values.get("customer_managed_key")
@@ -3527,7 +3597,9 @@ def _typecheckingstub__239c61bc87a1a693f01a28198d2d3000f7ef790e9684279e807a890b0
3527
3597
  browser_settings_arn: typing.Optional[builtins.str] = None,
3528
3598
  customer_managed_key: typing.Optional[builtins.str] = None,
3529
3599
  display_name: typing.Optional[builtins.str] = None,
3600
+ instance_type: typing.Optional[builtins.str] = None,
3530
3601
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
3602
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
3531
3603
  network_settings_arn: typing.Optional[builtins.str] = None,
3532
3604
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3533
3605
  trust_store_arn: typing.Optional[builtins.str] = None,
@@ -3579,12 +3651,24 @@ def _typecheckingstub__cd1b9794e835c2ffeb3dc42a40224afa89d92cb7704c5a59dd75c1d3d
3579
3651
  """Type checking stubs"""
3580
3652
  pass
3581
3653
 
3654
+ def _typecheckingstub__2707a9d7f008c455546b27a146dac5ed1d57c34aff9249e7561ee09fdc92f357(
3655
+ value: typing.Optional[builtins.str],
3656
+ ) -> None:
3657
+ """Type checking stubs"""
3658
+ pass
3659
+
3582
3660
  def _typecheckingstub__40134000fc007f2c29ea771d442eb2b959d8d3cccfedc0efa83e152c13cf3bda(
3583
3661
  value: typing.Optional[builtins.str],
3584
3662
  ) -> None:
3585
3663
  """Type checking stubs"""
3586
3664
  pass
3587
3665
 
3666
+ def _typecheckingstub__5dad94379f446f44b9f9dfc0281e9cf4564c37b144b841df727ed7e762cb1a19(
3667
+ value: typing.Optional[jsii.Number],
3668
+ ) -> None:
3669
+ """Type checking stubs"""
3670
+ pass
3671
+
3588
3672
  def _typecheckingstub__beaa575cd54d9de94a0201b4213524db5df052dd0b9e1605b88d4487f6acbbcd(
3589
3673
  value: typing.Optional[builtins.str],
3590
3674
  ) -> None:
@@ -3622,7 +3706,9 @@ def _typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39
3622
3706
  browser_settings_arn: typing.Optional[builtins.str] = None,
3623
3707
  customer_managed_key: typing.Optional[builtins.str] = None,
3624
3708
  display_name: typing.Optional[builtins.str] = None,
3709
+ instance_type: typing.Optional[builtins.str] = None,
3625
3710
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
3711
+ max_concurrent_sessions: typing.Optional[jsii.Number] = None,
3626
3712
  network_settings_arn: typing.Optional[builtins.str] = None,
3627
3713
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3628
3714
  trust_store_arn: typing.Optional[builtins.str] = None,