aws-cdk-lib 2.200.2__py3-none-any.whl → 2.201.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 (53) hide show
  1. aws_cdk/__init__.py +105 -13
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.200.2.jsii.tgz → aws-cdk-lib@2.201.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +2 -3
  5. aws_cdk/aws_amplify/__init__.py +3 -3
  6. aws_cdk/aws_apigateway/__init__.py +21 -17
  7. aws_cdk/aws_apigatewayv2/__init__.py +87 -45
  8. aws_cdk/aws_appconfig/__init__.py +38 -1
  9. aws_cdk/aws_appsync/__init__.py +10 -10
  10. aws_cdk/aws_athena/__init__.py +226 -0
  11. aws_cdk/aws_autoscaling/__init__.py +38 -37
  12. aws_cdk/aws_bedrock/__init__.py +5108 -1571
  13. aws_cdk/aws_cloudfront/__init__.py +8 -0
  14. aws_cdk/aws_cloudtrail/__init__.py +178 -0
  15. aws_cdk/aws_cloudwatch/__init__.py +7 -3
  16. aws_cdk/aws_codepipeline_actions/__init__.py +746 -0
  17. aws_cdk/aws_connect/__init__.py +5 -5
  18. aws_cdk/aws_customerprofiles/__init__.py +377 -8
  19. aws_cdk/aws_datasync/__init__.py +189 -160
  20. aws_cdk/aws_datazone/__init__.py +512 -170
  21. aws_cdk/aws_deadline/__init__.py +32 -4
  22. aws_cdk/aws_dsql/__init__.py +150 -10
  23. aws_cdk/aws_ec2/__init__.py +793 -56
  24. aws_cdk/aws_ecs/__init__.py +94 -11
  25. aws_cdk/aws_efs/__init__.py +92 -12
  26. aws_cdk/aws_eks/__init__.py +166 -19
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
  28. aws_cdk/aws_emr/__init__.py +10 -4
  29. aws_cdk/aws_entityresolution/__init__.py +25 -10
  30. aws_cdk/aws_evs/__init__.py +2204 -0
  31. aws_cdk/aws_fsx/__init__.py +7 -7
  32. aws_cdk/aws_lambda/__init__.py +409 -32
  33. aws_cdk/aws_lightsail/__init__.py +17 -13
  34. aws_cdk/aws_logs/__init__.py +1 -0
  35. aws_cdk/aws_networkfirewall/__init__.py +562 -0
  36. aws_cdk/aws_opensearchservice/__init__.py +3 -3
  37. aws_cdk/aws_opsworkscm/__init__.py +9 -43
  38. aws_cdk/aws_rds/__init__.py +284 -87
  39. aws_cdk/aws_s3/__init__.py +23 -15
  40. aws_cdk/aws_sagemaker/__init__.py +223 -3
  41. aws_cdk/aws_securityhub/__init__.py +18 -34
  42. aws_cdk/aws_ssm/__init__.py +83 -1
  43. aws_cdk/aws_stepfunctions/__init__.py +235 -45
  44. aws_cdk/aws_synthetics/__init__.py +74 -0
  45. aws_cdk/aws_transfer/__init__.py +3 -3
  46. aws_cdk/aws_verifiedpermissions/__init__.py +17 -6
  47. aws_cdk/aws_wafv2/__init__.py +39 -2
  48. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/RECORD +53 -52
  50. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.200.2.dist-info → aws_cdk_lib-2.201.0.dist-info}/top_level.txt +0 -0
@@ -5777,7 +5777,7 @@ class DomainProps:
5777
5777
  :param removal_policy: Policy to apply when the domain is removed from the stack. Default: RemovalPolicy.RETAIN
5778
5778
  :param security_groups: The list of security groups that are associated with the VPC endpoints for the domain. Only used if ``vpc`` is specified. Default: - One new security group is created.
5779
5779
  :param suppress_logs_resource_policy: Specify whether to create a CloudWatch Logs resource policy or not. When logging is enabled for the domain, a CloudWatch Logs resource policy is created by default. However, CloudWatch Logs supports only 10 resource policies per region. If you enable logging for several domains, it may hit the quota and cause an error. By setting this property to true, creating a resource policy is suppressed, allowing you to avoid this problem. If you set this option to true, you must create a resource policy before deployment. Default: - false
