aws-cdk-lib 2.145.0__py3-none-any.whl → 2.147.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 +12 -11
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.145.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +32 -12
- aws_cdk/aws_apigatewayv2/__init__.py +48 -2
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
- aws_cdk/aws_appconfig/__init__.py +8 -4
- aws_cdk/aws_applicationsignals/__init__.py +1766 -0
- aws_cdk/aws_appsync/__init__.py +62 -0
- aws_cdk/aws_auditmanager/__init__.py +5 -1
- aws_cdk/aws_autoscaling/__init__.py +457 -56
- aws_cdk/aws_batch/__init__.py +215 -0
- aws_cdk/aws_bedrock/__init__.py +272 -103
- aws_cdk/aws_cloudformation/__init__.py +5 -11
- aws_cdk/aws_cloudfront/__init__.py +10 -3
- aws_cdk/aws_cloudtrail/__init__.py +56 -2
- aws_cdk/aws_codebuild/__init__.py +85 -32
- aws_cdk/aws_codepipeline/__init__.py +10 -5
- aws_cdk/aws_connect/__init__.py +86 -0
- aws_cdk/aws_datazone/__init__.py +80 -68
- aws_cdk/aws_deadline/__init__.py +603 -17
- aws_cdk/aws_ec2/__init__.py +237 -112
- aws_cdk/aws_ecs/__init__.py +123 -12
- aws_cdk/aws_eks/__init__.py +1335 -50
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
- aws_cdk/aws_emrserverless/__init__.py +5 -5
- aws_cdk/aws_events/__init__.py +36 -16
- aws_cdk/aws_fsx/__init__.py +126 -21
- aws_cdk/aws_globalaccelerator/__init__.py +2 -1
- aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
- aws_cdk/aws_glue/__init__.py +26 -0
- aws_cdk/aws_grafana/__init__.py +4 -4
- aws_cdk/aws_groundstation/__init__.py +55 -35
- aws_cdk/aws_guardduty/__init__.py +826 -0
- aws_cdk/aws_iam/__init__.py +13 -8
- aws_cdk/aws_iot/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +7 -5
- aws_cdk/aws_lightsail/__init__.py +1 -1
- aws_cdk/aws_location/__init__.py +10 -11
- aws_cdk/aws_mediapackagev2/__init__.py +38 -20
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +4 -4
- aws_cdk/aws_mwaa/__init__.py +16 -8
- aws_cdk/aws_nimblestudio/__init__.py +9 -9
- aws_cdk/aws_opensearchservice/__init__.py +11 -4
- aws_cdk/aws_opsworks/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +33 -4
- aws_cdk/aws_pipes/__init__.py +691 -0
- aws_cdk/aws_quicksight/__init__.py +23 -21
- aws_cdk/aws_rds/__init__.py +55 -11
- aws_cdk/aws_refactorspaces/__init__.py +3 -3
- aws_cdk/aws_rolesanywhere/__init__.py +206 -3
- aws_cdk/aws_sagemaker/__init__.py +5 -2
- aws_cdk/aws_securityhub/__init__.py +163 -78
- aws_cdk/aws_securitylake/__init__.py +7 -5
- aws_cdk/aws_ses/__init__.py +117 -0
- aws_cdk/aws_simspaceweaver/__init__.py +2 -2
- aws_cdk/aws_sns/__init__.py +67 -13
- aws_cdk/aws_sqs/__init__.py +3 -3
- aws_cdk/aws_stepfunctions/__init__.py +51 -28
- aws_cdk/aws_stepfunctions_tasks/__init__.py +59 -5
- aws_cdk/aws_transfer/__init__.py +8 -2
- aws_cdk/aws_wafv2/__init__.py +10 -10
- aws_cdk/aws_workspacesweb/__init__.py +8 -8
- aws_cdk/region_info/__init__.py +6 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -35
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +71 -70
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_batch/__init__.py
CHANGED
|
@@ -5931,7 +5931,10 @@ class CfnJobDefinition(
|
|
|
5931
5931
|
# The values are placeholders you should change.
|
|
5932
5932
|
from aws_cdk import aws_batch as batch
|
|
5933
5933
|
|
|
5934
|
+
# labels: Any
|
|
5935
|
+
# limits: Any
|
|
5934
5936
|
# options: Any
|
|
5937
|
+
# requests: Any
|
|
5935
5938
|
|
|
5936
5939
|
node_properties_property = batch.CfnJobDefinition.NodePropertiesProperty(
|
|
5937
5940
|
main_node=123,
|
|
@@ -6142,6 +6145,102 @@ class CfnJobDefinition(
|
|
|
6142
6145
|
)]
|
|
6143
6146
|
)]
|
|
6144
6147
|
),
|
|
6148
|
+
eks_properties=batch.CfnJobDefinition.EksPropertiesProperty(
|
|
6149
|
+
pod_properties=batch.CfnJobDefinition.PodPropertiesProperty(
|
|
6150
|
+
containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6151
|
+
image="image",
|
|
6152
|
+
|
|
6153
|
+
# the properties below are optional
|
|
6154
|
+
args=["args"],
|
|
6155
|
+
command=["command"],
|
|
6156
|
+
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6157
|
+
name="name",
|
|
6158
|
+
|
|
6159
|
+
# the properties below are optional
|
|
6160
|
+
value="value"
|
|
6161
|
+
)],
|
|
6162
|
+
image_pull_policy="imagePullPolicy",
|
|
6163
|
+
name="name",
|
|
6164
|
+
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6165
|
+
limits=limits,
|
|
6166
|
+
requests=requests
|
|
6167
|
+
),
|
|
6168
|
+
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6169
|
+
allow_privilege_escalation=False,
|
|
6170
|
+
privileged=False,
|
|
6171
|
+
read_only_root_filesystem=False,
|
|
6172
|
+
run_as_group=123,
|
|
6173
|
+
run_as_non_root=False,
|
|
6174
|
+
run_as_user=123
|
|
6175
|
+
),
|
|
6176
|
+
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6177
|
+
mount_path="mountPath",
|
|
6178
|
+
name="name",
|
|
6179
|
+
read_only=False
|
|
6180
|
+
)]
|
|
6181
|
+
)],
|
|
6182
|
+
dns_policy="dnsPolicy",
|
|
6183
|
+
host_network=False,
|
|
6184
|
+
image_pull_secrets=[batch.CfnJobDefinition.ImagePullSecretProperty(
|
|
6185
|
+
name="name"
|
|
6186
|
+
)],
|
|
6187
|
+
init_containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6188
|
+
image="image",
|
|
6189
|
+
|
|
6190
|
+
# the properties below are optional
|
|
6191
|
+
args=["args"],
|
|
6192
|
+
command=["command"],
|
|
6193
|
+
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6194
|
+
name="name",
|
|
6195
|
+
|
|
6196
|
+
# the properties below are optional
|
|
6197
|
+
value="value"
|
|
6198
|
+
)],
|
|
6199
|
+
image_pull_policy="imagePullPolicy",
|
|
6200
|
+
name="name",
|
|
6201
|
+
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6202
|
+
limits=limits,
|
|
6203
|
+
requests=requests
|
|
6204
|
+
),
|
|
6205
|
+
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6206
|
+
allow_privilege_escalation=False,
|
|
6207
|
+
privileged=False,
|
|
6208
|
+
read_only_root_filesystem=False,
|
|
6209
|
+
run_as_group=123,
|
|
6210
|
+
run_as_non_root=False,
|
|
6211
|
+
run_as_user=123
|
|
6212
|
+
),
|
|
6213
|
+
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6214
|
+
mount_path="mountPath",
|
|
6215
|
+
name="name",
|
|
6216
|
+
read_only=False
|
|
6217
|
+
)]
|
|
6218
|
+
)],
|
|
6219
|
+
metadata=batch.CfnJobDefinition.MetadataProperty(
|
|
6220
|
+
labels=labels
|
|
6221
|
+
),
|
|
6222
|
+
service_account_name="serviceAccountName",
|
|
6223
|
+
share_process_namespace=False,
|
|
6224
|
+
volumes=[batch.CfnJobDefinition.EksVolumeProperty(
|
|
6225
|
+
name="name",
|
|
6226
|
+
|
|
6227
|
+
# the properties below are optional
|
|
6228
|
+
empty_dir=batch.CfnJobDefinition.EmptyDirProperty(
|
|
6229
|
+
medium="medium",
|
|
6230
|
+
size_limit="sizeLimit"
|
|
6231
|
+
),
|
|
6232
|
+
host_path=batch.CfnJobDefinition.HostPathProperty(
|
|
6233
|
+
path="path"
|
|
6234
|
+
),
|
|
6235
|
+
secret=batch.CfnJobDefinition.EksSecretProperty(
|
|
6236
|
+
secret_name="secretName",
|
|
6237
|
+
|
|
6238
|
+
# the properties below are optional
|
|
6239
|
+
optional=False
|
|
6240
|
+
)
|
|
6241
|
+
)]
|
|
6242
|
+
)
|
|
6243
|
+
),
|
|
6145
6244
|
instance_types=["instanceTypes"]
|
|
6146
6245
|
)],
|
|
6147
6246
|
num_nodes=123
|
|
@@ -6210,6 +6309,7 @@ class CfnJobDefinition(
|
|
|
6210
6309
|
"target_nodes": "targetNodes",
|
|
6211
6310
|
"container": "container",
|
|
6212
6311
|
"ecs_properties": "ecsProperties",
|
|
6312
|
+
"eks_properties": "eksProperties",
|
|
6213
6313
|
"instance_types": "instanceTypes",
|
|
6214
6314
|
},
|
|
6215
6315
|
)
|
|
@@ -6220,6 +6320,7 @@ class CfnJobDefinition(
|
|
|
6220
6320
|
target_nodes: builtins.str,
|
|
6221
6321
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.ContainerPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6222
6322
|
ecs_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EcsPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6323
|
+
eks_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EksPropertiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6223
6324
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6224
6325
|
) -> None:
|
|
6225
6326
|
'''This is an object that represents the properties of the node range for a multi-node parallel job.
|
|
@@ -6227,6 +6328,7 @@ class CfnJobDefinition(
|
|
|
6227
6328
|
:param target_nodes: The range of nodes, using node index values. A range of ``0:3`` indicates nodes with index values of ``0`` through ``3`` . If the starting range value is omitted ( ``:n`` ), then ``0`` is used to start the range. If the ending range value is omitted ( ``n:`` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( ``0:n`` ). You can nest node ranges (for example, ``0:10`` and ``4:5`` ). In this case, the ``4:5`` range properties override the ``0:10`` properties.
|
|
6228
6329
|
:param container: The container details for the node range.
|
|
6229
6330
|
:param ecs_properties: This is an object that represents the properties of the node range for a multi-node parallel job.
|
|
6331
|
+
:param eks_properties:
|
|
6230
6332
|
:param instance_types: The instance types of the underlying host infrastructure of a multi-node parallel job. .. epigraph:: This parameter isn't applicable to jobs that are running on Fargate resources. In addition, this list object is currently limited to one element.
|
|
6231
6333
|
|
|
6232
6334
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html
|
|
@@ -6238,7 +6340,10 @@ class CfnJobDefinition(
|
|
|
6238
6340
|
# The values are placeholders you should change.
|
|
6239
6341
|
from aws_cdk import aws_batch as batch
|
|
6240
6342
|
|
|
6343
|
+
# labels: Any
|
|
6344
|
+
# limits: Any
|
|
6241
6345
|
# options: Any
|
|
6346
|
+
# requests: Any
|
|
6242
6347
|
|
|
6243
6348
|
node_range_property_property = batch.CfnJobDefinition.NodeRangePropertyProperty(
|
|
6244
6349
|
target_nodes="targetNodes",
|
|
@@ -6447,6 +6552,102 @@ class CfnJobDefinition(
|
|
|
6447
6552
|
)]
|
|
6448
6553
|
)]
|
|
6449
6554
|
),
|
|
6555
|
+
eks_properties=batch.CfnJobDefinition.EksPropertiesProperty(
|
|
6556
|
+
pod_properties=batch.CfnJobDefinition.PodPropertiesProperty(
|
|
6557
|
+
containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6558
|
+
image="image",
|
|
6559
|
+
|
|
6560
|
+
# the properties below are optional
|
|
6561
|
+
args=["args"],
|
|
6562
|
+
command=["command"],
|
|
6563
|
+
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6564
|
+
name="name",
|
|
6565
|
+
|
|
6566
|
+
# the properties below are optional
|
|
6567
|
+
value="value"
|
|
6568
|
+
)],
|
|
6569
|
+
image_pull_policy="imagePullPolicy",
|
|
6570
|
+
name="name",
|
|
6571
|
+
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6572
|
+
limits=limits,
|
|
6573
|
+
requests=requests
|
|
6574
|
+
),
|
|
6575
|
+
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6576
|
+
allow_privilege_escalation=False,
|
|
6577
|
+
privileged=False,
|
|
6578
|
+
read_only_root_filesystem=False,
|
|
6579
|
+
run_as_group=123,
|
|
6580
|
+
run_as_non_root=False,
|
|
6581
|
+
run_as_user=123
|
|
6582
|
+
),
|
|
6583
|
+
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6584
|
+
mount_path="mountPath",
|
|
6585
|
+
name="name",
|
|
6586
|
+
read_only=False
|
|
6587
|
+
)]
|
|
6588
|
+
)],
|
|
6589
|
+
dns_policy="dnsPolicy",
|
|
6590
|
+
host_network=False,
|
|
6591
|
+
image_pull_secrets=[batch.CfnJobDefinition.ImagePullSecretProperty(
|
|
6592
|
+
name="name"
|
|
6593
|
+
)],
|
|
6594
|
+
init_containers=[batch.CfnJobDefinition.EksContainerProperty(
|
|
6595
|
+
image="image",
|
|
6596
|
+
|
|
6597
|
+
# the properties below are optional
|
|
6598
|
+
args=["args"],
|
|
6599
|
+
command=["command"],
|
|
6600
|
+
env=[batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
|
|
6601
|
+
name="name",
|
|
6602
|
+
|
|
6603
|
+
# the properties below are optional
|
|
6604
|
+
value="value"
|
|
6605
|
+
)],
|
|
6606
|
+
image_pull_policy="imagePullPolicy",
|
|
6607
|
+
name="name",
|
|
6608
|
+
resources=batch.CfnJobDefinition.ResourcesProperty(
|
|
6609
|
+
limits=limits,
|
|
6610
|
+
requests=requests
|
|
6611
|
+
),
|
|
6612
|
+
security_context=batch.CfnJobDefinition.SecurityContextProperty(
|
|
6613
|
+
allow_privilege_escalation=False,
|
|
6614
|
+
privileged=False,
|
|
6615
|
+
read_only_root_filesystem=False,
|
|
6616
|
+
run_as_group=123,
|
|
6617
|
+
run_as_non_root=False,
|
|
6618
|
+
run_as_user=123
|
|
6619
|
+
),
|
|
6620
|
+
volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
|
|
6621
|
+
mount_path="mountPath",
|
|
6622
|
+
name="name",
|
|
6623
|
+
read_only=False
|
|
6624
|
+
)]
|
|
6625
|
+
)],
|
|
6626
|
+
metadata=batch.CfnJobDefinition.MetadataProperty(
|
|
6627
|
+
labels=labels
|
|
6628
|
+
),
|
|
6629
|
+
service_account_name="serviceAccountName",
|
|
6630
|
+
share_process_namespace=False,
|
|
6631
|
+
volumes=[batch.CfnJobDefinition.EksVolumeProperty(
|
|
6632
|
+
name="name",
|
|
6633
|
+
|
|
6634
|
+
# the properties below are optional
|
|
6635
|
+
empty_dir=batch.CfnJobDefinition.EmptyDirProperty(
|
|
6636
|
+
medium="medium",
|
|
6637
|
+
size_limit="sizeLimit"
|
|
6638
|
+
),
|
|
6639
|
+
host_path=batch.CfnJobDefinition.HostPathProperty(
|
|
6640
|
+
path="path"
|
|
6641
|
+
),
|
|
6642
|
+
secret=batch.CfnJobDefinition.EksSecretProperty(
|
|
6643
|
+
secret_name="secretName",
|
|
6644
|
+
|
|
6645
|
+
# the properties below are optional
|
|
6646
|
+
optional=False
|
|
6647
|
+
)
|
|
6648
|
+
)]
|
|
6649
|
+
)
|
|
6650
|
+
),
|
|
6450
6651
|
instance_types=["instanceTypes"]
|
|
6451
6652
|
)
|
|
6452
6653
|
'''
|
|
@@ -6455,6 +6656,7 @@ class CfnJobDefinition(
|
|
|
6455
6656
|
check_type(argname="argument target_nodes", value=target_nodes, expected_type=type_hints["target_nodes"])
|
|
6456
6657
|
check_type(argname="argument container", value=container, expected_type=type_hints["container"])
|
|
6457
6658
|
check_type(argname="argument ecs_properties", value=ecs_properties, expected_type=type_hints["ecs_properties"])
|
|
6659
|
+
check_type(argname="argument eks_properties", value=eks_properties, expected_type=type_hints["eks_properties"])
|
|
6458
6660
|
check_type(argname="argument instance_types", value=instance_types, expected_type=type_hints["instance_types"])
|
|
6459
6661
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6460
6662
|
"target_nodes": target_nodes,
|
|
@@ -6463,6 +6665,8 @@ class CfnJobDefinition(
|
|
|
6463
6665
|
self._values["container"] = container
|
|
6464
6666
|
if ecs_properties is not None:
|
|
6465
6667
|
self._values["ecs_properties"] = ecs_properties
|
|
6668
|
+
if eks_properties is not None:
|
|
6669
|
+
self._values["eks_properties"] = eks_properties
|
|
6466
6670
|
if instance_types is not None:
|
|
6467
6671
|
self._values["instance_types"] = instance_types
|
|
6468
6672
|
|
|
@@ -6500,6 +6704,16 @@ class CfnJobDefinition(
|
|
|
6500
6704
|
result = self._values.get("ecs_properties")
|
|
6501
6705
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EcsPropertiesProperty"]], result)
|
|
6502
6706
|
|
|
6707
|
+
@builtins.property
|
|
6708
|
+
def eks_properties(
|
|
6709
|
+
self,
|
|
6710
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPropertiesProperty"]]:
|
|
6711
|
+
'''
|
|
6712
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html#cfn-batch-jobdefinition-noderangeproperty-eksproperties
|
|
6713
|
+
'''
|
|
6714
|
+
result = self._values.get("eks_properties")
|
|
6715
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPropertiesProperty"]], result)
|
|
6716
|
+
|
|
6503
6717
|
@builtins.property
|
|
6504
6718
|
def instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
6505
6719
|
'''The instance types of the underlying host infrastructure of a multi-node parallel job.
|
|
@@ -23508,6 +23722,7 @@ def _typecheckingstub__005c21025a81827c3f5ed456b171eb7ffdf652583c7da0ff6ff671864
|
|
|
23508
23722
|
target_nodes: builtins.str,
|
|
23509
23723
|
container: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.ContainerPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23510
23724
|
ecs_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EcsPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23725
|
+
eks_properties: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EksPropertiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
23511
23726
|
instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
23512
23727
|
) -> None:
|
|
23513
23728
|
"""Type checking stubs"""
|