aws-cdk-lib 2.168.0__py3-none-any.whl → 2.169.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 (37) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.168.0.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +244 -13
  5. aws_cdk/aws_applicationsignals/__init__.py +8 -1
  6. aws_cdk/aws_autoscaling/__init__.py +310 -9
  7. aws_cdk/aws_cloudfront/__init__.py +50 -0
  8. aws_cdk/aws_codebuild/__init__.py +2 -2
  9. aws_cdk/aws_connect/__init__.py +378 -0
  10. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  11. aws_cdk/aws_deadline/__init__.py +299 -6
  12. aws_cdk/aws_dynamodb/__init__.py +47 -25
  13. aws_cdk/aws_ec2/__init__.py +6 -2
  14. aws_cdk/aws_ecs/__init__.py +28 -22
  15. aws_cdk/aws_efs/__init__.py +61 -4
  16. aws_cdk/aws_eks/__init__.py +116 -0
  17. aws_cdk/aws_gamelift/__init__.py +385 -251
  18. aws_cdk/aws_iot/__init__.py +209 -0
  19. aws_cdk/aws_iotfleetwise/__init__.py +550 -0
  20. aws_cdk/aws_iotsitewise/__init__.py +6 -3
  21. aws_cdk/aws_ivs/__init__.py +458 -0
  22. aws_cdk/aws_kinesisfirehose/__init__.py +90 -33
  23. aws_cdk/aws_rbin/__init__.py +902 -0
  24. aws_cdk/aws_rds/__init__.py +115 -0
  25. aws_cdk/aws_route53resolver/__init__.py +76 -19
  26. aws_cdk/aws_sagemaker/__init__.py +32 -0
  27. aws_cdk/aws_sns/__init__.py +593 -8
  28. aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
  29. aws_cdk/aws_synthetics/__init__.py +46 -0
  30. aws_cdk/aws_vpclattice/__init__.py +118 -2
  31. aws_cdk/aws_wisdom/__init__.py +16 -21
  32. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
  33. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +37 -36
  34. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
  35. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
  36. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
  37. {aws_cdk_lib-2.168.0.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
@@ -463,6 +463,22 @@ class CfnFleet(
463
463
  ),
464
464
 
465
465
  # the properties below are optional
466
+ accelerator_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
467
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
468
+ name="name",
469
+
470
+ # the properties below are optional
471
+ runtime="runtime"
472
+ )],
473
+
474
+ # the properties below are optional
475
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
476
+ min=123,
477
+
478
+ # the properties below are optional
479
+ max=123
480
+ )
481
+ ),
466
482
  allowed_instance_types=["allowedInstanceTypes"],
467
483
  custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
468
484
  min=123,
@@ -739,6 +755,95 @@ class CfnFleet(
739
755
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
740
756
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
741
757
 
758
+ @jsii.data_type(
759
+ jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.AcceleratorCapabilitiesProperty",
760
+ jsii_struct_bases=[],
761
+ name_mapping={"selections": "selections", "count": "count"},
762
+ )
763
+ class AcceleratorCapabilitiesProperty:
764
+ def __init__(
765
+ self,
766
+ *,
767
+ selections: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.AcceleratorSelectionProperty", typing.Dict[builtins.str, typing.Any]]]]],
768
+ count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.AcceleratorCountRangeProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
769
+ ) -> None:
770
+ '''Provides information about the GPU accelerators used for jobs processed by a fleet.
771
+
772
+ :param selections: A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
773
+ :param count: The number of GPU accelerators specified for worker hosts in this fleet.
774
+
775
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html
776
+ :exampleMetadata: fixture=_generated
777
+
778
+ Example::
779
+
780
+ # The code below shows an example of how to instantiate this type.
781
+ # The values are placeholders you should change.
782
+ from aws_cdk import aws_deadline as deadline
783
+
784
+ accelerator_capabilities_property = deadline.CfnFleet.AcceleratorCapabilitiesProperty(
785
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
786
+ name="name",
787
+
788
+ # the properties below are optional
789
+ runtime="runtime"
790
+ )],
791
+
792
+ # the properties below are optional
793
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
794
+ min=123,
795
+
796
+ # the properties below are optional
797
+ max=123
798
+ )
799
+ )
800
+ '''
801
+ if __debug__:
802
+ type_hints = typing.get_type_hints(_typecheckingstub__8521be2862d68a89d6ed0657d975b7b035f5921c08c4e707e47a6d67e5feb805)
803
+ check_type(argname="argument selections", value=selections, expected_type=type_hints["selections"])
804
+ check_type(argname="argument count", value=count, expected_type=type_hints["count"])
805
+ self._values: typing.Dict[builtins.str, typing.Any] = {
806
+ "selections": selections,
807
+ }
808
+ if count is not None:
809
+ self._values["count"] = count
810
+
811
+ @builtins.property
812
+ def selections(
813
+ self,
814
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorSelectionProperty"]]]:
815
+ '''A list of accelerator capabilities requested for this fleet.
816
+
817
+ Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
818
+
819
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-selections
820
+ '''
821
+ result = self._values.get("selections")
822
+ assert result is not None, "Required property 'selections' is missing"
823
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorSelectionProperty"]]], result)
824
+
825
+ @builtins.property
826
+ def count(
827
+ self,
828
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorCountRangeProperty"]]:
829
+ '''The number of GPU accelerators specified for worker hosts in this fleet.
830
+
831
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-count
832
+ '''
833
+ result = self._values.get("count")
834
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorCountRangeProperty"]], result)
835
+
836
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
837
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
838
+
839
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
840
+ return not (rhs == self)
841
+
842
+ def __repr__(self) -> str:
843
+ return "AcceleratorCapabilitiesProperty(%s)" % ", ".join(
844
+ k + "=" + repr(v) for k, v in self._values.items()
845
+ )
846
+
742
847
  @jsii.data_type(
743
848
  jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.AcceleratorCountRangeProperty",
744
849
  jsii_struct_bases=[],
@@ -751,10 +856,10 @@ class CfnFleet(
751
856
  min: jsii.Number,
752
857
  max: typing.Optional[jsii.Number] = None,
753
858
  ) -> None:
754
- '''The range for the GPU fleet acceleration.
859
+ '''Defines the maximum and minimum number of GPU accelerators required for a worker instance..
755
860
 
756
- :param min: The minimum GPU for the accelerator.
757
- :param max: The maximum GPU for the accelerator.
861
+ :param min: The minimum number of GPU accelerators in the worker host.
862
+ :param max: The maximum number of GPU accelerators in the worker host.
758
863
 
759
864
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html
760
865
  :exampleMetadata: fixture=_generated
@@ -784,7 +889,7 @@ class CfnFleet(
784
889
 
785
890
  @builtins.property
786
891
  def min(self) -> jsii.Number:
787
- '''The minimum GPU for the accelerator.
892
+ '''The minimum number of GPU accelerators in the worker host.
788
893
 
789
894
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html#cfn-deadline-fleet-acceleratorcountrange-min
790
895
  '''
@@ -794,7 +899,7 @@ class CfnFleet(
794
899
 
795
900
  @builtins.property
796
901
  def max(self) -> typing.Optional[jsii.Number]:
797
- '''The maximum GPU for the accelerator.
902
+ '''The maximum number of GPU accelerators in the worker host.
798
903
 
799
904
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html#cfn-deadline-fleet-acceleratorcountrange-max
800
905
  '''
@@ -812,6 +917,96 @@ class CfnFleet(
812
917
  k + "=" + repr(v) for k, v in self._values.items()
813
918
  )
814
919
 
920
+ @jsii.data_type(
921
+ jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.AcceleratorSelectionProperty",
922
+ jsii_struct_bases=[],
923
+ name_mapping={"name": "name", "runtime": "runtime"},
924
+ )
925
+ class AcceleratorSelectionProperty:
926
+ def __init__(
927
+ self,
928
+ *,
929
+ name: builtins.str,
930
+ runtime: typing.Optional[builtins.str] = None,
931
+ ) -> None:
932
+ '''Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
933
+
934
+ :param name: The name of the chip used by the GPU accelerator. If you specify ``l4`` as the name of the accelerator, you must specify ``latest`` or ``grid:r550`` as the runtime. The available GPU accelerators are: - ``t4`` - NVIDIA T4 Tensor Core GPU - ``a10g`` - NVIDIA A10G Tensor Core GPU - ``l4`` - NVIDIA L4 Tensor Core GPU - ``l40s`` - NVIDIA L40S Tensor Core GPU
935
+ :param runtime: Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs. You can choose from the following runtimes: - ``latest`` - Use the latest runtime available for the chip. If you specify ``latest`` and a new version of the runtime is released, the new version of the runtime is used. - ``grid:r550`` - `NVIDIA vGPU software 17 <https://docs.aws.amazon.com/https://docs.nvidia.com/vgpu/17.0/index.html>`_ - ``grid:r535`` - `NVIDIA vGPU software 16 <https://docs.aws.amazon.com/https://docs.nvidia.com/vgpu/16.0/index.html>`_ If you don't specify a runtime, Deadline Cloud uses ``latest`` as the default. However, if you have multiple accelerators and specify ``latest`` for some and leave others blank, Deadline Cloud raises an exception.
936
+
937
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html
938
+ :exampleMetadata: fixture=_generated
939
+
940
+ Example::
941
+
942
+ # The code below shows an example of how to instantiate this type.
943
+ # The values are placeholders you should change.
944
+ from aws_cdk import aws_deadline as deadline
945
+
946
+ accelerator_selection_property = deadline.CfnFleet.AcceleratorSelectionProperty(
947
+ name="name",
948
+
949
+ # the properties below are optional
950
+ runtime="runtime"
951
+ )
952
+ '''
953
+ if __debug__:
954
+ type_hints = typing.get_type_hints(_typecheckingstub__b2b0737e85d3743e0f3220af4b712f14bd4956008f2c4ab7d1b391c37229b79c)
955
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
956
+ check_type(argname="argument runtime", value=runtime, expected_type=type_hints["runtime"])
957
+ self._values: typing.Dict[builtins.str, typing.Any] = {
958
+ "name": name,
959
+ }
960
+ if runtime is not None:
961
+ self._values["runtime"] = runtime
962
+
963
+ @builtins.property
964
+ def name(self) -> builtins.str:
965
+ '''The name of the chip used by the GPU accelerator.
966
+
967
+ If you specify ``l4`` as the name of the accelerator, you must specify ``latest`` or ``grid:r550`` as the runtime.
968
+
969
+ The available GPU accelerators are:
970
+
971
+ - ``t4`` - NVIDIA T4 Tensor Core GPU
972
+ - ``a10g`` - NVIDIA A10G Tensor Core GPU
973
+ - ``l4`` - NVIDIA L4 Tensor Core GPU
974
+ - ``l40s`` - NVIDIA L40S Tensor Core GPU
975
+
976
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html#cfn-deadline-fleet-acceleratorselection-name
977
+ '''
978
+ result = self._values.get("name")
979
+ assert result is not None, "Required property 'name' is missing"
980
+ return typing.cast(builtins.str, result)
981
+
982
+ @builtins.property
983
+ def runtime(self) -> typing.Optional[builtins.str]:
984
+ '''Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
985
+
986
+ You can choose from the following runtimes:
987
+
988
+ - ``latest`` - Use the latest runtime available for the chip. If you specify ``latest`` and a new version of the runtime is released, the new version of the runtime is used.
989
+ - ``grid:r550`` - `NVIDIA vGPU software 17 <https://docs.aws.amazon.com/https://docs.nvidia.com/vgpu/17.0/index.html>`_
990
+ - ``grid:r535`` - `NVIDIA vGPU software 16 <https://docs.aws.amazon.com/https://docs.nvidia.com/vgpu/16.0/index.html>`_
991
+
992
+ If you don't specify a runtime, Deadline Cloud uses ``latest`` as the default. However, if you have multiple accelerators and specify ``latest`` for some and leave others blank, Deadline Cloud raises an exception.
993
+
994
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html#cfn-deadline-fleet-acceleratorselection-runtime
995
+ '''
996
+ result = self._values.get("runtime")
997
+ return typing.cast(typing.Optional[builtins.str], result)
998
+
999
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1000
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1001
+
1002
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1003
+ return not (rhs == self)
1004
+
1005
+ def __repr__(self) -> str:
1006
+ return "AcceleratorSelectionProperty(%s)" % ", ".join(
1007
+ k + "=" + repr(v) for k, v in self._values.items()
1008
+ )
1009
+
815
1010
  @jsii.data_type(
816
1011
  jsii_type="aws-cdk-lib.aws_deadline.CfnFleet.AcceleratorTotalMemoryMiBRangeProperty",
817
1012
  jsii_struct_bases=[],
@@ -824,7 +1019,7 @@ class CfnFleet(
824
1019
  min: jsii.Number,
825
1020
  max: typing.Optional[jsii.Number] = None,
826
1021
  ) -> None:
827
- '''The range for memory, in MiB, to use for the accelerator.
1022
+ '''Defines the maximum and minimum amount of memory, in MiB, to use for the accelerator.
828
1023
 
829
1024
  :param min: The minimum amount of memory to use for the accelerator, measured in MiB.
830
1025
  :param max: The maximum amount of memory to use for the accelerator, measured in MiB.
@@ -1682,6 +1877,22 @@ class CfnFleet(
1682
1877
  ),
1683
1878
 
1684
1879
  # the properties below are optional
1880
+ accelerator_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
1881
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
1882
+ name="name",
1883
+
1884
+ # the properties below are optional
1885
+ runtime="runtime"
1886
+ )],
1887
+
1888
+ # the properties below are optional
1889
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
1890
+ min=123,
1891
+
1892
+ # the properties below are optional
1893
+ max=123
1894
+ )
1895
+ ),
1685
1896
  allowed_instance_types=["allowedInstanceTypes"],
1686
1897
  custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
1687
1898
  min=123,
@@ -1870,6 +2081,22 @@ class CfnFleet(
1870
2081
  ),
1871
2082
 
1872
2083
  # the properties below are optional
2084
+ accelerator_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
2085
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
2086
+ name="name",
2087
+
2088
+ # the properties below are optional
2089
+ runtime="runtime"
2090
+ )],
2091
+
2092
+ # the properties below are optional
2093
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
2094
+ min=123,
2095
+
2096
+ # the properties below are optional
2097
+ max=123
2098
+ )
2099
+ ),
1873
2100
  allowed_instance_types=["allowedInstanceTypes"],
