aws-cdk-lib 2.105.0__py3-none-any.whl → 2.106.1__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 +59 -69
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.105.0.jsii.tgz → aws-cdk-lib@2.106.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +12 -12
  5. aws_cdk/aws_appconfig/__init__.py +25 -11
  6. aws_cdk/aws_appintegrations/__init__.py +60 -60
  7. aws_cdk/aws_apprunner/__init__.py +22 -3
  8. aws_cdk/aws_appstream/__init__.py +12 -5
  9. aws_cdk/aws_appsync/__init__.py +4 -4
  10. aws_cdk/aws_autoscaling/__init__.py +8 -0
  11. aws_cdk/aws_cloudformation/__init__.py +59 -69
  12. aws_cdk/aws_codepipeline/__init__.py +3 -0
  13. aws_cdk/aws_cognito/__init__.py +23 -31
  14. aws_cdk/aws_config/__init__.py +46 -41
  15. aws_cdk/aws_datapipeline/__init__.py +54 -54
  16. aws_cdk/aws_directoryservice/__init__.py +45 -45
  17. aws_cdk/aws_ec2/__init__.py +163 -21
  18. aws_cdk/aws_ecs/__init__.py +52 -68
  19. aws_cdk/aws_eks/__init__.py +55 -9
  20. aws_cdk/aws_entityresolution/__init__.py +9 -0
  21. aws_cdk/aws_events/__init__.py +0 -8
  22. aws_cdk/aws_eventschemas/__init__.py +12 -12
  23. aws_cdk/aws_gamelift/__init__.py +4 -6
  24. aws_cdk/aws_internetmonitor/__init__.py +12 -10
  25. aws_cdk/aws_iot/__init__.py +10 -11
  26. aws_cdk/aws_lakeformation/__init__.py +8 -5
  27. aws_cdk/aws_lambda/__init__.py +30 -0
  28. aws_cdk/aws_msk/__init__.py +3 -3
  29. aws_cdk/aws_networkmanager/__init__.py +1 -1
  30. aws_cdk/aws_pinpoint/__init__.py +94 -94
  31. aws_cdk/aws_quicksight/__init__.py +189 -264
  32. aws_cdk/aws_rds/__init__.py +267 -36
  33. aws_cdk/aws_rolesanywhere/__init__.py +53 -41
  34. aws_cdk/aws_route53/__init__.py +3 -7
  35. aws_cdk/aws_s3/__init__.py +191 -2
  36. aws_cdk/aws_sam/__init__.py +42 -47
  37. aws_cdk/aws_servicecatalogappregistry/__init__.py +2 -4
  38. aws_cdk/aws_ssm/__init__.py +4 -4
  39. aws_cdk/aws_stepfunctions_tasks/__init__.py +9 -2
  40. aws_cdk/aws_vpclattice/__init__.py +2 -6
  41. aws_cdk/aws_wafv2/__init__.py +21 -8
  42. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/METADATA +3 -3
  43. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/RECORD +47 -47
  44. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.105.0.dist-info → aws_cdk_lib-2.106.1.dist-info}/top_level.txt +0 -0
@@ -568,7 +568,6 @@ class CfnSimpleAD(
568
568
 
569
569
  cfn_simple_aD = directoryservice.CfnSimpleAD(self, "MyCfnSimpleAD",
570
570
  name="name",
571
- password="password",
572
571
  size="size",
573
572
  vpc_settings=directoryservice.CfnSimpleAD.VpcSettingsProperty(
574
573
  subnet_ids=["subnetIds"],
@@ -579,6 +578,7 @@ class CfnSimpleAD(
579
578
  create_alias=False,
580
579
  description="description",
581
580
  enable_sso=False,
581
+ password="password",
582
582
  short_name="shortName"
583
583
  )
584
584
  '''
@@ -589,24 +589,24 @@ class CfnSimpleAD(
589
589
  id: builtins.str,
590
590
  *,
591
591
  name: builtins.str,
592
- password: builtins.str,
593
592
  size: builtins.str,
594
593
  vpc_settings: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSimpleAD.VpcSettingsProperty", typing.Dict[builtins.str, typing.Any]]],
595
594
  create_alias: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
596
595
  description: typing.Optional[builtins.str] = None,
597
596
  enable_sso: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
597
+ password: typing.Optional[builtins.str] = None,
598
598
  short_name: typing.Optional[builtins.str] = None,
599
599
  ) -> None:
600
600
  '''
601
601
  :param scope: Scope in which this resource is defined.
602
602
  :param id: Construct identifier for this resource (unique in its scope).
603
603
  :param name: The fully qualified name for the directory, such as ``corp.example.com`` .
604
- :param password: The password for the directory administrator. The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password. If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
605
604
  :param size: The size of the directory. For valid values, see `CreateDirectory <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateDirectory.html>`_ in the *AWS Directory Service API Reference* .
606
605
  :param vpc_settings: A `DirectoryVpcSettings <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_DirectoryVpcSettings.html>`_ object that contains additional information for the operation.
607
606
  :param create_alias: If set to ``true`` , specifies an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as ``http://<alias>.awsapps.com`` . By default, this property is set to ``false`` . .. epigraph:: After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
608
607
  :param description: A description for the directory.
609
608
  :param enable_sso: Whether to enable single sign-on for a directory. If you don't specify a value, AWS CloudFormation disables single sign-on by default.
609
+ :param password: The password for the directory administrator. The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password. If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
610
610
  :param short_name: The NetBIOS name of the directory, such as ``CORP`` .
611
611
  '''
612
612
  if __debug__:
@@ -615,12 +615,12 @@ class CfnSimpleAD(
615
615
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
616
616
  props = CfnSimpleADProps(
617
617
  name=name,
618
- password=password,
619
618
  size=size,
620
619
  vpc_settings=vpc_settings,
621
620
  create_alias=create_alias,
622
621
  description=description,
623
622
  enable_sso=enable_sso,
623
+ password=password,
624
624
  short_name=short_name,
625
625
  )
626
626
 
@@ -711,19 +711,6 @@ class CfnSimpleAD(
711
711
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
712
712
  jsii.set(self, "name", value)
713
713
 
714
- @builtins.property
715
- @jsii.member(jsii_name="password")
716
- def password(self) -> builtins.str:
717
- '''The password for the directory administrator.'''
718
- return typing.cast(builtins.str, jsii.get(self, "password"))
719
-
720
- @password.setter
721
- def password(self, value: builtins.str) -> None:
722
- if __debug__:
723
- type_hints = typing.get_type_hints(_typecheckingstub__71aba9c326c0546afb2bfadc98225001babe64951c885082746f7d7f8553bf37)
724
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
725
- jsii.set(self, "password", value)
726
-
727
714
  @builtins.property
728
715
  @jsii.member(jsii_name="size")
729
716
  def size(self) -> builtins.str:
@@ -804,6 +791,19 @@ class CfnSimpleAD(
804
791
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
805
792
  jsii.set(self, "enableSso", value)
806
793
 
794
+ @builtins.property
795
+ @jsii.member(jsii_name="password")
796
+ def password(self) -> typing.Optional[builtins.str]:
797
+ '''The password for the directory administrator.'''
798
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "password"))
799
+
800
+ @password.setter
801
+ def password(self, value: typing.Optional[builtins.str]) -> None:
802
+ if __debug__:
803
+ type_hints = typing.get_type_hints(_typecheckingstub__71aba9c326c0546afb2bfadc98225001babe64951c885082746f7d7f8553bf37)
804
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
805
+ jsii.set(self, "password", value)
806
+
807
807
  @builtins.property
808
808
  @jsii.member(jsii_name="shortName")
809
809
  def short_name(self) -> typing.Optional[builtins.str]:
@@ -896,12 +896,12 @@ class CfnSimpleAD(
896
896
  jsii_struct_bases=[],
897
897
  name_mapping={
898
898
  "name": "name",
899
- "password": "password",
900
899
  "size": "size",
901
900
  "vpc_settings": "vpcSettings",
902
901
  "create_alias": "createAlias",
903
902
  "description": "description",
904
903
  "enable_sso": "enableSso",
904
+ "password": "password",
905
905
  "short_name": "shortName",
906
906
  },
907
907
  )
@@ -910,23 +910,23 @@ class CfnSimpleADProps:
910
910
  self,
911
911
  *,
912
912
  name: builtins.str,
913
- password: builtins.str,
914
913
  size: builtins.str,
915
914
  vpc_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSimpleAD.VpcSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
916
915
  create_alias: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
917
916
  description: typing.Optional[builtins.str] = None,
918
917
  enable_sso: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
918
+ password: typing.Optional[builtins.str] = None,
919
919
  short_name: typing.Optional[builtins.str] = None,
920
920
  ) -> None:
921
921
  '''Properties for defining a ``CfnSimpleAD``.
922
922
 
923
923
  :param name: The fully qualified name for the directory, such as ``corp.example.com`` .
924
- :param password: The password for the directory administrator. The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password. If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
925
924
  :param size: The size of the directory. For valid values, see `CreateDirectory <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateDirectory.html>`_ in the *AWS Directory Service API Reference* .
926
925
  :param vpc_settings: A `DirectoryVpcSettings <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_DirectoryVpcSettings.html>`_ object that contains additional information for the operation.
927
926
  :param create_alias: If set to ``true`` , specifies an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as ``http://<alias>.awsapps.com`` . By default, this property is set to ``false`` . .. epigraph:: After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
928
927
  :param description: A description for the directory.
929
928
  :param enable_sso: Whether to enable single sign-on for a directory. If you don't specify a value, AWS CloudFormation disables single sign-on by default.
929
+ :param password: The password for the directory administrator. The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password. If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
930
930
  :param short_name: The NetBIOS name of the directory, such as ``CORP`` .
931
931
 
932
932
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html
@@ -940,7 +940,6 @@ class CfnSimpleADProps:
940
940
 
941
941
  cfn_simple_aDProps = directoryservice.CfnSimpleADProps(
942
942
  name="name",
943
- password="password",
944
943
  size="size",
945
944
  vpc_settings=directoryservice.CfnSimpleAD.VpcSettingsProperty(
946
945
  subnet_ids=["subnetIds"],
@@ -951,22 +950,22 @@ class CfnSimpleADProps:
951
950
  create_alias=False,
952
951
  description="description",
953
952
  enable_sso=False,
953
+ password="password",
954
954
  short_name="shortName"
955
955
  )
956
956
  '''
957
957
  if __debug__:
958
958
  type_hints = typing.get_type_hints(_typecheckingstub__9d5efbbc1a7e54cd5f61f8ab3a76dddee5c6468a07c2da3178587e1a05f5f11b)
959
959
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
960
- check_type(argname="argument password", value=password, expected_type=type_hints["password"])
961
960
  check_type(argname="argument size", value=size, expected_type=type_hints["size"])
962
961
  check_type(argname="argument vpc_settings", value=vpc_settings, expected_type=type_hints["vpc_settings"])
963
962
  check_type(argname="argument create_alias", value=create_alias, expected_type=type_hints["create_alias"])
964
963
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
965
964
  check_type(argname="argument enable_sso", value=enable_sso, expected_type=type_hints["enable_sso"])
965
+ check_type(argname="argument password", value=password, expected_type=type_hints["password"])
966
966
  check_type(argname="argument short_name", value=short_name, expected_type=type_hints["short_name"])
967
967
  self._values: typing.Dict[builtins.str, typing.Any] = {
968
968
  "name": name,
969
- "password": password,
970
969
  "size": size,
971
970
  "vpc_settings": vpc_settings,
972
971
  }
@@ -976,6 +975,8 @@ class CfnSimpleADProps:
976
975
  self._values["description"] = description
977
976
  if enable_sso is not None:
978
977
  self._values["enable_sso"] = enable_sso
978
+ if password is not None:
979
+ self._values["password"] = password
979
980
  if short_name is not None:
980
981
  self._values["short_name"] = short_name
981
982
 
@@ -989,20 +990,6 @@ class CfnSimpleADProps:
989
990
  assert result is not None, "Required property 'name' is missing"
990
991
  return typing.cast(builtins.str, result)
991
992
 
992
- @builtins.property
993
- def password(self) -> builtins.str:
994
- '''The password for the directory administrator.
995
-
996
- The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password.
997
-
998
- If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
999
-
1000
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-password
1001
- '''
1002
- result = self._values.get("password")
1003
- assert result is not None, "Required property 'password' is missing"
1004
- return typing.cast(builtins.str, result)
1005
-
1006
993
  @builtins.property
1007
994
  def size(self) -> builtins.str:
1008
995
  '''The size of the directory.
@@ -1065,6 +1052,19 @@ class CfnSimpleADProps:
1065
1052
  result = self._values.get("enable_sso")
1066
1053
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1067
1054
 
1055
+ @builtins.property
1056
+ def password(self) -> typing.Optional[builtins.str]:
1057
+ '''The password for the directory administrator.
1058
+
1059
+ The directory creation process creates a directory administrator account with the user name ``Administrator`` and this password.
1060
+
1061
+ If you need to change the password for the administrator account, see the `ResetUserPassword <https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html>`_ API call in the *AWS Directory Service API Reference* .
1062
+
1063
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directoryservice-simplead.html#cfn-directoryservice-simplead-password
1064
+ '''
1065
+ result = self._values.get("password")
1066
+ return typing.cast(typing.Optional[builtins.str], result)
1067
+
1068
1068
  @builtins.property
1069
1069
  def short_name(self) -> typing.Optional[builtins.str]:
1070
1070
  '''The NetBIOS name of the directory, such as ``CORP`` .
@@ -1190,12 +1190,12 @@ def _typecheckingstub__40820ee1ed03f2cd4befa65e6404c1024999677e0624ca5450f4b1f92
1190
1190
  id: builtins.str,
1191
1191
  *,
1192
1192
  name: builtins.str,
1193
- password: builtins.str,
1194
1193
  size: builtins.str,
1195
1194
  vpc_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSimpleAD.VpcSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
1196
1195
  create_alias: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1197
1196
  description: typing.Optional[builtins.str] = None,
1198
1197
  enable_sso: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1198
+ password: typing.Optional[builtins.str] = None,
1199
1199
  short_name: typing.Optional[builtins.str] = None,
1200
1200
  ) -> None:
1201
1201
  """Type checking stubs"""
@@ -1219,12 +1219,6 @@ def _typecheckingstub__a3a78121d492cd58fc500f705f47004309952863836f8d6363c085425
1219
1219
  """Type checking stubs"""
1220
1220
  pass
1221
1221
 
1222
- def _typecheckingstub__71aba9c326c0546afb2bfadc98225001babe64951c885082746f7d7f8553bf37(
1223
- value: builtins.str,
1224
- ) -> None:
1225
- """Type checking stubs"""
1226
- pass
1227
-
1228
1222
  def _typecheckingstub__c947223df100c39d3ba17f1ff698114d9a307629c47fd70256f83e548f4784ab(
1229
1223
  value: builtins.str,
1230
1224
  ) -> None:
@@ -1255,6 +1249,12 @@ def _typecheckingstub__c87bb88b5d4bdf801ed5bb1eff487991cd1104ca7311fda40c4c7666e
1255
1249
  """Type checking stubs"""
1256
1250
  pass
1257
1251
 
1252
+ def _typecheckingstub__71aba9c326c0546afb2bfadc98225001babe64951c885082746f7d7f8553bf37(
1253
+ value: typing.Optional[builtins.str],
1254
+ ) -> None:
1255
+ """Type checking stubs"""
1256
+ pass
1257
+
1258
1258
  def _typecheckingstub__c28a5ea3ad534ce7feaf34230d92ea3e87c2179d359d490a286a8b1936fcf350(
1259
1259
  value: typing.Optional[builtins.str],
1260
1260
  ) -> None:
@@ -1272,12 +1272,12 @@ def _typecheckingstub__c8735fadd5f261261242f08594a8935a9e3119659f4d14301a33cd4a4
1272
1272
  def _typecheckingstub__9d5efbbc1a7e54cd5f61f8ab3a76dddee5c6468a07c2da3178587e1a05f5f11b(
1273
1273
  *,
1274
1274
  name: builtins.str,
1275
- password: builtins.str,
1276
1275
  size: builtins.str,
1277
1276
  vpc_settings: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSimpleAD.VpcSettingsProperty, typing.Dict[builtins.str, typing.Any]]],
1278
1277
  create_alias: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1279
1278
  description: typing.Optional[builtins.str] = None,
1280
1279
  enable_sso: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1280
+ password: typing.Optional[builtins.str] = None,
1281
1281
  short_name: typing.Optional[builtins.str] = None,
1282
1282
  ) -> None:
1283
1283
  """Type checking stubs"""