aws-cdk-lib 2.150.0__py3-none-any.whl → 2.151.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 +4 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.150.0.jsii.tgz → aws-cdk-lib@2.151.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +94 -21
- aws_cdk/aws_appconfig/__init__.py +3 -3
- aws_cdk/aws_backup/__init__.py +3 -3
- aws_cdk/aws_bedrock/__init__.py +28 -20
- aws_cdk/aws_cleanrooms/__init__.py +5 -5
- aws_cdk/aws_cloudformation/__init__.py +2 -2
- aws_cdk/aws_cloudfront/__init__.py +102 -32
- aws_cdk/aws_cloudtrail/__init__.py +6 -2
- aws_cdk/aws_ec2/__init__.py +181 -3
- aws_cdk/aws_ecs/__init__.py +6 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +104 -9
- aws_cdk/aws_entityresolution/__init__.py +27 -21
- aws_cdk/aws_events/__init__.py +83 -16
- aws_cdk/aws_iam/__init__.py +11 -24
- aws_cdk/aws_iotsitewise/__init__.py +8 -8
- aws_cdk/aws_lambda/__init__.py +2 -0
- aws_cdk/aws_mwaa/__init__.py +3 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_rds/__init__.py +237 -197
- aws_cdk/aws_s3/__init__.py +8 -2
- aws_cdk/aws_ses/__init__.py +3 -3
- aws_cdk/aws_sns/__init__.py +5 -2
- aws_cdk/aws_stepfunctions/__init__.py +5 -2
- aws_cdk/aws_stepfunctions_tasks/__init__.py +17 -0
- aws_cdk/aws_synthetics/__init__.py +159 -21
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/RECORD +34 -34
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.150.0.dist-info → aws_cdk_lib-2.151.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -206,7 +206,8 @@ It is possible to archive all or some events sent to an event bus. It is then po
|
|
|
206
206
|
|
|
207
207
|
```python
|
|
208
208
|
bus = events.EventBus(self, "bus",
|
|
209
|
-
event_bus_name="MyCustomEventBus"
|
|
209
|
+
event_bus_name="MyCustomEventBus",
|
|
210
|
+
description="MyCustomEventBus"
|
|
210
211
|
)
|
|
211
212
|
|
|
212
213
|
bus.archive("MyArchive",
|
|
@@ -235,6 +236,25 @@ event_bus = events.EventBus.from_event_bus_arn(self, "ImportedEventBus", "arn:aw
|
|
|
235
236
|
# now you can just call methods on the eventbus
|
|
236
237
|
event_bus.grant_put_events_to(lambda_function)
|
|
237
238
|
```
|
|
239
|
+
|
|
240
|
+
## Use a customer managed key
|
|
241
|
+
|
|
242
|
+
To use a customer managed key for events on the event bus, use the `kmsKey` attribute.
|
|
243
|
+
|
|
244
|
+
```python
|
|
245
|
+
import aws_cdk.aws_kms as kms
|
|
246
|
+
|
|
247
|
+
# kms_key: kms.IKey
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
events.EventBus(self, "Bus",
|
|
251
|
+
kms_key=kms_key
|
|
252
|
+
)
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
**Note**: Archives and schema discovery are not supported for event buses encrypted using a customer managed key.
|
|
256
|
+
To enable archives or schema discovery on an event bus, choose to use an AWS owned key.
|
|
257
|
+
For more information, see [KMS key options for event bus encryption](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-at-rest-key-options.html).
|
|
238
258
|
'''
|
|
239
259
|
from pkgutil import extend_path
|
|
240
260
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -275,6 +295,7 @@ from ..aws_iam import (
|
|
|
275
295
|
IRole as _IRole_235f5d8e,
|
|
276
296
|
PolicyStatement as _PolicyStatement_0fe33853,
|
|
277
297
|
)
|
|
298
|
+
from ..aws_kms import IKey as _IKey_5f11635f
|
|
278
299
|
|
|
279
300
|
|
|
280
301
|
@jsii.data_type(
|
|
@@ -720,7 +741,8 @@ class BaseArchiveProps:
|
|
|
720
741
|
Example::
|
|
721
742
|
|
|
722
743
|
bus = events.EventBus(self, "bus",
|
|
723
|
-
event_bus_name="MyCustomEventBus"
|
|
744
|
+
event_bus_name="MyCustomEventBus",
|
|
745
|
+
description="MyCustomEventBus"
|
|
724
746
|
)
|
|
725
747
|
|
|
726
748
|
bus.archive("MyArchive",
|
|
@@ -8164,21 +8186,27 @@ class EventBusPolicyProps:
|
|
|
8164
8186
|
jsii_type="aws-cdk-lib.aws_events.EventBusProps",
|
|
8165
8187
|
jsii_struct_bases=[],
|
|
8166
8188
|
name_mapping={
|
|
8189
|
+
"description": "description",
|
|
8167
8190
|
"event_bus_name": "eventBusName",
|
|
8168
8191
|
"event_source_name": "eventSourceName",
|
|
8192
|
+
"kms_key": "kmsKey",
|
|
8169
8193
|
},
|
|
8170
8194
|
)
|
|
8171
8195
|
class EventBusProps:
|
|
8172
8196
|
def __init__(
|
|
8173
8197
|
self,
|
|
8174
8198
|
*,
|
|
8199
|
+
description: typing.Optional[builtins.str] = None,
|
|
8175
8200
|
event_bus_name: typing.Optional[builtins.str] = None,
|
|
8176
8201
|
event_source_name: typing.Optional[builtins.str] = None,
|
|
8202
|
+
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
8177
8203
|
) -> None:
|
|
8178
8204
|
'''Properties to define an event bus.
|
|
8179
8205
|
|
|
8206
|
+
:param description: The event bus description. The description can be up to 512 characters long. Default: - no description
|
|
8180
8207
|
:param event_bus_name: The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this. Default: - automatically generated name
|
|
8181
8208
|
:param event_source_name: The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this. Default: - no partner event source
|
|
8209
|
+
:param kms_key: The customer managed key that encrypt events on this event bus. Default: - Use an AWS managed key
|
|
8182
8210
|
|
|
8183
8211
|
:exampleMetadata: infused
|
|
8184
8212
|
|
|
@@ -8187,31 +8215,49 @@ class EventBusProps:
|
|
|
8187
8215
|
import aws_cdk.aws_events as events
|
|
8188
8216
|
|
|
8189
8217
|
|
|
8190
|
-
|
|
8191
|
-
event_bus_name="
|
|
8192
|
-
)
|
|
8193
|
-
|
|
8194
|
-
event_entry = targets.EventBridgePutEventsEntry(
|
|
8195
|
-
event_bus=event_bus,
|
|
8196
|
-
source="PetService",
|
|
8197
|
-
detail=ScheduleTargetInput.from_object({"Name": "Fluffy"}),
|
|
8198
|
-
detail_type="🐶"
|
|
8218
|
+
my_event_bus = events.EventBus(self, "EventBus",
|
|
8219
|
+
event_bus_name="MyEventBus1"
|
|
8199
8220
|
)
|
|
8200
8221
|
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8222
|
+
tasks.EventBridgePutEvents(self, "Send an event to EventBridge",
|
|
8223
|
+
entries=[tasks.EventBridgePutEventsEntry(
|
|
8224
|
+
detail=sfn.TaskInput.from_object({
|
|
8225
|
+
"Message": "Hello from Step Functions!"
|
|
8226
|
+
}),
|
|
8227
|
+
event_bus=my_event_bus,
|
|
8228
|
+
detail_type="MessageFromStepFunctions",
|
|
8229
|
+
source="step.functions"
|
|
8230
|
+
)]
|
|
8204
8231
|
)
|
|
8205
8232
|
'''
|
|
8206
8233
|
if __debug__:
|
|
8207
8234
|
type_hints = typing.get_type_hints(_typecheckingstub__298a8c4285f4e039344007a0deb097d820ddec52c59d396d7a8faa1aa9c8b743)
|
|
8235
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
8208
8236
|
check_type(argname="argument event_bus_name", value=event_bus_name, expected_type=type_hints["event_bus_name"])
|
|
8209
8237
|
check_type(argname="argument event_source_name", value=event_source_name, expected_type=type_hints["event_source_name"])
|
|
8238
|
+
check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
|
|
8210
8239
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8240
|
+
if description is not None:
|
|
8241
|
+
self._values["description"] = description
|
|
8211
8242
|
if event_bus_name is not None:
|
|
8212
8243
|
self._values["event_bus_name"] = event_bus_name
|
|
8213
8244
|
if event_source_name is not None:
|
|
8214
8245
|
self._values["event_source_name"] = event_source_name
|
|
8246
|
+
if kms_key is not None:
|
|
8247
|
+
self._values["kms_key"] = kms_key
|
|
8248
|
+
|
|
8249
|
+
@builtins.property
|
|
8250
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
8251
|
+
'''The event bus description.
|
|
8252
|
+
|
|
8253
|
+
The description can be up to 512 characters long.
|
|
8254
|
+
|
|
8255
|
+
:default: - no description
|
|
8256
|
+
|
|
8257
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-description
|
|
8258
|
+
'''
|
|
8259
|
+
result = self._values.get("description")
|
|
8260
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8215
8261
|
|
|
8216
8262
|
@builtins.property
|
|
8217
8263
|
def event_bus_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -8235,6 +8281,15 @@ class EventBusProps:
|
|
|
8235
8281
|
result = self._values.get("event_source_name")
|
|
8236
8282
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
8237
8283
|
|
|
8284
|
+
@builtins.property
|
|
8285
|
+
def kms_key(self) -> typing.Optional[_IKey_5f11635f]:
|
|
8286
|
+
'''The customer managed key that encrypt events on this event bus.
|
|
8287
|
+
|
|
8288
|
+
:default: - Use an AWS managed key
|
|
8289
|
+
'''
|
|
8290
|
+
result = self._values.get("kms_key")
|
|
8291
|
+
return typing.cast(typing.Optional[_IKey_5f11635f], result)
|
|
8292
|
+
|
|
8238
8293
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8239
8294
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8240
8295
|
|
|
@@ -11331,7 +11386,8 @@ class EventBus(
|
|
|
11331
11386
|
Example::
|
|
11332
11387
|
|
|
11333
11388
|
bus = events.EventBus(self, "bus",
|
|
11334
|
-
event_bus_name="MyCustomEventBus"
|
|
11389
|
+
event_bus_name="MyCustomEventBus",
|
|
11390
|
+
description="MyCustomEventBus"
|
|
11335
11391
|
)
|
|
11336
11392
|
|
|
11337
11393
|
bus.archive("MyArchive",
|
|
@@ -11349,21 +11405,28 @@ class EventBus(
|
|
|
11349
11405
|
scope: _constructs_77d1e7e8.Construct,
|
|
11350
11406
|
id: builtins.str,
|
|
11351
11407
|
*,
|
|
11408
|
+
description: typing.Optional[builtins.str] = None,
|
|
11352
11409
|
event_bus_name: typing.Optional[builtins.str] = None,
|
|
11353
11410
|
event_source_name: typing.Optional[builtins.str] = None,
|
|
11411
|
+
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
11354
11412
|
) -> None:
|
|
11355
11413
|
'''
|
|
11356
11414
|
:param scope: -
|
|
11357
11415
|
:param id: -
|
|
11416
|
+
:param description: The event bus description. The description can be up to 512 characters long. Default: - no description
|
|
11358
11417
|
:param event_bus_name: The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this. Default: - automatically generated name
|
|
11359
11418
|
:param event_source_name: The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this. Default: - no partner event source
|
|
11419
|
+
:param kms_key: The customer managed key that encrypt events on this event bus. Default: - Use an AWS managed key
|
|
11360
11420
|
'''
|
|
11361
11421
|
if __debug__:
|
|
11362
11422
|
type_hints = typing.get_type_hints(_typecheckingstub__95a51d19a0503daf5e05f08738b44a6276eaa23c373c99735de37b1247783380)
|
|
11363
11423
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
11364
11424
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
11365
11425
|
props = EventBusProps(
|
|
11366
|
-
|
|
11426
|
+
description=description,
|
|
11427
|
+
event_bus_name=event_bus_name,
|
|
11428
|
+
event_source_name=event_source_name,
|
|
11429
|
+
kms_key=kms_key,
|
|
11367
11430
|
)
|
|
11368
11431
|
|
|
11369
11432
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -12566,8 +12629,10 @@ def _typecheckingstub__30683f3da3ccc9235ea663f165631b4ac57c807c1878517c5051bcd78
|
|
|
12566
12629
|
|
|
12567
12630
|
def _typecheckingstub__298a8c4285f4e039344007a0deb097d820ddec52c59d396d7a8faa1aa9c8b743(
|
|
12568
12631
|
*,
|
|
12632
|
+
description: typing.Optional[builtins.str] = None,
|
|
12569
12633
|
event_bus_name: typing.Optional[builtins.str] = None,
|
|
12570
12634
|
event_source_name: typing.Optional[builtins.str] = None,
|
|
12635
|
+
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
12571
12636
|
) -> None:
|
|
12572
12637
|
"""Type checking stubs"""
|
|
12573
12638
|
pass
|
|
@@ -12960,8 +13025,10 @@ def _typecheckingstub__95a51d19a0503daf5e05f08738b44a6276eaa23c373c99735de37b124
|
|
|
12960
13025
|
scope: _constructs_77d1e7e8.Construct,
|
|
12961
13026
|
id: builtins.str,
|
|
12962
13027
|
*,
|
|
13028
|
+
description: typing.Optional[builtins.str] = None,
|
|
12963
13029
|
event_bus_name: typing.Optional[builtins.str] = None,
|
|
12964
13030
|
event_source_name: typing.Optional[builtins.str] = None,
|
|
13031
|
+
kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
12965
13032
|
) -> None:
|
|
12966
13033
|
"""Type checking stubs"""
|
|
12967
13034
|
pass
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -2383,8 +2383,7 @@ class CfnManagedPolicy(
|
|
|
2383
2383
|
@builtins.property
|
|
2384
2384
|
@jsii.member(jsii_name="attrAttachmentCount")
|
|
2385
2385
|
def attr_attachment_count(self) -> jsii.Number:
|
|
2386
|
-
'''
|
|
2387
|
-
|
|
2386
|
+
'''
|
|
2388
2387
|
:cloudformationAttribute: AttachmentCount
|
|
2389
2388
|
'''
|
|
2390
2389
|
return typing.cast(jsii.Number, jsii.get(self, "attrAttachmentCount"))
|
|
@@ -2392,8 +2391,7 @@ class CfnManagedPolicy(
|
|
|
2392
2391
|
@builtins.property
|
|
2393
2392
|
@jsii.member(jsii_name="attrCreateDate")
|
|
2394
2393
|
def attr_create_date(self) -> builtins.str:
|
|
2395
|
-
'''
|
|
2396
|
-
|
|
2394
|
+
'''
|
|
2397
2395
|
:cloudformationAttribute: CreateDate
|
|
2398
2396
|
'''
|
|
2399
2397
|
return typing.cast(builtins.str, jsii.get(self, "attrCreateDate"))
|
|
@@ -2401,10 +2399,7 @@ class CfnManagedPolicy(
|
|
|
2401
2399
|
@builtins.property
|
|
2402
2400
|
@jsii.member(jsii_name="attrDefaultVersionId")
|
|
2403
2401
|
def attr_default_version_id(self) -> builtins.str:
|
|
2404
|
-
'''
|
|
2405
|
-
|
|
2406
|
-
For more information about policy versions, see `Versioning for managed policies <https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html>`_ in the *IAM User Guide* .
|
|
2407
|
-
|
|
2402
|
+
'''
|
|
2408
2403
|
:cloudformationAttribute: DefaultVersionId
|
|
2409
2404
|
'''
|
|
2410
2405
|
return typing.cast(builtins.str, jsii.get(self, "attrDefaultVersionId"))
|
|
@@ -2412,8 +2407,7 @@ class CfnManagedPolicy(
|
|
|
2412
2407
|
@builtins.property
|
|
2413
2408
|
@jsii.member(jsii_name="attrIsAttachable")
|
|
2414
2409
|
def attr_is_attachable(self) -> _IResolvable_da3f097b:
|
|
2415
|
-
'''
|
|
2416
|
-
|
|
2410
|
+
'''
|
|
2417
2411
|
:cloudformationAttribute: IsAttachable
|
|
2418
2412
|
'''
|
|
2419
2413
|
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrIsAttachable"))
|
|
@@ -2421,10 +2415,7 @@ class CfnManagedPolicy(
|
|
|
2421
2415
|
@builtins.property
|
|
2422
2416
|
@jsii.member(jsii_name="attrPermissionsBoundaryUsageCount")
|
|
2423
2417
|
def attr_permissions_boundary_usage_count(self) -> jsii.Number:
|
|
2424
|
-
'''
|
|
2425
|
-
|
|
2426
|
-
For more information about permissions boundaries, see `Permissions boundaries for IAM identities <https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html>`_ in the *IAM User Guide* .
|
|
2427
|
-
|
|
2418
|
+
'''
|
|
2428
2419
|
:cloudformationAttribute: PermissionsBoundaryUsageCount
|
|
2429
2420
|
'''
|
|
2430
2421
|
return typing.cast(jsii.Number, jsii.get(self, "attrPermissionsBoundaryUsageCount"))
|
|
@@ -2440,10 +2431,7 @@ class CfnManagedPolicy(
|
|
|
2440
2431
|
@builtins.property
|
|
2441
2432
|
@jsii.member(jsii_name="attrPolicyId")
|
|
2442
2433
|
def attr_policy_id(self) -> builtins.str:
|
|
2443
|
-
'''
|
|
2444
|
-
|
|
2445
|
-
For more information about IDs, see `IAM identifiers <https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html>`_ in the *IAM User Guide* .
|
|
2446
|
-
|
|
2434
|
+
'''
|
|
2447
2435
|
:cloudformationAttribute: PolicyId
|
|
2448
2436
|
'''
|
|
2449
2437
|
return typing.cast(builtins.str, jsii.get(self, "attrPolicyId"))
|
|
@@ -2451,10 +2439,7 @@ class CfnManagedPolicy(
|
|
|
2451
2439
|
@builtins.property
|
|
2452
2440
|
@jsii.member(jsii_name="attrUpdateDate")
|
|
2453
2441
|
def attr_update_date(self) -> builtins.str:
|
|
2454
|
-
'''
|
|
2455
|
-
|
|
2456
|
-
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
|
|
2457
|
-
|
|
2442
|
+
'''
|
|
2458
2443
|
:cloudformationAttribute: UpdateDate
|
|
2459
2444
|
'''
|
|
2460
2445
|
return typing.cast(builtins.str, jsii.get(self, "attrUpdateDate"))
|
|
@@ -2826,7 +2811,7 @@ class CfnOIDCProvider(
|
|
|
2826
2811
|
'''
|
|
2827
2812
|
:param scope: Scope in which this resource is defined.
|
|
2828
2813
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2829
|
-
:param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
2814
|
+
:param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ . This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
|
|
2830
2815
|
:param client_id_list: A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
2831
2816
|
:param tags: A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see `Tagging IAM resources <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html>`_ in the *IAM User Guide* .
|
|
2832
2817
|
:param url: The URL that the IAM OIDC provider resource object is associated with. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
@@ -2968,7 +2953,7 @@ class CfnOIDCProviderProps:
|
|
|
2968
2953
|
) -> None:
|
|
2969
2954
|
'''Properties for defining a ``CfnOIDCProvider``.
|
|
2970
2955
|
|
|
2971
|
-
:param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
2956
|
+
:param thumbprint_list: A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ . This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
|
|
2972
2957
|
:param client_id_list: A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
2973
2958
|
:param tags: A list of tags that are attached to the specified IAM OIDC provider. The returned list of tags is sorted by tag key. For more information about tagging, see `Tagging IAM resources <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html>`_ in the *IAM User Guide* .
|
|
2974
2959
|
:param url: The URL that the IAM OIDC provider resource object is associated with. For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
@@ -3016,6 +3001,8 @@ class CfnOIDCProviderProps:
|
|
|
3016
3001
|
|
|
3017
3002
|
For more information, see `CreateOpenIDConnectProvider <https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html>`_ .
|
|
3018
3003
|
|
|
3004
|
+
This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
|
|
3005
|
+
|
|
3019
3006
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-oidcprovider.html#cfn-iam-oidcprovider-thumbprintlist
|
|
3020
3007
|
'''
|
|
3021
3008
|
result = self._values.get("thumbprint_list")
|
|
@@ -1502,7 +1502,7 @@ class CfnAssetModel(
|
|
|
1502
1502
|
'''
|
|
1503
1503
|
:param scope: Scope in which this resource is defined.
|
|
1504
1504
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1505
|
-
:param asset_model_name: A unique
|
|
1505
|
+
:param asset_model_name: A unique name for the asset model.
|
|
1506
1506
|
:param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
1507
1507
|
:param asset_model_description: A description for the asset model.
|
|
1508
1508
|
:param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
@@ -1590,7 +1590,7 @@ class CfnAssetModel(
|
|
|
1590
1590
|
@builtins.property
|
|
1591
1591
|
@jsii.member(jsii_name="assetModelName")
|
|
1592
1592
|
def asset_model_name(self) -> builtins.str:
|
|
1593
|
-
'''A unique
|
|
1593
|
+
'''A unique name for the asset model.'''
|
|
1594
1594
|
return typing.cast(builtins.str, jsii.get(self, "assetModelName"))
|
|
1595
1595
|
|
|
1596
1596
|
@asset_model_name.setter
|
|
@@ -3311,7 +3311,7 @@ class CfnAssetModelProps:
|
|
|
3311
3311
|
) -> None:
|
|
3312
3312
|
'''Properties for defining a ``CfnAssetModel``.
|
|
3313
3313
|
|
|
3314
|
-
:param asset_model_name: A unique
|
|
3314
|
+
:param asset_model_name: A unique name for the asset model.
|
|
3315
3315
|
:param asset_model_composite_models: The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model. .. epigraph:: When creating custom composite models, you need to use `CreateAssetModelCompositeModel <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html>`_ . For more information, see `Creating custom composite models (Components) <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
3316
3316
|
:param asset_model_description: A description for the asset model.
|
|
3317
3317
|
:param asset_model_external_id: The external ID of the asset model. For more information, see `Using external IDs <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids>`_ in the *AWS IoT SiteWise User Guide* .
|
|
@@ -3515,7 +3515,7 @@ class CfnAssetModelProps:
|
|
|
3515
3515
|
|
|
3516
3516
|
@builtins.property
|
|
3517
3517
|
def asset_model_name(self) -> builtins.str:
|
|
3518
|
-
'''A unique
|
|
3518
|
+
'''A unique name for the asset model.
|
|
3519
3519
|
|
|
3520
3520
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html#cfn-iotsitewise-assetmodel-assetmodelname
|
|
3521
3521
|
'''
|
|
@@ -4195,7 +4195,7 @@ class CfnGateway(
|
|
|
4195
4195
|
'''
|
|
4196
4196
|
:param scope: Scope in which this resource is defined.
|
|
4197
4197
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4198
|
-
:param gateway_name: A unique
|
|
4198
|
+
:param gateway_name: A unique name for the gateway.
|
|
4199
4199
|
:param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
|
|
4200
4200
|
:param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
|
|
4201
4201
|
:param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
@@ -4266,7 +4266,7 @@ class CfnGateway(
|
|
|
4266
4266
|
@builtins.property
|
|
4267
4267
|
@jsii.member(jsii_name="gatewayName")
|
|
4268
4268
|
def gateway_name(self) -> builtins.str:
|
|
4269
|
-
'''A unique
|
|
4269
|
+
'''A unique name for the gateway.'''
|
|
4270
4270
|
return typing.cast(builtins.str, jsii.get(self, "gatewayName"))
|
|
4271
4271
|
|
|
4272
4272
|
@gateway_name.setter
|
|
@@ -4613,7 +4613,7 @@ class CfnGatewayProps:
|
|
|
4613
4613
|
) -> None:
|
|
4614
4614
|
'''Properties for defining a ``CfnGateway``.
|
|
4615
4615
|
|
|
4616
|
-
:param gateway_name: A unique
|
|
4616
|
+
:param gateway_name: A unique name for the gateway.
|
|
4617
4617
|
:param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
|
|
4618
4618
|
:param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
|
|
4619
4619
|
:param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
|
|
@@ -4668,7 +4668,7 @@ class CfnGatewayProps:
|
|
|
4668
4668
|
|
|
4669
4669
|
@builtins.property
|
|
4670
4670
|
def gateway_name(self) -> builtins.str:
|
|
4671
|
-
'''A unique
|
|
4671
|
+
'''A unique name for the gateway.
|
|
4672
4672
|
|
|
4673
4673
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewayname
|
|
4674
4674
|
'''
|
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -1594,6 +1594,8 @@ class AdotLambdaExecWrapper(enum.Enum):
|
|
|
1594
1594
|
'''Wrapping streaming handlers (implementing RequestStreamHandler), enabling HTTP context propagation for HTTP requests.'''
|
|
1595
1595
|
INSTRUMENT_HANDLER = "INSTRUMENT_HANDLER"
|
|
1596
1596
|
'''Wrapping python lambda handlers see https://aws-otel.github.io/docs/getting-started/lambda/lambda-python.'''
|
|
1597
|
+
SQS_HANDLER = "SQS_HANDLER"
|
|
1598
|
+
'''Wrapping SQS-triggered function handlers (implementing RequestHandler).'''
|
|
1597
1599
|
|
|
1598
1600
|
|
|
1599
1601
|
class AdotLambdaLayerGenericVersion(
|
aws_cdk/aws_mwaa/__init__.py
CHANGED
|
@@ -170,7 +170,7 @@ class CfnEnvironment(
|
|
|
170
170
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
171
171
|
:param name: The name of your Amazon MWAA environment.
|
|
172
172
|
:param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
|
|
173
|
-
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
|
|
173
|
+
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
174
174
|
:param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
|
|
175
175
|
:param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
|
|
176
176
|
:param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
@@ -1113,7 +1113,7 @@ class CfnEnvironmentProps:
|
|
|
1113
1113
|
|
|
1114
1114
|
:param name: The name of your Amazon MWAA environment.
|
|
1115
1115
|
:param airflow_configuration_options: A list of key-value pairs containing the Airflow configuration options for your environment. For example, ``core.default_timezone: utc`` . To learn more, see `Apache Airflow configuration options <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html>`_ .
|
|
1116
|
-
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
|
|
1116
|
+
:param airflow_version: The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version. If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect. *Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
1117
1117
|
:param dag_s3_path: The relative path to the DAGs folder on your Amazon S3 bucket. For example, ``dags`` . To learn more, see `Adding or updating DAGs <https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html>`_ .
|
|
1118
1118
|
:param endpoint_management: Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to ``SERVICE`` , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to ``CUSTOMER`` , you must create, and manage, the VPC endpoints in your VPC.
|
|
1119
1119
|
:param environment_class: The environment class type. Valid values: ``mw1.small`` , ``mw1.medium`` , ``mw1.large`` . To learn more, see `Amazon MWAA environment class <https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html>`_ .
|
|
@@ -1316,7 +1316,7 @@ class CfnEnvironmentProps:
|
|
|
1316
1316
|
|
|
1317
1317
|
If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.
|
|
1318
1318
|
|
|
1319
|
-
*Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` (latest)
|
|
1319
|
+
*Allowed Values* : ``1.10.12`` | ``2.0.2`` | ``2.2.2`` | ``2.4.3`` | ``2.5.1`` | ``2.6.3`` | ``2.7.2`` | ``2.8.1`` | ``2.9.2`` (latest)
|
|
1320
1320
|
|
|
1321
1321
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#cfn-mwaa-environment-airflowversion
|
|
1322
1322
|
'''
|
aws_cdk/aws_pipes/__init__.py
CHANGED
|
@@ -6850,7 +6850,7 @@ class CfnPipe(
|
|
|
6850
6850
|
) -> None:
|
|
6851
6851
|
'''This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
|
|
6852
6852
|
|
|
6853
|
-
:param security_group: Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
|
|
6853
|
+
:param security_group: Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
|
|
6854
6854
|
:param subnets: Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
|
|
6855
6855
|
|
|
6856
6856
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc.html
|
|
@@ -6881,7 +6881,7 @@ class CfnPipe(
|
|
|
6881
6881
|
def security_group(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6882
6882
|
'''Specifies the security groups associated with the stream.
|
|
6883
6883
|
|
|
6884
|
-
These security groups must all be in the same VPC. You can specify as many as five security groups.
|
|
6884
|
+
These security groups must all be in the same VPC. You can specify as many as five security groups.
|
|
6885
6885
|
|
|
6886
6886
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc.html#cfn-pipes-pipe-selfmanagedkafkaaccessconfigurationvpc-securitygroup
|
|
6887
6887
|
'''
|