aws-cdk-lib 2.176.0__py3-none-any.whl → 2.178.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.

Files changed (120) hide show
  1. aws_cdk/__init__.py +106 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
  5. aws_cdk/aws_apigateway/__init__.py +97 -97
  6. aws_cdk/aws_apigatewayv2/__init__.py +35 -10
  7. aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
  8. aws_cdk/aws_appconfig/__init__.py +10 -10
  9. aws_cdk/aws_appflow/__init__.py +20 -20
  10. aws_cdk/aws_applicationsignals/__init__.py +8 -8
  11. aws_cdk/aws_appmesh/__init__.py +8 -8
  12. aws_cdk/aws_appsync/__init__.py +10387 -7038
  13. aws_cdk/aws_apptest/__init__.py +4 -4
  14. aws_cdk/aws_aps/__init__.py +135 -0
  15. aws_cdk/aws_athena/__init__.py +10 -10
  16. aws_cdk/aws_backup/__init__.py +14 -14
  17. aws_cdk/aws_batch/__init__.py +189 -24
  18. aws_cdk/aws_bcmdataexports/__init__.py +4 -4
  19. aws_cdk/aws_bedrock/__init__.py +5494 -2518
  20. aws_cdk/aws_certificatemanager/__init__.py +15 -14
  21. aws_cdk/aws_chatbot/__init__.py +4 -4
  22. aws_cdk/aws_cloudformation/__init__.py +22 -18
  23. aws_cdk/aws_cloudfront/__init__.py +686 -9
  24. aws_cdk/aws_cloudfront_origins/__init__.py +73 -2
  25. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  26. aws_cdk/aws_cloudwatch/__init__.py +53 -53
  27. aws_cdk/aws_codedeploy/__init__.py +2 -2
  28. aws_cdk/aws_codepipeline/__init__.py +59 -6
  29. aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
  30. aws_cdk/aws_cognito/__init__.py +204 -159
  31. aws_cdk/aws_connect/__init__.py +4 -4
  32. aws_cdk/aws_customerprofiles/__init__.py +6 -4
  33. aws_cdk/aws_databrew/__init__.py +16 -16
  34. aws_cdk/aws_datasync/__init__.py +14 -11
  35. aws_cdk/aws_datazone/__init__.py +199 -129
  36. aws_cdk/aws_dms/__init__.py +4 -4
  37. aws_cdk/aws_dynamodb/__init__.py +267 -25
  38. aws_cdk/aws_ec2/__init__.py +1142 -184
  39. aws_cdk/aws_ecs/__init__.py +767 -124
  40. aws_cdk/aws_ecs_patterns/__init__.py +49 -0
  41. aws_cdk/aws_efs/__init__.py +8 -8
  42. aws_cdk/aws_eks/__init__.py +55 -35
  43. aws_cdk/aws_elasticache/__init__.py +10 -10
  44. aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
  45. aws_cdk/aws_elasticsearch/__init__.py +10 -10
  46. aws_cdk/aws_emr/__init__.py +16 -16
  47. aws_cdk/aws_emrserverless/__init__.py +93 -4
  48. aws_cdk/aws_entityresolution/__init__.py +31 -17
  49. aws_cdk/aws_events/__init__.py +12 -12
  50. aws_cdk/aws_fis/__init__.py +16 -16
  51. aws_cdk/aws_fms/__init__.py +46 -0
  52. aws_cdk/aws_gamelift/__init__.py +8 -10
  53. aws_cdk/aws_glue/__init__.py +1326 -7
  54. aws_cdk/aws_greengrassv2/__init__.py +8 -8
  55. aws_cdk/aws_guardduty/__init__.py +521 -0
  56. aws_cdk/aws_healthlake/__init__.py +10 -2
  57. aws_cdk/aws_iam/__init__.py +8 -0
  58. aws_cdk/aws_imagebuilder/__init__.py +88 -74
  59. aws_cdk/aws_iot/__init__.py +40 -40
  60. aws_cdk/aws_iotanalytics/__init__.py +4 -4
  61. aws_cdk/aws_iotfleetwise/__init__.py +424 -10
  62. aws_cdk/aws_iotsitewise/__init__.py +84 -13
  63. aws_cdk/aws_iottwinmaker/__init__.py +18 -18
  64. aws_cdk/aws_iotwireless/__init__.py +4 -4
  65. aws_cdk/aws_kafkaconnect/__init__.py +10 -10
  66. aws_cdk/aws_kendra/__init__.py +0 -10
  67. aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
  68. aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
  69. aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
  70. aws_cdk/aws_kms/__init__.py +11 -10
  71. aws_cdk/aws_lambda/__init__.py +47 -4
  72. aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
  73. aws_cdk/aws_launchwizard/__init__.py +10 -10
  74. aws_cdk/aws_logs/__init__.py +78 -74
  75. aws_cdk/aws_mediaconnect/__init__.py +509 -12
  76. aws_cdk/aws_medialive/__init__.py +16 -16
  77. aws_cdk/aws_mediatailor/__init__.py +10 -10
  78. aws_cdk/aws_networkfirewall/__init__.py +12 -12
  79. aws_cdk/aws_notifications/__init__.py +1927 -0
  80. aws_cdk/aws_notificationscontacts/__init__.py +593 -0
  81. aws_cdk/aws_omics/__init__.py +4 -4
  82. aws_cdk/aws_opensearchservice/__init__.py +10 -10
  83. aws_cdk/aws_opsworks/__init__.py +58 -58
  84. aws_cdk/aws_personalize/__init__.py +8 -8
  85. aws_cdk/aws_pipes/__init__.py +20 -20
  86. aws_cdk/aws_qbusiness/__init__.py +119 -0
  87. aws_cdk/aws_quicksight/__init__.py +247 -92
  88. aws_cdk/aws_rds/__init__.py +37 -37
  89. aws_cdk/aws_redshift/__init__.py +19 -15
  90. aws_cdk/aws_resiliencehub/__init__.py +0 -41
  91. aws_cdk/aws_route53/__init__.py +10 -4
  92. aws_cdk/aws_route53_targets/__init__.py +15 -15
  93. aws_cdk/aws_rum/__init__.py +4 -4
  94. aws_cdk/aws_s3/__init__.py +801 -2
  95. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  96. aws_cdk/aws_s3tables/__init__.py +2 -2
  97. aws_cdk/aws_sagemaker/__init__.py +84 -60
  98. aws_cdk/aws_sam/__init__.py +48 -48
  99. aws_cdk/aws_secretsmanager/__init__.py +30 -14
  100. aws_cdk/aws_securityhub/__init__.py +12 -12
  101. aws_cdk/aws_sns/__init__.py +137 -12
  102. aws_cdk/aws_ssm/__init__.py +5 -5
  103. aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
  104. aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
  105. aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
  106. aws_cdk/aws_synthetics/__init__.py +109 -36
  107. aws_cdk/aws_timestream/__init__.py +41 -0
  108. aws_cdk/aws_transfer/__init__.py +9 -10
  109. aws_cdk/aws_wafv2/__init__.py +24 -22
  110. aws_cdk/aws_wisdom/__init__.py +8 -8
  111. aws_cdk/aws_workspacesweb/__init__.py +60 -60
  112. aws_cdk/aws_xray/__init__.py +8 -8
  113. aws_cdk/cloud_assembly_schema/__init__.py +63 -4
  114. aws_cdk/cx_api/__init__.py +62 -4
  115. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +3 -3
  116. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +120 -118
  117. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
  118. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
  119. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
  120. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