5780
- :param tls_security_policy: The minimum TLS version required for traffic to the domain. Default: - TLSSecurityPolicy.TLS_1_0
5780
+ :param tls_security_policy: The minimum TLS version required for traffic to the domain. Default: - TLSSecurityPolicy.TLS_1_2
5781
5781
  :param use_unsigned_basic_auth: Configures the domain so that unsigned basic auth is enabled. If no master user is provided a default master user with username ``admin`` and a dynamically generated password stored in KMS is created. The password can be retrieved by getting ``masterUserPassword`` from the domain instance. Setting this to true will also add an access policy that allows unsigned access, enable node to node encryption, encryption at rest. If conflicting settings are encountered (like disabling encryption at rest) enabling this setting will cause a failure. Default: - false
5782
5782
  :param vpc: Place the domain inside this VPC. Default: - Domain is not placed in a VPC.
5783
5783
  :param vpc_subnets: The specific vpc subnets the domain will be placed in. You must provide one subnet for each Availability Zone that your domain uses. For example, you must specify three subnet IDs for a three Availability Zone domain. Only used if ``vpc`` is specified. Default: - All private subnets.
@@ -6167,7 +6167,7 @@ class DomainProps:
6167
6167
  def tls_security_policy(self) -> typing.Optional["TLSSecurityPolicy"]:
6168
6168
  '''The minimum TLS version required for traffic to the domain.
6169
6169
 
6170
- :default: - TLSSecurityPolicy.TLS_1_0
6170
+ :default: - TLSSecurityPolicy.TLS_1_2
6171
6171
  '''
6172
6172
  result = self._values.get("tls_security_policy")
6173
6173
  return typing.cast(typing.Optional["TLSSecurityPolicy"], result)
