aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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.
- aws_cdk/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -89,7 +89,12 @@ on_commit_rule.add_target(targets.SnsTopic(topic,
|
|
|
89
89
|
))
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
|
|
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).
|
|
@@ -1547,6 +1597,14 @@ class CfnConnection(
|
|
|
1547
1597
|
password="password",
|
|
1548
1598
|
username="username"
|
|
1549
1599
|
),
|
|
1600
|
+
connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
|
|
1601
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
1602
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
1603
|
+
|
|
1604
|
+
# the properties below are optional
|
|
1605
|
+
resource_association_arn="resourceAssociationArn"
|
|
1606
|
+
)
|
|
1607
|
+
),
|
|
1550
1608
|
invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
|
|
1551
1609
|
body_parameters=[events.CfnConnection.ParameterProperty(
|
|
1552
1610
|
key="key",
|
|
@@ -1605,6 +1663,14 @@ class CfnConnection(
|
|
|
1605
1663
|
)
|
|
1606
1664
|
),
|
|
1607
1665
|
description="description",
|
|
1666
|
+
invocation_connectivity_parameters=events.CfnConnection.InvocationConnectivityParametersProperty(
|
|
1667
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
1668
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
1669
|
+
|
|
1670
|
+
# the properties below are optional
|
|
1671
|
+
resource_association_arn="resourceAssociationArn"
|
|
1672
|
+
)
|
|
1673
|
+
),
|
|
1608
1674
|
name="name"
|
|
1609
1675
|
)
|
|
1610
1676
|
'''
|
|
@@ -1617,6 +1683,7 @@ class CfnConnection(
|
|
|
1617
1683
|
authorization_type: typing.Optional[builtins.str] = None,
|
|
1618
1684
|
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.AuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1619
1685
|
description: typing.Optional[builtins.str] = None,
|
|
1686
|
+
invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.InvocationConnectivityParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1620
1687
|
name: typing.Optional[builtins.str] = None,
|
|
1621
1688
|
) -> None:
|
|
1622
1689
|
'''
|
|
@@ -1625,6 +1692,7 @@ class CfnConnection(
|
|
|
1625
1692
|
: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
1693
|
:param auth_parameters: A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
|
|
1627
1694
|
:param description: A description for the connection to create.
|
|
1695
|
+
:param invocation_connectivity_parameters: The private resource the HTTP request will be sent to.
|
|
1628
1696
|
:param name: The name for the connection to create.
|
|
1629
1697
|
'''
|
|
1630
1698
|
if __debug__:
|
|
@@ -1635,6 +1703,7 @@ class CfnConnection(
|
|
|
1635
1703
|
authorization_type=authorization_type,
|
|
1636
1704
|
auth_parameters=auth_parameters,
|
|
1637
1705
|
description=description,
|
|
1706
|
+
invocation_connectivity_parameters=invocation_connectivity_parameters,
|
|
1638
1707
|
name=name,
|
|
1639
1708
|
)
|
|
1640
1709
|
|
|
@@ -1679,6 +1748,26 @@ class CfnConnection(
|
|
|
1679
1748
|
'''
|
|
1680
1749
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1681
1750
|
|
|
1751
|
+
@builtins.property
|
|
1752
|
+
@jsii.member(jsii_name="attrAuthParametersConnectivityParametersResourceParametersResourceAssociationArn")
|
|
1753
|
+
def attr_auth_parameters_connectivity_parameters_resource_parameters_resource_association_arn(
|
|
1754
|
+
self,
|
|
1755
|
+
) -> builtins.str:
|
|
1756
|
+
'''
|
|
1757
|
+
:cloudformationAttribute: AuthParameters.ConnectivityParameters.ResourceParameters.ResourceAssociationArn
|
|
1758
|
+
'''
|
|
1759
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAuthParametersConnectivityParametersResourceParametersResourceAssociationArn"))
|
|
1760
|
+
|
|
1761
|
+
@builtins.property
|
|
1762
|
+
@jsii.member(jsii_name="attrInvocationConnectivityParametersResourceParametersResourceAssociationArn")
|
|
1763
|
+
def attr_invocation_connectivity_parameters_resource_parameters_resource_association_arn(
|
|
1764
|
+
self,
|
|
1765
|
+
) -> builtins.str:
|
|
1766
|
+
'''
|
|
1767
|
+
:cloudformationAttribute: InvocationConnectivityParameters.ResourceParameters.ResourceAssociationArn
|
|
1768
|
+
'''
|
|
1769
|
+
return typing.cast(builtins.str, jsii.get(self, "attrInvocationConnectivityParametersResourceParametersResourceAssociationArn"))
|
|
1770
|
+
|
|
1682
1771
|
@builtins.property
|
|
1683
1772
|
@jsii.member(jsii_name="attrSecretArn")
|
|
1684
1773
|
def attr_secret_arn(self) -> builtins.str:
|
|
@@ -1737,6 +1826,24 @@ class CfnConnection(
|
|
|
1737
1826
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1738
1827
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1739
1828
|
|
|
1829
|
+
@builtins.property
|
|
1830
|
+
@jsii.member(jsii_name="invocationConnectivityParameters")
|
|
1831
|
+
def invocation_connectivity_parameters(
|
|
1832
|
+
self,
|
|
1833
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]]:
|
|
1834
|
+
'''The private resource the HTTP request will be sent to.'''
|
|
1835
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]], jsii.get(self, "invocationConnectivityParameters"))
|
|
1836
|
+
|
|
1837
|
+
@invocation_connectivity_parameters.setter
|
|
1838
|
+
def invocation_connectivity_parameters(
|
|
1839
|
+
self,
|
|
1840
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.InvocationConnectivityParametersProperty"]],
|
|
1841
|
+
) -> None:
|
|
1842
|
+
if __debug__:
|
|
1843
|
+
type_hints = typing.get_type_hints(_typecheckingstub__81977d37ca8e880d59a06a5f2212ea535fd65a2615c824916ce07bd93b7898c6)
|
|
1844
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1845
|
+
jsii.set(self, "invocationConnectivityParameters", value) # pyright: ignore[reportArgumentType]
|
|
1846
|
+
|
|
1740
1847
|
@builtins.property
|
|
1741
1848
|
@jsii.member(jsii_name="name")
|
|
1742
1849
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -1827,6 +1934,7 @@ class CfnConnection(
|
|
|
1827
1934
|
name_mapping={
|
|
1828
1935
|
"api_key_auth_parameters": "apiKeyAuthParameters",
|
|
1829
1936
|
"basic_auth_parameters": "basicAuthParameters",
|
|
1937
|
+
"connectivity_parameters": "connectivityParameters",
|
|
1830
1938
|
"invocation_http_parameters": "invocationHttpParameters",
|
|
1831
1939
|
"o_auth_parameters": "oAuthParameters",
|
|
1832
1940
|
},
|
|
@@ -1837,6 +1945,7 @@ class CfnConnection(
|
|
|
1837
1945
|
*,
|
|
1838
1946
|
api_key_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ApiKeyAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1839
1947
|
basic_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.BasicAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1948
|
+
connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ConnectivityParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1840
1949
|
invocation_http_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ConnectionHttpParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1841
1950
|
o_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.OAuthParametersProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1842
1951
|
) -> None:
|
|
@@ -1844,6 +1953,7 @@ class CfnConnection(
|
|
|
1844
1953
|
|
|
1845
1954
|
:param api_key_auth_parameters: The API Key parameters to use for authorization.
|
|
1846
1955
|
:param basic_auth_parameters: The authorization parameters for Basic authorization.
|
|
1956
|
+
:param connectivity_parameters:
|
|
1847
1957
|
:param invocation_http_parameters: Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
|
|
1848
1958
|
:param o_auth_parameters: The OAuth parameters to use for authorization.
|
|
1849
1959
|
|
|
@@ -1865,6 +1975,14 @@ class CfnConnection(
|
|
|
1865
1975
|
password="password",
|
|
1866
1976
|
username="username"
|
|
1867
1977
|
),
|
|
1978
|
+
connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
|
|
1979
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
1980
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
1981
|
+
|
|
1982
|
+
# the properties below are optional
|
|
1983
|
+
resource_association_arn="resourceAssociationArn"
|
|
1984
|
+
)
|
|
1985
|
+
),
|
|
1868
1986
|
invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
|
|
1869
1987
|
body_parameters=[events.CfnConnection.ParameterProperty(
|
|
1870
1988
|
key="key",
|
|
@@ -1927,6 +2045,7 @@ class CfnConnection(
|
|
|
1927
2045
|
type_hints = typing.get_type_hints(_typecheckingstub__275274c5764ab04c0351742be5fa771325f59e577af1fd2bd8c5306778231c93)
|
|
1928
2046
|
check_type(argname="argument api_key_auth_parameters", value=api_key_auth_parameters, expected_type=type_hints["api_key_auth_parameters"])
|
|
1929
2047
|
check_type(argname="argument basic_auth_parameters", value=basic_auth_parameters, expected_type=type_hints["basic_auth_parameters"])
|
|
2048
|
+
check_type(argname="argument connectivity_parameters", value=connectivity_parameters, expected_type=type_hints["connectivity_parameters"])
|
|
1930
2049
|
check_type(argname="argument invocation_http_parameters", value=invocation_http_parameters, expected_type=type_hints["invocation_http_parameters"])
|
|
1931
2050
|
check_type(argname="argument o_auth_parameters", value=o_auth_parameters, expected_type=type_hints["o_auth_parameters"])
|
|
1932
2051
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -1934,6 +2053,8 @@ class CfnConnection(
|
|
|
1934
2053
|
self._values["api_key_auth_parameters"] = api_key_auth_parameters
|
|
1935
2054
|
if basic_auth_parameters is not None:
|
|
1936
2055
|
self._values["basic_auth_parameters"] = basic_auth_parameters
|
|
2056
|
+
if connectivity_parameters is not None:
|
|
2057
|
+
self._values["connectivity_parameters"] = connectivity_parameters
|
|
1937
2058
|
if invocation_http_parameters is not None:
|
|
1938
2059
|
self._values["invocation_http_parameters"] = invocation_http_parameters
|
|
1939
2060
|
if o_auth_parameters is not None:
|
|
@@ -1961,6 +2082,16 @@ class CfnConnection(
|
|
|
1961
2082
|
result = self._values.get("basic_auth_parameters")
|
|
1962
2083
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.BasicAuthParametersProperty"]], result)
|
|
1963
2084
|
|
|
2085
|
+
@builtins.property
|
|
2086
|
+
def connectivity_parameters(
|
|
2087
|
+
self,
|
|
2088
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectivityParametersProperty"]]:
|
|
2089
|
+
'''
|
|
2090
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-authparameters.html#cfn-events-connection-authparameters-connectivityparameters
|
|
2091
|
+
'''
|
|
2092
|
+
result = self._values.get("connectivity_parameters")
|
|
2093
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnConnection.ConnectivityParametersProperty"]], result)
|
|
2094
|
+
|
|
1964
2095
|
@builtins.property
|
|
1965
2096
|
def invocation_http_parameters(
|
|
1966
2097
|
self,
|
|
@@ -2244,6 +2375,129 @@ class CfnConnection(
|
|
|
2244
2375
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2245
2376
|
)
|
|
2246
2377
|
|
|
2378
|
+
@jsii.data_type(
|
|
2379
|
+
jsii_type="aws-cdk-lib.aws_events.CfnConnection.ConnectivityParametersProperty",
|
|
2380
|
+
jsii_struct_bases=[],
|
|
2381
|
+
name_mapping={"resource_parameters": "resourceParameters"},
|
|
2382
|
+
)
|
|
2383
|
+
class ConnectivityParametersProperty:
|
|
2384
|
+
def __init__(
|
|
2385
|
+
self,
|
|
2386
|
+
*,
|
|
2387
|
+
resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ResourceParametersProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2388
|
+
) -> None:
|
|
2389
|
+
'''
|
|
2390
|
+
:param resource_parameters:
|
|
2391
|
+
|
|
2392
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html
|
|
2393
|
+
:exampleMetadata: fixture=_generated
|
|
2394
|
+
|
|
2395
|
+
Example::
|
|
2396
|
+
|
|
2397
|
+
# The code below shows an example of how to instantiate this type.
|
|
2398
|
+
# The values are placeholders you should change.
|
|
2399
|
+
from aws_cdk import aws_events as events
|
|
2400
|
+
|
|
2401
|
+
connectivity_parameters_property = events.CfnConnection.ConnectivityParametersProperty(
|
|
2402
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
2403
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
2404
|
+
|
|
2405
|
+
# the properties below are optional
|
|
2406
|
+
resource_association_arn="resourceAssociationArn"
|
|
2407
|
+
)
|
|
2408
|
+
)
|
|
2409
|
+
'''
|
|
2410
|
+
if __debug__:
|
|
2411
|
+
type_hints = typing.get_type_hints(_typecheckingstub__33c7d626f351801c0e5c2a06bd389d7558efdda62a9c5e57e56c95f7346a6705)
|
|
2412
|
+
check_type(argname="argument resource_parameters", value=resource_parameters, expected_type=type_hints["resource_parameters"])
|
|
2413
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2414
|
+
"resource_parameters": resource_parameters,
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
@builtins.property
|
|
2418
|
+
def resource_parameters(
|
|
2419
|
+
self,
|
|
2420
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"]:
|
|
2421
|
+
'''
|
|
2422
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-connectivityparameters.html#cfn-events-connection-connectivityparameters-resourceparameters
|
|
2423
|
+
'''
|
|
2424
|
+
result = self._values.get("resource_parameters")
|
|
2425
|
+
assert result is not None, "Required property 'resource_parameters' is missing"
|
|
2426
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"], result)
|
|
2427
|
+
|
|
2428
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2429
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2430
|
+
|
|
2431
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2432
|
+
return not (rhs == self)
|
|
2433
|
+
|
|
2434
|
+
def __repr__(self) -> str:
|
|
2435
|
+
return "ConnectivityParametersProperty(%s)" % ", ".join(
|
|
2436
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2437
|
+
)
|
|
2438
|
+
|
|
2439
|
+
@jsii.data_type(
|
|
2440
|
+
jsii_type="aws-cdk-lib.aws_events.CfnConnection.InvocationConnectivityParametersProperty",
|
|
2441
|
+
jsii_struct_bases=[],
|
|
2442
|
+
name_mapping={"resource_parameters": "resourceParameters"},
|
|
2443
|
+
)
|
|
2444
|
+
class InvocationConnectivityParametersProperty:
|
|
2445
|
+
def __init__(
|
|
2446
|
+
self,
|
|
2447
|
+
*,
|
|
2448
|
+
resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union["CfnConnection.ResourceParametersProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2449
|
+
) -> None:
|
|
2450
|
+
'''The private resource the HTTP request will be sent to.
|
|
2451
|
+
|
|
2452
|
+
:param resource_parameters:
|
|
2453
|
+
|
|
2454
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html
|
|
2455
|
+
:exampleMetadata: fixture=_generated
|
|
2456
|
+
|
|
2457
|
+
Example::
|
|
2458
|
+
|
|
2459
|
+
# The code below shows an example of how to instantiate this type.
|
|
2460
|
+
# The values are placeholders you should change.
|
|
2461
|
+
from aws_cdk import aws_events as events
|
|
2462
|
+
|
|
2463
|
+
invocation_connectivity_parameters_property = events.CfnConnection.InvocationConnectivityParametersProperty(
|
|
2464
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
2465
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
2466
|
+
|
|
2467
|
+
# the properties below are optional
|
|
2468
|
+
resource_association_arn="resourceAssociationArn"
|
|
2469
|
+
)
|
|
2470
|
+
)
|
|
2471
|
+
'''
|
|
2472
|
+
if __debug__:
|
|
2473
|
+
type_hints = typing.get_type_hints(_typecheckingstub__324fa6a8fead2e11e8b201f6b9228a1d65a475ee71a64e3091b494c74aac5047)
|
|
2474
|
+
check_type(argname="argument resource_parameters", value=resource_parameters, expected_type=type_hints["resource_parameters"])
|
|
2475
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2476
|
+
"resource_parameters": resource_parameters,
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
@builtins.property
|
|
2480
|
+
def resource_parameters(
|
|
2481
|
+
self,
|
|
2482
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"]:
|
|
2483
|
+
'''
|
|
2484
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-invocationconnectivityparameters.html#cfn-events-connection-invocationconnectivityparameters-resourceparameters
|
|
2485
|
+
'''
|
|
2486
|
+
result = self._values.get("resource_parameters")
|
|
2487
|
+
assert result is not None, "Required property 'resource_parameters' is missing"
|
|
2488
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnConnection.ResourceParametersProperty"], result)
|
|
2489
|
+
|
|
2490
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2491
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2492
|
+
|
|
2493
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2494
|
+
return not (rhs == self)
|
|
2495
|
+
|
|
2496
|
+
def __repr__(self) -> str:
|
|
2497
|
+
return "InvocationConnectivityParametersProperty(%s)" % ", ".join(
|
|
2498
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2499
|
+
)
|
|
2500
|
+
|
|
2247
2501
|
@jsii.data_type(
|
|
2248
2502
|
jsii_type="aws-cdk-lib.aws_events.CfnConnection.OAuthParametersProperty",
|
|
2249
2503
|
jsii_struct_bases=[],
|
|
@@ -2479,6 +2733,79 @@ class CfnConnection(
|
|
|
2479
2733
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
2480
2734
|
)
|
|
2481
2735
|
|
|
2736
|
+
@jsii.data_type(
|
|
2737
|
+
jsii_type="aws-cdk-lib.aws_events.CfnConnection.ResourceParametersProperty",
|
|
2738
|
+
jsii_struct_bases=[],
|
|
2739
|
+
name_mapping={
|
|
2740
|
+
"resource_configuration_arn": "resourceConfigurationArn",
|
|
2741
|
+
"resource_association_arn": "resourceAssociationArn",
|
|
2742
|
+
},
|
|
2743
|
+
)
|
|
2744
|
+
class ResourceParametersProperty:
|
|
2745
|
+
def __init__(
|
|
2746
|
+
self,
|
|
2747
|
+
*,
|
|
2748
|
+
resource_configuration_arn: builtins.str,
|
|
2749
|
+
resource_association_arn: typing.Optional[builtins.str] = None,
|
|
2750
|
+
) -> None:
|
|
2751
|
+
'''
|
|
2752
|
+
:param resource_configuration_arn:
|
|
2753
|
+
:param resource_association_arn:
|
|
2754
|
+
|
|
2755
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html
|
|
2756
|
+
:exampleMetadata: fixture=_generated
|
|
2757
|
+
|
|
2758
|
+
Example::
|
|
2759
|
+
|
|
2760
|
+
# The code below shows an example of how to instantiate this type.
|
|
2761
|
+
# The values are placeholders you should change.
|
|
2762
|
+
from aws_cdk import aws_events as events
|
|
2763
|
+
|
|
2764
|
+
resource_parameters_property = events.CfnConnection.ResourceParametersProperty(
|
|
2765
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
2766
|
+
|
|
2767
|
+
# the properties below are optional
|
|
2768
|
+
resource_association_arn="resourceAssociationArn"
|
|
2769
|
+
)
|
|
2770
|
+
'''
|
|
2771
|
+
if __debug__:
|
|
2772
|
+
type_hints = typing.get_type_hints(_typecheckingstub__143ae1a5978f064d9c3d0cf9135ec11575d46a15edec3f754457cec0c4db31bf)
|
|
2773
|
+
check_type(argname="argument resource_configuration_arn", value=resource_configuration_arn, expected_type=type_hints["resource_configuration_arn"])
|
|
2774
|
+
check_type(argname="argument resource_association_arn", value=resource_association_arn, expected_type=type_hints["resource_association_arn"])
|
|
2775
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2776
|
+
"resource_configuration_arn": resource_configuration_arn,
|
|
2777
|
+
}
|
|
2778
|
+
if resource_association_arn is not None:
|
|
2779
|
+
self._values["resource_association_arn"] = resource_association_arn
|
|
2780
|
+
|
|
2781
|
+
@builtins.property
|
|
2782
|
+
def resource_configuration_arn(self) -> builtins.str:
|
|
2783
|
+
'''
|
|
2784
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceconfigurationarn
|
|
2785
|
+
'''
|
|
2786
|
+
result = self._values.get("resource_configuration_arn")
|
|
2787
|
+
assert result is not None, "Required property 'resource_configuration_arn' is missing"
|
|
2788
|
+
return typing.cast(builtins.str, result)
|
|
2789
|
+
|
|
2790
|
+
@builtins.property
|
|
2791
|
+
def resource_association_arn(self) -> typing.Optional[builtins.str]:
|
|
2792
|
+
'''
|
|
2793
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-connection-resourceparameters.html#cfn-events-connection-resourceparameters-resourceassociationarn
|
|
2794
|
+
'''
|
|
2795
|
+
result = self._values.get("resource_association_arn")
|
|
2796
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2797
|
+
|
|
2798
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2799
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2800
|
+
|
|
2801
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2802
|
+
return not (rhs == self)
|
|
2803
|
+
|
|
2804
|
+
def __repr__(self) -> str:
|
|
2805
|
+
return "ResourceParametersProperty(%s)" % ", ".join(
|
|
2806
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2807
|
+
)
|
|
2808
|
+
|
|
2482
2809
|
|
|
2483
2810
|
@jsii.data_type(
|
|
2484
2811
|
jsii_type="aws-cdk-lib.aws_events.CfnConnectionProps",
|
|
@@ -2487,6 +2814,7 @@ class CfnConnection(
|
|
|
2487
2814
|
"authorization_type": "authorizationType",
|
|
2488
2815
|
"auth_parameters": "authParameters",
|
|
2489
2816
|
"description": "description",
|
|
2817
|
+
"invocation_connectivity_parameters": "invocationConnectivityParameters",
|
|
2490
2818
|
"name": "name",
|
|
2491
2819
|
},
|
|
2492
2820
|
)
|
|
@@ -2497,6 +2825,7 @@ class CfnConnectionProps:
|
|
|
2497
2825
|
authorization_type: typing.Optional[builtins.str] = None,
|
|
2498
2826
|
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2499
2827
|
description: typing.Optional[builtins.str] = None,
|
|
2828
|
+
invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2500
2829
|
name: typing.Optional[builtins.str] = None,
|
|
2501
2830
|
) -> None:
|
|
2502
2831
|
'''Properties for defining a ``CfnConnection``.
|
|
@@ -2504,6 +2833,7 @@ class CfnConnectionProps:
|
|
|
2504
2833
|
: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
2834
|
:param auth_parameters: A ``CreateConnectionAuthRequestParameters`` object that contains the authorization parameters to use to authorize with the endpoint.
|
|
2506
2835
|
:param description: A description for the connection to create.
|
|
2836
|
+
:param invocation_connectivity_parameters: The private resource the HTTP request will be sent to.
|
|
2507
2837
|
:param name: The name for the connection to create.
|
|
2508
2838
|
|
|
2509
2839
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html
|
|
@@ -2526,6 +2856,14 @@ class CfnConnectionProps:
|
|
|
2526
2856
|
password="password",
|
|
2527
2857
|
username="username"
|
|
2528
2858
|
),
|
|
2859
|
+
connectivity_parameters=events.CfnConnection.ConnectivityParametersProperty(
|
|
2860
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
2861
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
2862
|
+
|
|
2863
|
+
# the properties below are optional
|
|
2864
|
+
resource_association_arn="resourceAssociationArn"
|
|
2865
|
+
)
|
|
2866
|
+
),
|
|
2529
2867
|
invocation_http_parameters=events.CfnConnection.ConnectionHttpParametersProperty(
|
|
2530
2868
|
body_parameters=[events.CfnConnection.ParameterProperty(
|
|
2531
2869
|
key="key",
|
|
@@ -2584,6 +2922,14 @@ class CfnConnectionProps:
|
|
|
2584
2922
|
)
|
|
2585
2923
|
),
|
|
2586
2924
|
description="description",
|
|
2925
|
+
invocation_connectivity_parameters=events.CfnConnection.InvocationConnectivityParametersProperty(
|
|
2926
|
+
resource_parameters=events.CfnConnection.ResourceParametersProperty(
|
|
2927
|
+
resource_configuration_arn="resourceConfigurationArn",
|
|
2928
|
+
|
|
2929
|
+
# the properties below are optional
|
|
2930
|
+
resource_association_arn="resourceAssociationArn"
|
|
2931
|
+
)
|
|
2932
|
+
),
|
|
2587
2933
|
name="name"
|
|
2588
2934
|
)
|
|
2589
2935
|
'''
|
|
@@ -2592,6 +2938,7 @@ class CfnConnectionProps:
|
|
|
2592
2938
|
check_type(argname="argument authorization_type", value=authorization_type, expected_type=type_hints["authorization_type"])
|
|
2593
2939
|
check_type(argname="argument auth_parameters", value=auth_parameters, expected_type=type_hints["auth_parameters"])
|
|
2594
2940
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2941
|
+
check_type(argname="argument invocation_connectivity_parameters", value=invocation_connectivity_parameters, expected_type=type_hints["invocation_connectivity_parameters"])
|
|
2595
2942
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
2596
2943
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2597
2944
|
if authorization_type is not None:
|
|
@@ -2600,6 +2947,8 @@ class CfnConnectionProps:
|
|
|
2600
2947
|
self._values["auth_parameters"] = auth_parameters
|
|
2601
2948
|
if description is not None:
|
|
2602
2949
|
self._values["description"] = description
|
|
2950
|
+
if invocation_connectivity_parameters is not None:
|
|
2951
|
+
self._values["invocation_connectivity_parameters"] = invocation_connectivity_parameters
|
|
2603
2952
|
if name is not None:
|
|
2604
2953
|
self._values["name"] = name
|
|
2605
2954
|
|
|
@@ -2636,6 +2985,17 @@ class CfnConnectionProps:
|
|
|
2636
2985
|
result = self._values.get("description")
|
|
2637
2986
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2638
2987
|
|
|
2988
|
+
@builtins.property
|
|
2989
|
+
def invocation_connectivity_parameters(
|
|
2990
|
+
self,
|
|
2991
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]]:
|
|
2992
|
+
'''The private resource the HTTP request will be sent to.
|
|
2993
|
+
|
|
2994
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-connection.html#cfn-events-connection-invocationconnectivityparameters
|
|
2995
|
+
'''
|
|
2996
|
+
result = self._values.get("invocation_connectivity_parameters")
|
|
2997
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]], result)
|
|
2998
|
+
|
|
2639
2999
|
@builtins.property
|
|
2640
3000
|
def name(self) -> typing.Optional[builtins.str]:
|
|
2641
3001
|
'''The name for the connection to create.
|
|
@@ -9335,7 +9695,6 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
|
|
|
9335
9695
|
events.Match.prefix("GLACIER"),
|
|
9336
9696
|
events.Match.exact_string("DEEP_ARCHIVE"))
|
|
9337
9697
|
},
|
|
9338
|
-
detail_type=events.Match.equals_ignore_case("object created"),
|
|
9339
9698
|
|
|
9340
9699
|
# If you prefer, you can use a low level array of strings, as directly consumed by EventBridge
|
|
9341
9700
|
source=["aws.s3"],
|
|
@@ -9386,17 +9745,56 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
|
|
|
9386
9745
|
check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
9387
9746
|
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingBut", [*values]))
|
|
9388
9747
|
|
|
9748
|
+
@jsii.member(jsii_name="anythingButEqualsIgnoreCase")
|
|
9749
|
+
@builtins.classmethod
|
|
9750
|
+
def anything_but_equals_ignore_case(
|
|
9751
|
+
cls,
|
|
9752
|
+
*values: builtins.str,
|
|
9753
|
+
) -> typing.List[builtins.str]:
|
|
9754
|
+
'''Matches any string that doesn't match with the given value regardless of character casing.
|
|
9755
|
+
|
|
9756
|
+
:param values: -
|
|
9757
|
+
'''
|
|
9758
|
+
if __debug__:
|
|
9759
|
+
type_hints = typing.get_type_hints(_typecheckingstub__87fbd8c11fa07b1a240b0c387448e08fd168224745c50688f5989d8834838ff7)
|
|
9760
|
+
check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
9761
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButEqualsIgnoreCase", [*values]))
|
|
9762
|
+
|
|
9389
9763
|
@jsii.member(jsii_name="anythingButPrefix")
|
|
9390
9764
|
@builtins.classmethod
|
|
9391
|
-
def anything_but_prefix(cls,
|
|
9765
|
+
def anything_but_prefix(cls, *values: builtins.str) -> typing.List[builtins.str]:
|
|
9392
9766
|
'''Matches any string that doesn't start with the given prefix.
|
|
9393
9767
|
|
|
9394
|
-
:param
|
|
9768
|
+
:param values: -
|
|
9395
9769
|
'''
|
|
9396
9770
|
if __debug__:
|
|
9397
9771
|
type_hints = typing.get_type_hints(_typecheckingstub__d5f95f896639ff63a2da2110c71261568560a151040067894df2404133cae090)
|
|
9398
|
-
check_type(argname="argument
|
|
9399
|
-
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButPrefix", [
|
|
9772
|
+
check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
9773
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButPrefix", [*values]))
|
|
9774
|
+
|
|
9775
|
+
@jsii.member(jsii_name="anythingButSuffix")
|
|
9776
|
+
@builtins.classmethod
|
|
9777
|
+
def anything_but_suffix(cls, *values: builtins.str) -> typing.List[builtins.str]:
|
|
9778
|
+
'''Matches any string that doesn't end with the given suffix.
|
|
9779
|
+
|
|
9780
|
+
:param values: -
|
|
9781
|
+
'''
|
|
9782
|
+
if __debug__:
|
|
9783
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5ad66dfa3c11834aae618ac46c2877fc37f4f61d99a2a50bf7ea7c5c365000b9)
|
|
9784
|
+
check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
9785
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButSuffix", [*values]))
|
|
9786
|
+
|
|
9787
|
+
@jsii.member(jsii_name="anythingButWildcard")
|
|
9788
|
+
@builtins.classmethod
|
|
9789
|
+
def anything_but_wildcard(cls, *values: builtins.str) -> typing.List[builtins.str]:
|
|
9790
|
+
'''Matches any string that doesn't match with the given wildcard pattern.
|
|
9791
|
+
|
|
9792
|
+
:param values: -
|
|
9793
|
+
'''
|
|
9794
|
+
if __debug__:
|
|
9795
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ad0fda65667feadf011538300f534504901c891f913cbff997a1a994f3c29c01)
|
|
9796
|
+
check_type(argname="argument values", value=values, expected_type=typing.Tuple[type_hints["values"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
9797
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "anythingButWildcard", [*values]))
|
|
9400
9798
|
|
|
9401
9799
|
@jsii.member(jsii_name="cidr")
|
|
9402
9800
|
@builtins.classmethod
|
|
@@ -9558,6 +9956,21 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
|
|
|
9558
9956
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9559
9957
|
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "prefix", [value]))
|
|
9560
9958
|
|
|
9959
|
+
@jsii.member(jsii_name="prefixEqualsIgnoreCase")
|
|
9960
|
+
@builtins.classmethod
|
|
9961
|
+
def prefix_equals_ignore_case(
|
|
9962
|
+
cls,
|
|
9963
|
+
value: builtins.str,
|
|
9964
|
+
) -> typing.List[builtins.str]:
|
|
9965
|
+
'''Matches strings with the given prefix in the JSON of the event regardless of the casing.
|
|
9966
|
+
|
|
9967
|
+
:param value: -
|
|
9968
|
+
'''
|
|
9969
|
+
if __debug__:
|
|
9970
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d9a63cd71a9cd85ecfb404982d3c5b33a46641bb37679a52809950abee9a9cf)
|
|
9971
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9972
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "prefixEqualsIgnoreCase", [value]))
|
|
9973
|
+
|
|
9561
9974
|
@jsii.member(jsii_name="suffix")
|
|
9562
9975
|
@builtins.classmethod
|
|
9563
9976
|
def suffix(cls, value: builtins.str) -> typing.List[builtins.str]:
|
|
@@ -9570,6 +9983,33 @@ class Match(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_events.Match"):
|
|
|
9570
9983
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9571
9984
|
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "suffix", [value]))
|
|
9572
9985
|
|
|
9986
|
+
@jsii.member(jsii_name="suffixEqualsIgnoreCase")
|
|
9987
|
+
@builtins.classmethod
|
|
9988
|
+
def suffix_equals_ignore_case(
|
|
9989
|
+
cls,
|
|
9990
|
+
value: builtins.str,
|
|
9991
|
+
) -> typing.List[builtins.str]:
|
|
9992
|
+
'''Matches strings with the given suffix in the JSON of the event regardless of the casing.
|
|
9993
|
+
|
|
9994
|
+
:param value: -
|
|
9995
|
+
'''
|
|
9996
|
+
if __debug__:
|
|
9997
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b7fc1909f51a6990b36361f9634b6e27f10e6631c28d4b5b841a2b70ad6e01ad)
|
|
9998
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9999
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "suffixEqualsIgnoreCase", [value]))
|
|
10000
|
+
|
|
10001
|
+
@jsii.member(jsii_name="wildcard")
|
|
10002
|
+
@builtins.classmethod
|
|
10003
|
+
def wildcard(cls, value: builtins.str) -> typing.List[builtins.str]:
|
|
10004
|
+
'''Matches strings with the given wildcard pattern in the JSON of the event.
|
|
10005
|
+
|
|
10006
|
+
:param value: -
|
|
10007
|
+
'''
|
|
10008
|
+
if __debug__:
|
|
10009
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fa570eda583ad53276d25915a5375d0b0a74cd067558b5802e08a4caada4d8d2)
|
|
10010
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10011
|
+
return typing.cast(typing.List[builtins.str], jsii.sinvoke(cls, "wildcard", [value]))
|
|
10012
|
+
|
|
9573
10013
|
@jsii.member(jsii_name="asList")
|
|
9574
10014
|
def as_list(self) -> typing.List[builtins.str]:
|
|
9575
10015
|
'''A representation of this matcher as a list of strings.'''
|
|
@@ -11935,6 +12375,7 @@ def _typecheckingstub__65bde9b35de094b905dd335652d04503af85c50ac027a006a1d7ec926
|
|
|
11935
12375
|
authorization_type: typing.Optional[builtins.str] = None,
|
|
11936
12376
|
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11937
12377
|
description: typing.Optional[builtins.str] = None,
|
|
12378
|
+
invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11938
12379
|
name: typing.Optional[builtins.str] = None,
|
|
11939
12380
|
) -> None:
|
|
11940
12381
|
"""Type checking stubs"""
|
|
@@ -11970,6 +12411,12 @@ def _typecheckingstub__54690fb07d8735df46ac3a0fbbb08bc7751c169d7f6279762e7c5a75a
|
|
|
11970
12411
|
"""Type checking stubs"""
|
|
11971
12412
|
pass
|
|
11972
12413
|
|
|
12414
|
+
def _typecheckingstub__81977d37ca8e880d59a06a5f2212ea535fd65a2615c824916ce07bd93b7898c6(
|
|
12415
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnConnection.InvocationConnectivityParametersProperty]],
|
|
12416
|
+
) -> None:
|
|
12417
|
+
"""Type checking stubs"""
|
|
12418
|
+
pass
|
|
12419
|
+
|
|
11973
12420
|
def _typecheckingstub__d93a7e7bebc6e390076ef7174623c4da1c018543554603bbb442c270a532a536(
|
|
11974
12421
|
value: typing.Optional[builtins.str],
|
|
11975
12422
|
) -> None:
|
|
@@ -11988,6 +12435,7 @@ def _typecheckingstub__275274c5764ab04c0351742be5fa771325f59e577af1fd2bd8c530677
|
|
|
11988
12435
|
*,
|
|
11989
12436
|
api_key_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ApiKeyAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11990
12437
|
basic_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.BasicAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12438
|
+
connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11991
12439
|
invocation_http_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ConnectionHttpParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11992
12440
|
o_auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.OAuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11993
12441
|
) -> None:
|
|
@@ -12019,6 +12467,20 @@ def _typecheckingstub__b9ae8ee23a5317795bd33d0e7fc34a3c5640054e2c0935aae4946e13d
|
|
|
12019
12467
|
"""Type checking stubs"""
|
|
12020
12468
|
pass
|
|
12021
12469
|
|
|
12470
|
+
def _typecheckingstub__33c7d626f351801c0e5c2a06bd389d7558efdda62a9c5e57e56c95f7346a6705(
|
|
12471
|
+
*,
|
|
12472
|
+
resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ResourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
12473
|
+
) -> None:
|
|
12474
|
+
"""Type checking stubs"""
|
|
12475
|
+
pass
|
|
12476
|
+
|
|
12477
|
+
def _typecheckingstub__324fa6a8fead2e11e8b201f6b9228a1d65a475ee71a64e3091b494c74aac5047(
|
|
12478
|
+
*,
|
|
12479
|
+
resource_parameters: typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.ResourceParametersProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
12480
|
+
) -> None:
|
|
12481
|
+
"""Type checking stubs"""
|
|
12482
|
+
pass
|
|
12483
|
+
|
|
12022
12484
|
def _typecheckingstub__ff4894a687d225d2abe4e8f40bbb8da3ca3008e8c5ef15ab97ea71d1c1bdc016(
|
|
12023
12485
|
*,
|
|
12024
12486
|
authorization_endpoint: builtins.str,
|
|
@@ -12038,11 +12500,20 @@ def _typecheckingstub__8ef124487a6c31dc58a802230e7bf50f962f08be9cde1fb39c45b429d
|
|
|
12038
12500
|
"""Type checking stubs"""
|
|
12039
12501
|
pass
|
|
12040
12502
|
|
|
12503
|
+
def _typecheckingstub__143ae1a5978f064d9c3d0cf9135ec11575d46a15edec3f754457cec0c4db31bf(
|
|
12504
|
+
*,
|
|
12505
|
+
resource_configuration_arn: builtins.str,
|
|
12506
|
+
resource_association_arn: typing.Optional[builtins.str] = None,
|
|
12507
|
+
) -> None:
|
|
12508
|
+
"""Type checking stubs"""
|
|
12509
|
+
pass
|
|
12510
|
+
|
|
12041
12511
|
def _typecheckingstub__2b32e6c6e8c1c2772bb604474216b07683c108c349058e240d272750b95ff394(
|
|
12042
12512
|
*,
|
|
12043
12513
|
authorization_type: typing.Optional[builtins.str] = None,
|
|
12044
12514
|
auth_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.AuthParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12045
12515
|
description: typing.Optional[builtins.str] = None,
|
|
12516
|
+
invocation_connectivity_parameters: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnConnection.InvocationConnectivityParametersProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
12046
12517
|
name: typing.Optional[builtins.str] = None,
|
|
12047
12518
|
) -> None:
|
|
12048
12519
|
"""Type checking stubs"""
|
|
@@ -12804,8 +13275,26 @@ def _typecheckingstub__c03b7fd2dad2208076a4fa00f2b2d3dde00f843ea555467499547d570
|
|
|
12804
13275
|
"""Type checking stubs"""
|
|
12805
13276
|
pass
|
|
12806
13277
|
|
|
13278
|
+
def _typecheckingstub__87fbd8c11fa07b1a240b0c387448e08fd168224745c50688f5989d8834838ff7(
|
|
13279
|
+
*values: builtins.str,
|
|
13280
|
+
) -> None:
|
|
13281
|
+
"""Type checking stubs"""
|
|
13282
|
+
pass
|
|
13283
|
+
|
|
12807
13284
|
def _typecheckingstub__d5f95f896639ff63a2da2110c71261568560a151040067894df2404133cae090(
|
|
12808
|
-
|
|
13285
|
+
*values: builtins.str,
|
|
13286
|
+
) -> None:
|
|
13287
|
+
"""Type checking stubs"""
|
|
13288
|
+
pass
|
|
13289
|
+
|
|
13290
|
+
def _typecheckingstub__5ad66dfa3c11834aae618ac46c2877fc37f4f61d99a2a50bf7ea7c5c365000b9(
|
|
13291
|
+
*values: builtins.str,
|
|
13292
|
+
) -> None:
|
|
13293
|
+
"""Type checking stubs"""
|
|
13294
|
+
pass
|
|
13295
|
+
|
|
13296
|
+
def _typecheckingstub__ad0fda65667feadf011538300f534504901c891f913cbff997a1a994f3c29c01(
|
|
13297
|
+
*values: builtins.str,
|
|
12809
13298
|
) -> None:
|
|
12810
13299
|
"""Type checking stubs"""
|
|
12811
13300
|
pass
|
|
@@ -12877,12 +13366,30 @@ def _typecheckingstub__4fec16335087d1463f92a7c3c6f5fc3f285f57f1896b3e5d70621d5bb
|
|
|
12877
13366
|
"""Type checking stubs"""
|
|
12878
13367
|
pass
|
|
12879
13368
|
|
|
13369
|
+
def _typecheckingstub__5d9a63cd71a9cd85ecfb404982d3c5b33a46641bb37679a52809950abee9a9cf(
|
|
13370
|
+
value: builtins.str,
|
|
13371
|
+
) -> None:
|
|
13372
|
+
"""Type checking stubs"""
|
|
13373
|
+
pass
|
|
13374
|
+
|
|
12880
13375
|
def _typecheckingstub__d93fd447565d2e2e5ebc3599f70b6ee7e8b45b80fc66472bf6c2e5eed324bdd2(
|
|
12881
13376
|
value: builtins.str,
|
|
12882
13377
|
) -> None:
|
|
12883
13378
|
"""Type checking stubs"""
|
|
12884
13379
|
pass
|
|
12885
13380
|
|
|
13381
|
+
def _typecheckingstub__b7fc1909f51a6990b36361f9634b6e27f10e6631c28d4b5b841a2b70ad6e01ad(
|
|
13382
|
+
value: builtins.str,
|
|
13383
|
+
) -> None:
|
|
13384
|
+
"""Type checking stubs"""
|
|
13385
|
+
pass
|
|
13386
|
+
|
|
13387
|
+
def _typecheckingstub__fa570eda583ad53276d25915a5375d0b0a74cd067558b5802e08a4caada4d8d2(
|
|
13388
|
+
value: builtins.str,
|
|
13389
|
+
) -> None:
|
|
13390
|
+
"""Type checking stubs"""
|
|
13391
|
+
pass
|
|
13392
|
+
|
|
12886
13393
|
def _typecheckingstub__1504ba1eafa1e778437f72f0fcbc5a411326c68bb5dfdfcf71ebd9c58dc85840(
|
|
12887
13394
|
context: _IResolveContext_b2df1921,
|
|
12888
13395
|
) -> None:
|