@@ -1990,7 +1990,7 @@ class CfnComputeEnvironment(
1990
1990
 
1991
1991
  :param launch_template_id: The ID of the launch template. *Note:* If you specify the ``launchTemplateId`` you can't specify the ``launchTemplateName`` as well.
1992
1992
  :param launch_template_name: The name of the launch template. *Note:* If you specify the ``launchTemplateName`` you can't specify the ``launchTemplateId`` as well.
1993
- :param target_instance_types: The instance type or family that this this override launch template should be applied to. This parameter is required when defining a launch template override. Information included in this parameter must meet the following requirements: - Must be a valid Amazon EC2 instance type or family. - ``optimal`` isn't allowed. - ``targetInstanceTypes`` can target only instance types and families that are included within the ```ComputeResource.instanceTypes`` <https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes>`_ set. ``targetInstanceTypes`` doesn't need to include all of the instances from the ``instanceType`` set, but at least a subset. For example, if ``ComputeResource.instanceTypes`` includes ``[m5, g5]`` , ``targetInstanceTypes`` can include ``[m5.2xlarge]`` and ``[m5.large]`` but not ``[c5.large]`` . - ``targetInstanceTypes`` included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.
1993
+ :param target_instance_types: The instance type or family that this override launch template should be applied to. This parameter is required when defining a launch template override. Information included in this parameter must meet the following requirements: - Must be a valid Amazon EC2 instance type or family. - ``optimal`` isn't allowed. - ``targetInstanceTypes`` can target only instance types and families that are included within the ```ComputeResource.instanceTypes`` <https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes>`_ set. ``targetInstanceTypes`` doesn't need to include all of the instances from the ``instanceType`` set, but at least a subset. For example, if ``ComputeResource.instanceTypes`` includes ``[m5, g5]`` , ``targetInstanceTypes`` can include ``[m5.2xlarge]`` and ``[m5.large]`` but not ``[c5.large]`` . - ``targetInstanceTypes`` included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.
1994
1994
  :param version: The version number of the launch template, ``$Default`` , or ``$Latest`` . If the value is ``$Default`` , the default version of the launch template is used. If the value is ``$Latest`` , the latest version of the launch template is used. .. epigraph:: If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the ``updateToLatestImageVersion`` parameter for the compute environment is set to ``true`` . During an infrastructure update, if either ``$Default`` or ``$Latest`` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see `Updating compute environments <https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html>`_ in the *AWS Batch User Guide* . Default: ``$Default`` Latest: ``$Latest``
1995
1995
 
1996
1996
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecificationoverride.html
@@ -2049,7 +2049,7 @@ class CfnComputeEnvironment(
2049
2049
 
2050
2050
  @builtins.property
2051
2051
  def target_instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
2052
- '''The instance type or family that this this override launch template should be applied to.
2052
+ '''The instance type or family that this override launch template should be applied to.
2053
2053
 
2054
2054
  This parameter is required when defining a launch template override.
2055
2055
 
@@ -4482,7 +4482,8 @@ class CfnJobDefinition(
4482
4482
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
4483
4483
  mount_path="mountPath",
4484
4484
  name="name",
4485
- read_only=False
4485
+ read_only=False,
4486
+ sub_path="subPath"
4486
4487
  )]
4487
4488
  )
