aws-cdk-lib 2.189.1__py3-none-any.whl → 2.190.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.189.1.jsii.tgz → aws-cdk-lib@2.190.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +6 -6
- aws_cdk/aws_apigatewayv2/__init__.py +374 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +16 -10
- aws_cdk/aws_applicationsignals/__init__.py +204 -31
- aws_cdk/aws_backup/__init__.py +0 -41
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +287 -0
- aws_cdk/aws_cleanrooms/__init__.py +1392 -78
- aws_cdk/aws_cloudfront/__init__.py +1 -0
- aws_cdk/aws_cloudtrail/__init__.py +24 -26
- aws_cdk/aws_codebuild/__init__.py +59 -7
- aws_cdk/aws_dms/__init__.py +43 -0
- aws_cdk/aws_ec2/__init__.py +364 -30
- aws_cdk/aws_ecs/__init__.py +36 -5
- aws_cdk/aws_eks/__init__.py +2 -100
- aws_cdk/aws_elasticache/__init__.py +6 -11
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +341 -0
- aws_cdk/aws_events/__init__.py +67 -13
- aws_cdk/aws_fsx/__init__.py +9 -21
- aws_cdk/aws_iam/__init__.py +1 -1
- aws_cdk/aws_iot/__init__.py +6 -6
- aws_cdk/aws_kafkaconnect/__init__.py +2 -2
- aws_cdk/aws_kinesis/__init__.py +44 -0
- aws_cdk/aws_lex/__init__.py +615 -39
- aws_cdk/aws_location/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +14 -3
- aws_cdk/aws_memorydb/__init__.py +87 -0
- aws_cdk/aws_msk/__init__.py +226 -127
- aws_cdk/aws_neptune/__init__.py +0 -8
- aws_cdk/aws_opensearchservice/__init__.py +64 -56
- aws_cdk/aws_paymentcryptography/__init__.py +41 -0
- aws_cdk/aws_qbusiness/__init__.py +175 -3
- aws_cdk/aws_quicksight/__init__.py +393 -0
- aws_cdk/aws_rds/__init__.py +113 -120
- aws_cdk/aws_redshiftserverless/__init__.py +4 -14
- aws_cdk/aws_route53resolver/__init__.py +60 -9
- aws_cdk/aws_s3/__init__.py +34 -1
- aws_cdk/aws_s3_deployment/__init__.py +202 -5
- aws_cdk/aws_sagemaker/__init__.py +40 -40
- aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +720 -45
- aws_cdk/aws_transfer/__init__.py +55 -2
- aws_cdk/pipelines/__init__.py +1 -2
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.189.1.dist-info → aws_cdk_lib-2.190.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_events/__init__.py
CHANGED
|
@@ -1022,6 +1022,15 @@ class CfnApiDestination(
|
|
|
1022
1022
|
'''
|
|
1023
1023
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1024
1024
|
|
|
1025
|
+
@builtins.property
|
|
1026
|
+
@jsii.member(jsii_name="attrArnForPolicy")
|
|
1027
|
+
def attr_arn_for_policy(self) -> builtins.str:
|
|
1028
|
+
'''The arn of the api destination to be used in IAM policies.
|
|
1029
|
+
|
|
1030
|
+
:cloudformationAttribute: ArnForPolicy
|
|
1031
|
+
'''
|
|
1032
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArnForPolicy"))
|
|
1033
|
+
|
|
1025
1034
|
@builtins.property
|
|
1026
1035
|
@jsii.member(jsii_name="cfnProperties")
|
|
1027
1036
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -1263,13 +1272,9 @@ class CfnArchive(
|
|
|
1263
1272
|
When you create an archive, incoming events might not immediately start being sent to the archive. Allow a short period of time for changes to take effect. If you do not specify a pattern to filter events sent to the archive, all events are sent to the archive except replayed events. Replayed events are not sent to an archive.
|
|
1264
1273
|
.. epigraph::
|
|
1265
1274
|
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
- You call ``[CreateArchive](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateArchive.html)`` on an event bus set to use a customer managed key for encryption.
|
|
1269
|
-
- You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption.
|
|
1270
|
-
- You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with an archives or schema discovery enabled.
|
|
1275
|
+
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
|
|
1271
1276
|
|
|
1272
|
-
|
|
1277
|
+
For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
|
|
1273
1278
|
|
|
1274
1279
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html
|
|
1275
1280
|
:cloudformationResource: AWS::Events::Archive
|
|
@@ -1290,6 +1295,7 @@ class CfnArchive(
|
|
|
1290
1295
|
archive_name="archiveName",
|
|
1291
1296
|
description="description",
|
|
1292
1297
|
event_pattern=event_pattern,
|
|
1298
|
+
kms_key_identifier="kmsKeyIdentifier",
|
|
1293
1299
|
retention_days=123
|
|
1294
1300
|
)
|
|
1295
1301
|
'''
|
|
@@ -1303,6 +1309,7 @@ class CfnArchive(
|
|
|
1303
1309
|
archive_name: typing.Optional[builtins.str] = None,
|
|
1304
1310
|
description: typing.Optional[builtins.str] = None,
|
|
1305
1311
|
event_pattern: typing.Any = None,
|
|
1312
|
+
kms_key_identifier: typing.Optional[builtins.str] = None,
|
|
1306
1313
|
retention_days: typing.Optional[jsii.Number] = None,
|
|
1307
1314
|
) -> None:
|
|
1308
1315
|
'''
|
|
@@ -1312,6 +1319,7 @@ class CfnArchive(
|
|
|
1312
1319
|
:param archive_name: The name for the archive to create.
|
|
1313
1320
|
:param description: A description for the archive.
|
|
1314
1321
|
:param event_pattern: An event pattern to use to filter events sent to the archive.
|
|
1322
|
+
:param kms_key_identifier:
|
|
1315
1323
|
:param retention_days: The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
|
|
1316
1324
|
'''
|
|
1317
1325
|
if __debug__:
|
|
@@ -1323,6 +1331,7 @@ class CfnArchive(
|
|
|
1323
1331
|
archive_name=archive_name,
|
|
1324
1332
|
description=description,
|
|
1325
1333
|
event_pattern=event_pattern,
|
|
1334
|
+
kms_key_identifier=kms_key_identifier,
|
|
1326
1335
|
retention_days=retention_days,
|
|
1327
1336
|
)
|
|
1328
1337
|
|
|
@@ -1424,6 +1433,18 @@ class CfnArchive(
|
|
|
1424
1433
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1425
1434
|
jsii.set(self, "eventPattern", value) # pyright: ignore[reportArgumentType]
|
|
1426
1435
|
|
|
1436
|
+
@builtins.property
|
|
1437
|
+
@jsii.member(jsii_name="kmsKeyIdentifier")
|
|
1438
|
+
def kms_key_identifier(self) -> typing.Optional[builtins.str]:
|
|
1439
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "kmsKeyIdentifier"))
|
|
1440
|
+
|
|
1441
|
+
@kms_key_identifier.setter
|
|
1442
|
+
def kms_key_identifier(self, value: typing.Optional[builtins.str]) -> None:
|
|
1443
|
+
if __debug__:
|
|
1444
|
+
type_hints = typing.get_type_hints(_typecheckingstub__afc87131b030ea9e94a54d65380d8caa92af44402dd0a1c9ec3e6c55aa14bbad)
|
|
1445
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1446
|
+
jsii.set(self, "kmsKeyIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
1447
|
+
|
|
1427
1448
|
@builtins.property
|
|
1428
1449
|
@jsii.member(jsii_name="retentionDays")
|
|
1429
1450
|
def retention_days(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1446,6 +1467,7 @@ class CfnArchive(
|
|
|
1446
1467
|
"archive_name": "archiveName",
|
|
1447
1468
|
"description": "description",
|
|
1448
1469
|
"event_pattern": "eventPattern",
|
|
1470
|
+
"kms_key_identifier": "kmsKeyIdentifier",
|
|
1449
1471
|
"retention_days": "retentionDays",
|
|
1450
1472
|
},
|
|
1451
1473
|
)
|
|
@@ -1457,6 +1479,7 @@ class CfnArchiveProps:
|
|
|
1457
1479
|
archive_name: typing.Optional[builtins.str] = None,
|
|
1458
1480
|
description: typing.Optional[builtins.str] = None,
|
|
1459
1481
|
event_pattern: typing.Any = None,
|
|
1482
|
+
kms_key_identifier: typing.Optional[builtins.str] = None,
|
|
1460
1483
|
retention_days: typing.Optional[jsii.Number] = None,
|
|
1461
1484
|
) -> None:
|
|
1462
1485
|
'''Properties for defining a ``CfnArchive``.
|
|
@@ -1465,6 +1488,7 @@ class CfnArchiveProps:
|
|
|
1465
1488
|
:param archive_name: The name for the archive to create.
|
|
1466
1489
|
:param description: A description for the archive.
|
|
1467
1490
|
:param event_pattern: An event pattern to use to filter events sent to the archive.
|
|
1491
|
+
:param kms_key_identifier:
|
|
1468
1492
|
:param retention_days: The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
|
|
1469
1493
|
|
|
1470
1494
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html
|
|
@@ -1485,6 +1509,7 @@ class CfnArchiveProps:
|
|
|
1485
1509
|
archive_name="archiveName",
|
|
1486
1510
|
description="description",
|
|
1487
1511
|
event_pattern=event_pattern,
|
|
1512
|
+
kms_key_identifier="kmsKeyIdentifier",
|
|
1488
1513
|
retention_days=123
|
|
1489
1514
|
)
|
|
1490
1515
|
'''
|
|
@@ -1494,6 +1519,7 @@ class CfnArchiveProps:
|
|
|
1494
1519
|
check_type(argname="argument archive_name", value=archive_name, expected_type=type_hints["archive_name"])
|
|
1495
1520
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1496
1521
|
check_type(argname="argument event_pattern", value=event_pattern, expected_type=type_hints["event_pattern"])
|
|
1522
|
+
check_type(argname="argument kms_key_identifier", value=kms_key_identifier, expected_type=type_hints["kms_key_identifier"])
|
|
1497
1523
|
check_type(argname="argument retention_days", value=retention_days, expected_type=type_hints["retention_days"])
|
|
1498
1524
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1499
1525
|
"source_arn": source_arn,
|
|
@@ -1504,6 +1530,8 @@ class CfnArchiveProps:
|
|
|
1504
1530
|
self._values["description"] = description
|
|
1505
1531
|
if event_pattern is not None:
|
|
1506
1532
|
self._values["event_pattern"] = event_pattern
|
|
1533
|
+
if kms_key_identifier is not None:
|
|
1534
|
+
self._values["kms_key_identifier"] = kms_key_identifier
|
|
1507
1535
|
if retention_days is not None:
|
|
1508
1536
|
self._values["retention_days"] = retention_days
|
|
1509
1537
|
|
|
@@ -1544,6 +1572,14 @@ class CfnArchiveProps:
|
|
|
1544
1572
|
result = self._values.get("event_pattern")
|
|
1545
1573
|
return typing.cast(typing.Any, result)
|
|
1546
1574
|
|
|
1575
|
+
@builtins.property
|
|
1576
|
+
def kms_key_identifier(self) -> typing.Optional[builtins.str]:
|
|
1577
|
+
'''
|
|
1578
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-kmskeyidentifier
|
|
1579
|
+
'''
|
|
1580
|
+
result = self._values.get("kms_key_identifier")
|
|
1581
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1582
|
+
|
|
1547
1583
|
@builtins.property
|
|
1548
1584
|
def retention_days(self) -> typing.Optional[jsii.Number]:
|
|
1549
1585
|
'''The number of days to retain events for.
|
|
@@ -1751,6 +1787,15 @@ class CfnConnection(
|
|
|
1751
1787
|
'''
|
|
1752
1788
|
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1753
1789
|
|
|
1790
|
+
@builtins.property
|
|
1791
|
+
@jsii.member(jsii_name="attrArnForPolicy")
|
|
1792
|
+
def attr_arn_for_policy(self) -> builtins.str:
|
|
1793
|
+
'''The arn of the connection resource to be used in IAM policies.
|
|
1794
|
+
|
|
1795
|
+
:cloudformationAttribute: ArnForPolicy
|
|
1796
|
+
'''
|
|
1797
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArnForPolicy"))
|
|
1798
|
+
|
|
1754
1799
|
@builtins.property
|
|
1755
1800
|
@jsii.member(jsii_name="attrAuthParametersConnectivityParametersResourceParametersResourceAssociationArn")
|
|
1756
1801
|
def attr_auth_parameters_connectivity_parameters_resource_parameters_resource_association_arn(
|
|
@@ -3890,7 +3935,7 @@ class CfnEventBus(
|
|
|
3890
3935
|
:param dead_letter_config: Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ). For more information, see `Using dead-letter queues to process undelivered events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq>`_ in the *EventBridge User Guide* .
|
|
3891
3936
|
:param description: The event bus description.
|
|
3892
3937
|
:param event_source_name: If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
|
|
3893
|
-
:param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `
|
|
3938
|
+
:param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `Identify and view keys <https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html>`_ in the *AWS Key Management Service Developer Guide* . .. epigraph:: Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if: - You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption. - You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with schema discovery enabled. To enable schema discovery on an event bus, choose to use an AWS owned key . For more information, see `Encrypting events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html>`_ in the *Amazon EventBridge User Guide* . > If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
|
|
3894
3939
|
:param policy: The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
|
|
3895
3940
|
:param tags: Tags to associate with the event bus.
|
|
3896
3941
|
'''
|
|
@@ -4631,7 +4676,7 @@ class CfnEventBusProps:
|
|
|
4631
4676
|
:param dead_letter_config: Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ). For more information, see `Using dead-letter queues to process undelivered events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-rule-event-delivery.html#eb-rule-dlq>`_ in the *EventBridge User Guide* .
|
|
4632
4677
|
:param description: The event bus description.
|
|
4633
4678
|
:param event_source_name: If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
|
|
4634
|
-
:param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `
|
|
4679
|
+
:param kms_key_identifier: The identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus. For more information, see `Identify and view keys <https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html>`_ in the *AWS Key Management Service Developer Guide* . .. epigraph:: Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if: - You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption. - You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with schema discovery enabled. To enable schema discovery on an event bus, choose to use an AWS owned key . For more information, see `Encrypting events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html>`_ in the *Amazon EventBridge User Guide* . > If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
|
|
4635
4680
|
:param policy: The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
|
|
4636
4681
|
:param tags: Tags to associate with the event bus.
|
|
4637
4682
|
|
|
@@ -4741,16 +4786,17 @@ class CfnEventBusProps:
|
|
|
4741
4786
|
|
|
4742
4787
|
If you do not specify a customer managed key identifier, EventBridge uses an AWS owned key to encrypt events on the event bus.
|
|
4743
4788
|
|
|
4744
|
-
For more information, see `
|
|
4789
|
+
For more information, see `Identify and view keys <https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html>`_ in the *AWS Key Management Service Developer Guide* .
|
|
4745
4790
|
.. epigraph::
|
|
4746
4791
|
|
|
4747
|
-
|
|
4792
|
+
Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
|
|
4748
4793
|
|
|
4749
|
-
- You call ``[CreateArchive](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_CreateArchive.html)`` on an event bus set to use a customer managed key for encryption.
|
|
4750
4794
|
- You call ``[CreateDiscoverer](https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer)`` on an event bus set to use a customer managed key for encryption.
|
|
4751
|
-
- You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with
|
|
4795
|
+
- You call ``[UpdatedEventBus](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html)`` to set a customer managed key on an event bus with schema discovery enabled.
|
|
4752
4796
|
|
|
4753
|
-
To enable
|
|
4797
|
+
To enable schema discovery on an event bus, choose to use an AWS owned key . For more information, see `Encrypting events <https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html>`_ in the *Amazon EventBridge User Guide* . > If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
|
|
4798
|
+
|
|
4799
|
+
For more information, see `Encrypting archives <https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html>`_ in the *Amazon EventBridge User Guide* .
|
|
4754
4800
|
|
|
4755
4801
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-kmskeyidentifier
|
|
4756
4802
|
'''
|
|
@@ -12354,6 +12400,7 @@ def _typecheckingstub__a963410c1802040879d7bcae9506f4438510f71eb6934c222d9c998db
|
|
|
12354
12400
|
archive_name: typing.Optional[builtins.str] = None,
|
|
12355
12401
|
description: typing.Optional[builtins.str] = None,
|
|
12356
12402
|
event_pattern: typing.Any = None,
|
|
12403
|
+
kms_key_identifier: typing.Optional[builtins.str] = None,
|
|
12357
12404
|
retention_days: typing.Optional[jsii.Number] = None,
|
|
12358
12405
|
) -> None:
|
|
12359
12406
|
"""Type checking stubs"""
|
|
@@ -12395,6 +12442,12 @@ def _typecheckingstub__229e944ea16e6854933c9a20124a27cfd106abe05b88911fd42e7be41
|
|
|
12395
12442
|
"""Type checking stubs"""
|
|
12396
12443
|
pass
|
|
12397
12444
|
|
|
12445
|
+
def _typecheckingstub__afc87131b030ea9e94a54d65380d8caa92af44402dd0a1c9ec3e6c55aa14bbad(
|
|
12446
|
+
value: typing.Optional[builtins.str],
|
|
12447
|
+
) -> None:
|
|
12448
|
+
"""Type checking stubs"""
|
|
12449
|
+
pass
|
|
12450
|
+
|
|
12398
12451
|
def _typecheckingstub__229cf18aa238d335d766c6c1400f98e797e1cf2caf404b1270a8fb743453e352(
|
|
12399
12452
|
value: typing.Optional[jsii.Number],
|
|
12400
12453
|
) -> None:
|
|
@@ -12407,6 +12460,7 @@ def _typecheckingstub__f8d605e2ff54dddadf4166fbd47f7e65ae554a5e5f40fa2fffd0d8af8
|
|
|
12407
12460
|
archive_name: typing.Optional[builtins.str] = None,
|
|
12408
12461
|
description: typing.Optional[builtins.str] = None,
|
|
12409
12462
|
event_pattern: typing.Any = None,
|
|
12463
|
+
kms_key_identifier: typing.Optional[builtins.str] = None,
|
|
12410
12464
|
retention_days: typing.Optional[jsii.Number] = None,
|
|
12411
12465
|
) -> None:
|
|
12412
12466
|
"""Type checking stubs"""
|
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -1170,7 +1170,7 @@ class CfnFileSystem(
|
|
|
1170
1170
|
:param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.
|
|
1171
1171
|
:param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
|
|
1172
1172
|
:param storage_capacity: Sets the storage capacity of the file system that you're creating. ``StorageCapacity`` is required if you are creating a new file system. It is not required if you are creating a file system by restoring a backup. *FSx for Lustre file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` and the Lustre ``DeploymentType`` , as follows: - For ``SCRATCH_2`` , ``PERSISTENT_2`` and ``PERSISTENT_1`` deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB. - For ``PERSISTENT_1`` HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems. - For ``SCRATCH_1`` deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB. *FSx for ONTAP file systems* - The amount of SSD storage capacity that you can configure depends on the value of the ``HAPairs`` property. The minimum value is calculated as 1,024 GiB * HAPairs and the maximum is calculated as 524,288 GiB * HAPairs, up to a maximum amount of SSD storage capacity of 1,048,576 GiB (1 pebibyte). *FSx for OpenZFS file systems* - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB). If you are creating a file system from a backup, you can specify a storage capacity equal to or greater than the original file system's storage capacity. *FSx for Windows File Server file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` as follows: - For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB). - For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).
|
|
1173
|
-
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage
|
|
1173
|
+
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `Multiple storage options <https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
|
1174
1174
|
:param tags: The tags to associate with the file system. For more information, see `Tagging your Amazon FSx resources <https://docs.aws.amazon.com/fsx/latest/LustreGuide/tag-resources.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
1175
1175
|
:param windows_configuration: The configuration object for the Microsoft Windows file system you are creating. This value is required if ``FileSystemType`` is set to ``WINDOWS`` .
|
|
1176
1176
|
'''
|
|
@@ -1798,7 +1798,7 @@ class CfnFileSystem(
|
|
|
1798
1798
|
:param import_path: (Optional) The path to the Amazon S3 bucket (including the optional prefix) that you're using as the data repository for your Amazon FSx for Lustre file system. The root of your FSx for Lustre file system will be mapped to the root of the Amazon S3 bucket you select. An example is ``s3://import-bucket/optional-prefix`` . If you specify a prefix after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system. .. epigraph:: This parameter is not supported for Lustre file systems with a data repository association.
|
|
1799
1799
|
:param metadata_configuration:
|
|
1800
1800
|
:param per_unit_storage_throughput: Required with ``PERSISTENT_1`` and ``PERSISTENT_2`` deployment types, provisions the amount of read and write throughput for each 1 tebibyte (TiB) of file system storage capacity, in MB/s/TiB. File system throughput capacity is calculated by multiplying file system storage capacity (TiB) by the ``PerUnitStorageThroughput`` (MB/s/TiB). For a 2.4-TiB file system, provisioning 50 MB/s/TiB of ``PerUnitStorageThroughput`` yields 120 MB/s of file system throughput. You pay for the amount of throughput that you provision. Valid values: - For ``PERSISTENT_1`` SSD storage: 50, 100, 200 MB/s/TiB. - For ``PERSISTENT_1`` HDD storage: 12, 40 MB/s/TiB. - For ``PERSISTENT_2`` SSD storage: 125, 250, 500, 1000 MB/s/TiB.
|
|
1801
|
-
:param weekly_maintenance_start_time:
|
|
1801
|
+
:param weekly_maintenance_start_time: The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
1802
1802
|
|
|
1803
1803
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-lustreconfiguration.html
|
|
1804
1804
|
:exampleMetadata: fixture=_generated
|
|
@@ -2069,11 +2069,7 @@ class CfnFileSystem(
|
|
|
2069
2069
|
|
|
2070
2070
|
@builtins.property
|
|
2071
2071
|
def weekly_maintenance_start_time(self) -> typing.Optional[builtins.str]:
|
|
2072
|
-
'''
|
|
2073
|
-
|
|
2074
|
-
``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ .
|
|
2075
|
-
|
|
2076
|
-
``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour.
|
|
2072
|
+
'''The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
2077
2073
|
|
|
2078
2074
|
For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2079
2075
|
|
|
@@ -2268,7 +2264,7 @@ class CfnFileSystem(
|
|
|
2268
2264
|
:param route_table_ids: (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table. .. epigraph:: Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication. These route tables are tagged with ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` . When creating FSx for ONTAP Multi-AZ file systems using AWS CloudFormation we recommend that you add the ``Key: AmazonFSx; Value: ManagedByAmazonFSx`` tag manually.
|
|
2269
2265
|
:param throughput_capacity: Sets the throughput capacity for the file system that you're creating in megabytes per second (MBps). For more information, see `Managing throughput capacity <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-throughput-capacity.html>`_ in the FSx for ONTAP User Guide. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value. - The value of ``ThroughputCapacity`` when divided by the value of ``HAPairs`` is outside of the valid range for ``ThroughputCapacity`` .
|
|
2270
2266
|
:param throughput_capacity_per_ha_pair: Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. You can define either the ``ThroughputCapacityPerHAPair`` or the ``ThroughputCapacity`` when creating a file system, but not both. This field and ``ThroughputCapacity`` are the same for file systems powered by one HA pair. - For ``SINGLE_AZ_1`` and ``MULTI_AZ_1`` file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. - For ``SINGLE_AZ_2`` , valid values are 1536, 3072, or 6144 MBps. - For ``MULTI_AZ_2`` , valid values are 384, 768, 1536, 3072, or 6144 MBps. Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: - The value of ``ThroughputCapacity`` and ``ThroughputCapacityPerHAPair`` are not the same value for file systems with one HA pair. - The value of deployment type is ``SINGLE_AZ_2`` and ``ThroughputCapacity`` / ``ThroughputCapacityPerHAPair`` is not a valid HA pair (a value between 1 and 12). - The value of ``ThroughputCapacityPerHAPair`` is not a valid value.
|
|
2271
|
-
:param weekly_maintenance_start_time:
|
|
2267
|
+
:param weekly_maintenance_start_time: The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2272
2268
|
|
|
2273
2269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-ontapconfiguration.html
|
|
2274
2270
|
:exampleMetadata: fixture=_generated
|
|
@@ -2491,11 +2487,7 @@ class CfnFileSystem(
|
|
|
2491
2487
|
|
|
2492
2488
|
@builtins.property
|
|
2493
2489
|
def weekly_maintenance_start_time(self) -> typing.Optional[builtins.str]:
|
|
2494
|
-
'''
|
|
2495
|
-
|
|
2496
|
-
``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ .
|
|
2497
|
-
|
|
2498
|
-
``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour.
|
|
2490
|
+
'''The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
2499
2491
|
|
|
2500
2492
|
For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2501
2493
|
|
|
@@ -2569,7 +2561,7 @@ class CfnFileSystem(
|
|
|
2569
2561
|
:param root_volume_configuration: The configuration Amazon FSx uses when creating the root value of the Amazon FSx for OpenZFS file system. All volumes are children of the root volume.
|
|
2570
2562
|
:param route_table_ids: (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.
|
|
2571
2563
|
:param throughput_capacity: Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MBps). Valid values depend on the ``DeploymentType`` and ``StorageType`` that you choose, as follows: - For ``INTELIGENT_TIERING`` , valid values are 1280, 2560, 3840, 5120, 7680, or 10240 MBps. - For ``MULTI_AZ_1`` and ``SINGLE_AZ_2`` , valid values are 160, 320, 640, 1280, 2560, 3840, 5120, 7680, or 10240 MBps. - For ``SINGLE_AZ_1`` , valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MBps. You pay for additional throughput capacity that you provision.
|
|
2572
|
-
:param weekly_maintenance_start_time:
|
|
2564
|
+
:param weekly_maintenance_start_time: The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2573
2565
|
|
|
2574
2566
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration.html
|
|
2575
2567
|
:exampleMetadata: fixture=_generated
|
|
@@ -2833,11 +2825,7 @@ class CfnFileSystem(
|
|
|
2833
2825
|
|
|
2834
2826
|
@builtins.property
|
|
2835
2827
|
def weekly_maintenance_start_time(self) -> typing.Optional[builtins.str]:
|
|
2836
|
-
'''
|
|
2837
|
-
|
|
2838
|
-
``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ .
|
|
2839
|
-
|
|
2840
|
-
``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour.
|
|
2828
|
+
'''The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
2841
2829
|
|
|
2842
2830
|
For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
2843
2831
|
|
|
@@ -3685,7 +3673,7 @@ class CfnFileSystemProps:
|
|
|
3685
3673
|
:param open_zfs_configuration: The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.
|
|
3686
3674
|
:param security_group_ids: A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This list isn't returned in later requests to describe the file system. .. epigraph:: You must specify a security group if you are creating a Multi-AZ FSx for ONTAP file system in a VPC subnet that has been shared with you.
|
|
3687
3675
|
:param storage_capacity: Sets the storage capacity of the file system that you're creating. ``StorageCapacity`` is required if you are creating a new file system. It is not required if you are creating a file system by restoring a backup. *FSx for Lustre file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` and the Lustre ``DeploymentType`` , as follows: - For ``SCRATCH_2`` , ``PERSISTENT_2`` and ``PERSISTENT_1`` deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB. - For ``PERSISTENT_1`` HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems. - For ``SCRATCH_1`` deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB. *FSx for ONTAP file systems* - The amount of SSD storage capacity that you can configure depends on the value of the ``HAPairs`` property. The minimum value is calculated as 1,024 GiB * HAPairs and the maximum is calculated as 524,288 GiB * HAPairs, up to a maximum amount of SSD storage capacity of 1,048,576 GiB (1 pebibyte). *FSx for OpenZFS file systems* - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB). If you are creating a file system from a backup, you can specify a storage capacity equal to or greater than the original file system's storage capacity. *FSx for Windows File Server file systems* - The amount of storage capacity that you can configure depends on the value that you set for ``StorageType`` as follows: - For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB). - For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).
|
|
3688
|
-
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage
|
|
3676
|
+
:param storage_type: Sets the storage class for the file system that you're creating. Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` . - Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types. - Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types. - Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type. Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `Multiple storage options <https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
|
3689
3677
|
:param tags: The tags to associate with the file system. For more information, see `Tagging your Amazon FSx resources <https://docs.aws.amazon.com/fsx/latest/LustreGuide/tag-resources.html>`_ in the *Amazon FSx for Lustre User Guide* .
|
|
3690
3678
|
:param windows_configuration: The configuration object for the Microsoft Windows file system you are creating. This value is required if ``FileSystemType`` is set to ``WINDOWS`` .
|
|
3691
3679
|
|
|
@@ -4030,7 +4018,7 @@ class CfnFileSystemProps:
|
|
|
4030
4018
|
Valid values are ``SSD`` , ``HDD`` , and ``INTELLIGENT_TIERING`` .
|
|
4031
4019
|
|
|
4032
4020
|
- Set to ``SSD`` to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types.
|
|
4033
|
-
- Set to ``HDD`` to use hard disk drive storage
|
|
4021
|
+
- Set to ``HDD`` to use hard disk drive storage, which is supported on ``SINGLE_AZ_2`` and ``MULTI_AZ_1`` Windows file system deployment types, and on ``PERSISTENT_1`` Lustre file system deployment types.
|
|
4034
4022
|
- Set to ``INTELLIGENT_TIERING`` to use fully elastic, intelligently-tiered storage. Intelligent-Tiering is only available for OpenZFS file systems with the Multi-AZ deployment type.
|
|
4035
4023
|
|
|
4036
4024
|
Default value is ``SSD`` . For more information, see `Storage type options <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options>`_ in the *FSx for Windows File Server User Guide* , `Multiple storage options <https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options>`_ in the *FSx for Lustre User Guide* , and `Working with Intelligent-Tiering <https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering>`_ in the *Amazon FSx for OpenZFS User Guide* .
|
aws_cdk/aws_iam/__init__.py
CHANGED
|
@@ -7630,7 +7630,7 @@ class Grant(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_iam.Grant"):
|
|
|
7630
7630
|
@builtins.property
|
|
7631
7631
|
@jsii.member(jsii_name="resourceStatements")
|
|
7632
7632
|
def resource_statements(self) -> typing.List["PolicyStatement"]:
|
|
7633
|
-
'''The statements that were added to the
|
|
7633
|
+
'''The statements that were added to the resource policy.'''
|
|
7634
7634
|
return typing.cast(typing.List["PolicyStatement"], jsii.get(self, "resourceStatements"))
|
|
7635
7635
|
|
|
7636
7636
|
@builtins.property
|
aws_cdk/aws_iot/__init__.py
CHANGED
|
@@ -180,7 +180,7 @@ class CfnAccountAuditConfiguration(
|
|
|
180
180
|
:param scope: Scope in which this resource is defined.
|
|
181
181
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
182
182
|
:param account_id: The ID of the account. You can use the expression ``!Sub "${AWS::AccountId}"`` to use your account ID.
|
|
183
|
-
:param audit_check_configurations: Specifies which audit checks are enabled and disabled for this account. Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the ``Enabled:`` key to ``false`` . If an enabled check is removed from the template, it will also be disabled. You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check. For more information on
|
|
183
|
+
:param audit_check_configurations: Specifies which audit checks are enabled and disabled for this account. Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the ``Enabled:`` key to ``false`` . If an enabled check is removed from the template, it will also be disabled. You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check. For more information on available audit checks see `AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html>`_
|
|
184
184
|
:param role_arn: The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
|
|
185
185
|
:param audit_notification_target_configurations: Information about the targets to which audit notifications are sent.
|
|
186
186
|
'''
|
|
@@ -1057,7 +1057,7 @@ class CfnAccountAuditConfigurationProps:
|
|
|
1057
1057
|
'''Properties for defining a ``CfnAccountAuditConfiguration``.
|
|
1058
1058
|
|
|
1059
1059
|
:param account_id: The ID of the account. You can use the expression ``!Sub "${AWS::AccountId}"`` to use your account ID.
|
|
1060
|
-
:param audit_check_configurations: Specifies which audit checks are enabled and disabled for this account. Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the ``Enabled:`` key to ``false`` . If an enabled check is removed from the template, it will also be disabled. You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check. For more information on
|
|
1060
|
+
:param audit_check_configurations: Specifies which audit checks are enabled and disabled for this account. Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the ``Enabled:`` key to ``false`` . If an enabled check is removed from the template, it will also be disabled. You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check. For more information on available audit checks see `AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html>`_
|
|
1061
1061
|
:param role_arn: The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
|
|
1062
1062
|
:param audit_notification_target_configurations: Information about the targets to which audit notifications are sent.
|
|
1063
1063
|
|
|
@@ -1178,7 +1178,7 @@ class CfnAccountAuditConfigurationProps:
|
|
|
1178
1178
|
|
|
1179
1179
|
You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check.
|
|
1180
1180
|
|
|
1181
|
-
For more information on
|
|
1181
|
+
For more information on available audit checks see `AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html>`_
|
|
1182
1182
|
|
|
1183
1183
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-accountauditconfiguration.html#cfn-iot-accountauditconfiguration-auditcheckconfigurations
|
|
1184
1184
|
'''
|
|
@@ -10325,7 +10325,7 @@ class CfnScheduledAudit(
|
|
|
10325
10325
|
:param scope: Scope in which this resource is defined.
|
|
10326
10326
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
10327
10327
|
:param frequency: How often the scheduled audit occurs.
|
|
10328
|
-
:param target_check_names: Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks, including those that are enabled or use ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) The following checks are currently
|
|
10328
|
+
:param target_check_names: Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks, including those that are enabled or use ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) The following checks are currently available: - ``AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK`` - ``CA_CERTIFICATE_EXPIRING_CHECK`` - ``CA_CERTIFICATE_KEY_QUALITY_CHECK`` - ``CONFLICTING_CLIENT_IDS_CHECK`` - ``DEVICE_CERTIFICATE_EXPIRING_CHECK`` - ``DEVICE_CERTIFICATE_KEY_QUALITY_CHECK`` - ``DEVICE_CERTIFICATE_SHARED_CHECK`` - ``IOT_POLICY_OVERLY_PERMISSIVE_CHECK`` - ``IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK`` - ``IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK`` - ``LOGGING_DISABLED_CHECK`` - ``REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK`` - ``REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK`` - ``UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK``
|
|
10329
10329
|
:param day_of_month: The day of the month on which the scheduled audit is run (if the ``frequency`` is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
|
|
10330
10330
|
:param day_of_week: The day of the week on which the scheduled audit is run (if the ``frequency`` is "WEEKLY" or "BIWEEKLY").
|
|
10331
10331
|
:param scheduled_audit_name: The name of the scheduled audit.
|
|
@@ -10501,7 +10501,7 @@ class CfnScheduledAuditProps:
|
|
|
10501
10501
|
'''Properties for defining a ``CfnScheduledAudit``.
|
|
10502
10502
|
|
|
10503
10503
|
:param frequency: How often the scheduled audit occurs.
|
|
10504
|
-
:param target_check_names: Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks, including those that are enabled or use ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) The following checks are currently
|
|
10504
|
+
:param target_check_names: Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks, including those that are enabled or use ``UpdateAccountAuditConfiguration`` to select which checks are enabled.) The following checks are currently available: - ``AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK`` - ``CA_CERTIFICATE_EXPIRING_CHECK`` - ``CA_CERTIFICATE_KEY_QUALITY_CHECK`` - ``CONFLICTING_CLIENT_IDS_CHECK`` - ``DEVICE_CERTIFICATE_EXPIRING_CHECK`` - ``DEVICE_CERTIFICATE_KEY_QUALITY_CHECK`` - ``DEVICE_CERTIFICATE_SHARED_CHECK`` - ``IOT_POLICY_OVERLY_PERMISSIVE_CHECK`` - ``IOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECK`` - ``IOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECK`` - ``LOGGING_DISABLED_CHECK`` - ``REVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECK`` - ``REVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECK`` - ``UNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK``
|
|
10505
10505
|
:param day_of_month: The day of the month on which the scheduled audit is run (if the ``frequency`` is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
|
|
10506
10506
|
:param day_of_week: The day of the week on which the scheduled audit is run (if the ``frequency`` is "WEEKLY" or "BIWEEKLY").
|
|
10507
10507
|
:param scheduled_audit_name: The name of the scheduled audit.
|
|
@@ -10567,7 +10567,7 @@ class CfnScheduledAuditProps:
|
|
|
10567
10567
|
|
|
10568
10568
|
Checks must be enabled for your account. (Use ``DescribeAccountAuditConfiguration`` to see the list of all checks, including those that are enabled or use ``UpdateAccountAuditConfiguration`` to select which checks are enabled.)
|
|
10569
10569
|
|
|
10570
|
-
The following checks are currently
|
|
10570
|
+
The following checks are currently available:
|
|
10571
10571
|
|
|
10572
10572
|
- ``AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK``
|
|
10573
10573
|
- ``CA_CERTIFICATE_EXPIRING_CHECK``
|
|
@@ -1597,7 +1597,7 @@ class CfnConnector(
|
|
|
1597
1597
|
) -> None:
|
|
1598
1598
|
'''Information about the VPC in which the connector resides.
|
|
1599
1599
|
|
|
1600
|
-
:param security_groups: The security
|
|
1600
|
+
:param security_groups: The security group IDs for the connector.
|
|
1601
1601
|
:param subnets: The subnets for the connector.
|
|
1602
1602
|
|
|
1603
1603
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-vpc.html
|
|
@@ -1625,7 +1625,7 @@ class CfnConnector(
|
|
|
1625
1625
|
|
|
1626
1626
|
@builtins.property
|
|
1627
1627
|
def security_groups(self) -> typing.List[builtins.str]:
|
|
1628
|
-
'''The security
|
|
1628
|
+
'''The security group IDs for the connector.
|
|
1629
1629
|
|
|
1630
1630
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kafkaconnect-connector-vpc.html#cfn-kafkaconnect-connector-vpc-securitygroups
|
|
1631
1631
|
'''
|
aws_cdk/aws_kinesis/__init__.py
CHANGED
|
@@ -578,6 +578,7 @@ class CfnStream(
|
|
|
578
578
|
from aws_cdk import aws_kinesis as kinesis
|
|
579
579
|
|
|
580
580
|
cfn_stream = kinesis.CfnStream(self, "MyCfnStream",
|
|
581
|
+
desired_shard_level_metrics=["desiredShardLevelMetrics"],
|
|
581
582
|
name="name",
|
|
582
583
|
retention_period_hours=123,
|
|
583
584
|
shard_count=123,
|
|
@@ -600,6 +601,7 @@ class CfnStream(
|
|
|
600
601
|
scope: _constructs_77d1e7e8.Construct,
|
|
601
602
|
id: builtins.str,
|
|
602
603
|
*,
|
|
604
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
603
605
|
name: typing.Optional[builtins.str] = None,
|
|
604
606
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
605
607
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -610,6 +612,7 @@ class CfnStream(
|
|
|
610
612
|
'''
|
|
611
613
|
:param scope: Scope in which this resource is defined.
|
|
612
614
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
615
|
+
:param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
613
616
|
:param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
614
617
|
:param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
|
|
615
618
|
:param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
|
|
@@ -622,6 +625,7 @@ class CfnStream(
|
|
|
622
625
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
623
626
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
624
627
|
props = CfnStreamProps(
|
|
628
|
+
desired_shard_level_metrics=desired_shard_level_metrics,
|
|
625
629
|
name=name,
|
|
626
630
|
retention_period_hours=retention_period_hours,
|
|
627
631
|
shard_count=shard_count,
|
|
@@ -682,6 +686,22 @@ class CfnStream(
|
|
|
682
686
|
'''Tag Manager which manages the tags for this resource.'''
|
|
683
687
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
684
688
|
|
|
689
|
+
@builtins.property
|
|
690
|
+
@jsii.member(jsii_name="desiredShardLevelMetrics")
|
|
691
|
+
def desired_shard_level_metrics(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
692
|
+
'''A list of shard-level metrics in properties to enable enhanced monitoring mode.'''
|
|
693
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "desiredShardLevelMetrics"))
|
|
694
|
+
|
|
695
|
+
@desired_shard_level_metrics.setter
|
|
696
|
+
def desired_shard_level_metrics(
|
|
697
|
+
self,
|
|
698
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
699
|
+
) -> None:
|
|
700
|
+
if __debug__:
|
|
701
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a27bd85a)
|
|
702
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
703
|
+
jsii.set(self, "desiredShardLevelMetrics", value) # pyright: ignore[reportArgumentType]
|
|
704
|
+
|
|
685
705
|
@builtins.property
|
|
686
706
|
@jsii.member(jsii_name="name")
|
|
687
707
|
def name(self) -> typing.Optional[builtins.str]:
|
|
@@ -1167,6 +1187,7 @@ class CfnStreamConsumerProps:
|
|
|
1167
1187
|
jsii_type="aws-cdk-lib.aws_kinesis.CfnStreamProps",
|
|
1168
1188
|
jsii_struct_bases=[],
|
|
1169
1189
|
name_mapping={
|
|
1190
|
+
"desired_shard_level_metrics": "desiredShardLevelMetrics",
|
|
1170
1191
|
"name": "name",
|
|
1171
1192
|
"retention_period_hours": "retentionPeriodHours",
|
|
1172
1193
|
"shard_count": "shardCount",
|
|
@@ -1179,6 +1200,7 @@ class CfnStreamProps:
|
|
|
1179
1200
|
def __init__(
|
|
1180
1201
|
self,
|
|
1181
1202
|
*,
|
|
1203
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1182
1204
|
name: typing.Optional[builtins.str] = None,
|
|
1183
1205
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
1184
1206
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -1188,6 +1210,7 @@ class CfnStreamProps:
|
|
|
1188
1210
|
) -> None:
|
|
1189
1211
|
'''Properties for defining a ``CfnStream``.
|
|
1190
1212
|
|
|
1213
|
+
:param desired_shard_level_metrics: A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
1191
1214
|
:param name: The name of the Kinesis stream. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the stream name. For more information, see `Name Type <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html>`_ . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
|
|
1192
1215
|
:param retention_period_hours: The number of hours for the data records that are stored in shards to remain accessible. The default value is 24. For more information about the stream retention period, see `Changing the Data Retention Period <https://docs.aws.amazon.com/streams/latest/dev/kinesis-extended-retention.html>`_ in the Amazon Kinesis Developer Guide.
|
|
1193
1216
|
:param shard_count: The number of shards that the stream uses. For greater provisioned throughput, increase the number of shards.
|
|
@@ -1205,6 +1228,7 @@ class CfnStreamProps:
|
|
|
1205
1228
|
from aws_cdk import aws_kinesis as kinesis
|
|
1206
1229
|
|
|
1207
1230
|
cfn_stream_props = kinesis.CfnStreamProps(
|
|
1231
|
+
desired_shard_level_metrics=["desiredShardLevelMetrics"],
|
|
1208
1232
|
name="name",
|
|
1209
1233
|
retention_period_hours=123,
|
|
1210
1234
|
shard_count=123,
|
|
@@ -1223,6 +1247,7 @@ class CfnStreamProps:
|
|
|
1223
1247
|
'''
|
|
1224
1248
|
if __debug__:
|
|
1225
1249
|
type_hints = typing.get_type_hints(_typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169)
|
|
1250
|
+
check_type(argname="argument desired_shard_level_metrics", value=desired_shard_level_metrics, expected_type=type_hints["desired_shard_level_metrics"])
|
|
1226
1251
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
1227
1252
|
check_type(argname="argument retention_period_hours", value=retention_period_hours, expected_type=type_hints["retention_period_hours"])
|
|
1228
1253
|
check_type(argname="argument shard_count", value=shard_count, expected_type=type_hints["shard_count"])
|
|
@@ -1230,6 +1255,8 @@ class CfnStreamProps:
|
|
|
1230
1255
|
check_type(argname="argument stream_mode_details", value=stream_mode_details, expected_type=type_hints["stream_mode_details"])
|
|
1231
1256
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
1232
1257
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1258
|
+
if desired_shard_level_metrics is not None:
|
|
1259
|
+
self._values["desired_shard_level_metrics"] = desired_shard_level_metrics
|
|
1233
1260
|
if name is not None:
|
|
1234
1261
|
self._values["name"] = name
|
|
1235
1262
|
if retention_period_hours is not None:
|
|
@@ -1243,6 +1270,15 @@ class CfnStreamProps:
|
|
|
1243
1270
|
if tags is not None:
|
|
1244
1271
|
self._values["tags"] = tags
|
|
1245
1272
|
|
|
1273
|
+
@builtins.property
|
|
1274
|
+
def desired_shard_level_metrics(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1275
|
+
'''A list of shard-level metrics in properties to enable enhanced monitoring mode.
|
|
1276
|
+
|
|
1277
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-stream.html#cfn-kinesis-stream-desiredshardlevelmetrics
|
|
1278
|
+
'''
|
|
1279
|
+
result = self._values.get("desired_shard_level_metrics")
|
|
1280
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1281
|
+
|
|
1246
1282
|
@builtins.property
|
|
1247
1283
|
def name(self) -> typing.Optional[builtins.str]:
|
|
1248
1284
|
'''The name of the Kinesis stream.
|
|
@@ -5311,6 +5347,7 @@ def _typecheckingstub__b956aa40f3e4f7ebba018fbc1caa3788147e52190c5c7131c5c035b04
|
|
|
5311
5347
|
scope: _constructs_77d1e7e8.Construct,
|
|
5312
5348
|
id: builtins.str,
|
|
5313
5349
|
*,
|
|
5350
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5314
5351
|
name: typing.Optional[builtins.str] = None,
|
|
5315
5352
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5316
5353
|
shard_count: typing.Optional[jsii.Number] = None,
|
|
@@ -5333,6 +5370,12 @@ def _typecheckingstub__0d148a0019b18426b18d2bb879ac22b0f734a78308c5fc8eb38c0acd2
|
|
|
5333
5370
|
"""Type checking stubs"""
|
|
5334
5371
|
pass
|
|
5335
5372
|
|
|
5373
|
+
def _typecheckingstub__9a26f83e3d95ee6758754d8ca6cb717ae058662a4c47c6b7d2f4ec32a27bd85a(
|
|
5374
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
5375
|
+
) -> None:
|
|
5376
|
+
"""Type checking stubs"""
|
|
5377
|
+
pass
|
|
5378
|
+
|
|
5336
5379
|
def _typecheckingstub__69caca5de735efdd86c95d7668c92bbedbfaf458ff05980e7d9773ad8e47288e(
|
|
5337
5380
|
value: typing.Optional[builtins.str],
|
|
5338
5381
|
) -> None:
|
|
@@ -5428,6 +5471,7 @@ def _typecheckingstub__04af0c0cee5710afdb7b50f59ef3686da8bba1bf2ed3a56c1e5209c68
|
|
|
5428
5471
|
|
|
5429
5472
|
def _typecheckingstub__d3bac625363d3769acb567c00e5b48d63afe09fd6d0305829f157ffcc46ec169(
|
|
5430
5473
|
*,
|
|
5474
|
+
desired_shard_level_metrics: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5431
5475
|
name: typing.Optional[builtins.str] = None,
|
|
5432
5476
|
retention_period_hours: typing.Optional[jsii.Number] = None,
|
|
5433
5477
|
shard_count: typing.Optional[jsii.Number] = None,
|