aws-cdk-lib 2.142.1__py3-none-any.whl → 2.143.1__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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.142.1.jsii.tgz → aws-cdk-lib@2.143.1.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -5
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +237 -0
- aws_cdk/aws_bedrock/__init__.py +700 -16
- aws_cdk/aws_budgets/__init__.py +282 -3
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_codebuild/__init__.py +44 -0
- aws_cdk/aws_codepipeline/__init__.py +91 -4
- aws_cdk/aws_cognito/__init__.py +75 -0
- aws_cdk/aws_datazone/__init__.py +1743 -448
- aws_cdk/aws_dynamodb/__init__.py +60 -25
- aws_cdk/aws_ec2/__init__.py +112 -39
- aws_cdk/aws_ecs/__init__.py +3 -3
- aws_cdk/aws_ecs_patterns/__init__.py +106 -0
- aws_cdk/aws_eks/__init__.py +13 -10
- aws_cdk/aws_elasticache/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +219 -14
- aws_cdk/aws_events_targets/__init__.py +140 -3
- aws_cdk/aws_fms/__init__.py +42 -43
- aws_cdk/aws_fsx/__init__.py +3 -3
- aws_cdk/aws_identitystore/__init__.py +11 -11
- aws_cdk/aws_lambda/__init__.py +45 -0
- aws_cdk/aws_lambda_nodejs/__init__.py +16 -6
- aws_cdk/aws_lightsail/__init__.py +9 -0
- aws_cdk/aws_location/__init__.py +8 -4
- aws_cdk/aws_mediaconnect/__init__.py +1789 -39
- aws_cdk/aws_mediatailor/__init__.py +21 -1
- aws_cdk/aws_mwaa/__init__.py +82 -0
- aws_cdk/aws_neptune/__init__.py +374 -0
- aws_cdk/aws_personalize/__init__.py +9 -3
- aws_cdk/aws_pipes/__init__.py +7 -7
- aws_cdk/aws_quicksight/__init__.py +684 -156
- aws_cdk/aws_rds/__init__.py +88 -24
- aws_cdk/aws_redshift/__init__.py +0 -46
- aws_cdk/aws_route53resolver/__init__.py +23 -0
- aws_cdk/aws_s3/__init__.py +4 -4
- aws_cdk/aws_sagemaker/__init__.py +185 -4
- aws_cdk/aws_securityhub/__init__.py +387 -1
- aws_cdk/aws_ssm/__init__.py +14 -6
- aws_cdk/aws_sso/__init__.py +1243 -34
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/RECORD +49 -49
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/top_level.txt +0 -0
|
@@ -575,7 +575,7 @@ from typeguard import check_type
|
|
|
575
575
|
from .._jsii import *
|
|
576
576
|
|
|
577
577
|
import constructs as _constructs_77d1e7e8
|
|
578
|
-
from .. import Duration as _Duration_4839e8c3
|
|
578
|
+
from .. import Duration as _Duration_4839e8c3, IResource as _IResource_c80c4260
|
|
579
579
|
from ..aws_apigateway import (
|
|
580
580
|
IRestApi as _IRestApi_1f02523d, RestApi as _RestApi_777c8238
|
|
581
581
|
)
|
|
@@ -2030,13 +2030,68 @@ class EventBusProps:
|
|
|
2030
2030
|
)
|
|
2031
2031
|
|
|
2032
2032
|
|
|
2033
|
+
@jsii.interface(jsii_type="aws-cdk-lib.aws_events_targets.IDeliveryStream")
|
|
2034
|
+
class IDeliveryStream(_IResource_c80c4260, typing_extensions.Protocol):
|
|
2035
|
+
'''Represents a Kinesis Data Firehose delivery stream.'''
|
|
2036
|
+
|
|
2037
|
+
@builtins.property
|
|
2038
|
+
@jsii.member(jsii_name="deliveryStreamArn")
|
|
2039
|
+
def delivery_stream_arn(self) -> builtins.str:
|
|
2040
|
+
'''The ARN of the delivery stream.
|
|
2041
|
+
|
|
2042
|
+
:attribute: true
|
|
2043
|
+
'''
|
|
2044
|
+
...
|
|
2045
|
+
|
|
2046
|
+
@builtins.property
|
|
2047
|
+
@jsii.member(jsii_name="deliveryStreamName")
|
|
2048
|
+
def delivery_stream_name(self) -> builtins.str:
|
|
2049
|
+
'''The name of the delivery stream.
|
|
2050
|
+
|
|
2051
|
+
:attribute: true
|
|
2052
|
+
'''
|
|
2053
|
+
...
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
class _IDeliveryStreamProxy(
|
|
2057
|
+
jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
|
|
2058
|
+
):
|
|
2059
|
+
'''Represents a Kinesis Data Firehose delivery stream.'''
|
|
2060
|
+
|
|
2061
|
+
__jsii_type__: typing.ClassVar[str] = "aws-cdk-lib.aws_events_targets.IDeliveryStream"
|
|
2062
|
+
|
|
2063
|
+
@builtins.property
|
|
2064
|
+
@jsii.member(jsii_name="deliveryStreamArn")
|
|
2065
|
+
def delivery_stream_arn(self) -> builtins.str:
|
|
2066
|
+
'''The ARN of the delivery stream.
|
|
2067
|
+
|
|
2068
|
+
:attribute: true
|
|
2069
|
+
'''
|
|
2070
|
+
return typing.cast(builtins.str, jsii.get(self, "deliveryStreamArn"))
|
|
2071
|
+
|
|
2072
|
+
@builtins.property
|
|
2073
|
+
@jsii.member(jsii_name="deliveryStreamName")
|
|
2074
|
+
def delivery_stream_name(self) -> builtins.str:
|
|
2075
|
+
'''The name of the delivery stream.
|
|
2076
|
+
|
|
2077
|
+
:attribute: true
|
|
2078
|
+
'''
|
|
2079
|
+
return typing.cast(builtins.str, jsii.get(self, "deliveryStreamName"))
|
|
2080
|
+
|
|
2081
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
2082
|
+
typing.cast(typing.Any, IDeliveryStream).__jsii_proxy_class__ = lambda : _IDeliveryStreamProxy
|
|
2083
|
+
|
|
2084
|
+
|
|
2033
2085
|
@jsii.implements(_IRuleTarget_7a91f454)
|
|
2034
2086
|
class KinesisFirehoseStream(
|
|
2035
2087
|
metaclass=jsii.JSIIMeta,
|
|
2036
2088
|
jsii_type="aws-cdk-lib.aws_events_targets.KinesisFirehoseStream",
|
|
2037
2089
|
):
|
|
2038
|
-
'''Customize the Firehose Stream Event Target.
|
|
2090
|
+
'''(deprecated) Customize the Firehose Stream Event Target.
|
|
2091
|
+
|
|
2092
|
+
:deprecated: Use KinesisFirehoseStreamV2
|
|
2039
2093
|
|
|
2094
|
+
:stability: deprecated
|
|
2040
2095
|
:exampleMetadata: fixture=_generated
|
|
2041
2096
|
|
|
2042
2097
|
Example::
|
|
@@ -2064,6 +2119,8 @@ class KinesisFirehoseStream(
|
|
|
2064
2119
|
'''
|
|
2065
2120
|
:param stream: -
|
|
2066
2121
|
:param message: The message to send to the stream. Must be a valid JSON text passed to the target stream. Default: - the entire Event Bridge event
|
|
2122
|
+
|
|
2123
|
+
:stability: deprecated
|
|
2067
2124
|
'''
|
|
2068
2125
|
if __debug__:
|
|
2069
2126
|
type_hints = typing.get_type_hints(_typecheckingstub__c6dba8ed5e351380147a927ce30f4c9095bc69a54a2de45039c2a1d8275dc88c)
|
|
@@ -2078,10 +2135,12 @@ class KinesisFirehoseStream(
|
|
|
2078
2135
|
_rule: _IRule_af9e3d28,
|
|
2079
2136
|
_id: typing.Optional[builtins.str] = None,
|
|
2080
2137
|
) -> _RuleTargetConfig_4e70fe03:
|
|
2081
|
-
'''Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.
|
|
2138
|
+
'''(deprecated) Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.
|
|
2082
2139
|
|
|
2083
2140
|
:param _rule: -
|
|
2084
2141
|
:param _id: -
|
|
2142
|
+
|
|
2143
|
+
:stability: deprecated
|
|
2085
2144
|
'''
|
|
2086
2145
|
if __debug__:
|
|
2087
2146
|
type_hints = typing.get_type_hints(_typecheckingstub__b38a65da97645536b57df6537ab7a5b06cf8910d4235008699171e7ced62c584)
|
|
@@ -2150,6 +2209,65 @@ class KinesisFirehoseStreamProps:
|
|
|
2150
2209
|
)
|
|
2151
2210
|
|
|
2152
2211
|
|
|
2212
|
+
@jsii.implements(_IRuleTarget_7a91f454)
|
|
2213
|
+
class KinesisFirehoseStreamV2(
|
|
2214
|
+
metaclass=jsii.JSIIMeta,
|
|
2215
|
+
jsii_type="aws-cdk-lib.aws_events_targets.KinesisFirehoseStreamV2",
|
|
2216
|
+
):
|
|
2217
|
+
'''Customize the Firehose Stream Event Target V2 to support L2 Kinesis Delivery Stream instead of L1 Cfn Kinesis Delivery Stream.
|
|
2218
|
+
|
|
2219
|
+
:exampleMetadata: fixture=_generated
|
|
2220
|
+
|
|
2221
|
+
Example::
|
|
2222
|
+
|
|
2223
|
+
# The code below shows an example of how to instantiate this type.
|
|
2224
|
+
# The values are placeholders you should change.
|
|
2225
|
+
from aws_cdk import aws_events as events
|
|
2226
|
+
from aws_cdk import aws_events_targets as events_targets
|
|
2227
|
+
|
|
2228
|
+
# delivery_stream: events_targets.IDeliveryStream
|
|
2229
|
+
# rule_target_input: events.RuleTargetInput
|
|
2230
|
+
|
|
2231
|
+
kinesis_firehose_stream_v2 = events_targets.KinesisFirehoseStreamV2(delivery_stream,
|
|
2232
|
+
message=rule_target_input
|
|
2233
|
+
)
|
|
2234
|
+
'''
|
|
2235
|
+
|
|
2236
|
+
def __init__(
|
|
2237
|
+
self,
|
|
2238
|
+
stream: IDeliveryStream,
|
|
2239
|
+
*,
|
|
2240
|
+
message: typing.Optional[_RuleTargetInput_6beca786] = None,
|
|
2241
|
+
) -> None:
|
|
2242
|
+
'''
|
|
2243
|
+
:param stream: -
|
|
2244
|
+
:param message: The message to send to the stream. Must be a valid JSON text passed to the target stream. Default: - the entire Event Bridge event
|
|
2245
|
+
'''
|
|
2246
|
+
if __debug__:
|
|
2247
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e8230487c5e79599a4ad63af004c2c8350c2b25e209491350274d38019afa418)
|
|
2248
|
+
check_type(argname="argument stream", value=stream, expected_type=type_hints["stream"])
|
|
2249
|
+
props = KinesisFirehoseStreamProps(message=message)
|
|
2250
|
+
|
|
2251
|
+
jsii.create(self.__class__, self, [stream, props])
|
|
2252
|
+
|
|
2253
|
+
@jsii.member(jsii_name="bind")
|
|
2254
|
+
def bind(
|
|
2255
|
+
self,
|
|
2256
|
+
_rule: _IRule_af9e3d28,
|
|
2257
|
+
_id: typing.Optional[builtins.str] = None,
|
|
2258
|
+
) -> _RuleTargetConfig_4e70fe03:
|
|
2259
|
+
'''Returns a RuleTarget that can be used to trigger this Firehose Stream as a result from a Event Bridge event.
|
|
2260
|
+
|
|
2261
|
+
:param _rule: -
|
|
2262
|
+
:param _id: -
|
|
2263
|
+
'''
|
|
2264
|
+
if __debug__:
|
|
2265
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3467ab0e593ed64d775dafc3b3fc1b1835fa2853c7ee8685668bf081dd189e44)
|
|
2266
|
+
check_type(argname="argument _rule", value=_rule, expected_type=type_hints["_rule"])
|
|
2267
|
+
check_type(argname="argument _id", value=_id, expected_type=type_hints["_id"])
|
|
2268
|
+
return typing.cast(_RuleTargetConfig_4e70fe03, jsii.invoke(self, "bind", [_rule, _id]))
|
|
2269
|
+
|
|
2270
|
+
|
|
2153
2271
|
@jsii.implements(_IRuleTarget_7a91f454)
|
|
2154
2272
|
class KinesisStream(
|
|
2155
2273
|
metaclass=jsii.JSIIMeta,
|
|
@@ -2608,6 +2726,8 @@ class SnsTopic(
|
|
|
2608
2726
|
):
|
|
2609
2727
|
'''Use an SNS topic as a target for Amazon EventBridge rules.
|
|
2610
2728
|
|
|
2729
|
+
If the topic is imported the required permissions to publish to that topic need to be set manually.
|
|
2730
|
+
|
|
2611
2731
|
Example::
|
|
2612
2732
|
|
|
2613
2733
|
# publish to an SNS topic every time code is committed
|
|
@@ -5066,8 +5186,10 @@ __all__ = [
|
|
|
5066
5186
|
"EcsTaskProps",
|
|
5067
5187
|
"EventBus",
|
|
5068
5188
|
"EventBusProps",
|
|
5189
|
+
"IDeliveryStream",
|
|
5069
5190
|
"KinesisFirehoseStream",
|
|
5070
5191
|
"KinesisFirehoseStreamProps",
|
|
5192
|
+
"KinesisFirehoseStreamV2",
|
|
5071
5193
|
"KinesisStream",
|
|
5072
5194
|
"KinesisStreamProps",
|
|
5073
5195
|
"LambdaFunction",
|
|
@@ -5331,6 +5453,21 @@ def _typecheckingstub__81d5bbf50681705e8fea422823feb918a4c9bd4be7914a6acf6200ac6
|
|
|
5331
5453
|
"""Type checking stubs"""
|
|
5332
5454
|
pass
|
|
5333
5455
|
|
|
5456
|
+
def _typecheckingstub__e8230487c5e79599a4ad63af004c2c8350c2b25e209491350274d38019afa418(
|
|
5457
|
+
stream: IDeliveryStream,
|
|
5458
|
+
*,
|
|
5459
|
+
message: typing.Optional[_RuleTargetInput_6beca786] = None,
|
|
5460
|
+
) -> None:
|
|
5461
|
+
"""Type checking stubs"""
|
|
5462
|
+
pass
|
|
5463
|
+
|
|
5464
|
+
def _typecheckingstub__3467ab0e593ed64d775dafc3b3fc1b1835fa2853c7ee8685668bf081dd189e44(
|
|
5465
|
+
_rule: _IRule_af9e3d28,
|
|
5466
|
+
_id: typing.Optional[builtins.str] = None,
|
|
5467
|
+
) -> None:
|
|
5468
|
+
"""Type checking stubs"""
|
|
5469
|
+
pass
|
|
5470
|
+
|
|
5334
5471
|
def _typecheckingstub__47a9d917a1971c5aa11b68bf823d9f34a57a7b1e7653b0f82809c06309cac1a6(
|
|
5335
5472
|
stream: _IStream_4e2457d2,
|
|
5336
5473
|
*,
|