4488
4489
  '''
@@ -4647,6 +4648,7 @@ class CfnJobDefinition(
4647
4648
  "mount_path": "mountPath",
4648
4649
  "name": "name",
4649
4650
  "read_only": "readOnly",
4651
+ "sub_path": "subPath",
4650
4652
  },
4651
4653
  )
4652
4654
  class EksContainerVolumeMountProperty:
@@ -4656,6 +4658,7 @@ class CfnJobDefinition(
4656
4658
  mount_path: typing.Optional[builtins.str] = None,
4657
4659
  name: typing.Optional[builtins.str] = None,
4658
4660
  read_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4661
+ sub_path: typing.Optional[builtins.str] = None,
4659
4662
  ) -> None:
4660
4663
  '''The volume mounts for a container for an Amazon EKS job.
4661
4664
 
@@ -4664,6 +4667,7 @@ class CfnJobDefinition(
4664
4667
  :param mount_path: The path on the container where the volume is mounted.
4665
4668
  :param name: The name the volume mount. This must match the name of one of the volumes in the pod.
4666
4669
  :param read_only: If this value is ``true`` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is ``false`` .
4670
+ :param sub_path: A sub-path inside the referenced volume instead of its root.
4667
4671
 
4668
4672
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
4669
4673
  :exampleMetadata: fixture=_generated
@@ -4677,7 +4681,8 @@ class CfnJobDefinition(
4677
4681
  eks_container_volume_mount_property = batch.CfnJobDefinition.EksContainerVolumeMountProperty(
4678
4682
  mount_path="mountPath",
4679
4683
  name="name",
4680
- read_only=False
4684
+ read_only=False,
4685
+ sub_path="subPath"
4681
4686
  )
4682
4687
  '''
4683
4688
  if __debug__:
@@ -4685,6 +4690,7 @@ class CfnJobDefinition(
4685
4690
  check_type(argname="argument mount_path", value=mount_path, expected_type=type_hints["mount_path"])
4686
4691
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4687
4692
  check_type(argname="argument read_only", value=read_only, expected_type=type_hints["read_only"])
4693
+ check_type(argname="argument sub_path", value=sub_path, expected_type=type_hints["sub_path"])
4688
4694
  self._values: typing.Dict[builtins.str, typing.Any] = {}
4689
4695
  if mount_path is not None:
4690
4696
  self._values["mount_path"] = mount_path
@@ -4692,6 +4698,8 @@ class CfnJobDefinition(
4692
4698
  self._values["name"] = name
4693
4699
  if read_only is not None:
4694
4700
  self._values["read_only"] = read_only
4701
+ if sub_path is not None:
4702
+ self._values["sub_path"] = sub_path
4695
4703
 
4696
4704
  @builtins.property
4697
4705
  def mount_path(self) -> typing.Optional[builtins.str]:
@@ -4726,6 +4734,15 @@ class CfnJobDefinition(
4726
4734
  result = self._values.get("read_only")
4727
4735
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
4728
4736
 
4737
+ @builtins.property
4738
+ def sub_path(self) -> typing.Optional[builtins.str]:
4739
+ '''A sub-path inside the referenced volume instead of its root.
4740
+
4741
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
4742
+ '''
4743
+ result = self._values.get("sub_path")
4744
+ return typing.cast(typing.Optional[builtins.str], result)
4745
+
4729
4746
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4730
4747
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4731
4748
 
@@ -4737,6 +4754,85 @@ class CfnJobDefinition(
4737
4754
  k + "=" + repr(v) for k, v in self._values.items()
4738
4755
  )
4739
4756
 
4757
+ @jsii.data_type(
4758
+ jsii_type="aws-cdk-lib.aws_batch.CfnJobDefinition.EksPersistentVolumeClaimProperty",
4759
+ jsii_struct_bases=[],
4760
+ name_mapping={"claim_name": "claimName", "read_only": "readOnly"},
4761
+ )
4762
+ class EksPersistentVolumeClaimProperty:
4763
+ def __init__(
4764
+ self,
4765
+ *,
4766
+ claim_name: builtins.str,
4767
+ read_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4768
+ ) -> None:
4769
+ '''A ``persistentVolumeClaim`` volume is used to mount a `PersistentVolume <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/>`_ into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about `PersistentVolumes <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/>`_ in the *Kubernetes documentation* .
4770
+
4771
+ :param claim_name: The name of the ``persistentVolumeClaim`` bounded to a ``persistentVolume`` . For more information, see `Persistent Volume Claims <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims>`_ in the *Kubernetes documentation* .
4772
+ :param read_only: An optional boolean value indicating if the mount is read only. Default is false. For more information, see `Read Only Mounts <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts>`_ in the *Kubernetes documentation* .
4773
+
4774
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
4775
+ :exampleMetadata: fixture=_generated
4776
+
4777
+ Example::
4778
+
4779
+ # The code below shows an example of how to instantiate this type.
4780
+ # The values are placeholders you should change.
4781
+ from aws_cdk import aws_batch as batch
4782
+
4783
+ eks_persistent_volume_claim_property = batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
4784
+ claim_name="claimName",
4785
+
4786
+ # the properties below are optional
4787
+ read_only=False
4788
+ )
4789
+ '''
4790
+ if __debug__:
4791
+ type_hints = typing.get_type_hints(_typecheckingstub__df2f02db37a79a03e0e657d7178a4c5a549ddd6252265363593910bdfac129d2)
4792
+ check_type(argname="argument claim_name", value=claim_name, expected_type=type_hints["claim_name"])
4793
+ check_type(argname="argument read_only", value=read_only, expected_type=type_hints["read_only"])
4794
+ self._values: typing.Dict[builtins.str, typing.Any] = {
4795
+ "claim_name": claim_name,
4796
+ }
4797
+ if read_only is not None:
4798
+ self._values["read_only"] = read_only
4799
+
4800
+ @builtins.property
4801
+ def claim_name(self) -> builtins.str:
4802
+ '''The name of the ``persistentVolumeClaim`` bounded to a ``persistentVolume`` .
4803
+
4804
+ For more information, see `Persistent Volume Claims <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims>`_ in the *Kubernetes documentation* .
4805
+
4806
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
4807
+ '''
4808
+ result = self._values.get("claim_name")
4809
+ assert result is not None, "Required property 'claim_name' is missing"
4810
+ return typing.cast(builtins.str, result)
4811
+
4812
+ @builtins.property
4813
+ def read_only(
4814
+ self,
4815
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
4816
+ '''An optional boolean value indicating if the mount is read only.
4817
+
4818
+ Default is false. For more information, see `Read Only Mounts <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts>`_ in the *Kubernetes documentation* .
4819
+
4820
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
4821
+ '''
4822
+ result = self._values.get("read_only")
4823
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
4824
+
4825
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4826
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4827
+
4828
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4829
+ return not (rhs == self)
4830
+
4831
+ def __repr__(self) -> str:
4832
+ return "EksPersistentVolumeClaimProperty(%s)" % ", ".join(
4833
+ k + "=" + repr(v) for k, v in self._values.items()
4834
+ )
4835
+
4740
4836
  @jsii.data_type(
4741
4837
  jsii_type="aws-cdk-lib.aws_batch.CfnJobDefinition.EksPropertiesProperty",
4742
4838
  jsii_struct_bases=[],
@@ -4796,7 +4892,8 @@ class CfnJobDefinition(
4796
4892
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
4797
4893
  mount_path="mountPath",
4798
4894
  name="name",
4799
- read_only=False
4895
+ read_only=False,
4896
+ sub_path="subPath"
4800
4897
  )]
4801
4898
  )],
4802
4899
  dns_policy="dnsPolicy",
@@ -4833,7 +4930,8 @@ class CfnJobDefinition(
4833
4930
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
4834
4931
  mount_path="mountPath",
4835
4932
  name="name",
4836
- read_only=False
4933
+ read_only=False,
4934
+ sub_path="subPath"
4837
4935
  )]
4838
4936
  )],
4839
4937
  metadata=batch.CfnJobDefinition.MetadataProperty(
@@ -4852,6 +4950,12 @@ class CfnJobDefinition(
4852
4950
  host_path=batch.CfnJobDefinition.HostPathProperty(
4853
4951
  path="path"
4854
4952
  ),
4953
+ persistent_volume_claim=batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
4954
+ claim_name="claimName",
4955
+
4956
+ # the properties below are optional
4957
+ read_only=False
4958
+ ),
4855
4959
  secret=batch.CfnJobDefinition.EksSecretProperty(
4856
4960
  secret_name="secretName",
4857
4961
 
@@ -4977,6 +5081,7 @@ class CfnJobDefinition(
4977
5081
  "name": "name",
4978
5082
  "empty_dir": "emptyDir",
4979
5083
  "host_path": "hostPath",
5084
+ "persistent_volume_claim": "persistentVolumeClaim",
4980
5085
  "secret": "secret",
4981
5086
  },
4982
5087
  )
@@ -4987,6 +5092,7 @@ class CfnJobDefinition(
4987
5092
  name: builtins.str,
4988
5093
  empty_dir: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EmptyDirProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4989
5094
  host_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.HostPathProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5095
+ persistent_volume_claim: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EksPersistentVolumeClaimProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4990
5096
  secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJobDefinition.EksSecretProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4991
5097
  ) -> None:
4992
5098
  '''Specifies an Amazon EKS volume for a job definition.
@@ -4994,6 +5100,7 @@ class CfnJobDefinition(
4994
5100
  :param name: The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see `DNS subdomain names <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names>`_ in the *Kubernetes documentation* .
4995
5101
  :param empty_dir: Specifies the configuration of a Kubernetes ``emptyDir`` volume. For more information, see `emptyDir <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir>`_ in the *Kubernetes documentation* .
4996
5102
  :param host_path: Specifies the configuration of a Kubernetes ``hostPath`` volume. For more information, see `hostPath <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath>`_ in the *Kubernetes documentation* .
5103
+ :param persistent_volume_claim: Specifies the configuration of a Kubernetes ``persistentVolumeClaim`` bounded to a ``persistentVolume`` . For more information, see `Persistent Volume Claims <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims>`_ in the *Kubernetes documentation* .
4997
5104
  :param secret: Specifies the configuration of a Kubernetes ``secret`` volume. For more information, see `secret <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret>`_ in the *Kubernetes documentation* .
4998
5105
 
4999
5106
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
@@ -5016,6 +5123,12 @@ class CfnJobDefinition(
5016
5123
  host_path=batch.CfnJobDefinition.HostPathProperty(
5017
5124
  path="path"
5018
5125
  ),
5126
+ persistent_volume_claim=batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
5127
+ claim_name="claimName",
5128
+
5129
+ # the properties below are optional
5130
+ read_only=False
5131
+ ),
5019
5132
  secret=batch.CfnJobDefinition.EksSecretProperty(
5020
5133
  secret_name="secretName",
5021
5134
 
@@ -5029,6 +5142,7 @@ class CfnJobDefinition(
5029
5142
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
5030
5143
  check_type(argname="argument empty_dir", value=empty_dir, expected_type=type_hints["empty_dir"])
5031
5144
  check_type(argname="argument host_path", value=host_path, expected_type=type_hints["host_path"])
5145
+ check_type(argname="argument persistent_volume_claim", value=persistent_volume_claim, expected_type=type_hints["persistent_volume_claim"])
5032
5146
  check_type(argname="argument secret", value=secret, expected_type=type_hints["secret"])
5033
5147
  self._values: typing.Dict[builtins.str, typing.Any] = {
5034
5148
  "name": name,
@@ -5037,6 +5151,8 @@ class CfnJobDefinition(
5037
5151
  self._values["empty_dir"] = empty_dir
5038
5152
  if host_path is not None:
5039
5153
  self._values["host_path"] = host_path
5154
+ if persistent_volume_claim is not None:
5155
+ self._values["persistent_volume_claim"] = persistent_volume_claim
5040
5156
  if secret is not None:
5041
5157
  self._values["secret"] = secret
5042
5158
 
@@ -5078,6 +5194,19 @@ class CfnJobDefinition(
5078
5194
  result = self._values.get("host_path")
5079
5195
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.HostPathProperty"]], result)
5080
5196
 
5197
+ @builtins.property
5198
+ def persistent_volume_claim(
5199
+ self,
5200
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPersistentVolumeClaimProperty"]]:
5201
+ '''Specifies the configuration of a Kubernetes ``persistentVolumeClaim`` bounded to a ``persistentVolume`` .
5202
+
5203
+ For more information, see `Persistent Volume Claims <https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims>`_ in the *Kubernetes documentation* .
5204
+
5205
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
5206
+ '''
5207
+ result = self._values.get("persistent_volume_claim")
5208
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EksPersistentVolumeClaimProperty"]], result)
5209
+
5081
5210
  @builtins.property
5082
5211
  def secret(
5083
5212
  self,
@@ -6888,7 +7017,8 @@ class CfnJobDefinition(
6888
7017
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
6889
7018
  mount_path="mountPath",
6890
7019
  name="name",
6891
- read_only=False
7020
+ read_only=False,
7021
+ sub_path="subPath"
6892
7022
  )]
6893
7023
  )],
6894
7024
  dns_policy="dnsPolicy",
@@ -6925,7 +7055,8 @@ class CfnJobDefinition(
6925
7055
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
6926
7056
  mount_path="mountPath",
6927
7057
  name="name",
6928
- read_only=False
7058
+ read_only=False,
7059
+ sub_path="subPath"
6929
7060
  )]
6930
7061
  )],
6931
7062
  metadata=batch.CfnJobDefinition.MetadataProperty(
@@ -6944,6 +7075,12 @@ class CfnJobDefinition(
6944
7075
  host_path=batch.CfnJobDefinition.HostPathProperty(
6945
7076
  path="path"
6946
7077
  ),
7078
+ persistent_volume_claim=batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
7079
+ claim_name="claimName",
7080
+
7081
+ # the properties below are optional
7082
+ read_only=False
7083
+ ),
6947
7084
  secret=batch.CfnJobDefinition.EksSecretProperty(
6948
7085
  secret_name="secretName",
6949
7086
 
@@ -7284,7 +7421,8 @@ class CfnJobDefinition(
7284
7421
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
7285
7422
  mount_path="mountPath",
7286
7423
  name="name",
7287
- read_only=False
7424
+ read_only=False,
7425
+ sub_path="subPath"
7288
7426
  )]
7289
7427
  )],
7290
7428
  dns_policy="dnsPolicy",
@@ -7321,7 +7459,8 @@ class CfnJobDefinition(
7321
7459
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
7322
7460
  mount_path="mountPath",
7323
7461
  name="name",
7324
- read_only=False
7462
+ read_only=False,
7463
+ sub_path="subPath"
7325
7464
  )]
7326
7465
  )],
