aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -147,7 +147,7 @@ ses.ConfigurationSet(self, "ConfigurationSet",
|
|
|
147
147
|
)
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
Use `addEventDestination()` to publish email sending events to Amazon SNS or Amazon
|
|
150
|
+
Use `addEventDestination()` to publish email sending events to Amazon SNS, Amazon CloudWatch, Amazon Kinesis Firehose or Amazon EventBridge:
|
|
151
151
|
|
|
152
152
|
```python
|
|
153
153
|
# my_configuration_set: ses.ConfigurationSet
|
|
@@ -159,6 +159,48 @@ my_configuration_set.add_event_destination("ToSns",
|
|
|
159
159
|
)
|
|
160
160
|
```
|
|
161
161
|
|
|
162
|
+
**Note**: For EventBridge, you must specify the default EventBus:
|
|
163
|
+
|
|
164
|
+
```python
|
|
165
|
+
import aws_cdk.aws_events as events
|
|
166
|
+
|
|
167
|
+
# my_configuration_set: ses.ConfigurationSet
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
bus = events.EventBus.from_event_bus_name(self, "EventBus", "default")
|
|
171
|
+
|
|
172
|
+
my_configuration_set.add_event_destination("ToEventBus",
|
|
173
|
+
destination=ses.EventDestination.event_bus(bus)
|
|
174
|
+
)
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
For Firehose, if you don't specify IAM Role ARN for Amazon SES to send events. An IAM Role will be created automatically following https://docs.aws.amazon.com/ses/latest/dg/event-publishing-add-event-destination-firehose.html.
|
|
178
|
+
|
|
179
|
+
```python
|
|
180
|
+
import aws_cdk.aws_iam as iam
|
|
181
|
+
import aws_cdk.aws_kinesisfirehose as firehose
|
|
182
|
+
|
|
183
|
+
# my_configuration_set: ses.ConfigurationSet
|
|
184
|
+
# firehose_delivery_stream: firehose.IDeliveryStream
|
|
185
|
+
# iam_role: iam.IRole
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
# Create IAM Role automatically
|
|
189
|
+
my_configuration_set.add_event_destination("ToFirehose",
|
|
190
|
+
destination=ses.EventDestination.firehose_delivery_stream(
|
|
191
|
+
delivery_stream=firehose_delivery_stream
|
|
192
|
+
)
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
# Specify your IAM Role
|
|
196
|
+
my_configuration_set.add_event_destination("ToFirehose",
|
|
197
|
+
destination=ses.EventDestination.firehose_delivery_stream(
|
|
198
|
+
delivery_stream=firehose_delivery_stream,
|
|
199
|
+
role=iam_role
|
|
200
|
+
)
|
|
201
|
+
)
|
|
202
|
+
```
|
|
203
|
+
|
|
162
204
|
### Override account-level suppression list settings
|
|
163
205
|
|
|
164
206
|
You can customize account-level suppression list separately for different configuration sets by overriding it
|
|
@@ -344,7 +386,13 @@ from .. import (
|
|
|
344
386
|
TagManager as _TagManager_0a598cb3,
|
|
345
387
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
346
388
|
)
|
|
347
|
-
from ..
|
|
389
|
+
from ..aws_events import IEventBus as _IEventBus_88d13111
|
|
390
|
+
from ..aws_iam import (
|
|
391
|
+
Grant as _Grant_a7ae64f8,
|
|
392
|
+
IGrantable as _IGrantable_71c4f5de,
|
|
393
|
+
IRole as _IRole_235f5d8e,
|
|
394
|
+
)
|
|
395
|
+
from ..aws_kinesisfirehose import IDeliveryStream as _IDeliveryStream_8f118861
|
|
348
396
|
from ..aws_route53 import IPublicHostedZone as _IPublicHostedZone_9b6e7da4
|
|
349
397
|
from ..aws_sns import ITopic as _ITopic_9eca4852
|
|
350
398
|
|
|
@@ -12698,12 +12746,15 @@ class ConfigurationSetEventDestinationOptions:
|
|
|
12698
12746
|
|
|
12699
12747
|
Example::
|
|
12700
12748
|
|
|
12749
|
+
import aws_cdk.aws_events as events
|
|
12750
|
+
|
|
12701
12751
|
# my_configuration_set: ses.ConfigurationSet
|
|
12702
|
-
# my_topic: sns.Topic
|
|
12703
12752
|
|
|
12704
12753
|
|
|
12705
|
-
|
|
12706
|
-
|
|
12754
|
+
bus = events.EventBus.from_event_bus_name(self, "EventBus", "default")
|
|
12755
|
+
|
|
12756
|
+
my_configuration_set.add_event_destination("ToEventBus",
|
|
12757
|
+
destination=ses.EventDestination.event_bus(bus)
|
|
12707
12758
|
)
|
|
12708
12759
|
'''
|
|
12709
12760
|
if __debug__:
|
|
@@ -13760,12 +13811,15 @@ class EventDestination(
|
|
|
13760
13811
|
|
|
13761
13812
|
Example::
|
|
13762
13813
|
|
|
13814
|
+
import aws_cdk.aws_events as events
|
|
13815
|
+
|
|
13763
13816
|
# my_configuration_set: ses.ConfigurationSet
|
|
13764
|
-
# my_topic: sns.Topic
|
|
13765
13817
|
|
|
13766
13818
|
|
|
13767
|
-
|
|
13768
|
-
|
|
13819
|
+
bus = events.EventBus.from_event_bus_name(self, "EventBus", "default")
|
|
13820
|
+
|
|
13821
|
+
my_configuration_set.add_event_destination("ToEventBus",
|
|
13822
|
+
destination=ses.EventDestination.event_bus(bus)
|
|
13769
13823
|
)
|
|
13770
13824
|
'''
|
|
13771
13825
|
|
|
@@ -13787,6 +13841,37 @@ class EventDestination(
|
|
|
13787
13841
|
check_type(argname="argument dimensions", value=dimensions, expected_type=type_hints["dimensions"])
|
|
13788
13842
|
return typing.cast("EventDestination", jsii.sinvoke(cls, "cloudWatchDimensions", [dimensions]))
|
|
13789
13843
|
|
|
13844
|
+
@jsii.member(jsii_name="eventBus")
|
|
13845
|
+
@builtins.classmethod
|
|
13846
|
+
def event_bus(cls, event_bus: _IEventBus_88d13111) -> "EventDestination":
|
|
13847
|
+
'''Use Event Bus as event destination.
|
|
13848
|
+
|
|
13849
|
+
:param event_bus: -
|
|
13850
|
+
'''
|
|
13851
|
+
if __debug__:
|
|
13852
|
+
type_hints = typing.get_type_hints(_typecheckingstub__78ca2ceff9eadb6d2fd3c462d34cb7f67a24ade525c2a3315a2817370e1d2567)
|
|
13853
|
+
check_type(argname="argument event_bus", value=event_bus, expected_type=type_hints["event_bus"])
|
|
13854
|
+
return typing.cast("EventDestination", jsii.sinvoke(cls, "eventBus", [event_bus]))
|
|
13855
|
+
|
|
13856
|
+
@jsii.member(jsii_name="firehoseDeliveryStream")
|
|
13857
|
+
@builtins.classmethod
|
|
13858
|
+
def firehose_delivery_stream(
|
|
13859
|
+
cls,
|
|
13860
|
+
*,
|
|
13861
|
+
delivery_stream: _IDeliveryStream_8f118861,
|
|
13862
|
+
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
13863
|
+
) -> "EventDestination":
|
|
13864
|
+
'''Use Firehose Delivery Stream as event destination.
|
|
13865
|
+
|
|
13866
|
+
:param delivery_stream: The Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
|
|
13867
|
+
:param role: The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream. Default: - Create IAM Role for Kinesis Data Firehose Delivery stream
|
|
13868
|
+
'''
|
|
13869
|
+
stream = FirehoseDeliveryStreamDestination(
|
|
13870
|
+
delivery_stream=delivery_stream, role=role
|
|
13871
|
+
)
|
|
13872
|
+
|
|
13873
|
+
return typing.cast("EventDestination", jsii.sinvoke(cls, "firehoseDeliveryStream", [stream]))
|
|
13874
|
+
|
|
13790
13875
|
@jsii.member(jsii_name="snsTopic")
|
|
13791
13876
|
@builtins.classmethod
|
|
13792
13877
|
def sns_topic(cls, topic: _ITopic_9eca4852) -> "EventDestination":
|
|
@@ -13799,6 +13884,16 @@ class EventDestination(
|
|
|
13799
13884
|
check_type(argname="argument topic", value=topic, expected_type=type_hints["topic"])
|
|
13800
13885
|
return typing.cast("EventDestination", jsii.sinvoke(cls, "snsTopic", [topic]))
|
|
13801
13886
|
|
|
13887
|
+
@builtins.property
|
|
13888
|
+
@jsii.member(jsii_name="bus")
|
|
13889
|
+
@abc.abstractmethod
|
|
13890
|
+
def bus(self) -> typing.Optional[_IEventBus_88d13111]:
|
|
13891
|
+
'''Use Event Bus as event destination.
|
|
13892
|
+
|
|
13893
|
+
:default: - do not send events to Event bus
|
|
13894
|
+
'''
|
|
13895
|
+
...
|
|
13896
|
+
|
|
13802
13897
|
@builtins.property
|
|
13803
13898
|
@jsii.member(jsii_name="dimensions")
|
|
13804
13899
|
@abc.abstractmethod
|
|
@@ -13809,6 +13904,16 @@ class EventDestination(
|
|
|
13809
13904
|
'''
|
|
13810
13905
|
...
|
|
13811
13906
|
|
|
13907
|
+
@builtins.property
|
|
13908
|
+
@jsii.member(jsii_name="stream")
|
|
13909
|
+
@abc.abstractmethod
|
|
13910
|
+
def stream(self) -> typing.Optional["FirehoseDeliveryStreamDestination"]:
|
|
13911
|
+
'''Use Firehose Delivery Stream.
|
|
13912
|
+
|
|
13913
|
+
:default: - do not send events to Firehose Delivery Stream
|
|
13914
|
+
'''
|
|
13915
|
+
...
|
|
13916
|
+
|
|
13812
13917
|
@builtins.property
|
|
13813
13918
|
@jsii.member(jsii_name="topic")
|
|
13814
13919
|
@abc.abstractmethod
|
|
@@ -13821,6 +13926,15 @@ class EventDestination(
|
|
|
13821
13926
|
|
|
13822
13927
|
|
|
13823
13928
|
class _EventDestinationProxy(EventDestination):
|
|
13929
|
+
@builtins.property
|
|
13930
|
+
@jsii.member(jsii_name="bus")
|
|
13931
|
+
def bus(self) -> typing.Optional[_IEventBus_88d13111]:
|
|
13932
|
+
'''Use Event Bus as event destination.
|
|
13933
|
+
|
|
13934
|
+
:default: - do not send events to Event bus
|
|
13935
|
+
'''
|
|
13936
|
+
return typing.cast(typing.Optional[_IEventBus_88d13111], jsii.get(self, "bus"))
|
|
13937
|
+
|
|
13824
13938
|
@builtins.property
|
|
13825
13939
|
@jsii.member(jsii_name="dimensions")
|
|
13826
13940
|
def dimensions(self) -> typing.Optional[typing.List[CloudWatchDimension]]:
|
|
@@ -13830,6 +13944,15 @@ class _EventDestinationProxy(EventDestination):
|
|
|
13830
13944
|
'''
|
|
13831
13945
|
return typing.cast(typing.Optional[typing.List[CloudWatchDimension]], jsii.get(self, "dimensions"))
|
|
13832
13946
|
|
|
13947
|
+
@builtins.property
|
|
13948
|
+
@jsii.member(jsii_name="stream")
|
|
13949
|
+
def stream(self) -> typing.Optional["FirehoseDeliveryStreamDestination"]:
|
|
13950
|
+
'''Use Firehose Delivery Stream.
|
|
13951
|
+
|
|
13952
|
+
:default: - do not send events to Firehose Delivery Stream
|
|
13953
|
+
'''
|
|
13954
|
+
return typing.cast(typing.Optional["FirehoseDeliveryStreamDestination"], jsii.get(self, "stream"))
|
|
13955
|
+
|
|
13833
13956
|
@builtins.property
|
|
13834
13957
|
@jsii.member(jsii_name="topic")
|
|
13835
13958
|
def topic(self) -> typing.Optional[_ITopic_9eca4852]:
|
|
@@ -13843,6 +13966,88 @@ class _EventDestinationProxy(EventDestination):
|
|
|
13843
13966
|
typing.cast(typing.Any, EventDestination).__jsii_proxy_class__ = lambda : _EventDestinationProxy
|
|
13844
13967
|
|
|
13845
13968
|
|
|
13969
|
+
@jsii.data_type(
|
|
13970
|
+
jsii_type="aws-cdk-lib.aws_ses.FirehoseDeliveryStreamDestination",
|
|
13971
|
+
jsii_struct_bases=[],
|
|
13972
|
+
name_mapping={"delivery_stream": "deliveryStream", "role": "role"},
|
|
13973
|
+
)
|
|
13974
|
+
class FirehoseDeliveryStreamDestination:
|
|
13975
|
+
def __init__(
|
|
13976
|
+
self,
|
|
13977
|
+
*,
|
|
13978
|
+
delivery_stream: _IDeliveryStream_8f118861,
|
|
13979
|
+
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
13980
|
+
) -> None:
|
|
13981
|
+
'''An object that defines an Amazon Kinesis Data Firehose destination for email events.
|
|
13982
|
+
|
|
13983
|
+
:param delivery_stream: The Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.
|
|
13984
|
+
:param role: The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream. Default: - Create IAM Role for Kinesis Data Firehose Delivery stream
|
|
13985
|
+
|
|
13986
|
+
:exampleMetadata: infused
|
|
13987
|
+
|
|
13988
|
+
Example::
|
|
13989
|
+
|
|
13990
|
+
import aws_cdk.aws_iam as iam
|
|
13991
|
+
import aws_cdk.aws_kinesisfirehose as firehose
|
|
13992
|
+
|
|
13993
|
+
# my_configuration_set: ses.ConfigurationSet
|
|
13994
|
+
# firehose_delivery_stream: firehose.IDeliveryStream
|
|
13995
|
+
# iam_role: iam.IRole
|
|
13996
|
+
|
|
13997
|
+
|
|
13998
|
+
# Create IAM Role automatically
|
|
13999
|
+
my_configuration_set.add_event_destination("ToFirehose",
|
|
14000
|
+
destination=ses.EventDestination.firehose_delivery_stream(
|
|
14001
|
+
delivery_stream=firehose_delivery_stream
|
|
14002
|
+
)
|
|
14003
|
+
)
|
|
14004
|
+
|
|
14005
|
+
# Specify your IAM Role
|
|
14006
|
+
my_configuration_set.add_event_destination("ToFirehose",
|
|
14007
|
+
destination=ses.EventDestination.firehose_delivery_stream(
|
|
14008
|
+
delivery_stream=firehose_delivery_stream,
|
|
14009
|
+
role=iam_role
|
|
14010
|
+
)
|
|
14011
|
+
)
|
|
14012
|
+
'''
|
|
14013
|
+
if __debug__:
|
|
14014
|
+
type_hints = typing.get_type_hints(_typecheckingstub__25e298d77ea0f34cfbae7db26e4f74efd5a1ddd1fa1c691226c8fa211cb24464)
|
|
14015
|
+
check_type(argname="argument delivery_stream", value=delivery_stream, expected_type=type_hints["delivery_stream"])
|
|
14016
|
+
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
14017
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
14018
|
+
"delivery_stream": delivery_stream,
|
|
14019
|
+
}
|
|
14020
|
+
if role is not None:
|
|
14021
|
+
self._values["role"] = role
|
|
14022
|
+
|
|
14023
|
+
@builtins.property
|
|
14024
|
+
def delivery_stream(self) -> _IDeliveryStream_8f118861:
|
|
14025
|
+
'''The Amazon Kinesis Data Firehose stream that the Amazon SES API v2 sends email events to.'''
|
|
14026
|
+
result = self._values.get("delivery_stream")
|
|
14027
|
+
assert result is not None, "Required property 'delivery_stream' is missing"
|
|
14028
|
+
return typing.cast(_IDeliveryStream_8f118861, result)
|
|
14029
|
+
|
|
14030
|
+
@builtins.property
|
|
14031
|
+
def role(self) -> typing.Optional[_IRole_235f5d8e]:
|
|
14032
|
+
'''The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Kinesis Data Firehose stream.
|
|
14033
|
+
|
|
14034
|
+
:default: - Create IAM Role for Kinesis Data Firehose Delivery stream
|
|
14035
|
+
'''
|
|
14036
|
+
result = self._values.get("role")
|
|
14037
|
+
return typing.cast(typing.Optional[_IRole_235f5d8e], result)
|
|
14038
|
+
|
|
14039
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
14040
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
14041
|
+
|
|
14042
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
14043
|
+
return not (rhs == self)
|
|
14044
|
+
|
|
14045
|
+
def __repr__(self) -> str:
|
|
14046
|
+
return "FirehoseDeliveryStreamDestination(%s)" % ", ".join(
|
|
14047
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
14048
|
+
)
|
|
14049
|
+
|
|
14050
|
+
|
|
13846
14051
|
@jsii.interface(jsii_type="aws-cdk-lib.aws_ses.IConfigurationSet")
|
|
13847
14052
|
class IConfigurationSet(_IResource_c80c4260, typing_extensions.Protocol):
|
|
13848
14053
|
'''A configuration set.'''
|
|
@@ -16763,6 +16968,7 @@ __all__ = [
|
|
|
16763
16968
|
"EmailIdentityProps",
|
|
16764
16969
|
"EmailSendingEvent",
|
|
16765
16970
|
"EventDestination",
|
|
16971
|
+
"FirehoseDeliveryStreamDestination",
|
|
16766
16972
|
"IConfigurationSet",
|
|
16767
16973
|
"IConfigurationSetEventDestination",
|
|
16768
16974
|
"IDedicatedIpPool",
|
|
@@ -18470,12 +18676,26 @@ def _typecheckingstub__48f9cce8b82649ed9874f37f0ed571721b324063ca98764a07bb10a45
|
|
|
18470
18676
|
"""Type checking stubs"""
|
|
18471
18677
|
pass
|
|
18472
18678
|
|
|
18679
|
+
def _typecheckingstub__78ca2ceff9eadb6d2fd3c462d34cb7f67a24ade525c2a3315a2817370e1d2567(
|
|
18680
|
+
event_bus: _IEventBus_88d13111,
|
|
18681
|
+
) -> None:
|
|
18682
|
+
"""Type checking stubs"""
|
|
18683
|
+
pass
|
|
18684
|
+
|
|
18473
18685
|
def _typecheckingstub__70dbe9528b7fbaa2cbed5b1def55a8c3126fbfed3ee256b878bbb907e4585c9c(
|
|
18474
18686
|
topic: _ITopic_9eca4852,
|
|
18475
18687
|
) -> None:
|
|
18476
18688
|
"""Type checking stubs"""
|
|
18477
18689
|
pass
|
|
18478
18690
|
|
|
18691
|
+
def _typecheckingstub__25e298d77ea0f34cfbae7db26e4f74efd5a1ddd1fa1c691226c8fa211cb24464(
|
|
18692
|
+
*,
|
|
18693
|
+
delivery_stream: _IDeliveryStream_8f118861,
|
|
18694
|
+
role: typing.Optional[_IRole_235f5d8e] = None,
|
|
18695
|
+
) -> None:
|
|
18696
|
+
"""Type checking stubs"""
|
|
18697
|
+
pass
|
|
18698
|
+
|
|
18479
18699
|
def _typecheckingstub__6eb2e4383fa830ca0d609c782e4234141a31536edcdc3259b3ad6d4f1a87c702(
|
|
18480
18700
|
grantee: _IGrantable_71c4f5de,
|
|
18481
18701
|
*actions: builtins.str,
|
aws_cdk/aws_ssm/__init__.py
CHANGED
|
@@ -333,7 +333,7 @@ class CfnAssociation(
|
|
|
333
333
|
:param apply_only_at_cron_interval: By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
|
|
334
334
|
:param association_name: Specify a descriptive name for the association.
|
|
335
335
|
:param automation_target_parameter_name: Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
|
|
336
|
-
:param calendar_names: The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ .
|
|
336
|
+
:param calendar_names: The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ in the *AWS Systems Manager User Guide* .
|
|
337
337
|
:param compliance_severity: The severity level that is assigned to the association.
|
|
338
338
|
:param document_version: The version of the SSM document to associate with the target. .. epigraph:: Note the following important information. - State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the ``default`` version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to ``default`` . - ``DocumentVersion`` is not valid for documents owned by AWS , such as ``AWS-RunPatchBaseline`` or ``AWS-UpdateSSMAgent`` . If you specify ``DocumentVersion`` for an AWS document, the system returns the following error: "Error occurred during operation 'CreateAssociation'." (RequestToken: , HandlerErrorCode: GeneralServiceException).
|
|
339
339
|
:param instance_id: The ID of the instance that the SSM document is associated with. You must specify the ``InstanceId`` or ``Targets`` property. .. epigraph:: ``InstanceId`` has been deprecated. To specify an instance ID for an association, use the ``Targets`` parameter. If you use the parameter ``InstanceId`` , you cannot use the parameters ``AssociationName`` , ``DocumentVersion`` , ``MaxErrors`` , ``MaxConcurrency`` , ``OutputLocation`` , or ``ScheduleExpression`` . To use these parameters, you must use the ``Targets`` parameter.
|
|
@@ -938,7 +938,7 @@ class CfnAssociationProps:
|
|
|
938
938
|
:param apply_only_at_cron_interval: By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
|
|
939
939
|
:param association_name: Specify a descriptive name for the association.
|
|
940
940
|
:param automation_target_parameter_name: Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
|
|
941
|
-
:param calendar_names: The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ .
|
|
941
|
+
:param calendar_names: The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ in the *AWS Systems Manager User Guide* .
|
|
942
942
|
:param compliance_severity: The severity level that is assigned to the association.
|
|
943
943
|
:param document_version: The version of the SSM document to associate with the target. .. epigraph:: Note the following important information. - State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the ``default`` version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to ``default`` . - ``DocumentVersion`` is not valid for documents owned by AWS , such as ``AWS-RunPatchBaseline`` or ``AWS-UpdateSSMAgent`` . If you specify ``DocumentVersion`` for an AWS document, the system returns the following error: "Error occurred during operation 'CreateAssociation'." (RequestToken: , HandlerErrorCode: GeneralServiceException).
|
|
944
944
|
:param instance_id: The ID of the instance that the SSM document is associated with. You must specify the ``InstanceId`` or ``Targets`` property. .. epigraph:: ``InstanceId`` has been deprecated. To specify an instance ID for an association, use the ``Targets`` parameter. If you use the parameter ``InstanceId`` , you cannot use the parameters ``AssociationName`` , ``DocumentVersion`` , ``MaxErrors`` , ``MaxConcurrency`` , ``OutputLocation`` , or ``ScheduleExpression`` . To use these parameters, you must use the ``Targets`` parameter.
|
|
@@ -1104,7 +1104,7 @@ class CfnAssociationProps:
|
|
|
1104
1104
|
def calendar_names(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1105
1105
|
'''The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under.
|
|
1106
1106
|
|
|
1107
|
-
The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ .
|
|
1107
|
+
The associations only run when that Change Calendar is open. For more information, see `AWS Systems Manager Change Calendar <https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar>`_ in the *AWS Systems Manager User Guide* .
|
|
1108
1108
|
|
|
1109
1109
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html#cfn-ssm-association-calendarnames
|
|
1110
1110
|
'''
|
|
@@ -6522,8 +6522,7 @@ class CfnResourceDataSync(
|
|
|
6522
6522
|
@builtins.property
|
|
6523
6523
|
@jsii.member(jsii_name="attrSyncName")
|
|
6524
6524
|
def attr_sync_name(self) -> builtins.str:
|
|
6525
|
-
'''
|
|
6526
|
-
|
|
6525
|
+
'''
|
|
6527
6526
|
:cloudformationAttribute: SyncName
|
|
6528
6527
|
'''
|
|
6529
6528
|
return typing.cast(builtins.str, jsii.get(self, "attrSyncName"))
|