pulumi-aws-native 1.38.0a1761284362__py3-none-any.whl → 1.38.0a1761310773__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 pulumi-aws-native might be problematic. Click here for more details.

Files changed (104) hide show
  1. pulumi_aws_native/__init__.py +14 -0
  2. pulumi_aws_native/_enums.py +4 -0
  3. pulumi_aws_native/applicationsignals/get_grouping_configuration.py +9 -0
  4. pulumi_aws_native/applicationsignals/grouping_configuration.py +3 -0
  5. pulumi_aws_native/aps/__init__.py +2 -0
  6. pulumi_aws_native/aps/_inputs.py +232 -0
  7. pulumi_aws_native/aps/anomaly_detector.py +318 -0
  8. pulumi_aws_native/aps/get_anomaly_detector.py +149 -0
  9. pulumi_aws_native/aps/outputs.py +193 -0
  10. pulumi_aws_native/cloudfront/_inputs.py +14 -1
  11. pulumi_aws_native/cloudfront/get_vpc_origin.py +12 -1
  12. pulumi_aws_native/cloudfront/outputs.py +11 -1
  13. pulumi_aws_native/cloudfront/vpc_origin.py +7 -0
  14. pulumi_aws_native/connect/_enums.py +68 -0
  15. pulumi_aws_native/connect/_inputs.py +581 -1
  16. pulumi_aws_native/connect/email_address.py +31 -0
  17. pulumi_aws_native/connect/get_email_address.py +16 -1
  18. pulumi_aws_native/connect/outputs.py +473 -3
  19. pulumi_aws_native/connectcampaignsv2/_enums.py +9 -0
  20. pulumi_aws_native/connectcampaignsv2/_inputs.py +99 -0
  21. pulumi_aws_native/connectcampaignsv2/outputs.py +102 -0
  22. pulumi_aws_native/ec2/capacity_reservation.py +6 -6
  23. pulumi_aws_native/ec2/get_capacity_reservation.py +2 -2
  24. pulumi_aws_native/ec2/get_nat_gateway.py +3 -0
  25. pulumi_aws_native/ec2/nat_gateway.py +11 -0
  26. pulumi_aws_native/ecr/_inputs.py +2 -2
  27. pulumi_aws_native/ecr/get_repository.py +3 -2
  28. pulumi_aws_native/ecr/outputs.py +2 -2
  29. pulumi_aws_native/ecr/repository.py +12 -8
  30. pulumi_aws_native/ecs/_enums.py +1 -0
  31. pulumi_aws_native/ecs/service.py +4 -0
  32. pulumi_aws_native/elasticloadbalancingv2/_inputs.py +201 -22
  33. pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py +15 -4
  34. pulumi_aws_native/elasticloadbalancingv2/listener_rule.py +22 -1
  35. pulumi_aws_native/elasticloadbalancingv2/outputs.py +179 -16
  36. pulumi_aws_native/events/__init__.py +2 -0
  37. pulumi_aws_native/events/_inputs.py +78 -0
  38. pulumi_aws_native/events/event_bus_policy.py +275 -0
  39. pulumi_aws_native/events/get_event_bus_policy.py +85 -0
  40. pulumi_aws_native/events/outputs.py +48 -0
  41. pulumi_aws_native/gameliftstreams/application.py +4 -4
  42. pulumi_aws_native/imagebuilder/_inputs.py +58 -0
  43. pulumi_aws_native/imagebuilder/get_image_pipeline.py +15 -1
  44. pulumi_aws_native/imagebuilder/image.py +29 -0
  45. pulumi_aws_native/imagebuilder/image_pipeline.py +10 -0
  46. pulumi_aws_native/imagebuilder/outputs.py +55 -0
  47. pulumi_aws_native/lambda_/permission.py +4 -4
  48. pulumi_aws_native/mediapackagev2/_enums.py +15 -0
  49. pulumi_aws_native/mediapackagev2/_inputs.py +96 -0
  50. pulumi_aws_native/mediapackagev2/get_origin_endpoint.py +26 -1
  51. pulumi_aws_native/mediapackagev2/origin_endpoint.py +36 -0
  52. pulumi_aws_native/mediapackagev2/outputs.py +84 -0
  53. pulumi_aws_native/neptune/db_instance.py +29 -0
  54. pulumi_aws_native/neptune/get_db_instance.py +15 -1
  55. pulumi_aws_native/observabilityadmin/_enums.py +9 -0
  56. pulumi_aws_native/observabilityadmin/_inputs.py +252 -0
  57. pulumi_aws_native/observabilityadmin/get_organization_centralization_rule.py +9 -0
  58. pulumi_aws_native/observabilityadmin/get_organization_telemetry_rule.py +3 -0
  59. pulumi_aws_native/observabilityadmin/get_telemetry_rule.py +3 -0
  60. pulumi_aws_native/observabilityadmin/organization_centralization_rule.py +11 -0
  61. pulumi_aws_native/observabilityadmin/organization_telemetry_rule.py +8 -0
  62. pulumi_aws_native/observabilityadmin/outputs.py +150 -0
  63. pulumi_aws_native/observabilityadmin/telemetry_rule.py +8 -0
  64. pulumi_aws_native/organizations/_enums.py +13 -0
  65. pulumi_aws_native/organizations/account.py +10 -0
  66. pulumi_aws_native/organizations/get_account.py +15 -1
  67. pulumi_aws_native/osis/_inputs.py +24 -0
  68. pulumi_aws_native/osis/get_pipeline.py +26 -1
  69. pulumi_aws_native/osis/outputs.py +13 -0
  70. pulumi_aws_native/osis/pipeline.py +50 -0
  71. pulumi_aws_native/pulumi-plugin.json +1 -1
  72. pulumi_aws_native/quicksight/_enums.py +1 -1
  73. pulumi_aws_native/quicksight/_inputs.py +3 -3
  74. pulumi_aws_native/quicksight/outputs.py +2 -2
  75. pulumi_aws_native/rds/db_cluster.py +24 -40
  76. pulumi_aws_native/route53/_inputs.py +21 -3
  77. pulumi_aws_native/route53/outputs.py +14 -2
  78. pulumi_aws_native/rtbfabric/__init__.py +15 -0
  79. pulumi_aws_native/rtbfabric/_enums.py +45 -0
  80. pulumi_aws_native/rtbfabric/_inputs.py +60 -0
  81. pulumi_aws_native/rtbfabric/get_requester_gateway.py +202 -0
  82. pulumi_aws_native/rtbfabric/get_responder_gateway.py +225 -0
  83. pulumi_aws_native/rtbfabric/outputs.py +57 -0
  84. pulumi_aws_native/rtbfabric/requester_gateway.py +263 -0
  85. pulumi_aws_native/rtbfabric/responder_gateway.py +351 -0
  86. pulumi_aws_native/s3/access_grants_location.py +15 -13
  87. pulumi_aws_native/sagemaker/_enums.py +10 -0
  88. pulumi_aws_native/sagemaker/_inputs.py +64 -0
  89. pulumi_aws_native/sagemaker/cluster.py +21 -0
  90. pulumi_aws_native/sagemaker/get_cluster.py +15 -4
  91. pulumi_aws_native/sagemaker/outputs.py +56 -0
  92. pulumi_aws_native/ssm/_inputs.py +15 -3
  93. pulumi_aws_native/ssm/outputs.py +10 -2
  94. pulumi_aws_native/ssmquicksetup/get_lifecycle_automation.py +6 -0
  95. pulumi_aws_native/ssmquicksetup/lifecycle_automation.py +16 -0
  96. pulumi_aws_native/synthetics/_inputs.py +52 -12
  97. pulumi_aws_native/synthetics/outputs.py +35 -8
  98. pulumi_aws_native/transfer/_inputs.py +9 -3
  99. pulumi_aws_native/transfer/outputs.py +6 -2
  100. pulumi_aws_native/wisdom/_enums.py +4 -0
  101. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.38.0a1761310773.dist-info}/METADATA +1 -1
  102. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.38.0a1761310773.dist-info}/RECORD +104 -92
  103. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.38.0a1761310773.dist-info}/WHEEL +0 -0
  104. {pulumi_aws_native-1.38.0a1761284362.dist-info → pulumi_aws_native-1.38.0a1761310773.dist-info}/top_level.txt +0 -0
@@ -37,10 +37,13 @@ __all__ = [
37
37
  'ListenerRuleQueryStringConfig',
38
38
  'ListenerRuleQueryStringKeyValue',
39
39
  'ListenerRuleRedirectConfig',
40
+ 'ListenerRuleRewriteConfig',
41
+ 'ListenerRuleRewriteConfigObject',
40
42
  'ListenerRuleRuleCondition',
41
43
  'ListenerRuleSourceIpConfig',
42
44
  'ListenerRuleTargetGroupStickinessConfig',
43
45
  'ListenerRuleTargetGroupTuple',
46
+ 'ListenerRuleTransform',
44
47
  'ListenerTargetGroupStickinessConfig',
45
48
  'ListenerTargetGroupTuple',
46
49
  'LoadBalancerAttribute',
@@ -100,10 +103,11 @@ class ListenerAction(dict):
100
103
  :param 'ListenerAuthenticateCognitoConfig' authenticate_cognito_config: [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``.
101
104
  :param 'ListenerAuthenticateOidcConfig' authenticate_oidc_config: [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``.
102
105
  :param 'ListenerFixedResponseConfig' fixed_response_config: [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``.
103
- :param 'ListenerForwardConfig' forward_config: Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
106
+ :param 'ListenerForwardConfig' forward_config: Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
107
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
104
108
  :param _builtins.int order: The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
105
109
  :param 'ListenerRedirectConfig' redirect_config: [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``.
106
- :param _builtins.str target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
110
+ :param _builtins.str target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
107
111
  """
108
112
  pulumi.set(__self__, "type", type)
109
113
  if authenticate_cognito_config is not None:
@@ -157,7 +161,8 @@ class ListenerAction(dict):
157
161
  @pulumi.getter(name="forwardConfig")
158
162
  def forward_config(self) -> Optional['outputs.ListenerForwardConfig']:
159
163
  """
160
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
164
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
165
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
161
166
  """
162
167
  return pulumi.get(self, "forward_config")
163
168
 
@@ -181,7 +186,7 @@ class ListenerAction(dict):
181
186
  @pulumi.getter(name="targetGroupArn")
182
187
  def target_group_arn(self) -> Optional[_builtins.str]:
183
188
  """
184
- The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
189
+ The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
185
190
  """
186
191
  return pulumi.get(self, "target_group_arn")
187
192
 
@@ -713,7 +718,8 @@ class ListenerFixedResponseConfig(dict):
713
718
  @pulumi.output_type
714
719
  class ListenerForwardConfig(dict):
715
720
  """
716
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
721
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
722
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
717
723
  """
718
724
  @staticmethod
719
725
  def __key_warning(key: str):
@@ -738,7 +744,8 @@ class ListenerForwardConfig(dict):
738
744
  target_group_stickiness_config: Optional['outputs.ListenerTargetGroupStickinessConfig'] = None,
739
745
  target_groups: Optional[Sequence['outputs.ListenerTargetGroupTuple']] = None):
740
746
  """
741
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
747
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
748
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
742
749
  :param 'ListenerTargetGroupStickinessConfig' target_group_stickiness_config: Information about the target group stickiness for a rule.
743
750
  :param Sequence['ListenerTargetGroupTuple'] target_groups: Information about how traffic will be distributed between multiple target groups in a forward rule.
744
751
  """
@@ -1008,10 +1015,11 @@ class ListenerRuleAction(dict):
1008
1015
  :param 'ListenerRuleAuthenticateCognitoConfig' authenticate_cognito_config: [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``.
1009
1016
  :param 'ListenerRuleAuthenticateOidcConfig' authenticate_oidc_config: [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``.
1010
1017
  :param 'ListenerRuleFixedResponseConfig' fixed_response_config: [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``.
1011
- :param 'ListenerRuleForwardConfig' forward_config: Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1018
+ :param 'ListenerRuleForwardConfig' forward_config: Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
1019
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1012
1020
  :param _builtins.int order: The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.
1013
1021
  :param 'ListenerRuleRedirectConfig' redirect_config: [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``.
1014
- :param _builtins.str target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
1022
+ :param _builtins.str target_group_arn: The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
1015
1023
  """
1016
1024
  pulumi.set(__self__, "type", type)
1017
1025
  if authenticate_cognito_config is not None:
@@ -1065,7 +1073,8 @@ class ListenerRuleAction(dict):
1065
1073
  @pulumi.getter(name="forwardConfig")
1066
1074
  def forward_config(self) -> Optional['outputs.ListenerRuleForwardConfig']:
1067
1075
  """
1068
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1076
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
1077
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1069
1078
  """
1070
1079
  return pulumi.get(self, "forward_config")
1071
1080
 
@@ -1089,7 +1098,7 @@ class ListenerRuleAction(dict):
1089
1098
  @pulumi.getter(name="targetGroupArn")
1090
1099
  def target_group_arn(self) -> Optional[_builtins.str]:
1091
1100
  """
1092
- The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead.
1101
+ The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.
1093
1102
  """
1094
1103
  return pulumi.get(self, "target_group_arn")
1095
1104
 
@@ -1500,7 +1509,8 @@ class ListenerRuleFixedResponseConfig(dict):
1500
1509
  @pulumi.output_type
1501
1510
  class ListenerRuleForwardConfig(dict):
1502
1511
  """
1503
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1512
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
1513
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1504
1514
  """
1505
1515
  @staticmethod
1506
1516
  def __key_warning(key: str):
@@ -1525,7 +1535,8 @@ class ListenerRuleForwardConfig(dict):
1525
1535
  target_group_stickiness_config: Optional['outputs.ListenerRuleTargetGroupStickinessConfig'] = None,
1526
1536
  target_groups: Optional[Sequence['outputs.ListenerRuleTargetGroupTuple']] = None):
1527
1537
  """
1528
- Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1538
+ Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.
1539
+ If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.
1529
1540
  :param 'ListenerRuleTargetGroupStickinessConfig' target_group_stickiness_config: Information about the target group stickiness for a rule.
1530
1541
  :param Sequence['ListenerRuleTargetGroupTuple'] target_groups: Information about how traffic will be distributed between multiple target groups in a forward rule.
1531
1542
  """
@@ -1556,16 +1567,41 @@ class ListenerRuleHostHeaderConfig(dict):
1556
1567
  """
1557
1568
  Information about a host header condition.
1558
1569
  """
1570
+ @staticmethod
1571
+ def __key_warning(key: str):
1572
+ suggest = None
1573
+ if key == "regexValues":
1574
+ suggest = "regex_values"
1575
+
1576
+ if suggest:
1577
+ pulumi.log.warn(f"Key '{key}' not found in ListenerRuleHostHeaderConfig. Access the value via the '{suggest}' property getter instead.")
1578
+
1579
+ def __getitem__(self, key: str) -> Any:
1580
+ ListenerRuleHostHeaderConfig.__key_warning(key)
1581
+ return super().__getitem__(key)
1582
+
1583
+ def get(self, key: str, default = None) -> Any:
1584
+ ListenerRuleHostHeaderConfig.__key_warning(key)
1585
+ return super().get(key, default)
1586
+
1559
1587
  def __init__(__self__, *,
1588
+ regex_values: Optional[Sequence[_builtins.str]] = None,
1560
1589
  values: Optional[Sequence[_builtins.str]] = None):
1561
1590
  """
1562
1591
  Information about a host header condition.
1563
1592
  :param Sequence[_builtins.str] values: The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). You must include at least one "." character. You can include only alphabetical characters after the final "." character.
1564
1593
  If you specify multiple strings, the condition is satisfied if one of the strings matches the host name.
1565
1594
  """
1595
+ if regex_values is not None:
1596
+ pulumi.set(__self__, "regex_values", regex_values)
1566
1597
  if values is not None:
1567
1598
  pulumi.set(__self__, "values", values)
1568
1599
 
1600
+ @_builtins.property
1601
+ @pulumi.getter(name="regexValues")
1602
+ def regex_values(self) -> Optional[Sequence[_builtins.str]]:
1603
+ return pulumi.get(self, "regex_values")
1604
+
1569
1605
  @_builtins.property
1570
1606
  @pulumi.getter
1571
1607
  def values(self) -> Optional[Sequence[_builtins.str]]:
@@ -1587,6 +1623,8 @@ class ListenerRuleHttpHeaderConfig(dict):
1587
1623
  suggest = None
1588
1624
  if key == "httpHeaderName":
1589
1625
  suggest = "http_header_name"
1626
+ elif key == "regexValues":
1627
+ suggest = "regex_values"
1590
1628
 
1591
1629
  if suggest:
1592
1630
  pulumi.log.warn(f"Key '{key}' not found in ListenerRuleHttpHeaderConfig. Access the value via the '{suggest}' property getter instead.")
@@ -1601,6 +1639,7 @@ class ListenerRuleHttpHeaderConfig(dict):
1601
1639
 
1602
1640
  def __init__(__self__, *,
1603
1641
  http_header_name: Optional[_builtins.str] = None,
1642
+ regex_values: Optional[Sequence[_builtins.str]] = None,
1604
1643
  values: Optional[Sequence[_builtins.str]] = None):
1605
1644
  """
1606
1645
  Information about an HTTP header condition.
@@ -1612,6 +1651,8 @@ class ListenerRuleHttpHeaderConfig(dict):
1612
1651
  """
1613
1652
  if http_header_name is not None:
1614
1653
  pulumi.set(__self__, "http_header_name", http_header_name)
1654
+ if regex_values is not None:
1655
+ pulumi.set(__self__, "regex_values", regex_values)
1615
1656
  if values is not None:
1616
1657
  pulumi.set(__self__, "values", values)
1617
1658
 
@@ -1623,6 +1664,11 @@ class ListenerRuleHttpHeaderConfig(dict):
1623
1664
  """
1624
1665
  return pulumi.get(self, "http_header_name")
1625
1666
 
1667
+ @_builtins.property
1668
+ @pulumi.getter(name="regexValues")
1669
+ def regex_values(self) -> Optional[Sequence[_builtins.str]]:
1670
+ return pulumi.get(self, "regex_values")
1671
+
1626
1672
  @_builtins.property
1627
1673
  @pulumi.getter
1628
1674
  def values(self) -> Optional[Sequence[_builtins.str]]:
@@ -1666,16 +1712,41 @@ class ListenerRulePathPatternConfig(dict):
1666
1712
  """
1667
1713
  Information about a path pattern condition.
1668
1714
  """
1715
+ @staticmethod
1716
+ def __key_warning(key: str):
1717
+ suggest = None
1718
+ if key == "regexValues":
1719
+ suggest = "regex_values"
1720
+
1721
+ if suggest:
1722
+ pulumi.log.warn(f"Key '{key}' not found in ListenerRulePathPatternConfig. Access the value via the '{suggest}' property getter instead.")
1723
+
1724
+ def __getitem__(self, key: str) -> Any:
1725
+ ListenerRulePathPatternConfig.__key_warning(key)
1726
+ return super().__getitem__(key)
1727
+
1728
+ def get(self, key: str, default = None) -> Any:
1729
+ ListenerRulePathPatternConfig.__key_warning(key)
1730
+ return super().get(key, default)
1731
+
1669
1732
  def __init__(__self__, *,
1733
+ regex_values: Optional[Sequence[_builtins.str]] = None,
1670
1734
  values: Optional[Sequence[_builtins.str]] = None):
1671
1735
  """
1672
1736
  Information about a path pattern condition.
1673
1737
  :param Sequence[_builtins.str] values: The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
1674
1738
  If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string.
1675
1739
  """
1740
+ if regex_values is not None:
1741
+ pulumi.set(__self__, "regex_values", regex_values)
1676
1742
  if values is not None:
1677
1743
  pulumi.set(__self__, "values", values)
1678
1744
 
1745
+ @_builtins.property
1746
+ @pulumi.getter(name="regexValues")
1747
+ def regex_values(self) -> Optional[Sequence[_builtins.str]]:
1748
+ return pulumi.get(self, "regex_values")
1749
+
1679
1750
  @_builtins.property
1680
1751
  @pulumi.getter
1681
1752
  def values(self) -> Optional[Sequence[_builtins.str]]:
@@ -1865,6 +1936,37 @@ class ListenerRuleRedirectConfig(dict):
1865
1936
  return pulumi.get(self, "query")
1866
1937
 
1867
1938
 
1939
+ @pulumi.output_type
1940
+ class ListenerRuleRewriteConfig(dict):
1941
+ def __init__(__self__, *,
1942
+ regex: _builtins.str,
1943
+ replace: _builtins.str):
1944
+ pulumi.set(__self__, "regex", regex)
1945
+ pulumi.set(__self__, "replace", replace)
1946
+
1947
+ @_builtins.property
1948
+ @pulumi.getter
1949
+ def regex(self) -> _builtins.str:
1950
+ return pulumi.get(self, "regex")
1951
+
1952
+ @_builtins.property
1953
+ @pulumi.getter
1954
+ def replace(self) -> _builtins.str:
1955
+ return pulumi.get(self, "replace")
1956
+
1957
+
1958
+ @pulumi.output_type
1959
+ class ListenerRuleRewriteConfigObject(dict):
1960
+ def __init__(__self__, *,
1961
+ rewrites: Sequence['outputs.ListenerRuleRewriteConfig']):
1962
+ pulumi.set(__self__, "rewrites", rewrites)
1963
+
1964
+ @_builtins.property
1965
+ @pulumi.getter
1966
+ def rewrites(self) -> Sequence['outputs.ListenerRuleRewriteConfig']:
1967
+ return pulumi.get(self, "rewrites")
1968
+
1969
+
1868
1970
  @pulumi.output_type
1869
1971
  class ListenerRuleRuleCondition(dict):
1870
1972
  """
@@ -1883,6 +1985,8 @@ class ListenerRuleRuleCondition(dict):
1883
1985
  suggest = "path_pattern_config"
1884
1986
  elif key == "queryStringConfig":
1885
1987
  suggest = "query_string_config"
1988
+ elif key == "regexValues":
1989
+ suggest = "regex_values"
1886
1990
  elif key == "sourceIpConfig":
1887
1991
  suggest = "source_ip_config"
1888
1992
 
@@ -1904,6 +2008,7 @@ class ListenerRuleRuleCondition(dict):
1904
2008
  http_request_method_config: Optional['outputs.ListenerRuleHttpRequestMethodConfig'] = None,
1905
2009
  path_pattern_config: Optional['outputs.ListenerRulePathPatternConfig'] = None,
1906
2010
  query_string_config: Optional['outputs.ListenerRuleQueryStringConfig'] = None,
2011
+ regex_values: Optional[Sequence[_builtins.str]] = None,
1907
2012
  source_ip_config: Optional['outputs.ListenerRuleSourceIpConfig'] = None,
1908
2013
  values: Optional[Sequence[_builtins.str]] = None):
1909
2014
  """
@@ -1920,6 +2025,7 @@ class ListenerRuleRuleCondition(dict):
1920
2025
  :param 'ListenerRuleHttpRequestMethodConfig' http_request_method_config: Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method``.
1921
2026
  :param 'ListenerRulePathPatternConfig' path_pattern_config: Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern``.
1922
2027
  :param 'ListenerRuleQueryStringConfig' query_string_config: Information for a query string condition. Specify only when ``Field`` is ``query-string``.
2028
+ :param Sequence[_builtins.str] regex_values: The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when `Field` is `http-header` , `host-header` , or `path-pattern` .
1923
2029
  :param 'ListenerRuleSourceIpConfig' source_ip_config: Information for a source IP condition. Specify only when ``Field`` is ``source-ip``.
1924
2030
  :param Sequence[_builtins.str] values: The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern``. Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig``.
1925
2031
  If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig``, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters.
@@ -1947,6 +2053,8 @@ class ListenerRuleRuleCondition(dict):
1947
2053
  pulumi.set(__self__, "path_pattern_config", path_pattern_config)
1948
2054
  if query_string_config is not None:
1949
2055
  pulumi.set(__self__, "query_string_config", query_string_config)
2056
+ if regex_values is not None:
2057
+ pulumi.set(__self__, "regex_values", regex_values)
1950
2058
  if source_ip_config is not None:
1951
2059
  pulumi.set(__self__, "source_ip_config", source_ip_config)
1952
2060
  if values is not None:
@@ -2006,6 +2114,14 @@ class ListenerRuleRuleCondition(dict):
2006
2114
  """
2007
2115
  return pulumi.get(self, "query_string_config")
2008
2116
 
2117
+ @_builtins.property
2118
+ @pulumi.getter(name="regexValues")
2119
+ def regex_values(self) -> Optional[Sequence[_builtins.str]]:
2120
+ """
2121
+ The regular expressions to match against the condition field. The maximum length of each string is 128 characters. Specify only when `Field` is `http-header` , `host-header` , or `path-pattern` .
2122
+ """
2123
+ return pulumi.get(self, "regex_values")
2124
+
2009
2125
  @_builtins.property
2010
2126
  @pulumi.getter(name="sourceIpConfig")
2011
2127
  def source_ip_config(self) -> Optional['outputs.ListenerRuleSourceIpConfig']:
@@ -2089,7 +2205,7 @@ class ListenerRuleTargetGroupStickinessConfig(dict):
2089
2205
  enabled: Optional[_builtins.bool] = None):
2090
2206
  """
2091
2207
  Information about the target group stickiness for a rule.
2092
- :param _builtins.int duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2208
+ :param _builtins.int duration_seconds: [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2093
2209
  :param _builtins.bool enabled: Indicates whether target group stickiness is enabled.
2094
2210
  """
2095
2211
  if duration_seconds is not None:
@@ -2101,7 +2217,7 @@ class ListenerRuleTargetGroupStickinessConfig(dict):
2101
2217
  @pulumi.getter(name="durationSeconds")
2102
2218
  def duration_seconds(self) -> Optional[_builtins.int]:
2103
2219
  """
2104
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2220
+ [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2105
2221
  """
2106
2222
  return pulumi.get(self, "duration_seconds")
2107
2223
 
@@ -2166,6 +2282,53 @@ class ListenerRuleTargetGroupTuple(dict):
2166
2282
  return pulumi.get(self, "weight")
2167
2283
 
2168
2284
 
2285
+ @pulumi.output_type
2286
+ class ListenerRuleTransform(dict):
2287
+ @staticmethod
2288
+ def __key_warning(key: str):
2289
+ suggest = None
2290
+ if key == "hostHeaderRewriteConfig":
2291
+ suggest = "host_header_rewrite_config"
2292
+ elif key == "urlRewriteConfig":
2293
+ suggest = "url_rewrite_config"
2294
+
2295
+ if suggest:
2296
+ pulumi.log.warn(f"Key '{key}' not found in ListenerRuleTransform. Access the value via the '{suggest}' property getter instead.")
2297
+
2298
+ def __getitem__(self, key: str) -> Any:
2299
+ ListenerRuleTransform.__key_warning(key)
2300
+ return super().__getitem__(key)
2301
+
2302
+ def get(self, key: str, default = None) -> Any:
2303
+ ListenerRuleTransform.__key_warning(key)
2304
+ return super().get(key, default)
2305
+
2306
+ def __init__(__self__, *,
2307
+ type: _builtins.str,
2308
+ host_header_rewrite_config: Optional['outputs.ListenerRuleRewriteConfigObject'] = None,
2309
+ url_rewrite_config: Optional['outputs.ListenerRuleRewriteConfigObject'] = None):
2310
+ pulumi.set(__self__, "type", type)
2311
+ if host_header_rewrite_config is not None:
2312
+ pulumi.set(__self__, "host_header_rewrite_config", host_header_rewrite_config)
2313
+ if url_rewrite_config is not None:
2314
+ pulumi.set(__self__, "url_rewrite_config", url_rewrite_config)
2315
+
2316
+ @_builtins.property
2317
+ @pulumi.getter
2318
+ def type(self) -> _builtins.str:
2319
+ return pulumi.get(self, "type")
2320
+
2321
+ @_builtins.property
2322
+ @pulumi.getter(name="hostHeaderRewriteConfig")
2323
+ def host_header_rewrite_config(self) -> Optional['outputs.ListenerRuleRewriteConfigObject']:
2324
+ return pulumi.get(self, "host_header_rewrite_config")
2325
+
2326
+ @_builtins.property
2327
+ @pulumi.getter(name="urlRewriteConfig")
2328
+ def url_rewrite_config(self) -> Optional['outputs.ListenerRuleRewriteConfigObject']:
2329
+ return pulumi.get(self, "url_rewrite_config")
2330
+
2331
+
2169
2332
  @pulumi.output_type
2170
2333
  class ListenerTargetGroupStickinessConfig(dict):
2171
2334
  """
@@ -2193,7 +2356,7 @@ class ListenerTargetGroupStickinessConfig(dict):
2193
2356
  enabled: Optional[_builtins.bool] = None):
2194
2357
  """
2195
2358
  Information about the target group stickiness for a rule.
2196
- :param _builtins.int duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2359
+ :param _builtins.int duration_seconds: [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2197
2360
  :param _builtins.bool enabled: Indicates whether target group stickiness is enabled.
2198
2361
  """
2199
2362
  if duration_seconds is not None:
@@ -2205,7 +2368,7 @@ class ListenerTargetGroupStickinessConfig(dict):
2205
2368
  @pulumi.getter(name="durationSeconds")
2206
2369
  def duration_seconds(self) -> Optional[_builtins.int]:
2207
2370
  """
2208
- The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2371
+ [Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
2209
2372
  """
2210
2373
  return pulumi.get(self, "duration_seconds")
2211
2374
 
@@ -12,11 +12,13 @@ from .archive import *
12
12
  from .connection import *
13
13
  from .endpoint import *
14
14
  from .event_bus import *
15
+ from .event_bus_policy import *
15
16
  from .get_api_destination import *
16
17
  from .get_archive import *
17
18
  from .get_connection import *
18
19
  from .get_endpoint import *
19
20
  from .get_event_bus import *
21
+ from .get_event_bus_policy import *
20
22
  from .get_rule import *
21
23
  from .rule import *
22
24
  from ._inputs import *
@@ -48,6 +48,8 @@ __all__ = [
48
48
  'EndpointRoutingConfigArgsDict',
49
49
  'EndpointSecondaryArgs',
50
50
  'EndpointSecondaryArgsDict',
51
+ 'EventBusPolicyConditionArgs',
52
+ 'EventBusPolicyConditionArgsDict',
51
53
  'InvocationConnectivityParametersPropertiesArgs',
52
54
  'InvocationConnectivityParametersPropertiesArgsDict',
53
55
  'LogConfigPropertiesArgs',
@@ -921,6 +923,82 @@ class EndpointSecondaryArgs:
921
923
  pulumi.set(self, "route", value)
922
924
 
923
925
 
926
+ if not MYPY:
927
+ class EventBusPolicyConditionArgsDict(TypedDict):
928
+ """
929
+ This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.
930
+ """
931
+ key: NotRequired[pulumi.Input[_builtins.str]]
932
+ """
933
+ Specifies the value for the key. Currently, this must be the ID of the organization.
934
+ """
935
+ type: NotRequired[pulumi.Input[_builtins.str]]
936
+ """
937
+ Specifies the type of condition. Currently the only supported value is StringEquals.
938
+ """
939
+ value: NotRequired[pulumi.Input[_builtins.str]]
940
+ """
941
+ Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
942
+ """
943
+ elif False:
944
+ EventBusPolicyConditionArgsDict: TypeAlias = Mapping[str, Any]
945
+
946
+ @pulumi.input_type
947
+ class EventBusPolicyConditionArgs:
948
+ def __init__(__self__, *,
949
+ key: Optional[pulumi.Input[_builtins.str]] = None,
950
+ type: Optional[pulumi.Input[_builtins.str]] = None,
951
+ value: Optional[pulumi.Input[_builtins.str]] = None):
952
+ """
953
+ This parameter enables you to limit the permission to accounts that fulfill a certain condition, such as being a member of a certain AWS organization.
954
+ :param pulumi.Input[_builtins.str] key: Specifies the value for the key. Currently, this must be the ID of the organization.
955
+ :param pulumi.Input[_builtins.str] type: Specifies the type of condition. Currently the only supported value is StringEquals.
956
+ :param pulumi.Input[_builtins.str] value: Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
957
+ """
958
+ if key is not None:
959
+ pulumi.set(__self__, "key", key)
960
+ if type is not None:
961
+ pulumi.set(__self__, "type", type)
962
+ if value is not None:
963
+ pulumi.set(__self__, "value", value)
964
+
965
+ @_builtins.property
966
+ @pulumi.getter
967
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
968
+ """
969
+ Specifies the value for the key. Currently, this must be the ID of the organization.
970
+ """
971
+ return pulumi.get(self, "key")
972
+
973
+ @key.setter
974
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
975
+ pulumi.set(self, "key", value)
976
+
977
+ @_builtins.property
978
+ @pulumi.getter
979
+ def type(self) -> Optional[pulumi.Input[_builtins.str]]:
980
+ """
981
+ Specifies the type of condition. Currently the only supported value is StringEquals.
982
+ """
983
+ return pulumi.get(self, "type")
984
+
985
+ @type.setter
986
+ def type(self, value: Optional[pulumi.Input[_builtins.str]]):
987
+ pulumi.set(self, "type", value)
988
+
989
+ @_builtins.property
990
+ @pulumi.getter
991
+ def value(self) -> Optional[pulumi.Input[_builtins.str]]:
992
+ """
993
+ Specifies the key for the condition. Currently the only supported key is aws:PrincipalOrgID.
994
+ """
995
+ return pulumi.get(self, "value")
996
+
997
+ @value.setter
998
+ def value(self, value: Optional[pulumi.Input[_builtins.str]]):
999
+ pulumi.set(self, "value", value)
1000
+
1001
+
924
1002
  if not MYPY:
925
1003
  class InvocationConnectivityParametersPropertiesArgsDict(TypedDict):
926
1004
  """