1874
2101
  custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
1875
2102
  min=123,
@@ -1946,6 +2173,7 @@ class CfnFleet(
1946
2173
  "memory_mib": "memoryMiB",
1947
2174
  "os_family": "osFamily",
1948
2175
  "v_cpu_count": "vCpuCount",
2176
+ "accelerator_capabilities": "acceleratorCapabilities",
1949
2177
  "allowed_instance_types": "allowedInstanceTypes",
1950
2178
  "custom_amounts": "customAmounts",
1951
2179
  "custom_attributes": "customAttributes",
@@ -1961,6 +2189,7 @@ class CfnFleet(
1961
2189
  memory_mib: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.MemoryMiBRangeProperty", typing.Dict[builtins.str, typing.Any]]],
1962
2190
  os_family: builtins.str,
1963
2191
  v_cpu_count: typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.VCpuCountRangeProperty", typing.Dict[builtins.str, typing.Any]]],
2192
+ accelerator_capabilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.AcceleratorCapabilitiesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1964
2193
  allowed_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
1965
2194
  custom_amounts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.FleetAmountCapabilityProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
1966
2195
  custom_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnFleet.FleetAttributeCapabilityProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -1973,6 +2202,7 @@ class CfnFleet(
1973
2202
  :param memory_mib: The memory, as MiB, for the Amazon EC2 instance type.
1974
2203
  :param os_family: The operating system (OS) family.
1975
2204
  :param v_cpu_count: The amount of vCPU to require for instances in this fleet.
2205
+ :param accelerator_capabilities: Describes the GPU accelerator capabilities required for worker host instances in this fleet.
1976
2206
  :param allowed_instance_types: The allowable Amazon EC2 instance types.
1977
2207
  :param custom_amounts: The custom capability amounts to require for instances in this fleet.
1978
2208
  :param custom_attributes: The custom capability attributes to require for instances in this fleet.
@@ -2005,6 +2235,22 @@ class CfnFleet(
2005
2235
  ),
2006
2236
 
2007
2237
  # the properties below are optional
2238
+ accelerator_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
2239
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
2240
+ name="name",
2241
+
2242
+ # the properties below are optional
2243
+ runtime="runtime"
2244
+ )],
2245
+
2246
+ # the properties below are optional
2247
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
2248
+ min=123,
2249
+
2250
+ # the properties below are optional
2251
+ max=123
2252
+ )
2253
+ ),
2008
2254
  allowed_instance_types=["allowedInstanceTypes"],