@@ -9104,7 +9104,7 @@ class Domain(
9104
9104
  :param removal_policy: Policy to apply when the domain is removed from the stack. Default: RemovalPolicy.RETAIN
9105
9105
  :param security_groups: The list of security groups that are associated with the VPC endpoints for the domain. Only used if ``vpc`` is specified. Default: - One new security group is created.
9106
9106
  :param suppress_logs_resource_policy: Specify whether to create a CloudWatch Logs resource policy or not. When logging is enabled for the domain, a CloudWatch Logs resource policy is created by default. However, CloudWatch Logs supports only 10 resource policies per region. If you enable logging for several domains, it may hit the quota and cause an error. By setting this property to true, creating a resource policy is suppressed, allowing you to avoid this problem. If you set this option to true, you must create a resource policy before deployment. Default: - false
9107
- :param tls_security_policy: The minimum TLS version required for traffic to the domain. Default: - TLSSecurityPolicy.TLS_1_0
9107
+ :param tls_security_policy: The minimum TLS version required for traffic to the domain. Default: - TLSSecurityPolicy.TLS_1_2
9108
9108
  :param use_unsigned_basic_auth: Configures the domain so that unsigned basic auth is enabled. If no master user is provided a default master user with username ``admin`` and a dynamically generated password stored in KMS is created. The password can be retrieved by getting ``masterUserPassword`` from the domain instance. Setting this to true will also add an access policy that allows unsigned access, enable node to node encryption, encryption at rest. If conflicting settings are encountered (like disabling encryption at rest) enabling this setting will cause a failure. Default: - false
9109
9109
  :param vpc: Place the domain inside this VPC. Default: - Domain is not placed in a VPC.
9110
9110
  :param vpc_subnets: The specific vpc subnets the domain will be placed in. You must provide one subnet for each Availability Zone that your domain uses. For example, you must specify three subnet IDs for a three Availability Zone domain. Only used if ``vpc`` is specified. Default: - All private subnets.
@@ -113,7 +113,6 @@ class CfnServer(
113
113
  preferred_backup_window="preferredBackupWindow",
114
114
  preferred_maintenance_window="preferredMaintenanceWindow",
115
115
  security_group_ids=["securityGroupIds"],
116
- server_name="serverName",
117
116
  subnet_ids=["subnetIds"],
118
117
  tags=[CfnTag(
119
118
  key="key",
@@ -145,7 +144,6 @@ class CfnServer(
145
144
  preferred_backup_window: typing.Optional[builtins.str] = None,
146
145
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
147
146
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
148
- server_name: typing.Optional[builtins.str] = None,
149
147
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
150
148
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
151
149
  ) -> None:
@@ -170,7 +168,6 @@ class CfnServer(
170
168
  :param preferred_backup_window: The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: - ``HH:MM`` for daily backups - ``DDD:HH:MM`` for weekly backups ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. *Example:* ``08:00`` , which represents a daily start time of 08:00 UTC. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
171
169
  :param preferred_maintenance_window: The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: ``DDD:HH:MM`` . ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See ``TimeWindowDefinition`` for more information. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
172
170
  :param security_group_ids: A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by ``SubnetIds`` . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).
173
- :param server_name: The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
174
171
  :param subnet_ids: The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
175
172
  :param tags: A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: `+ - = . _ : /
176
173
  '''
@@ -197,7 +194,6 @@ class CfnServer(
197
194
  preferred_backup_window=preferred_backup_window,
198
195
  preferred_maintenance_window=preferred_maintenance_window,
199
196
  security_group_ids=security_group_ids,
200
- server_name=server_name,
201
197
  subnet_ids=subnet_ids,
202
198
  tags=tags,
203
199
  )
@@ -254,6 +250,15 @@ class CfnServer(
254
250
  '''
255
251
  return typing.cast(builtins.str, jsii.get(self, "attrEndpoint"))
256
252
 
253
+ @builtins.property
254
+ @jsii.member(jsii_name="attrId")
255
+ def attr_id(self) -> builtins.str:
256
+ '''The ID of the server.
257
+
258
+ :cloudformationAttribute: Id
259
+ '''
260
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
261
+
257
262
  @builtins.property
258
263
  @jsii.member(jsii_name="attrServerName")
259
264
  def attr_server_name(self) -> builtins.str:
@@ -529,19 +534,6 @@ class CfnServer(
529
534
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
530
535
  jsii.set(self, "securityGroupIds", value) # pyright: ignore[reportArgumentType]
531
536
 
532
- @builtins.property
533
- @jsii.member(jsii_name="serverName")
534
- def server_name(self) -> typing.Optional[builtins.str]:
535
- '''The name of the server.'''
536
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "serverName"))
537
-
538
- @server_name.setter
539
- def server_name(self, value: typing.Optional[builtins.str]) -> None:
540
- if __debug__:
541
- type_hints = typing.get_type_hints(_typecheckingstub__0fdc9b0c6ccfb79b318a5321a2bdb7586f084e301b627e9b708804bad96c9238)
542
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
543
- jsii.set(self, "serverName", value) # pyright: ignore[reportArgumentType]
544
-
545
537
  @builtins.property
546
538
  @jsii.member(jsii_name="subnetIds")
547
539
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -687,7 +679,6 @@ class CfnServer(
687
679
  "preferred_backup_window": "preferredBackupWindow",
688
680
  "preferred_maintenance_window": "preferredMaintenanceWindow",
689
681
  "security_group_ids": "securityGroupIds",
690
- "server_name": "serverName",
691
682
  "subnet_ids": "subnetIds",
692
683
  "tags": "tags",
693
684
  },
@@ -714,7 +705,6 @@ class CfnServerProps:
714
705
  preferred_backup_window: typing.Optional[builtins.str] = None,
715
706
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
716
707
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
717
- server_name: typing.Optional[builtins.str] = None,
718
708
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
719
709
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
720
710
  ) -> None:
@@ -738,7 +728,6 @@ class CfnServerProps:
738
728
  :param preferred_backup_window: The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server if automated backups are enabled. Valid values must be specified in one of the following formats: - ``HH:MM`` for daily backups - ``DDD:HH:MM`` for weekly backups ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random, daily start time. *Example:* ``08:00`` , which represents a daily start time of 08:00 UTC. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
739
729
  :param preferred_maintenance_window: The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance. Valid values must be specified in the following format: ``DDD:HH:MM`` . ``MM`` must be specified as ``00`` . The specified time is in coordinated universal time (UTC). The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See ``TimeWindowDefinition`` for more information. *Example:* ``Mon:08:00`` , which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
740
730
  :param security_group_ids: A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups must be within the VPC that is specified by ``SubnetIds`` . If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to 0.0.0.0/0 (everyone).
741
- :param server_name: The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
742
731
  :param subnet_ids: The IDs of subnets in which to launch the server EC2 instance. Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have "Auto Assign Public IP" enabled. EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have "Auto Assign Public IP" enabled. For more information about supported Amazon EC2 platforms, see `Supported Platforms <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html>`_ .
743
732
  :param tags: A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server. - The key cannot be empty. - The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: `+ - = . _ : /
744
733
 
@@ -775,7 +764,6 @@ class CfnServerProps:
775
764
  preferred_backup_window="preferredBackupWindow",
776
765
  preferred_maintenance_window="preferredMaintenanceWindow",
777
766
  security_group_ids=["securityGroupIds"],
778
- server_name="serverName",
779
767
  subnet_ids=["subnetIds"],
780
768
  tags=[CfnTag(
781
769
  key="key",
@@ -803,7 +791,6 @@ class CfnServerProps:
803
791
  check_type(argname="argument preferred_backup_window", value=preferred_backup_window, expected_type=type_hints["preferred_backup_window"])
804
792
  check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
805
793
  check_type(argname="argument security_group_ids", value=security_group_ids, expected_type=type_hints["security_group_ids"])
806
- check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
807
794
  check_type(argname="argument subnet_ids", value=subnet_ids, expected_type=type_hints["subnet_ids"])
808
795
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
809
796
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -841,8 +828,6 @@ class CfnServerProps:
841
828
  self._values["preferred_maintenance_window"] = preferred_maintenance_window
842
829
  if security_group_ids is not None:
843
830
  self._values["security_group_ids"] = security_group_ids
844
- if server_name is not None:
845
- self._values["server_name"] = server_name
846
831
  if subnet_ids is not None:
847
832
  self._values["subnet_ids"] = subnet_ids
848
833
  if tags is not None:
@@ -1071,17 +1056,6 @@ class CfnServerProps:
1071
1056
  result = self._values.get("security_group_ids")
1072
1057
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1073
1058
 
1074
- @builtins.property
1075
- def server_name(self) -> typing.Optional[builtins.str]:
1076
- '''The name of the server.
1077
-
1078
- The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.
1079
-
1080
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworkscm-server.html#cfn-opsworkscm-server-servername
1081
- '''
1082
- result = self._values.get("server_name")
1083
- return typing.cast(typing.Optional[builtins.str], result)
1084
-
1085
1059
  @builtins.property
1086
1060
  def subnet_ids(self) -> typing.Optional[typing.List[builtins.str]]:
1087
1061
  '''The IDs of subnets in which to launch the server EC2 instance.
@@ -1157,7 +1131,6 @@ def _typecheckingstub__4fcf3005231c62e7682797d2e25d33ceb0c0b9602a2f2ffe6a7c3dabf
1157
1131
  preferred_backup_window: typing.Optional[builtins.str] = None,
1158
1132
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
1159
1133
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1160
- server_name: typing.Optional[builtins.str] = None,
1161
1134
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1162
1135
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1163
1136
  ) -> None:
@@ -1284,12 +1257,6 @@ def _typecheckingstub__d7663e937d0fabd66d40de7584fca886669aae87261a418b199493778
1284
1257
  """Type checking stubs"""
1285
1258
  pass
1286
1259
 
1287
- def _typecheckingstub__0fdc9b0c6ccfb79b318a5321a2bdb7586f084e301b627e9b708804bad96c9238(
1288
- value: typing.Optional[builtins.str],
1289
- ) -> None:
1290
- """Type checking stubs"""
1291
- pass
1292
-
1293
1260
  def _typecheckingstub__e6d133d8dd209b40a7f4c3900293e312fe8b95abc9cfff43e88a6fd1608b595b(
1294
1261
  value: typing.Optional[typing.List[builtins.str]],
1295
1262
  ) -> None:
@@ -1330,7 +1297,6 @@ def _typecheckingstub__6f3d9a63c768f1a40206835320dfa128b267da1fa702fbb4ecd8ac94b
1330
1297
  preferred_backup_window: typing.Optional[builtins.str] = None,
1331
1298
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
1332
1299
  security_group_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1333
- server_name: typing.Optional[builtins.str] = None,
1334
1300
  subnet_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1335
1301
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1336
1302
  ) -> None: