aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 (78) hide show
  1. aws_cdk/__init__.py +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -89,7 +89,12 @@ on_commit_rule.add_target(targets.SnsTopic(topic,
89
89
  ))
90
90
  ```
91
91
 
92
- To define a pattern, use the matcher API, which provides a number of factory methods to declare different logical predicates. For example, to match all S3 events for objects larger than 1024 bytes, stored using one of the storage classes Glacier, Glacier IR or Deep Archive and coming from any region other than the AWS GovCloud ones:
92
+ ### Matchers
93
+
94
+ To define a pattern, use the `Match` class, which provides a number of factory methods to declare
95
+ different logical predicates. For example, to match all S3 events for objects larger than 1024
96
+ bytes, stored using one of the storage classes Glacier, Glacier IR or Deep Archive and coming from
97
+ any region other than the AWS GovCloud ones:
93
98
 
94
99
  ```python
95
100
  rule = events.Rule(self, "rule",
@@ -105,7 +110,6 @@ rule = events.Rule(self, "rule",
105
110
  events.Match.prefix("GLACIER"),
106
111
  events.Match.exact_string("DEEP_ARCHIVE"))
107
112
  },
108
- detail_type=events.Match.equals_ignore_case("object created"),
109
113
 
110
114
  # If you prefer, you can use a low level array of strings, as directly consumed by EventBridge
111
115
  source=["aws.s3"],
@@ -115,6 +119,52 @@ rule = events.Rule(self, "rule",
115
119
  )
116
120
  ```
117
121
 
122
+ Matches can also be made case-insensitive, or make use of wildcard matches. For example, to match
123
+ object create events for buckets whose name starts with `raw-`, for objects with key matching
124
+ the pattern `path/to/object/*.txt` and the requester ends with `.AMAZONAWS.COM`:
125
+
126
+ ```python
127
+ rule = events.Rule(self, "rule",
128
+ event_pattern=events.EventPattern(
129
+ detail={
130
+ "bucket": {
131
+ "name": events.Match.prefix_equals_ignore_case("raw-")
132
+ },
133
+
134
+ "object": {
135
+ "key": events.Match.wildcard("path/to/object/*.txt")
136
+ },
137
+
138
+ "requester": events.Match.suffix_equals_ignore_case(".AMAZONAWS.COM")
139
+ },
140
+ detail_type=events.Match.equals_ignore_case("object created")
141
+ )
142
+ )
143
+ ```
144
+
145
+ The "anything but" matchers allow you to specify multiple arguments. For example:
146
+
147
+ ```python
148
+ rule = events.Rule(self, "rule",
149
+ event_pattern=events.EventPattern(
150
+ region=events.Match.anything_but("us-east-1", "us-east-2", "us-west-1", "us-west-2"),
151
+
152
+ detail={
153
+ "bucket": {
154
+ "name": events.Match.anything_but_prefix("foo", "bar", "baz")
155
+ },
156
+
157
+ "object": {
158
+ "key": events.Match.anything_but_suffix(".gif", ".png", ".jpg")
159
+ },
160
+
161
+ "requester": events.Match.anything_but_wildcard("*.amazonaws.com", "123456789012")
162
+ },
163
+ detail_type=events.Match.anything_but_equals_ignore_case("object created", "object deleted")
164
+ )
165
+ )
166
+ ```
167
+
118
168
  ## Scheduling
119
169
 
120
170
  You can configure a Rule to run on a schedule (cron or rate).
@@ -1526,6 +1576,8 @@ class CfnConnection(
1526
1576
 
1527
1577
  A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.
1528
1578
 
1579
+ For more information, see `Connections for endpoint targets <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-target-connection.html>`_ in the *Amazon EventBridge User Guide* .
1580
+
1529
1581
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html
1530
1582
  :cloudformationResource: AWS::Events::Connection
1531
1583
  :exampleMetadata: fixture=_generated
@@ -1547,6 +1599,14 @@ class CfnConnection(
1547
1599
  password="password",
1548
1600
  username="username"
1549
1601
  ),
1602
+ connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
1603
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
1604
+ resource_configuration_arn="resourceConfigurationArn",
1605
+
1606
+ # the properties below are optional
1607
+ resource_association_arn="resourceAssociationArn"
1608
+ )
1609
+ ),
1550
1610
  invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
1551
1611
  body_parameters=[events.CfnConnection.ParameterProperty(
1552
1612
  key="key",
@@ -1605,6 +1665,14 @@ class CfnConnection(
1605
1665
  )
1606
1666
  ),
1607
1667
  description="description",
1668
+ invocation_connectivity_parameters=events.CfnConnection.InvocationConnectivityParametersProperty(
1669
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
1670
+ resource_configuration_arn="resourceConfigurationArn",
1671
+
1672
+ # the properties below are optional
1673
+ resource_association_arn="resourceAssociationArn"
1674
+ )
1675
+ ),
1608
1676
  name="name"
1609
1677
  )
1610
1678
  '''
@@ -1617,14 +1685,16 @@ class CfnConnection(
1617
1685
  authorization_type: typing.Optional[builtins.str] = None,
1618
1686
  auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1619
1687
  description: typing.Optional[builtins.str] = None,
1688
+ invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.InvocationConnectivityParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1620
1689
  name: typing.Optional[builtins.str] = None,
1621
1690
  ) -> None:
1622
1691
  '''
1623
1692
  :param scope: Scope in which this resource is defined.
1624
1693
  :param id: Construct identifier for this resource (unique in its scope).
1625
1694
  :param authorization_type: The type of authorization to use for the connection. .. epigraph:: OAUTH tokens are refreshed when a 401 or 407 response is returned.
1626
- :param auth_parameters: A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
1695
+ :param auth_parameters: The authorization parameters to use to authorize with the endpoint. You must include only authorization parameters for the ``AuthorizationType`` you specify.
1627
1696
  :param description: A description for the connection to create.
1697
+ :param invocation_connectivity_parameters: The private resource the HTTP request will be sent to.
1628
1698
  :param name: The name for the connection to create.
1629
1699
  '''
1630
1700
  if __debug__:
@@ -1635,6 +1705,7 @@ class CfnConnection(
1635
1705
  authorization_type=authorization_type,
1636
1706
  auth_parameters=auth_parameters,
1637
1707
  description=description,
1708
+ invocation_connectivity_parameters=invocation_connectivity_parameters,
1638
1709
  name=name,
1639
1710
  )
1640
1711
 
@@ -1679,6 +1750,32 @@ class CfnConnection(
1679
1750
  '''
1680
1751
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
1681
1752
 
1753
+ @builtins.property
1754
+ @jsii.member(jsii_name="attrAuthParametersConnectivityParametersResourceParametersResourceAssociationArn")
1755
+ def attr_auth_parameters_connectivity_parameters_resource_parameters_resource_association_arn(
1756
+ self,
1757
+ ) -> builtins.str:
1758
+ '''For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration.
1759
+
1760
+ For more information, see `Managing service network resource associations for connections <https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html#connection-private-snra>`_ in the **Amazon EventBridge User Guide** .
1761
+
1762
+ :cloudformationAttribute: AuthParameters.ConnectivityParameters.ResourceParameters.ResourceAssociationArn
1763
+ '''
1764
+ return typing.cast(builtins.str, jsii.get(self, "attrAuthParametersConnectivityParametersResourceParametersResourceAssociationArn"))
1765
+
1766
+ @builtins.property
1767
+ @jsii.member(jsii_name="attrInvocationConnectivityParametersResourceParametersResourceAssociationArn")
1768
+ def attr_invocation_connectivity_parameters_resource_parameters_resource_association_arn(
1769
+ self,
1770
+ ) -> builtins.str:
1771
+ '''For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration.
1772
+
1773
+ For more information, see `Managing service network resource associations for connections <https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html#connection-private-snra>`_ in the **Amazon EventBridge User Guide** .
1774
+
1775
+ :cloudformationAttribute: InvocationConnectivityParameters.ResourceParameters.ResourceAssociationArn
1776
+ '''
1777
+ return typing.cast(builtins.str, jsii.get(self, "attrInvocationConnectivityParametersResourceParametersResourceAssociationArn"))
1778
+
1682
1779
  @builtins.property
1683
1780
  @jsii.member(jsii_name="attrSecretArn")
1684
1781
  def attr_secret_arn(self) -> builtins.str:
@@ -1711,7 +1808,7 @@ class CfnConnection(
1711
1808
  def auth_parameters(
1712
1809
  self,
1713
1810
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]]:
1714
- '''A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.'''
1811
+ '''The authorization parameters to use to authorize with the endpoint.'''
1715
1812
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.AuthParametersProperty"]], jsii.get(self, "authParameters"))
1716
1813
 
1717
1814
  @auth_parameters.setter
@@ -1737,6 +1834,24 @@ class CfnConnection(
1737
1834
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1738
1835
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
1739
1836
 
1837
+ @builtins.property
1838
+ @jsii.member(jsii_name="invocationConnectivityParameters")
1839
+ def invocation_connectivity_parameters(
1840
+ self,
1841
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]]:
1842
+ '''The private resource the HTTP request will be sent to.'''
1843
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]], jsii.get(self, "invocationConnectivityParameters"))
1844
+
1845
+ @invocation_connectivity_parameters.setter
1846
+ def invocation_connectivity_parameters(
1847
+ self,
1848
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]],
1849
+ ) -> None:
1850
+ if __debug__:
1851
+ type_hints = typing.get_type_hints(_typecheckingstub__81977d37ca8e880d59a06a5f2212ea535fd65a2615c824916ce07bd93b7898c6)
1852
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1853
+ jsii.set(self, "invocationConnectivityParameters", value) # pyright: ignore[reportArgumentType]
1854
+
1740
1855
  @builtins.property
1741
1856
  @jsii.member(jsii_name="name")
1742
1857
  def name(self) -> typing.Optional[builtins.str]:
@@ -1762,7 +1877,7 @@ class CfnConnection(
1762
1877
  api_key_name: builtins.str,
1763
1878
  api_key_value: builtins.str,
1764
1879
  ) -> None:
1765
- '''Contains the API key authorization parameters for the connection.
1880
+ '''The API key authorization parameters for the connection.
1766
1881
 
1767
1882
  :param api_key_name: The name of the API key to use for authorization.
1768
1883
  :param api_key_value: The value for the API key to use for authorization.
@@ -1827,6 +1942,7 @@ class CfnConnection(
1827
1942
  name_mapping={
1828
1943
  "api_key_auth_parameters": "apiKeyAuthParameters",
1829
1944
  "basic_auth_parameters": "basicAuthParameters",
1945
+ "connectivity_parameters": "connectivityParameters",
1830
1946
  "invocation_http_parameters": "invocationHttpParameters",
1831
1947
  "o_auth_parameters": "oAuthParameters",
1832
1948
  },
@@ -1837,13 +1953,15 @@ class CfnConnection(
1837
1953
  *,
1838
1954
  api_key_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ApiKeyAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1839
1955
  basic_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.BasicAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1956
+ connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ConnectivityParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1840
1957
  invocation_http_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ConnectionHttpParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1841
1958
  o_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.OAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1842
1959
  ) -> None:
1843
- '''Contains the authorization parameters to use for the connection.
1960
+ '''Tthe authorization parameters to use for the connection.
1844
1961
 
1845
1962
  :param api_key_auth_parameters: The API Key parameters to use for authorization.
1846
1963
  :param basic_auth_parameters: The authorization parameters for Basic authorization.
1964
+ :param connectivity_parameters:
1847
1965
  :param invocation_http_parameters: Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
1848
1966
  :param o_auth_parameters: The OAuth parameters to use for authorization.
1849
1967
 
@@ -1865,6 +1983,14 @@ class CfnConnection(
1865
1983
  password="password",
1866
1984
  username="username"
1867
1985
  ),
1986
+ connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
1987
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
1988
+ resource_configuration_arn="resourceConfigurationArn",
1989
+
1990
+ # the properties below are optional
1991
+ resource_association_arn="resourceAssociationArn"
1992
+ )
1993
+ ),
1868
1994
  invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
1869
1995
  body_parameters=[events.CfnConnection.ParameterProperty(
1870
1996
  key="key",
@@ -1927,6 +2053,7 @@ class CfnConnection(
1927
2053
  type_hints = typing.get_type_hints(_typecheckingstub__275274c5764ab04c0351742be5fa771325f59e577af1fd2bd8c5306778231c93)
1928
2054
  check_type(argname="argument api_key_auth_parameters", value=api_key_auth_parameters, expected_type=type_hints["api_key_auth_parameters"])
1929
2055
  check_type(argname="argument basic_auth_parameters", value=basic_auth_parameters, expected_type=type_hints["basic_auth_parameters"])
2056
+ check_type(argname="argument connectivity_parameters", value=connectivity_parameters, expected_type=type_hints["connectivity_parameters"])
1930
2057
  check_type(argname="argument invocation_http_parameters", value=invocation_http_parameters, expected_type=type_hints["invocation_http_parameters"])
1931
2058
  check_type(argname="argument o_auth_parameters", value=o_auth_parameters, expected_type=type_hints["o_auth_parameters"])
1932
2059
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -1934,6 +2061,8 @@ class CfnConnection(
1934
2061
  self._values["api_key_auth_parameters"] = api_key_auth_parameters
1935
2062
  if basic_auth_parameters is not None:
1936
2063
  self._values["basic_auth_parameters"] = basic_auth_parameters
2064
+ if connectivity_parameters is not None:
2065
+ self._values["connectivity_parameters"] = connectivity_parameters
1937
2066
  if invocation_http_parameters is not None:
1938
2067
  self._values["invocation_http_parameters"] = invocation_http_parameters
1939
2068
  if o_auth_parameters is not None:
@@ -1961,6 +2090,16 @@ class CfnConnection(
1961
2090
  result = self._values.get("basic_auth_parameters")
1962
2091
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.BasicAuthParametersProperty"]], result)
1963
2092
 
2093
+ @builtins.property
2094
+ def connectivity_parameters(
2095
+ self,
2096
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectivityParametersProperty"]]:
2097
+ '''
2098
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-connectivityparameters
2099
+ '''
2100
+ result = self._values.get("connectivity_parameters")
2101
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectivityParametersProperty"]], result)
2102
+
1964
2103
  @builtins.property
1965
2104
  def invocation_http_parameters(
1966
2105
  self,
@@ -2001,7 +2140,7 @@ class CfnConnection(
2001
2140
  )
2002
2141
  class BasicAuthParametersProperty:
2003
2142
  def __init__(self, *, password: builtins.str, username: builtins.str) -> None:
2004
- '''Contains the Basic authorization parameters for the connection.
2143
+ '''The Basic authorization parameters for the connection.
2005
2144
 
2006
2145
  :param password: The password associated with the user name to use for Basic authorization.
2007
2146
  :param username: The user name to use for Basic authorization.
@@ -2072,7 +2211,7 @@ class CfnConnection(
2072
2211
  client_id: builtins.str,
2073
2212
  client_secret: builtins.str,
2074
2213
  ) -> None:
2075
- '''Contains the OAuth authorization parameters to use for the connection.
2214
+ '''The OAuth authorization parameters to use for the connection.
2076
2215
 
2077
2216
  :param client_id: The client ID to use for OAuth authorization.
2078
2217
  :param client_secret: The client secret assciated with the client ID to use for OAuth authorization.
@@ -2148,11 +2287,11 @@ class CfnConnection(
2148
2287
  header_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2149
2288
  query_string_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ParameterProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
2150
2289
  ) -> None:
2151
- '''Contains additional parameters for the connection.
2290
+ '''Any additional parameters for the connection.
2152
2291
 
2153
- :param body_parameters: Contains additional body string parameters for the connection.
2154
- :param header_parameters: Contains additional header parameters for the connection.
2155
- :param query_string_parameters: Contains additional query string parameters for the connection.
2292
+ :param body_parameters: Any additional body string parameters for the connection.
2293
+ :param header_parameters: Any additional header parameters for the connection.
2294
+ :param query_string_parameters: Any additional query string parameters for the connection.
2156
2295
 
2157
2296
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html
2158
2297
  :exampleMetadata: fixture=_generated
@@ -2204,7 +2343,7 @@ class CfnConnection(
2204
2343
  def body_parameters(
2205
2344
  self,
2206
2345
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConnection.ParameterProperty"]]]]:
2207
- '''Contains additional body string parameters for the connection.
2346
+ '''Any additional body string parameters for the connection.
2208
2347
 
2209
2348
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-bodyparameters
2210
2349
  '''
@@ -2215,7 +2354,7 @@ class CfnConnection(
2215
2354
  def header_parameters(
2216
2355
  self,
2217
2356
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConnection.ParameterProperty"]]]]:
2218
- '''Contains additional header parameters for the connection.
2357
+ '''Any additional header parameters for the connection.
2219
2358
 
2220
2359
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-headerparameters
2221
2360
  '''
@@ -2226,7 +2365,7 @@ class CfnConnection(
2226
2365
  def query_string_parameters(
2227
2366
  self,
2228
2367
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnConnection.ParameterProperty"]]]]:
2229
- '''Contains additional query string parameters for the connection.
2368
+ '''Any additional query string parameters for the connection.
2230
2369
 
2231
2370
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectionhttpparameters.html#cfn-events-connection-connectionhttpparameters-querystringparameters
2232
2371
  '''
@@ -2244,6 +2383,129 @@ class CfnConnection(
2244
2383
  k + "=" + repr(v) for k, v in self._values.items()
2245
2384
  )
2246
2385
 
2386
+ @jsii.data_type(
2387
+ jsii_type="aws-cdk-lib.aws_events.CfnConnection.ConnectivityParametersProperty",
2388
+ jsii_struct_bases=[],
2389
+ name_mapping={"resource_parameters": "resourceParameters"},
2390
+ )
2391
+ class ConnectivityParametersProperty:
2392
+ def __init__(
2393
+ self,
2394
+ *,
2395
+ resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ResourceParametersProperty", typing.Dict[builtins.str, typing.Any]]],
2396
+ ) -> None:
2397
+ '''
2398
+ :param resource_parameters:
2399
+
2400
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html
2401
+ :exampleMetadata: fixture=_generated
2402
+
2403
+ Example::
2404
+
2405
+ # The code below shows an example of how to instantiate this type.
2406
+ # The values are placeholders you should change.
2407
+ from aws_cdk import aws_events as events
2408
+
2409
+ connectivity_parameters_property = events.CfnConnection.ConnectivityParametersProperty(
2410
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
2411
+ resource_configuration_arn="resourceConfigurationArn",
2412
+
2413
+ # the properties below are optional
2414
+ resource_association_arn="resourceAssociationArn"
2415
+ )
2416
+ )
2417
+ '''
2418
+ if __debug__:
2419
+ type_hints = typing.get_type_hints(_typecheckingstub__33c7d626f351801c0e5c2a06bd389d7558efdda62a9c5e57e56c95f7346a6705)
2420
+ check_type(argname="argument resource_parameters", value=resource_parameters, expected_type=type_hints["resource_parameters"])
2421
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2422
+ "resource_parameters": resource_parameters,
2423
+ }
2424
+
2425
+ @builtins.property
2426
+ def resource_parameters(
2427
+ self,
2428
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"]:
2429
+ '''
2430
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html#cfn-events-connection-connectivityparameters-resourceparameters
2431
+ '''
2432
+ result = self._values.get("resource_parameters")
2433
+ assert result is not None, "Required property 'resource_parameters' is missing"
2434
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"], result)
2435
+
2436
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2437
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2438
+
2439
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2440
+ return not (rhs == self)
2441
+
2442
+ def __repr__(self) -> str:
2443
+ return "ConnectivityParametersProperty(%s)" % ", ".join(
2444
+ k + "=" + repr(v) for k, v in self._values.items()
2445
+ )
2446
+
2447
+ @jsii.data_type(
2448
+ jsii_type="aws-cdk-lib.aws_events.CfnConnection.InvocationConnectivityParametersProperty",
2449
+ jsii_struct_bases=[],
2450
+ name_mapping={"resource_parameters": "resourceParameters"},
2451
+ )
2452
+ class InvocationConnectivityParametersProperty:
2453
+ def __init__(
2454
+ self,
2455
+ *,
2456
+ resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ResourceParametersProperty", typing.Dict[builtins.str, typing.Any]]],
2457
+ ) -> None:
2458
+ '''The private resource the HTTP request will be sent to.
2459
+
2460
+ :param resource_parameters:
2461
+
2462
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html
2463
+ :exampleMetadata: fixture=_generated
2464
+
2465
+ Example::
2466
+
2467
+ # The code below shows an example of how to instantiate this type.
2468
+ # The values are placeholders you should change.
2469
+ from aws_cdk import aws_events as events
2470
+
2471
+ invocation_connectivity_parameters_property = events.CfnConnection.InvocationConnectivityParametersProperty(
2472
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
2473
+ resource_configuration_arn="resourceConfigurationArn",
2474
+
2475
+ # the properties below are optional
2476
+ resource_association_arn="resourceAssociationArn"
2477
+ )
2478
+ )
2479
+ '''
2480
+ if __debug__:
2481
+ type_hints = typing.get_type_hints(_typecheckingstub__324fa6a8fead2e11e8b201f6b9228a1d65a475ee71a64e3091b494c74aac5047)
2482
+ check_type(argname="argument resource_parameters", value=resource_parameters, expected_type=type_hints["resource_parameters"])
2483
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2484
+ "resource_parameters": resource_parameters,
2485
+ }
2486
+
2487
+ @builtins.property
2488
+ def resource_parameters(
2489
+ self,
2490
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"]:
2491
+ '''
2492
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html#cfn-events-connection-invocationconnectivityparameters-resourceparameters
2493
+ '''
2494
+ result = self._values.get("resource_parameters")
2495
+ assert result is not None, "Required property 'resource_parameters' is missing"
2496
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"], result)
2497
+
2498
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2499
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2500
+
2501
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2502
+ return not (rhs == self)
2503
+
2504
+ def __repr__(self) -> str:
2505
+ return "InvocationConnectivityParametersProperty(%s)" % ", ".join(
2506
+ k + "=" + repr(v) for k, v in self._values.items()
2507
+ )
2508
+
2247
2509
  @jsii.data_type(
2248
2510
  jsii_type="aws-cdk-lib.aws_events.CfnConnection.OAuthParametersProperty",
2249
2511
  jsii_struct_bases=[],
@@ -2266,9 +2528,9 @@ class CfnConnection(
2266
2528
  '''Contains the OAuth authorization parameters to use for the connection.
2267
2529
 
2268
2530
  :param authorization_endpoint: The URL to the authorization endpoint when OAuth is specified as the authorization type.
2269
- :param client_parameters: A ``CreateConnectionOAuthClientRequestParameters`` object that contains the client parameters for OAuth authorization.
2531
+ :param client_parameters: The client parameters for OAuth authorization.
2270
2532
  :param http_method: The method to use for the authorization request.
2271
- :param o_auth_http_parameters: A ``ConnectionHttpParameters`` object that contains details about the additional parameters to use for the connection.
2533
+ :param o_auth_http_parameters: Details about the additional parameters to use for the connection.
2272
2534
 
2273
2535
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html
2274
2536
  :exampleMetadata: fixture=_generated
@@ -2341,7 +2603,7 @@ class CfnConnection(
2341
2603
  def client_parameters(
2342
2604
  self,
2343
2605
  ) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.ClientParametersProperty"]:
2344
- '''A ``CreateConnectionOAuthClientRequestParameters`` object that contains the client parameters for OAuth authorization.
2606
+ '''The client parameters for OAuth authorization.
2345
2607
 
2346
2608
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-clientparameters
2347
2609
  '''
@@ -2363,7 +2625,7 @@ class CfnConnection(
2363
2625
  def o_auth_http_parameters(
2364
2626
  self,
2365
2627
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectionHttpParametersProperty"]]:
2366
- '''A ``ConnectionHttpParameters`` object that contains details about the additional parameters to use for the connection.
2628
+ '''Details about the additional parameters to use for the connection.
2367
2629
 
2368
2630
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-oauthparameters.html#cfn-events-connection-oauthparameters-oauthhttpparameters
2369
2631
  '''
@@ -2398,7 +2660,7 @@ class CfnConnection(
2398
2660
  value: builtins.str,
2399
2661
  is_value_secret: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2400
2662
  ) -> None:
2401
- '''Additional query string parameter for the connection.
2663
+ '''Any additional query string parameter for the connection.
2402
2664
 
2403
2665
  You can include up to 100 additional query string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB.
2404
2666
 
@@ -2479,6 +2741,82 @@ class CfnConnection(
2479
2741
  k + "=" + repr(v) for k, v in self._values.items()
2480
2742
  )
2481
2743
 
2744
+ @jsii.data_type(
2745
+ jsii_type="aws-cdk-lib.aws_events.CfnConnection.ResourceParametersProperty",
2746
+ jsii_struct_bases=[],
2747
+ name_mapping={
2748
+ "resource_configuration_arn": "resourceConfigurationArn",
2749
+ "resource_association_arn": "resourceAssociationArn",
2750
+ },
2751
+ )
2752
+ class ResourceParametersProperty:
2753
+ def __init__(
2754
+ self,
2755
+ *,
2756
+ resource_configuration_arn: builtins.str,
2757
+ resource_association_arn: typing.Optional[builtins.str] = None,
2758
+ ) -> None:
2759
+ '''
2760
+ :param resource_configuration_arn:
2761
+ :param resource_association_arn: For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration. For more information, see `Managing service network resource associations for connections <https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html#connection-private-snra>`_ in the **Amazon EventBridge User Guide** .
2762
+
2763
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html
2764
+ :exampleMetadata: fixture=_generated
2765
+
2766
+ Example::
2767
+
2768
+ # The code below shows an example of how to instantiate this type.
2769
+ # The values are placeholders you should change.
2770
+ from aws_cdk import aws_events as events
2771
+
2772
+ resource_parameters_property = events.CfnConnection.ResourceParametersProperty(
2773
+ resource_configuration_arn="resourceConfigurationArn",
2774
+
2775
+ # the properties below are optional
2776
+ resource_association_arn="resourceAssociationArn"
2777
+ )
2778
+ '''
2779
+ if __debug__:
2780
+ type_hints = typing.get_type_hints(_typecheckingstub__143ae1a5978f064d9c3d0cf9135ec11575d46a15edec3f754457cec0c4db31bf)
2781
+ check_type(argname="argument resource_configuration_arn", value=resource_configuration_arn, expected_type=type_hints["resource_configuration_arn"])
2782
+ check_type(argname="argument resource_association_arn", value=resource_association_arn, expected_type=type_hints["resource_association_arn"])
2783
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2784
+ "resource_configuration_arn": resource_configuration_arn,
2785
+ }
2786
+ if resource_association_arn is not None:
2787
+ self._values["resource_association_arn"] = resource_association_arn
2788
+
2789
+ @builtins.property
2790
+ def resource_configuration_arn(self) -> builtins.str:
2791
+ '''
2792
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceconfigurationarn
2793
+ '''
2794
+ result = self._values.get("resource_configuration_arn")
2795
+ assert result is not None, "Required property 'resource_configuration_arn' is missing"
2796
+ return typing.cast(builtins.str, result)
2797
+
2798
+ @builtins.property
2799
+ def resource_association_arn(self) -> typing.Optional[builtins.str]:
2800
+ '''For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration.
2801
+
2802
+ For more information, see `Managing service network resource associations for connections <https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html#connection-private-snra>`_ in the **Amazon EventBridge User Guide** .
2803
+
2804
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceassociationarn
2805
+ '''
2806
+ result = self._values.get("resource_association_arn")
2807
+ return typing.cast(typing.Optional[builtins.str], result)
2808
+
2809
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2810
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2811
+
2812
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2813
+ return not (rhs == self)
2814
+
2815
+ def __repr__(self) -> str:
2816
+ return "ResourceParametersProperty(%s)" % ", ".join(
2817
+ k + "=" + repr(v) for k, v in self._values.items()
2818
+ )
2819
+
2482
2820
 
2483
2821
  @jsii.data_type(
2484
2822
  jsii_type="aws-cdk-lib.aws_events.CfnConnectionProps",
@@ -2487,6 +2825,7 @@ class CfnConnection(
2487
2825
  "authorization_type": "authorizationType",
2488
2826
  "auth_parameters": "authParameters",
2489
2827
  "description": "description",
2828
+ "invocation_connectivity_parameters": "invocationConnectivityParameters",
2490
2829
  "name": "name",
2491
2830
  },
2492
2831
  )
@@ -2497,13 +2836,15 @@ class CfnConnectionProps:
2497
2836
  authorization_type: typing.Optional[builtins.str] = None,
2498
2837
  auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2499
2838
  description: typing.Optional[builtins.str] = None,
2839
+ invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
2500
2840
  name: typing.Optional[builtins.str] = None,
2501
2841
  ) -> None:
2502
2842
  '''Properties for defining a ``CfnConnection``.
2503
2843
 
2504
2844
  :param authorization_type: The type of authorization to use for the connection. .. epigraph:: OAUTH tokens are refreshed when a 401 or 407 response is returned.
2505
- :param auth_parameters: A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
2845
+ :param auth_parameters: The authorization parameters to use to authorize with the endpoint. You must include only authorization parameters for the ``AuthorizationType`` you specify.
2506
2846
  :param description: A description for the connection to create.
2847
+ :param invocation_connectivity_parameters: The private resource the HTTP request will be sent to.
2507
2848
  :param name: The name for the connection to create.
2508
2849
 
2509
2850
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html
@@ -2526,6 +2867,14 @@ class CfnConnectionProps:
2526
2867
  password="password",
2527
2868
  username="username"
2528
2869
  ),
2870
+ connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
2871
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
2872
+ resource_configuration_arn="resourceConfigurationArn",
2873
+
2874
+ # the properties below are optional
2875
+ resource_association_arn="resourceAssociationArn"
2876
+ )
2877
+ ),
2529
2878
  invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
2530
2879
  body_parameters=[events.CfnConnection.ParameterProperty(
2531
2880
  key="key",
@@ -2584,6 +2933,14 @@ class CfnConnectionProps:
2584
2933
  )
2585
2934
  ),
2586
2935
  description="description",
2936
+ invocation_connectivity_parameters=events.CfnConnection.InvocationConnectivityParametersProperty(
2937
+ resource_parameters=events.CfnConnection.ResourceParametersProperty(
2938
+ resource_configuration_arn="resourceConfigurationArn",
2939
+
2940
+ # the properties below are optional
2941
+ resource_association_arn="resourceAssociationArn"
2942
+ )
2943
+ ),
2587
2944
  name="name"
2588
2945
  )
2589
2946
  '''
@@ -2592,6 +2949,7 @@ class CfnConnectionProps:
2592
2949
  check_type(argname="argument authorization_type", value=authorization_type, expected_type=type_hints["authorization_type"])
2593
2950
  check_type(argname="argument auth_parameters", value=auth_parameters, expected_type=type_hints["auth_parameters"])
2594
2951
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
2952
+ check_type(argname="argument invocation_connectivity_parameters", value=invocation_connectivity_parameters, expected_type=type_hints["invocation_connectivity_parameters"])
2595
2953
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
2596
2954
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2597
2955
  if authorization_type is not None:
@@ -2600,6 +2958,8 @@ class CfnConnectionProps:
2600
2958
  self._values["auth_parameters"] = auth_parameters
2601
2959
  if description is not None:
2602
2960
  self._values["description"] = description
2961
+ if invocation_connectivity_parameters is not None:
2962
+ self._values["invocation_connectivity_parameters"] = invocation_connectivity_parameters
2603
2963
  if name is not None:
2604
2964
  self._values["name"] = name
2605
2965
 
@@ -2620,7 +2980,9 @@ class CfnConnectionProps:
2620
2980
  def auth_parameters(
2621
2981
  self,
2622
2982
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.AuthParametersProperty]]:
2623
- '''A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
2983
+ '''The authorization parameters to use to authorize with the endpoint.
2984
+
2985
+ You must include only authorization parameters for the ``AuthorizationType`` you specify.
2624
2986
 
2625
2987
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-authparameters
2626
2988
  '''
@@ -2636,6 +2998,17 @@ class CfnConnectionProps:
2636
2998
  result = self._values.get("description")
2637
2999
  return typing.cast(typing.Optional[builtins.str], result)
2638
3000
 
3001
+ @builtins.property
3002
+ def invocation_connectivity_parameters(
3003
+ self,
3004
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]]:
3005
+ '''The private resource the HTTP request will be sent to.
3006
+
3007
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-invocationconnectivityparameters
3008
+ '''
3009
+ result = self._values.get("invocation_connectivity_parameters")
3010
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]], result)
3011
+
2639
3012
  @builtins.property
2640
3013
  def name(self) -> typing.Optional[builtins.str]:
2641
3014
  '''The name for the connection to create.
@@ -6826,7 +7199,7 @@ class CfnRule(
6826
7199
  :param input_transformer: Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target.
6827
7200
  :param kinesis_parameters: The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream. If you do not include this parameter, the default is to use the ``eventId`` as the partition key.
6828
7201
  :param redshift_data_parameters: Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift cluster. If you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.
6829
- :param retry_policy: The ``RetryPolicy`` object that contains the retry policy configuration to use for the dead-letter queue.
7202
+ :param retry_policy: The retry policy configuration to use for the dead-letter queue.
6830
7203
  :param role_arn: The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target.
6831
7204
  :param run_command_parameters: Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
6832
7205
  :param sage_maker_pipeline_parameters: Contains the SageMaker Model Building Pipeline parameters to start execution of a SageMaker Model Building Pipeline. If you specify a SageMaker Model Building Pipeline as a target, you can use this to specify parameters to start a pipeline execution based on EventBridge events.
@@ -7162,7 +7535,7 @@ class CfnRule(
7162
7535
  def retry_policy(
7163
7536
  self,
7164
7537
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnRule.RetryPolicyProperty"]]:
7165
- '''The ``RetryPolicy`` object that contains the retry policy configuration to use for the dead-letter queue.
7538
+ '''The retry policy configuration to use for the dead-letter queue.
7166
7539
 
7167
7540
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-target.html#cfn-events-rule-target-retrypolicy
7168
7541
  '''
@@ -9335,7 +9708,6 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
9335
9708
  events.Match.prefix("GLACIER"),
9336
9709
  events.Match.exact_string("DEEP_ARCHIVE"))
9337
9710
  },
9338
- detail_type=events.Match.equals_ignore_case("object created"),
9339
9711
 
9340
9712
  # If you prefer, you can use a low level array of strings, as directly consumed by EventBridge
9341
9713
  source=["aws.s3"],
@@ -9386,17 +9758,56 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
9386
9758
  check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
9387
9759
  return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingBut", [*values]))
9388
9760
 
9761
+ @jsii.member(jsii_name="anythingButEqualsIgnoreCase")
9762
+ @builtins.classmethod
9763
+ def anything_but_equals_ignore_case(
9764
+ cls,
9765
+ *values: builtins.str,
9766
+ ) -> typing.List[builtins.str]:
9767
+ '''Matches any string that doesn't match with the given value regardless of character casing.
9768
+
9769
+ :param values: -
9770
+ '''
9771
+ if __debug__:
9772
+ type_hints = typing.get_type_hints(_typecheckingstub__87fbd8c11fa07b1a240b0c387448e08fd168224745c50688f5989d8834838ff7)
9773
+ check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
9774
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButEqualsIgnoreCase", [*values]))
9775
+
9389
9776
  @jsii.member(jsii_name="anythingButPrefix")
9390
9777
  @builtins.classmethod
9391
- def anything_but_prefix(cls, prefix: builtins.str) -> typing.List[builtins.str]:
9778
+ def anything_but_prefix(cls, *values: builtins.str) -> typing.List[builtins.str]:
9392
9779
  '''Matches any string that doesn't start with the given prefix.
9393
9780
 
9394
- :param prefix: -
9781
+ :param values: -
9395
9782
  '''
9396
9783
  if __debug__:
9397
9784
  type_hints = typing.get_type_hints(_typecheckingstub__d5f95f896639ff63a2da2110c71261568560a151040067894df2404133cae090)
9398
- check_type(argname="argument prefix", value=prefix, expected_type=type_hints["prefix"])
9399
- return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButPrefix", [prefix]))
9785
+ check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
9786
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButPrefix", [*values]))
9787
+
9788
+ @jsii.member(jsii_name="anythingButSuffix")
9789
+ @builtins.classmethod
9790
+ def anything_but_suffix(cls, *values: builtins.str) -> typing.List[builtins.str]:
9791
+ '''Matches any string that doesn't end with the given suffix.
9792
+
9793
+ :param values: -
9794
+ '''
9795
+ if __debug__:
9796
+ type_hints = typing.get_type_hints(_typecheckingstub__5ad66dfa3c11834aae618ac46c2877fc37f4f61d99a2a50bf7ea7c5c365000b9)
9797
+ check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
9798
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButSuffix", [*values]))
9799
+
9800
+ @jsii.member(jsii_name="anythingButWildcard")
9801
+ @builtins.classmethod
9802
+ def anything_but_wildcard(cls, *values: builtins.str) -> typing.List[builtins.str]:
9803
+ '''Matches any string that doesn't match with the given wildcard pattern.
9804
+
9805
+ :param values: -
9806
+ '''
9807
+ if __debug__:
9808
+ type_hints = typing.get_type_hints(_typecheckingstub__ad0fda65667feadf011538300f534504901c891f913cbff997a1a994f3c29c01)
9809
+ check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
9810
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButWildcard", [*values]))
9400
9811
 
9401
9812
  @jsii.member(jsii_name="cidr")
9402
9813
  @builtins.classmethod
@@ -9558,6 +9969,21 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
9558
9969
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9559
9970
  return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "prefix", [value]))
9560
9971
 
9972
+ @jsii.member(jsii_name="prefixEqualsIgnoreCase")
9973
+ @builtins.classmethod
9974
+ def prefix_equals_ignore_case(
9975
+ cls,
9976
+ value: builtins.str,
9977
+ ) -> typing.List[builtins.str]:
9978
+ '''Matches strings with the given prefix in the JSON of the event regardless of the casing.
9979
+
9980
+ :param value: -
9981
+ '''
9982
+ if __debug__:
9983
+ type_hints = typing.get_type_hints(_typecheckingstub__5d9a63cd71a9cd85ecfb404982d3c5b33a46641bb37679a52809950abee9a9cf)
9984
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9985
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "prefixEqualsIgnoreCase", [value]))
9986
+
9561
9987
  @jsii.member(jsii_name="suffix")
9562
9988
  @builtins.classmethod
9563
9989
  def suffix(cls, value: builtins.str) -> typing.List[builtins.str]:
@@ -9570,6 +9996,33 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
9570
9996
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9571
9997
  return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "suffix", [value]))
9572
9998
 
9999
+ @jsii.member(jsii_name="suffixEqualsIgnoreCase")
10000
+ @builtins.classmethod
10001
+ def suffix_equals_ignore_case(
10002
+ cls,
10003
+ value: builtins.str,
10004
+ ) -> typing.List[builtins.str]:
10005
+ '''Matches strings with the given suffix in the JSON of the event regardless of the casing.
10006
+
10007
+ :param value: -
10008
+ '''
10009
+ if __debug__:
10010
+ type_hints = typing.get_type_hints(_typecheckingstub__b7fc1909f51a6990b36361f9634b6e27f10e6631c28d4b5b841a2b70ad6e01ad)
10011
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10012
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "suffixEqualsIgnoreCase", [value]))
10013
+
10014
+ @jsii.member(jsii_name="wildcard")
10015
+ @builtins.classmethod
10016
+ def wildcard(cls, value: builtins.str) -> typing.List[builtins.str]:
10017
+ '''Matches strings with the given wildcard pattern in the JSON of the event.
10018
+
10019
+ :param value: -
10020
+ '''
10021
+ if __debug__:
10022
+ type_hints = typing.get_type_hints(_typecheckingstub__fa570eda583ad53276d25915a5375d0b0a74cd067558b5802e08a4caada4d8d2)
10023
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10024
+ return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "wildcard", [value]))
10025
+
9573
10026
  @jsii.member(jsii_name="asList")
9574
10027
  def as_list(self) -> typing.List[builtins.str]:
9575
10028
  '''A representation of this matcher as a list of strings.'''
@@ -11935,6 +12388,7 @@ def _typecheckingstub__65bde9b35de094b905dd335652d04503af85c50ac027a006a1d7ec926
11935
12388
  authorization_type: typing.Optional[builtins.str] = None,
11936
12389
  auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11937
12390
  description: typing.Optional[builtins.str] = None,
12391
+ invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11938
12392
  name: typing.Optional[builtins.str] = None,
11939
12393
  ) -> None:
11940
12394
  """Type checking stubs"""
@@ -11970,6 +12424,12 @@ def _typecheckingstub__54690fb07d8735df46ac3a0fbbb08bc7751c169d7f6279762e7c5a75a
11970
12424
  """Type checking stubs"""
11971
12425
  pass
11972
12426
 
12427
+ def _typecheckingstub__81977d37ca8e880d59a06a5f2212ea535fd65a2615c824916ce07bd93b7898c6(
12428
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]],
12429
+ ) -> None:
12430
+ """Type checking stubs"""
12431
+ pass
12432
+
11973
12433
  def _typecheckingstub__d93a7e7bebc6e390076ef7174623c4da1c018543554603bbb442c270a532a536(
11974
12434
  value: typing.Optional[builtins.str],
11975
12435
  ) -> None:
@@ -11988,6 +12448,7 @@ def _typecheckingstub__275274c5764ab04c0351742be5fa771325f59e577af1fd2bd8c530677
11988
12448
  *,
11989
12449
  api_key_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ApiKeyAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11990
12450
  basic_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.BasicAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12451
+ connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11991
12452
  invocation_http_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectionHttpParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11992
12453
  o_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.OAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11993
12454
  ) -> None:
@@ -12019,6 +12480,20 @@ def _typecheckingstub__b9ae8ee23a5317795bd33d0e7fc34a3c5640054e2c0935aae4946e13d
12019
12480
  """Type checking stubs"""
12020
12481
  pass
12021
12482
 
12483
+ def _typecheckingstub__33c7d626f351801c0e5c2a06bd389d7558efdda62a9c5e57e56c95f7346a6705(
12484
+ *,
12485
+ resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ResourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
12486
+ ) -> None:
12487
+ """Type checking stubs"""
12488
+ pass
12489
+
12490
+ def _typecheckingstub__324fa6a8fead2e11e8b201f6b9228a1d65a475ee71a64e3091b494c74aac5047(
12491
+ *,
12492
+ resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ResourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
12493
+ ) -> None:
12494
+ """Type checking stubs"""
12495
+ pass
12496
+
12022
12497
  def _typecheckingstub__ff4894a687d225d2abe4e8f40bbb8da3ca3008e8c5ef15ab97ea71d1c1bdc016(
12023
12498
  *,
12024
12499
  authorization_endpoint: builtins.str,
@@ -12038,11 +12513,20 @@ def _typecheckingstub__8ef124487a6c31dc58a802230e7bf50f962f08be9cde1fb39c45b429d
12038
12513
  """Type checking stubs"""
12039
12514
  pass
12040
12515
 
12516
+ def _typecheckingstub__143ae1a5978f064d9c3d0cf9135ec11575d46a15edec3f754457cec0c4db31bf(
12517
+ *,
12518
+ resource_configuration_arn: builtins.str,
12519
+ resource_association_arn: typing.Optional[builtins.str] = None,
12520
+ ) -> None:
12521
+ """Type checking stubs"""
12522
+ pass
12523
+
12041
12524
  def _typecheckingstub__2b32e6c6e8c1c2772bb604474216b07683c108c349058e240d272750b95ff394(
12042
12525
  *,
12043
12526
  authorization_type: typing.Optional[builtins.str] = None,
12044
12527
  auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12045
12528
  description: typing.Optional[builtins.str] = None,
12529
+ invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12046
12530
  name: typing.Optional[builtins.str] = None,
12047
12531
  ) -> None:
12048
12532
  """Type checking stubs"""
@@ -12804,8 +13288,26 @@ def _typecheckingstub__c03b7fd2dad2208076a4fa00f2b2d3dde00f843ea555467499547d570
12804
13288
  """Type checking stubs"""
12805
13289
  pass
12806
13290
 
13291
+ def _typecheckingstub__87fbd8c11fa07b1a240b0c387448e08fd168224745c50688f5989d8834838ff7(
13292
+ *values: builtins.str,
13293
+ ) -> None:
13294
+ """Type checking stubs"""
13295
+ pass
13296
+
12807
13297
  def _typecheckingstub__d5f95f896639ff63a2da2110c71261568560a151040067894df2404133cae090(
12808
- prefix: builtins.str,
13298
+ *values: builtins.str,
13299
+ ) -> None:
13300
+ """Type checking stubs"""
13301
+ pass
13302
+
13303
+ def _typecheckingstub__5ad66dfa3c11834aae618ac46c2877fc37f4f61d99a2a50bf7ea7c5c365000b9(
13304
+ *values: builtins.str,
13305
+ ) -> None:
13306
+ """Type checking stubs"""
13307
+ pass
13308
+
13309
+ def _typecheckingstub__ad0fda65667feadf011538300f534504901c891f913cbff997a1a994f3c29c01(
13310
+ *values: builtins.str,
12809
13311
  ) -> None:
12810
13312
  """Type checking stubs"""
12811
13313
  pass
@@ -12877,12 +13379,30 @@ def _typecheckingstub__4fec16335087d1463f92a7c3c6f5fc3f285f57f1896b3e5d70621d5bb
12877
13379
  """Type checking stubs"""
12878
13380
  pass
12879
13381
 
13382
+ def _typecheckingstub__5d9a63cd71a9cd85ecfb404982d3c5b33a46641bb37679a52809950abee9a9cf(
13383
+ value: builtins.str,
13384
+ ) -> None:
13385
+ """Type checking stubs"""
13386
+ pass
13387
+
12880
13388
  def _typecheckingstub__d93fd447565d2e2e5ebc3599f70b6ee7e8b45b80fc66472bf6c2e5eed324bdd2(
12881
13389
  value: builtins.str,
12882
13390
  ) -> None:
12883
13391
  """Type checking stubs"""
12884
13392
  pass
12885
13393
 
13394
+ def _typecheckingstub__b7fc1909f51a6990b36361f9634b6e27f10e6631c28d4b5b841a2b70ad6e01ad(
13395
+ value: builtins.str,
13396
+ ) -> None:
13397
+ """Type checking stubs"""
13398
+ pass
13399
+
13400
+ def _typecheckingstub__fa570eda583ad53276d25915a5375d0b0a74cd067558b5802e08a4caada4d8d2(
13401
+ value: builtins.str,
13402
+ ) -> None:
13403
+ """Type checking stubs"""
13404
+ pass
13405
+
12886
13406
  def _typecheckingstub__1504ba1eafa1e778437f72f0fcbc5a411326c68bb5dfdfcf71ebd9c58dc85840(
12887
13407
  context: _IResolveContext_b2df1921,
12888
13408
  ) -> None: