aws-cdk-lib 2.175.1__py3-none-any.whl → 2.177.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 (64) hide show
  1. aws_cdk/__init__.py +26 -7
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.175.1.jsii.tgz → aws-cdk-lib@2.177.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2_integrations/__init__.py +161 -9
  5. aws_cdk/aws_appconfig/__init__.py +106 -24
  6. aws_cdk/aws_appsync/__init__.py +4 -3
  7. aws_cdk/aws_backup/__init__.py +18 -84
  8. aws_cdk/aws_batch/__init__.py +4 -2
  9. aws_cdk/aws_bedrock/__init__.py +5395 -2508
  10. aws_cdk/aws_cleanrooms/__init__.py +77 -34
  11. aws_cdk/aws_cloudformation/__init__.py +4 -2
  12. aws_cdk/aws_cloudfront/__init__.py +12 -2
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +1 -1
  14. aws_cdk/aws_cloudfront_origins/__init__.py +33 -2
  15. aws_cdk/aws_cloudwatch/__init__.py +53 -49
  16. aws_cdk/aws_codebuild/__init__.py +36 -0
  17. aws_cdk/aws_codepipeline/__init__.py +35 -0
  18. aws_cdk/aws_cognito/__init__.py +285 -253
  19. aws_cdk/aws_customerprofiles/__init__.py +1060 -0
  20. aws_cdk/aws_datazone/__init__.py +195 -125
  21. aws_cdk/aws_docdb/__init__.py +29 -9
  22. aws_cdk/aws_dynamodb/__init__.py +77 -58
  23. aws_cdk/aws_ec2/__init__.py +16 -11
  24. aws_cdk/aws_ecs/__init__.py +127 -43
  25. aws_cdk/aws_efs/__init__.py +5 -5
  26. aws_cdk/aws_eks/__init__.py +24 -3
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +41 -5
  28. aws_cdk/aws_emrserverless/__init__.py +86 -0
  29. aws_cdk/aws_fms/__init__.py +42 -0
  30. aws_cdk/aws_gamelift/__init__.py +8 -10
  31. aws_cdk/aws_healthlake/__init__.py +36 -40
  32. aws_cdk/aws_iam/__init__.py +8 -0
  33. aws_cdk/aws_imagebuilder/__init__.py +62 -48
  34. aws_cdk/aws_lambda/__init__.py +21 -8
  35. aws_cdk/aws_lambda_event_sources/__init__.py +9 -9
  36. aws_cdk/aws_lex/__init__.py +105 -0
  37. aws_cdk/aws_logs/__init__.py +59 -59
  38. aws_cdk/aws_mediaconvert/__init__.py +7 -3
  39. aws_cdk/aws_notifications/__init__.py +1390 -0
  40. aws_cdk/aws_notificationscontacts/__init__.py +593 -0
  41. aws_cdk/aws_organizations/__init__.py +5 -9
  42. aws_cdk/aws_rds/__init__.py +99 -30
  43. aws_cdk/aws_redshift/__init__.py +9 -5
  44. aws_cdk/aws_resiliencehub/__init__.py +41 -0
  45. aws_cdk/aws_route53/__init__.py +4 -4
  46. aws_cdk/aws_route53_targets/__init__.py +15 -15
  47. aws_cdk/aws_s3/__init__.py +794 -5
  48. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  49. aws_cdk/aws_s3tables/__init__.py +2 -2
  50. aws_cdk/aws_ses/__init__.py +25 -4
  51. aws_cdk/aws_sns/__init__.py +39 -0
  52. aws_cdk/aws_ssm/__init__.py +14 -7
  53. aws_cdk/aws_ssmquicksetup/__init__.py +84 -84
  54. aws_cdk/aws_sso/__init__.py +9 -5
  55. aws_cdk/aws_synthetics/__init__.py +105 -32
  56. aws_cdk/cloud_assembly_schema/__init__.py +63 -4
  57. aws_cdk/cx_api/__init__.py +69 -8
  58. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/METADATA +3 -3
  59. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/RECORD +63 -62
  60. aws_cdk/aws_iot1click/__init__.py +0 -1193
  61. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/LICENSE +0 -0
  62. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/NOTICE +0 -0
  63. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/WHEEL +0 -0
  64. {aws_cdk_lib-2.175.1.dist-info → aws_cdk_lib-2.177.0.dist-info}/top_level.txt +0 -0