7327
7466
  metadata=batch.CfnJobDefinition.MetadataProperty(
@@ -7340,6 +7479,12 @@ class CfnJobDefinition(
7340
7479
  host_path=batch.CfnJobDefinition.HostPathProperty(
7341
7480
  path="path"
7342
7481
  ),
7482
+ persistent_volume_claim=batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
7483
+ claim_name="claimName",
7484
+
7485
+ # the properties below are optional
7486
+ read_only=False
7487
+ ),
7343
7488
  secret=batch.CfnJobDefinition.EksSecretProperty(
7344
7489
  secret_name="secretName",
7345
7490
 
@@ -7525,7 +7670,8 @@ class CfnJobDefinition(
7525
7670
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
7526
7671
  mount_path="mountPath",
7527
7672
  name="name",
7528
- read_only=False
7673
+ read_only=False,
7674
+ sub_path="subPath"
7529
7675
  )]
7530
7676
  )],
7531
7677
  dns_policy="dnsPolicy",
@@ -7562,7 +7708,8 @@ class CfnJobDefinition(
7562
7708
  volume_mounts=[batch.CfnJobDefinition.EksContainerVolumeMountProperty(
7563
7709
  mount_path="mountPath",
7564
7710
  name="name",
7565
- read_only=False
7711
+ read_only=False,
7712
+ sub_path="subPath"
7566
7713
  )]
7567
7714
  )],