2009
2255
  custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
2010
2256
  min=123,
@@ -2031,6 +2277,7 @@ class CfnFleet(
2031
2277
  check_type(argname="argument memory_mib", value=memory_mib, expected_type=type_hints["memory_mib"])
2032
2278
  check_type(argname="argument os_family", value=os_family, expected_type=type_hints["os_family"])
2033
2279
  check_type(argname="argument v_cpu_count", value=v_cpu_count, expected_type=type_hints["v_cpu_count"])
2280
+ check_type(argname="argument accelerator_capabilities", value=accelerator_capabilities, expected_type=type_hints["accelerator_capabilities"])
2034
2281
  check_type(argname="argument allowed_instance_types", value=allowed_instance_types, expected_type=type_hints["allowed_instance_types"])
2035
2282
  check_type(argname="argument custom_amounts", value=custom_amounts, expected_type=type_hints["custom_amounts"])
2036
2283
  check_type(argname="argument custom_attributes", value=custom_attributes, expected_type=type_hints["custom_attributes"])
@@ -2042,6 +2289,8 @@ class CfnFleet(
2042
2289
  "os_family": os_family,
2043
2290
  "v_cpu_count": v_cpu_count,
2044
2291
  }
2292
+ if accelerator_capabilities is not None:
2293
+ self._values["accelerator_capabilities"] = accelerator_capabilities
2045
2294
  if allowed_instance_types is not None:
2046
2295
  self._values["allowed_instance_types"] = allowed_instance_types
2047
2296
  if custom_amounts is not None:
@@ -2097,6 +2346,17 @@ class CfnFleet(
2097
2346
  assert result is not None, "Required property 'v_cpu_count' is missing"
2098
2347
  return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnFleet.VCpuCountRangeProperty"], result)
2099
2348
 
2349
+ @builtins.property
2350
+ def accelerator_capabilities(
2351
+ self,
2352
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorCapabilitiesProperty"]]:
2353
+ '''Describes the GPU accelerator capabilities required for worker host instances in this fleet.
2354
+
2355
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-acceleratorcapabilities
2356
+ '''
2357
+ result = self._values.get("accelerator_capabilities")
2358
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.AcceleratorCapabilitiesProperty"]], result)
2359
+
2100
2360
  @builtins.property
2101
2361
  def allowed_instance_types(self) -> typing.Optional[typing.List[builtins.str]]:
2102
2362
  '''The allowable Amazon EC2 instance types.
@@ -2400,6 +2660,22 @@ class CfnFleetProps:
2400
2660
  ),
2401
2661
 
2402
2662
  # the properties below are optional
2663
+ accelerator_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
2664
+ selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
2665
+ name="name",
2666
+
2667
+ # the properties below are optional
2668
+ runtime="runtime"
2669
+ )],
2670
+
2671
+ # the properties below are optional
2672
+ count=deadline.CfnFleet.AcceleratorCountRangeProperty(
2673
+ min=123,
2674
+
2675
+ # the properties below are optional
2676
+ max=123
2677
+ )
2678
+ ),
2403
2679
  allowed_instance_types=["allowedInstanceTypes"],
2404
2680
  custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
2405
2681
  min=123,
@@ -5296,6 +5572,14 @@ def _typecheckingstub__9c9ddff2a0e8eb5e8397bf64d0158ac4f8fba30ee673a959c2d550657
5296
5572
  """Type checking stubs"""
5297
5573
  pass
5298
5574
 
5575
+ def _typecheckingstub__8521be2862d68a89d6ed0657d975b7b035f5921c08c4e707e47a6d67e5feb805(
5576
+ *,
5577
+ selections: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AcceleratorSelectionProperty, typing.Dict[builtins.str, typing.Any]]]]],
5578
+ count: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AcceleratorCountRangeProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5579
+ ) -> None:
5580
+ """Type checking stubs"""
5581
+ pass
5582
+
5299
5583
  def _typecheckingstub__f4d7e76219e8cce8e44e215b08cd1fef54b62ca3d48dbbc0bc8b3e6040db253e(
5300
5584
  *,
5301
5585
  min: jsii.Number,
@@ -5304,6 +5588,14 @@ def _typecheckingstub__f4d7e76219e8cce8e44e215b08cd1fef54b62ca3d48dbbc0bc8b3e604
5304
5588
  """Type checking stubs"""
5305
5589
  pass
5306
5590
 
5591
+ def _typecheckingstub__b2b0737e85d3743e0f3220af4b712f14bd4956008f2c4ab7d1b391c37229b79c(
5592
+ *,
5593
+ name: builtins.str,
5594
+ runtime: typing.Optional[builtins.str] = None,
5595
+ ) -> None:
5596
+ """Type checking stubs"""
5597
+ pass
5598
+
5307
5599
  def _typecheckingstub__6e87ae0b2cf7001539dfe803c414d6da11bd37d8db4fe33e1b4847d22cccfd0e(
5308
5600
  *,
5309
5601
  min: jsii.Number,
@@ -5400,6 +5692,7 @@ def _typecheckingstub__b6bce0a6fe3858a9b9eaa850b95b27731a62d9ef26b45c40b5684d658
5400
5692
  memory_mib: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.MemoryMiBRangeProperty, typing.Dict[builtins.str, typing.Any]]],
5401
5693
  os_family: builtins.str,
5402
5694
  v_cpu_count: typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.VCpuCountRangeProperty, typing.Dict[builtins.str, typing.Any]]],
5695
+ accelerator_capabilities: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.AcceleratorCapabilitiesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5403
5696
  allowed_instance_types: typing.Optional[typing.Sequence[builtins.str]] = None,
5404
5697
  custom_amounts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.FleetAmountCapabilityProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5405
5698
  custom_attributes: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnFleet.FleetAttributeCapabilityProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,