@@ -49,6 +49,13 @@ listener.add_targets("ApplicationFleet",
49
49
  The security groups of the load balancer and the target are automatically
50
50
  updated to allow the network traffic.
51
51
 
52
+ > NOTE: If the `@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault` feature flag is set (the default for new projects), and `addListener()` is called with `open: true`,
53
+ > the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules when using `IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4`.
54
+ >
55
+ > For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules
56
+ > by enabling the feature flag in your cdk.json file. Note that enabling this feature flag
57
+ > will modify existing security group rules.
58
+
52
59
  One (or more) security groups can be associated with the load balancer;
53
60
  if a security group isn't provided, one will be automatically created.
54
61
 
@@ -260,7 +267,7 @@ For more information, see [Load balancer attributes](https://docs.aws.amazon.com
260
267
  ### Setting up Access Log Bucket on Application Load Balancer
261
268
 
262
269
  The only server-side encryption option that's supported is Amazon S3-managed keys (SSE-S3). For more information
263
- Documentation: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html
270
+ Documentation: [https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html)
264
271
 
265
272
  ```python
266
273
  # vpc: ec2.Vpc
@@ -277,7 +284,7 @@ lb.log_access_logs(bucket)
277
284
  ### Setting up Connection Log Bucket on Application Load Balancer
278
285
 
279
286
  Like access log bucket, the only server-side encryption option that's supported is Amazon S3-managed keys (SSE-S3). For more information
280
- Documentation: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-connection-logging.html
287
+ Documentation: [https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-connection-logging.html](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-connection-logging.html)
281
288
 
282
289
  ```python
283
290
  # vpc: ec2.Vpc
@@ -305,7 +312,7 @@ lb = elbv2.ApplicationLoadBalancer(self, "LB",
305
312
  )
306
313
  ```
307
314
 
308
- By setting `DUAL_STACK_WITHOUT_PUBLIC_IPV4`, you can provision load balancers without public IPv4s
315
+ By setting `DUAL_STACK_WITHOUT_PUBLIC_IPV4`, you can provision load balancers without public IPv4s:
309
316
 
310
317
  ```python
311
318
  # vpc: ec2.Vpc
@@ -313,6 +320,7 @@ By setting `DUAL_STACK_WITHOUT_PUBLIC_IPV4`, you can provision load balancers wi
313
320
 
314
321
  lb = elbv2.ApplicationLoadBalancer(self, "LB",
315
322
  vpc=vpc,
323
+ internet_facing=True,
316
324
  ip_address_type=elbv2.IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4
317
325
  )
318
326
  ```
@@ -549,7 +557,7 @@ tg = elbv2.ApplicationTargetGroup(self, "TG",
549
557
  )
550
558
  ```
551
559
 
552
- For more information see: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html#application-based-stickiness
560
+ For more information see: [https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html#application-based-stickiness](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html#application-based-stickiness)
553
561
 
554
562
  ### Setting the target group protocol version
555
563
 
@@ -22373,6 +22381,15 @@ class IApplicationLoadBalancer(
22373
22381
  def ip_address_type(self) -> typing.Optional[IpAddressType]:
22374
22382
  '''The IP Address Type for this load balancer.
22375
22383
 
22384
+ If the ``@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault``
22385
+ feature flag is set (the default for new projects), and ``addListener()`` is called with ``open: true``,
22386
+ the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules
22387
+ when using ``IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4``.
22388
+
22389
+ For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules
22390
+ by enabling the feature flag in your cdk.json file. Note that enabling this feature flag
22391
+ will modify existing security group rules.
22392
+
22376
22393
  :default: IpAddressType.IPV4
22377
22394
  '''
22378
22395
  ...
@@ -22450,6 +22467,15 @@ class _IApplicationLoadBalancerProxy(
22450
22467
  def ip_address_type(self) -> typing.Optional[IpAddressType]:
22451
22468
  '''The IP Address Type for this load balancer.
22452
22469
 
22470
+ If the ``@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault``
22471
+ feature flag is set (the default for new projects), and ``addListener()`` is called with ``open: true``,
22472
+ the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules
22473
+ when using ``IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4``.
22474
+
22475
+ For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules
22476
+ by enabling the feature flag in your cdk.json file. Note that enabling this feature flag
22477
+ will modify existing security group rules.
22478
+
22453
22479
  :default: IpAddressType.IPV4
22454
22480
  '''
22455
22481
  return typing.cast(typing.Optional[IpAddressType], jsii.get(self, "ipAddressType"))
@@ -25063,7 +25089,17 @@ class ApplicationLoadBalancer(
25063
25089
  @builtins.property
25064
25090
  @jsii.member(jsii_name="ipAddressType")
25065
25091
  def ip_address_type(self) -> typing.Optional[IpAddressType]:
25066
- '''The IP Address Type for this load balancer.'''
25092
+ '''The IP Address Type for this load balancer.
25093
+
25094
+ If the ``@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault``
25095
+ feature flag is set (the default for new projects), and ``addListener()`` is called with ``open: true``,
25096
+ the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules
25097
+ when using ``IpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4``.
25098
+
25099
+ For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules
25100
+ by enabling the feature flag in your cdk.json file. Note that enabling this feature flag
25101
+ will modify existing security group rules.
25102
+ '''
25067
25103
  return typing.cast(typing.Optional[IpAddressType], jsii.get(self, "ipAddressType"))
25068
25104
 
25069
25105
 
@@ -147,6 +147,9 @@ class CfnApplication(
147
147
  enabled=False,
148
148
  encryption_key_arn="encryptionKeyArn"
149
149
  ),
150
+ prometheus_monitoring_configuration=emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty(
151
+ remote_write_url="remoteWriteUrl"
152
+ ),
150
153
  s3_monitoring_configuration=emrserverless.CfnApplication.S3MonitoringConfigurationProperty(
151
154
  encryption_key_arn="encryptionKeyArn",
152
155
  log_uri="logUri"
@@ -1486,6 +1489,7 @@ class CfnApplication(
1486
1489
  name_mapping={
1487
1490
  "cloud_watch_logging_configuration": "cloudWatchLoggingConfiguration",
1488
1491
  "managed_persistence_monitoring_configuration": "managedPersistenceMonitoringConfiguration",
1492
+ "prometheus_monitoring_configuration": "prometheusMonitoringConfiguration",
1489
1493
  "s3_monitoring_configuration": "s3MonitoringConfiguration",
1490
1494
  },
1491
1495
  )
@@ -1495,12 +1499,14 @@ class CfnApplication(
1495
1499
  *,
1496
1500
  cloud_watch_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.CloudWatchLoggingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1497
1501
  managed_persistence_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.ManagedPersistenceMonitoringConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1502
+ prometheus_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.PrometheusMonitoringConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1498
1503
  s3_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.S3MonitoringConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1499
1504
  ) -> None:
1500
1505
  '''The configuration setting for monitoring logs.
1501
1506
 
1502
1507
  :param cloud_watch_logging_configuration: The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.
1503
1508
  :param managed_persistence_monitoring_configuration: The managed log persistence configuration for a job run.
1509
+ :param prometheus_monitoring_configuration:
1504
1510
  :param s3_monitoring_configuration: The Amazon S3 configuration for monitoring log publishing.
1505
1511
 
1506
1512
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-monitoringconfiguration.html
@@ -1527,6 +1533,9 @@ class CfnApplication(
1527
1533
  enabled=False,
1528
1534
  encryption_key_arn="encryptionKeyArn"
1529
1535
  ),
1536
+ prometheus_monitoring_configuration=emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty(
1537
+ remote_write_url="remoteWriteUrl"
1538
+ ),
1530
1539
  s3_monitoring_configuration=emrserverless.CfnApplication.S3MonitoringConfigurationProperty(
1531
1540
  encryption_key_arn="encryptionKeyArn",
1532
1541
  log_uri="logUri"
@@ -1537,12 +1546,15 @@ class CfnApplication(
1537
1546
  type_hints = typing.get_type_hints(_typecheckingstub__ac64b7b17b97bdc5b470cb32b1b0c00b3bdd7d97ea83ace7e59e5eb7f78d59e6)
1538
1547
  check_type(argname="argument cloud_watch_logging_configuration", value=cloud_watch_logging_configuration, expected_type=type_hints["cloud_watch_logging_configuration"])
1539
1548
  check_type(argname="argument managed_persistence_monitoring_configuration", value=managed_persistence_monitoring_configuration, expected_type=type_hints["managed_persistence_monitoring_configuration"])
1549
+ check_type(argname="argument prometheus_monitoring_configuration", value=prometheus_monitoring_configuration, expected_type=type_hints["prometheus_monitoring_configuration"])
1540
1550
  check_type(argname="argument s3_monitoring_configuration", value=s3_monitoring_configuration, expected_type=type_hints["s3_monitoring_configuration"])
1541
1551
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1542
1552
  if cloud_watch_logging_configuration is not None:
1543
1553
  self._values["cloud_watch_logging_configuration"] = cloud_watch_logging_configuration
1544
1554
  if managed_persistence_monitoring_configuration is not None:
1545
1555
  self._values["managed_persistence_monitoring_configuration"] = managed_persistence_monitoring_configuration
1556
+ if prometheus_monitoring_configuration is not None:
1557
+ self._values["prometheus_monitoring_configuration"] = prometheus_monitoring_configuration
1546
1558
  if s3_monitoring_configuration is not None:
1547
1559
  self._values["s3_monitoring_configuration"] = s3_monitoring_configuration
1548
1560
 
@@ -1570,6 +1582,16 @@ class CfnApplication(
1570
1582
  result = self._values.get("managed_persistence_monitoring_configuration")
1571
1583
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.ManagedPersistenceMonitoringConfigurationProperty"]], result)
1572
1584
 
1585
+ @builtins.property
1586
+ def prometheus_monitoring_configuration(
1587
+ self,
1588
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PrometheusMonitoringConfigurationProperty"]]:
1589
+ '''
1590
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-monitoringconfiguration.html#cfn-emrserverless-application-monitoringconfiguration-prometheusmonitoringconfiguration
1591
+ '''
1592
+ result = self._values.get("prometheus_monitoring_configuration")
1593
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PrometheusMonitoringConfigurationProperty"]], result)
1594
+
1573
1595
  @builtins.property
1574
1596
  def s3_monitoring_configuration(
1575
1597
  self,
@@ -1665,6 +1687,59 @@ class CfnApplication(
1665
1687
  k + "=" + repr(v) for k, v in self._values.items()
1666
1688
  )
1667
1689
 
1690
+ @jsii.data_type(
1691
+ jsii_type="aws-cdk-lib.aws_emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty",
1692
+ jsii_struct_bases=[],
1693
+ name_mapping={"remote_write_url": "remoteWriteUrl"},
1694
+ )
1695
+ class PrometheusMonitoringConfigurationProperty:
1696
+ def __init__(
1697
+ self,
1698
+ *,
1699
+ remote_write_url: typing.Optional[builtins.str] = None,
1700
+ ) -> None:
1701
+ '''
1702
+ :param remote_write_url:
1703
+
1704
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-prometheusmonitoringconfiguration.html
1705
+ :exampleMetadata: fixture=_generated
1706
+
1707
+ Example::
1708
+
1709
+ # The code below shows an example of how to instantiate this type.
1710
+ # The values are placeholders you should change.
1711
+ from aws_cdk import aws_emrserverless as emrserverless
1712
+
1713
+ prometheus_monitoring_configuration_property = emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty(
1714
+ remote_write_url="remoteWriteUrl"
1715
+ )
1716
+ '''
1717
+ if __debug__:
1718
+ type_hints = typing.get_type_hints(_typecheckingstub__eed5e2a661371ca6ceab2d92afa8904162bc5dd4f2c62c9c20500ec776ae4f27)
1719
+ check_type(argname="argument remote_write_url", value=remote_write_url, expected_type=type_hints["remote_write_url"])
1720
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1721
+ if remote_write_url is not None:
1722
+ self._values["remote_write_url"] = remote_write_url
1723
+
1724
+ @builtins.property
1725
+ def remote_write_url(self) -> typing.Optional[builtins.str]:
1726
+ '''
1727
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-prometheusmonitoringconfiguration.html#cfn-emrserverless-application-prometheusmonitoringconfiguration-remotewriteurl
1728
+ '''
1729
+ result = self._values.get("remote_write_url")
1730
+ return typing.cast(typing.Optional[builtins.str], result)
1731
+
1732
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1733
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1734
+
1735
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1736
+ return not (rhs == self)
1737
+
1738
+ def __repr__(self) -> str:
1739
+ return "PrometheusMonitoringConfigurationProperty(%s)" % ", ".join(
1740
+ k + "=" + repr(v) for k, v in self._values.items()
1741
+ )
1742
+
1668
1743
  @jsii.data_type(
1669
1744
  jsii_type="aws-cdk-lib.aws_emrserverless.CfnApplication.S3MonitoringConfigurationProperty",
1670
1745
  jsii_struct_bases=[],
@@ -2119,6 +2194,9 @@ class CfnApplicationProps:
2119
2194
  enabled=False,
2120
2195
  encryption_key_arn="encryptionKeyArn"
2121
2196
  ),
2197
+ prometheus_monitoring_configuration=emrserverless.CfnApplication.PrometheusMonitoringConfigurationProperty(
2198
+ remote_write_url="remoteWriteUrl"
2199
+ ),
2122
2200
  s3_monitoring_configuration=emrserverless.CfnApplication.S3MonitoringConfigurationProperty(
2123
2201
  encryption_key_arn="encryptionKeyArn",
2124
2202
  log_uri="logUri"
@@ -2626,6 +2704,7 @@ def _typecheckingstub__ac64b7b17b97bdc5b470cb32b1b0c00b3bdd7d97ea83ace7e59e5eb7f
2626
2704
  *,
2627
2705
  cloud_watch_logging_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.CloudWatchLoggingConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2628
2706
  managed_persistence_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.ManagedPersistenceMonitoringConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2707
+ prometheus_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PrometheusMonitoringConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2629
2708
  s3_monitoring_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.S3MonitoringConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2630
2709
  ) -> None:
2631
2710
  """Type checking stubs"""
@@ -2639,6 +2718,13 @@ def _typecheckingstub__ea91d44b7b04faaf86e4a55badd0f26aa73aa5b6fa131753a02f85719
2639
2718
  """Type checking stubs"""
2640
2719
  pass
2641
2720
 
2721
+ def _typecheckingstub__eed5e2a661371ca6ceab2d92afa8904162bc5dd4f2c62c9c20500ec776ae4f27(
2722
+ *,
2723
+ remote_write_url: typing.Optional[builtins.str] = None,
2724
+ ) -> None:
2725
+ """Type checking stubs"""
2726
+ pass
2727
+
2642
2728
  def _typecheckingstub__8c2bbffaec906451dfb8b186ca2e714bc8b38325018a5241dbe3a66e4202ffed(
2643
2729
  *,
2644
2730
  encryption_key_arn: typing.Optional[builtins.str] = None,
@@ -364,6 +364,7 @@ class CfnPolicy(
364
364
  policy_description="policyDescription",
365
365
  resources_clean_up=False,
366
366
  resource_set_ids=["resourceSetIds"],
367
+ resource_tag_logical_operator="resourceTagLogicalOperator",
367
368
  resource_tags=[fms.CfnPolicy.ResourceTagProperty(
368
369
  key="key",
369
370
 
@@ -394,6 +395,7 @@ class CfnPolicy(
394
395
  policy_description: typing.Optional[builtins.str] = None,
395
396
  resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
396
397
  resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
398
+ resource_tag_logical_operator: typing.Optional[builtins.str] = None,
397
399
  resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPolicy.ResourceTagProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
398
400
  resource_type: typing.Optional[builtins.str] = None,
399
401
  resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -412,6 +414,7 @@ class CfnPolicy(
412
414
  :param policy_description: Your description of the AWS Firewall Manager policy.
413
415
  :param resources_clean_up: Indicates whether AWS Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or AWS WAF Classic policies.
414
416
  :param resource_set_ids: The unique identifiers of the resource sets used by the policy.
417
+ :param resource_tag_logical_operator:
415
418
  :param resource_tags: An array of ``ResourceTag`` objects, used to explicitly include resources in the policy scope or explicitly exclude them. If this isn't set, then tags aren't used to modify policy scope. See also ``ExcludeResourceTags`` .
416
419
  :param resource_type: The type of resource protected by or in scope of the policy. This is in the format shown in the `AWS Resource Types Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ . To apply this policy to multiple resource types, specify a resource type of ``ResourceTypeList`` and then specify the resource types in a ``ResourceTypeList`` . The following are valid resource types for each Firewall Manager policy type: - AWS WAF Classic - ``AWS::ApiGateway::Stage`` , ``AWS::CloudFront::Distribution`` , and ``AWS::ElasticLoadBalancingV2::LoadBalancer`` . - AWS WAF - ``AWS::ApiGateway::Stage`` , ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , and ``AWS::CloudFront::Distribution`` . - Shield Advanced - ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , ``AWS::ElasticLoadBalancing::LoadBalancer`` , ``AWS::EC2::EIP`` , and ``AWS::CloudFront::Distribution`` . - Network ACL - ``AWS::EC2::Subnet`` . - Security group usage audit - ``AWS::EC2::SecurityGroup`` . - Security group content audit - ``AWS::EC2::SecurityGroup`` , ``AWS::EC2::NetworkInterface`` , and ``AWS::EC2::Instance`` . - DNS Firewall, AWS Network Firewall , and third-party firewall - ``AWS::EC2::VPC`` .
417
420
  :param resource_type_list: An array of ``ResourceType`` objects. Use this only to specify multiple resource types. To specify a single resource type, use ``ResourceType`` .
@@ -432,6 +435,7 @@ class CfnPolicy(
432
435
  policy_description=policy_description,
433
436
  resources_clean_up=resources_clean_up,
434
437
  resource_set_ids=resource_set_ids,
438
+ resource_tag_logical_operator=resource_tag_logical_operator,
435
439
  resource_tags=resource_tags,
436
440
  resource_type=resource_type,
437
441
  resource_type_list=resource_type_list,
@@ -668,6 +672,21 @@ class CfnPolicy(
668
672
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
669
673
  jsii.set(self, "resourceSetIds", value) # pyright: ignore[reportArgumentType]
670
674
 
675
+ @builtins.property
676
+ @jsii.member(jsii_name="resourceTagLogicalOperator")
677
+ def resource_tag_logical_operator(self) -> typing.Optional[builtins.str]:
678
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "resourceTagLogicalOperator"))
679
+
680
+ @resource_tag_logical_operator.setter
681
+ def resource_tag_logical_operator(
682
+ self,
683
+ value: typing.Optional[builtins.str],
684
+ ) -> None:
685
+ if __debug__:
686
+ type_hints = typing.get_type_hints(_typecheckingstub__4c785568d3275bbfb3df2dd3b2ac1d97319f9c06330a57289261dce85d69868f)
687
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
688
+ jsii.set(self, "resourceTagLogicalOperator", value) # pyright: ignore[reportArgumentType]
689
+
671
690
  @builtins.property
672
691
  @jsii.member(jsii_name="resourceTags")
673
692
  def resource_tags(
@@ -2037,6 +2056,7 @@ class CfnPolicy(
2037
2056
  "policy_description": "policyDescription",
2038
2057
  "resources_clean_up": "resourcesCleanUp",
2039
2058
  "resource_set_ids": "resourceSetIds",
2059
+ "resource_tag_logical_operator": "resourceTagLogicalOperator",
2040
2060
  "resource_tags": "resourceTags",
2041
2061
  "resource_type": "resourceType",
2042
2062
  "resource_type_list": "resourceTypeList",
@@ -2057,6 +2077,7 @@ class CfnPolicyProps:
2057
2077
  policy_description: typing.Optional[builtins.str] = None,
2058
2078
  resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2059
2079
  resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
2080
+ resource_tag_logical_operator: typing.Optional[builtins.str] = None,
2060
2081
  resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2061
2082
  resource_type: typing.Optional[builtins.str] = None,
2062
2083
  resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -2074,6 +2095,7 @@ class CfnPolicyProps:
2074
2095
  :param policy_description: Your description of the AWS Firewall Manager policy.
2075
2096
  :param resources_clean_up: Indicates whether AWS Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or AWS WAF Classic policies.
2076
2097
  :param resource_set_ids: The unique identifiers of the resource sets used by the policy.
2098
+ :param resource_tag_logical_operator:
2077
2099
  :param resource_tags: An array of ``ResourceTag`` objects, used to explicitly include resources in the policy scope or explicitly exclude them. If this isn't set, then tags aren't used to modify policy scope. See also ``ExcludeResourceTags`` .
2078
2100
  :param resource_type: The type of resource protected by or in scope of the policy. This is in the format shown in the `AWS Resource Types Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html>`_ . To apply this policy to multiple resource types, specify a resource type of ``ResourceTypeList`` and then specify the resource types in a ``ResourceTypeList`` . The following are valid resource types for each Firewall Manager policy type: - AWS WAF Classic - ``AWS::ApiGateway::Stage`` , ``AWS::CloudFront::Distribution`` , and ``AWS::ElasticLoadBalancingV2::LoadBalancer`` . - AWS WAF - ``AWS::ApiGateway::Stage`` , ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , and ``AWS::CloudFront::Distribution`` . - Shield Advanced - ``AWS::ElasticLoadBalancingV2::LoadBalancer`` , ``AWS::ElasticLoadBalancing::LoadBalancer`` , ``AWS::EC2::EIP`` , and ``AWS::CloudFront::Distribution`` . - Network ACL - ``AWS::EC2::Subnet`` . - Security group usage audit - ``AWS::EC2::SecurityGroup`` . - Security group content audit - ``AWS::EC2::SecurityGroup`` , ``AWS::EC2::NetworkInterface`` , and ``AWS::EC2::Instance`` . - DNS Firewall, AWS Network Firewall , and third-party firewall - ``AWS::EC2::VPC`` .
2079
2101
  :param resource_type_list: An array of ``ResourceType`` objects. Use this only to specify multiple resource types. To specify a single resource type, use ``ResourceType`` .
@@ -2162,6 +2184,7 @@ class CfnPolicyProps:
2162
2184
  policy_description="policyDescription",
2163
2185
  resources_clean_up=False,
2164
2186
  resource_set_ids=["resourceSetIds"],
2187
+ resource_tag_logical_operator="resourceTagLogicalOperator",
2165
2188
  resource_tags=[fms.CfnPolicy.ResourceTagProperty(
2166
2189
  key="key",
2167
2190
 
@@ -2188,6 +2211,7 @@ class CfnPolicyProps:
2188
2211
  check_type(argname="argument policy_description", value=policy_description, expected_type=type_hints["policy_description"])
2189
2212
  check_type(argname="argument resources_clean_up", value=resources_clean_up, expected_type=type_hints["resources_clean_up"])
2190
2213
  check_type(argname="argument resource_set_ids", value=resource_set_ids, expected_type=type_hints["resource_set_ids"])
2214
+ check_type(argname="argument resource_tag_logical_operator", value=resource_tag_logical_operator, expected_type=type_hints["resource_tag_logical_operator"])
2191
2215
  check_type(argname="argument resource_tags", value=resource_tags, expected_type=type_hints["resource_tags"])
2192
2216
  check_type(argname="argument resource_type", value=resource_type, expected_type=type_hints["resource_type"])
2193
2217
  check_type(argname="argument resource_type_list", value=resource_type_list, expected_type=type_hints["resource_type_list"])
@@ -2210,6 +2234,8 @@ class CfnPolicyProps:
2210
2234
  self._values["resources_clean_up"] = resources_clean_up
2211
2235
  if resource_set_ids is not None:
2212
2236
  self._values["resource_set_ids"] = resource_set_ids
2237
+ if resource_tag_logical_operator is not None:
2238
+ self._values["resource_tag_logical_operator"] = resource_tag_logical_operator
2213
2239
  if resource_tags is not None:
2214
2240
  self._values["resource_tags"] = resource_tags
2215
2241
  if resource_type is not None:
@@ -2468,6 +2494,14 @@ class CfnPolicyProps:
2468
2494
  result = self._values.get("resource_set_ids")
2469
2495
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
2470
2496
 
2497
+ @builtins.property
2498
+ def resource_tag_logical_operator(self) -> typing.Optional[builtins.str]:
2499
+ '''
2500
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-policy.html#cfn-fms-policy-resourcetaglogicaloperator
2501
+ '''
2502
+ result = self._values.get("resource_tag_logical_operator")
2503
+ return typing.cast(typing.Optional[builtins.str], result)
2504
+
2471
2505
  @builtins.property
2472
2506
  def resource_tags(
2473
2507
  self,
@@ -2915,6 +2949,7 @@ def _typecheckingstub__a29b3b13041b0ccbd18a0c29ff5cff0adbc0e2aedc87591f1c54ec7a1
2915
2949
  policy_description: typing.Optional[builtins.str] = None,
2916
2950
  resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2917
2951
  resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
2952
+ resource_tag_logical_operator: typing.Optional[builtins.str] = None,
2918
2953
  resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
2919
2954
  resource_type: typing.Optional[builtins.str] = None,
2920
2955
  resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -2995,6 +3030,12 @@ def _typecheckingstub__048e93c726f9c5fe6e9b627c041b37e3458add761a76189dddf42b880
2995
3030
  """Type checking stubs"""
2996
3031
  pass
2997
3032
 
3033
+ def _typecheckingstub__4c785568d3275bbfb3df2dd3b2ac1d97319f9c06330a57289261dce85d69868f(
3034
+ value: typing.Optional[builtins.str],
3035
+ ) -> None:
3036
+ """Type checking stubs"""
3037
+ pass
3038
+
2998
3039
  def _typecheckingstub__9c77d40603d6f4c051dd3f9b5d662e1b2f8b3690fcfa612876de86b1cfb05ac0(
2999
3040
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnPolicy.ResourceTagProperty]]]],
3000
3041
  ) -> None:
@@ -3133,6 +3174,7 @@ def _typecheckingstub__8455eef74a6daf8d86ebd4c14f18184bf9c938d95a07a9902bf05c79f
3133
3174
  policy_description: typing.Optional[builtins.str] = None,
3134
3175
  resources_clean_up: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3135
3176
  resource_set_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3177
+ resource_tag_logical_operator: typing.Optional[builtins.str] = None,
3136
3178
  resource_tags: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPolicy.ResourceTagProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
3137
3179
  resource_type: typing.Optional[builtins.str] = None,
3138
3180
  resource_type_list: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8389,8 +8389,8 @@ class CfnGameSessionQueue(
8389
8389
 
8390
8390
  Changing the priority order will affect how game sessions are placed.
8391
8391
 
8392
- :param location_order: The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` . Locations are identified by AWS Region codes such as ``us-west-2`` . Each location can only be listed once.
8393
- :param priority_order: The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once. - ``LATENCY`` -- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest. - ``COST`` -- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue. - ``DESTINATION`` -- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration. - ``LOCATION`` -- FleetIQ prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
8392
+ :param location_order: The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` . Locations can include AWS Region codes (such as ``us-west-2`` ), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see `Amazon GameLift service locations. <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_
8393
+ :param priority_order: A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once. - ``LATENCY`` -- Amazon GameLift prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request. - ``COST`` -- Amazon GameLift prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) of each destination in the queue. - ``DESTINATION`` -- Amazon GameLift prioritizes based on the list order of destinations in the queue configuration. - ``LOCATION`` -- Amazon GameLift prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
8394
8394
 
8395
8395
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html
8396
8396
  :exampleMetadata: fixture=_generated
@@ -8420,7 +8420,7 @@ class CfnGameSessionQueue(
8420
8420
  def location_order(self) -> typing.Optional[typing.List[builtins.str]]:
8421
8421
  '''The prioritization order to use for fleet locations, when the ``PriorityOrder`` property includes ``LOCATION`` .
8422
8422
 
8423
- Locations are identified by AWS Region codes such as ``us-west-2`` . Each location can only be listed once.
8423
+ Locations can include AWS Region codes (such as ``us-west-2`` ), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see `Amazon GameLift service locations. <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_
8424
8424
 
8425
8425
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-locationorder
8426
8426
  '''
@@ -8429,14 +8429,12 @@ class CfnGameSessionQueue(
8429
8429
 
8430
8430
  @builtins.property
8431
8431
  def priority_order(self) -> typing.Optional[typing.List[builtins.str]]:
8432
- '''The recommended sequence to use when prioritizing where to place new game sessions.
8432
+ '''A custom sequence to use when prioritizing where to place new game sessions. Each priority type is listed once.
8433
8433
 
8434
- Each type can only be listed once.
8435
-
8436
- - ``LATENCY`` -- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.
8437
- - ``COST`` -- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.
8438
- - ``DESTINATION`` -- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.
8439
- - ``LOCATION`` -- FleetIQ prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
8434
+ - ``LATENCY`` -- Amazon GameLift prioritizes locations where the average player latency is lowest. Player latency data is provided in each game session placement request.
8435
+ - ``COST`` -- Amazon GameLift prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) of each destination in the queue.
8436
+ - ``DESTINATION`` -- Amazon GameLift prioritizes based on the list order of destinations in the queue configuration.
8437
+ - ``LOCATION`` -- Amazon GameLift prioritizes based on the provided order of locations, as defined in ``LocationOrder`` .
8440
8438
 
8441
8439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-gamesessionqueue-priorityconfiguration.html#cfn-gamelift-gamesessionqueue-priorityconfiguration-priorityorder
8442
8440
  '''