7568
7715
  metadata=batch.CfnJobDefinition.MetadataProperty(
@@ -7581,6 +7728,12 @@ class CfnJobDefinition(
7581
7728
  host_path=batch.CfnJobDefinition.HostPathProperty(
7582
7729
  path="path"
7583
7730
  ),
7731
+ persistent_volume_claim=batch.CfnJobDefinition.EksPersistentVolumeClaimProperty(
7732
+ claim_name="claimName",
7733
+
7734
+ # the properties below are optional
7735
+ read_only=False
7736
+ ),
7584
7737
  secret=batch.CfnJobDefinition.EksSecretProperty(
7585
7738
  secret_name="secretName",
7586
7739
 
@@ -8464,7 +8617,7 @@ class CfnJobDefinition(
8464
8617
  :param image: The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest`` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``IMAGE`` parameter of the `*docker run* <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration>`_ .
8465
8618
  :param command: The command that's passed to the container. This parameter maps to ``Cmd`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/>`_ and the ``COMMAND`` parameter to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . For more information, see `Dockerfile reference: CMD <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd>`_ .
8466
8619
  :param depends_on: A list of containers that this container depends on.
8467
- :param environment: The environment variables to pass to a container. This parameter maps to Env inthe `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/>`_ and the ``--env`` parameter to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . .. epigraph:: We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with ``AWS_BATCH`` . This naming convention is reserved for variables that AWS Batch sets.
8620
+ :param environment: The environment variables to pass to a container. This parameter maps to Env in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/>`_ and the ``--env`` parameter to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . .. epigraph:: We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with ``AWS_BATCH`` . This naming convention is reserved for variables that AWS Batch sets.
8468
8621
  :param essential: If the essential parameter of a container is marked as ``true`` , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the ``essential`` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see `Application Architecture <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
8469
8622
  :param linux_parameters: Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see `KernelCapabilities <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html>`_ .
8470
8623
  :param log_configuration: The log configuration specification for the container. This parameter maps to ``LogConfig`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``--log-driver`` option to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration>`_ . By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see `Configure logging drivers <https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/>`_ in the *Docker documentation* . .. epigraph:: Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the ``LogConfiguration`` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version ``--format '{{.Server.APIVersion}}'`` .. epigraph:: The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see `Amazon ECS container agent configuration <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
@@ -8650,7 +8803,7 @@ class CfnJobDefinition(
8650
8803
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnJobDefinition.EnvironmentProperty"]]]]:
8651
8804
  '''The environment variables to pass to a container.
8652
8805
 
8653
- This parameter maps to Env inthe `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/>`_ and the ``--env`` parameter to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ .
8806
+ This parameter maps to Env in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/>`_ and the ``--env`` parameter to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ .
8654
8807
  .. epigraph::
8655
8808
 
8656
8809
  We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with ``AWS_BATCH`` . This naming convention is reserved for variables that AWS Batch sets.
@@ -10337,7 +10490,7 @@ class CfnSchedulingPolicy(
10337
10490
  '''The fair share policy for a scheduling policy.
10338
10491
 
10339
10492
  :param compute_reservation: A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used. The reserved ratio is ``( *computeReservation* /100)^ *ActiveFairShares*`` where ``*ActiveFairShares*`` is the number of active fair share identifiers. For example, a ``computeReservation`` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A ``computeReservation`` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. The minimum value is 0 and the maximum value is 99.
10340
- :param share_decay_seconds: The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
10493
+ :param share_decay_seconds: The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates the default minimum time window (600 seconds). The maximum supported value is 604800 (1 week). The decay allows for more recently run jobs to have more weight than jobs that ran earlier. Consider adjusting this number if you have jobs that (on average) run longer than ten minutes, or a large difference in job count or job run times between share identifiers, and the allocation of resources doesn’t meet your needs.
10341
10494
  :param share_distribution: An array of ``SharedIdentifier`` objects that contain the weights for the fair share identifiers for the fair share policy. Fair share identifiers that aren't included have a default weight of ``1.0`` .
10342
10495
 
10343
10496
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html
@@ -10390,7 +10543,9 @@ class CfnSchedulingPolicy(
10390
10543
  def share_decay_seconds(self) -> typing.Optional[jsii.Number]:
10391
10544
  '''The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use.
10392
10545
 
10393
- A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).
10546
+ A value of zero (0) indicates the default minimum time window (600 seconds). The maximum supported value is 604800 (1 week).
10547
+
10548
+ The decay allows for more recently run jobs to have more weight than jobs that ran earlier. Consider adjusting this number if you have jobs that (on average) run longer than ten minutes, or a large difference in job count or job run times between share identifiers, and the allocation of resources doesn’t meet your needs.
10394
10549
 
10395
10550
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-schedulingpolicy-fairsharepolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy-sharedecayseconds
10396
10551
  '''
@@ -19563,7 +19718,7 @@ class MultiNodeJobDefinition(
19563
19718
  :param containers: The containers that this multinode job will run. Default: none
19564
19719
  :param instance_type: The instance type that this job definition will run. Default: - optimal instance, selected by Batch
19565
19720
  :param main_node: The index of the main node in this job. The main node is responsible for orchestration. Default: 0
19566
- :param propagate_tags: Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
19721
+ :param propagate_tags: Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
19567
19722
  :param job_definition_name: The name of this job definition. Default: - generated by CloudFormation
19568
19723
  :param parameters: The default parameters passed to the container These parameters can be referenced in the ``command`` that you give to the container. Default: none
19569
19724
  :param retry_attempts: The number of times to retry a job. The job is retried on failure the same number of attempts as the value. Default: 1
@@ -19690,7 +19845,7 @@ class MultiNodeJobDefinition(
19690
19845
  @builtins.property
19691
19846
  @jsii.member(jsii_name="propagateTags")
19692
19847
  def propagate_tags(self) -> typing.Optional[builtins.bool]:
19693
- '''Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns.'''
19848
+ '''Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns.'''
19694
19849
  return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "propagateTags"))
19695
19850
 
19696
19851
  @builtins.property
@@ -19766,7 +19921,7 @@ class MultiNodeJobDefinitionProps(JobDefinitionProps):
19766
19921
  :param containers: The containers that this multinode job will run. Default: none
19767
19922
  :param instance_type: The instance type that this job definition will run. Default: - optimal instance, selected by Batch
19768
19923
  :param main_node: The index of the main node in this job. The main node is responsible for orchestration. Default: 0
19769
- :param propagate_tags: Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
19924
+ :param propagate_tags: Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
19770
19925
 
19771
19926
  :exampleMetadata: infused
19772
19927
 
@@ -19927,7 +20082,7 @@ class MultiNodeJobDefinitionProps(JobDefinitionProps):
19927
20082
 
19928
20083
  @builtins.property
19929
20084
  def propagate_tags(self) -> typing.Optional[builtins.bool]:
19930
- '''Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns.
20085
+ '''Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns.
19931
20086
 
19932
20087
  :default: false
19933
20088
  '''
@@ -21778,7 +21933,7 @@ class EcsJobDefinition(
21778
21933
  :param scope: -
21779
21934
  :param id: -
21780
21935
  :param container: The container that this job will run.
21781
- :param propagate_tags: Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
21936
+ :param propagate_tags: Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
21782
21937
  :param job_definition_name: The name of this job definition. Default: - generated by CloudFormation
21783
21938
  :param parameters: The default parameters passed to the container These parameters can be referenced in the ``command`` that you give to the container. Default: none
21784
21939
  :param retry_attempts: The number of times to retry a job. The job is retried on failure the same number of attempts as the value. Default: 1
@@ -21885,7 +22040,7 @@ class EcsJobDefinition(
21885
22040
  @builtins.property
21886
22041
  @jsii.member(jsii_name="propagateTags")
21887
22042
  def propagate_tags(self) -> typing.Optional[builtins.bool]:
21888
- '''Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns.'''
22043
+ '''Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns.'''
21889
22044
  return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "propagateTags"))
21890
22045
 
21891
22046
  @builtins.property
@@ -21955,7 +22110,7 @@ class EcsJobDefinitionProps(JobDefinitionProps):
21955
22110
  :param scheduling_priority: The priority of this Job. Only used in Fairshare Scheduling to decide which job to run first when there are multiple jobs with the same share identifier. Default: none
21956
22111
  :param timeout: The timeout time for jobs that are submitted with this job definition. After the amount of time you specify passes, Batch terminates your jobs if they aren't finished. Default: - no timeout
21957
22112
  :param container: The container that this job will run.
21958
- :param propagate_tags: Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
22113
+ :param propagate_tags: Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns. Default: false
21959
22114
 
21960
22115
  :exampleMetadata: infused
21961
22116
 
@@ -22087,7 +22242,7 @@ class EcsJobDefinitionProps(JobDefinitionProps):
22087
22242
 
22088
22243
  @builtins.property
22089
22244
  def propagate_tags(self) -> typing.Optional[builtins.bool]:
22090
- '''Whether to propogate tags from the JobDefinition to the ECS task that Batch spawns.
22245
+ '''Whether to propagate tags from the JobDefinition to the ECS task that Batch spawns.
22091
22246
 
22092
22247
  :default: false
22093
22248
  '''
@@ -24267,6 +24422,15 @@ def _typecheckingstub__855f1c6efd210a25d73922fc636cbbe8c4e08f7e49a5b9582f0ac1759
24267
24422
  mount_path: typing.Optional[builtins.str] = None,
24268
24423
  name: typing.Optional[builtins.str] = None,
24269
24424
  read_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
24425
+ sub_path: typing.Optional[builtins.str] = None,
24426
+ ) -> None:
24427
+ """Type checking stubs"""
24428
+ pass
24429
+
24430
+ def _typecheckingstub__df2f02db37a79a03e0e657d7178a4c5a549ddd6252265363593910bdfac129d2(
24431
+ *,
24432
+ claim_name: builtins.str,
24433
+ read_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
24270
24434
  ) -> None:
24271
24435
  """Type checking stubs"""
24272
24436
  pass
@@ -24291,6 +24455,7 @@ def _typecheckingstub__71bf085e500a34c552f178e2df09efdf138a2c99fb19667f0b4cf9e39
24291
24455
  name: builtins.str,
24292
24456
  empty_dir: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EmptyDirProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
24293
24457
  host_path: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.HostPathProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
24458
+ persistent_volume_claim: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EksPersistentVolumeClaimProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
24294
24459
  secret: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJobDefinition.EksSecretProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
24295
24460
  ) -> None:
24296
24461
  """Type checking stubs"""
@@ -261,7 +261,7 @@ class CfnExport(
261
261
  self,
262
262
  *,
263
263
  query_statement: builtins.str,
264
- table_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]]] = None,
264
+ table_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]]] = None,
265
265
  ) -> None:
266
266
  '''The SQL query of column selections and row filters from the data table you want.
267
267
 
@@ -311,13 +311,13 @@ class CfnExport(
311
311
  @builtins.property
312
312
  def table_configurations(
313
313
  self,
314
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]]]:
314
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]]]:
315
315
  '''The table configuration.
316
316
 
317
317
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bcmdataexports-export-dataquery.html#cfn-bcmdataexports-export-dataquery-tableconfigurations
318
318
  '''
319
319
  result = self._values.get("table_configurations")
320
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]]], result)
320
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]]], result)
321
321
 
322
322
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
323
323
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -1061,7 +1061,7 @@ def _typecheckingstub__1ad623342e4c1e6ad8d0a1e800f480ca841fcc2866deb4be0a499fc18
1061
1061
  def _typecheckingstub__e1a095753612659582b4b6117f8c7de657221f82c66d4926cce19af238d91343(
1062
1062
  *,
1063
1063
  query_statement: builtins.str,
1064
- table_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]]] = None,
1064
+ table_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]]] = None,
1065
1065
  ) -> None:
1066
1066
  """Type checking stubs"""
1067
1067
  pass