aws-cdk-lib 2.219.0__py3-none-any.whl → 2.220.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 (51) hide show
  1. aws_cdk/__init__.py +12 -17
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.219.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_applicationsignals/__init__.py +450 -2
  5. aws_cdk/aws_arcregionswitch/__init__.py +8 -0
  6. aws_cdk/aws_backup/__init__.py +29 -0
  7. aws_cdk/aws_batch/__init__.py +109 -7
  8. aws_cdk/aws_bedrock/__init__.py +44 -16
  9. aws_cdk/aws_bedrockagentcore/__init__.py +7872 -1718
  10. aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
  11. aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
  12. aws_cdk/aws_cloudwatch/__init__.py +5 -5
  13. aws_cdk/aws_cognito/__init__.py +6 -4
  14. aws_cdk/aws_dax/__init__.py +12 -3
  15. aws_cdk/aws_directoryservice/__init__.py +29 -0
  16. aws_cdk/aws_ec2/__init__.py +99 -8
  17. aws_cdk/aws_ecs/__init__.py +342 -134
  18. aws_cdk/aws_eks/__init__.py +114 -9
  19. aws_cdk/aws_fsx/__init__.py +4 -4
  20. aws_cdk/aws_imagebuilder/__init__.py +397 -0
  21. aws_cdk/aws_iotsitewise/__init__.py +136 -80
  22. aws_cdk/aws_kinesis/__init__.py +95 -4
  23. aws_cdk/aws_lambda/__init__.py +43 -0
  24. aws_cdk/aws_lightsail/__init__.py +584 -0
  25. aws_cdk/aws_logs/__init__.py +57 -0
  26. aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
  27. aws_cdk/aws_m2/__init__.py +59 -13
  28. aws_cdk/aws_medialive/__init__.py +108 -0
  29. aws_cdk/aws_mwaa/__init__.py +5 -5
  30. aws_cdk/aws_neptune/__init__.py +133 -70
  31. aws_cdk/aws_networkmanager/__init__.py +29 -0
  32. aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
  33. aws_cdk/aws_omics/__init__.py +7 -1
  34. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  35. aws_cdk/aws_pcs/__init__.py +224 -33
  36. aws_cdk/aws_pinpoint/__init__.py +58 -0
  37. aws_cdk/aws_quicksight/__init__.py +80 -0
  38. aws_cdk/aws_rds/__init__.py +29 -23
  39. aws_cdk/aws_refactorspaces/__init__.py +18 -6
  40. aws_cdk/aws_route53/__init__.py +130 -6
  41. aws_cdk/aws_s3/__init__.py +29 -2
  42. aws_cdk/aws_s3objectlambda/__init__.py +44 -12
  43. aws_cdk/aws_servicecatalog/__init__.py +25 -20
  44. aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
  45. aws_cdk/aws_synthetics/__init__.py +21 -1
  46. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +1 -1
  47. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +51 -51
  48. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
  49. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
  50. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
  51. {aws_cdk_lib-2.219.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
@@ -66,7 +66,18 @@ For stateful or otherwise non-interruption-tolerant workflows, omit `spot` or se
66
66
 
67
67
  #### Choosing Your Instance Types
68
68
 
69
- Batch allows you to choose the instance types or classes that will run your workload.
69
+ Batch allows you to choose most up-to-date instance classes based on your region.
70
+ This example configures your `ComputeEnvironment` to use only ARM64 instance:
71
+
72
+ ```python
73
+ vpc = ec2.Vpc(self, "VPC")
74
+
75
+ batch.ManagedEc2EcsComputeEnvironment(self, "myEc2ComputeEnv",
76
+ vpc=vpc,
77
+ default_instance_classes=[batch.DefaultInstanceClass.ARM64]
78
+ )
79
+ ```
80
+
70
81
  This example configures your `ComputeEnvironment` to use only the `M5AD.large` instance:
71
82
 
72
83
  ```python
@@ -91,6 +102,9 @@ batch.ManagedEc2EcsComputeEnvironment(self, "myEc2ComputeEnv",
91
102
  )
92
103
  ```
93
104
 
105
+ > [!WARNING]
106
+ > `useOptimalInstanceClasses` is deprecated! Use `defaultInstanceClasses` instead.
107
+
94
108
  Unless you explicitly specify `useOptimalInstanceClasses: false`, this compute environment will use `'optimal'` instances,
95
109
  which tells Batch to pick an instance from the C4, M4, and R4 instance families.
96
110
  *Note*: Batch does not allow specifying instance types or classes with different architectures.
@@ -2434,6 +2448,29 @@ class CustomReason:
2434
2448
  )
2435
2449
 
2436
2450
 
2451
+ @jsii.enum(jsii_type="aws-cdk-lib.aws_batch.DefaultInstanceClass")
2452
+ class DefaultInstanceClass(enum.Enum):
2453
+ '''Batch default instances types.
2454
+
2455
+ :see: https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html
2456
+ :exampleMetadata: infused
2457
+
2458
+ Example::
2459
+
2460
+ vpc = ec2.Vpc(self, "VPC")
2461
+
2462
+ batch.ManagedEc2EcsComputeEnvironment(self, "myEc2ComputeEnv",
2463
+ vpc=vpc,
2464
+ default_instance_classes=[batch.DefaultInstanceClass.ARM64]
2465
+ )
2466
+ '''
2467
+
2468
+ X86_64 = "X86_64"
2469
+ '''x86 based instance types (from the m6i, c6i, r6i, and c7i instance families).'''
2470
+ ARM64 = "ARM64"
2471
+ '''ARM64 based instance types (from the m6g, c6g, r6g, and c7g instance families).'''
2472
+
2473
+
2437
2474
  @jsii.data_type(
2438
2475
  jsii_type="aws-cdk-lib.aws_batch.Device",
2439
2476
  jsii_struct_bases=[],
@@ -9710,6 +9747,7 @@ class ManagedEc2EcsComputeEnvironment(
9710
9747
  id: builtins.str,
9711
9748
  *,
9712
9749
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
9750
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
9713
9751
  images: typing.Optional[typing.Sequence[typing.Union[EcsMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
9714
9752
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
9715
9753
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -9737,6 +9775,7 @@ class ManagedEc2EcsComputeEnvironment(
9737
9775
  :param scope: -
9738
9776
  :param id: -
9739
9777
  :param allocation_strategy: The allocation strategy to use if not enough instances of the best fitting instance type can be allocated. Default: - ``BEST_FIT_PROGRESSIVE`` if not using Spot instances, ``SPOT_CAPACITY_OPTIMIZED`` if using Spot instances.
9778
+ :param default_instance_classes: Use batch's default instance types. A simpler way to choose up-to-date instance classes based on region instead of specifying exact instance classes. Default: - choose from instanceTypes and instanceClasses
9740
9779
  :param images: Configure which AMIs this Compute Environment can launch. If you specify this property with only ``image`` specified, then the ``imageType`` will default to ``ECS_AL2``. *If your image needs GPU resources, specify ``ECS_AL2_NVIDIA``; otherwise, the instances will not be able to properly join the ComputeEnvironment*. Default: - ECS_AL2 for non-GPU instances, ECS_AL2_NVIDIA for GPU instances
9741
9780
  :param instance_classes: The instance classes that this Compute Environment can launch. Which one is chosen depends on the ``AllocationStrategy`` used. Batch will automatically choose the instance size. Default: - the instances Batch considers will be used (currently C4, M4, and R4)
9742
9781
  :param instance_role: The execution Role that instances launched by this Compute Environment will use. Default: - a role will be created
@@ -9746,7 +9785,7 @@ class ManagedEc2EcsComputeEnvironment(
9746
9785
  :param placement_group: The EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to this Compute Environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. Default: - no placement group
9747
9786
  :param spot_bid_percentage: The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Instance. You always pay the lowest market price and never more than your maximum percentage. For most use cases, Batch recommends leaving this field empty. Implies ``spot == true`` if set Default: 100%
9748
9787
  :param spot_fleet_role: The service-linked role that Spot Fleet needs to launch instances on your behalf. Default: - a new role will be created
9749
- :param use_optimal_instance_classes: Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
9788
+ :param use_optimal_instance_classes: (deprecated) Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
9750
9789
  :param vpc: VPC in which this Compute Environment will launch Instances.
9751
9790
  :param maxv_cpus: The maximum vCpus this ``ManagedComputeEnvironment`` can scale up to. Each vCPU is equivalent to 1024 CPU shares. *Note*: if this Compute Environment uses EC2 resources (not Fargate) with either ``AllocationStrategy.BEST_FIT_PROGRESSIVE`` or ``AllocationStrategy.SPOT_CAPACITY_OPTIMIZED``, or ``AllocationStrategy.BEST_FIT`` with Spot instances, The scheduler may exceed this number by at most one of the instances specified in ``instanceTypes`` or ``instanceClasses``. Default: 256
9752
9791
  :param replace_compute_environment: Specifies whether this Compute Environment is replaced if an update is made that requires replacing its instances. To enable more properties to be updated, set this property to ``false``. When changing the value of this property to false, do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the UPDATE_ROLLBACK_FAILED state. You can't update a stack that is in the UPDATE_ROLLBACK_FAILED state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. The properties which require a replacement of the Compute Environment are: Default: false
@@ -9766,6 +9805,7 @@ class ManagedEc2EcsComputeEnvironment(
9766
9805
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9767
9806
  props = ManagedEc2EcsComputeEnvironmentProps(
9768
9807
  allocation_strategy=allocation_strategy,
9808
+ default_instance_classes=default_instance_classes,
9769
9809
  images=images,
9770
9810
  instance_classes=instance_classes,
9771
9811
  instance_role=instance_role,
@@ -10076,6 +10116,7 @@ class ManagedEc2EcsComputeEnvironment(
10076
10116
  "update_to_latest_image_version": "updateToLatestImageVersion",
10077
10117
  "vpc_subnets": "vpcSubnets",
10078
10118
  "allocation_strategy": "allocationStrategy",
10119
+ "default_instance_classes": "defaultInstanceClasses",
10079
10120
  "images": "images",
10080
10121
  "instance_classes": "instanceClasses",
10081
10122
  "instance_role": "instanceRole",
@@ -10105,6 +10146,7 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10105
10146
  update_to_latest_image_version: typing.Optional[builtins.bool] = None,
10106
10147
  vpc_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
10107
10148
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
10149
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
10108
10150
  images: typing.Optional[typing.Sequence[typing.Union[EcsMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
10109
10151
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
10110
10152
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -10131,6 +10173,7 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10131
10173
  :param update_to_latest_image_version: Whether or not the AMI is updated to the latest one supported by Batch when an infrastructure update occurs. If you specify a specific AMI, this property will be ignored. Note: the CDK will never set this value by default, ``false`` will set by CFN. This is to avoid a deployment failure that occurs when this value is set. Default: false
10132
10174
  :param vpc_subnets: The VPC Subnets this Compute Environment will launch instances in. Default: new subnets will be created
10133
10175
  :param allocation_strategy: The allocation strategy to use if not enough instances of the best fitting instance type can be allocated. Default: - ``BEST_FIT_PROGRESSIVE`` if not using Spot instances, ``SPOT_CAPACITY_OPTIMIZED`` if using Spot instances.
10176
+ :param default_instance_classes: Use batch's default instance types. A simpler way to choose up-to-date instance classes based on region instead of specifying exact instance classes. Default: - choose from instanceTypes and instanceClasses
10134
10177
  :param images: Configure which AMIs this Compute Environment can launch. If you specify this property with only ``image`` specified, then the ``imageType`` will default to ``ECS_AL2``. *If your image needs GPU resources, specify ``ECS_AL2_NVIDIA``; otherwise, the instances will not be able to properly join the ComputeEnvironment*. Default: - ECS_AL2 for non-GPU instances, ECS_AL2_NVIDIA for GPU instances
10135
10178
  :param instance_classes: The instance classes that this Compute Environment can launch. Which one is chosen depends on the ``AllocationStrategy`` used. Batch will automatically choose the instance size. Default: - the instances Batch considers will be used (currently C4, M4, and R4)
10136
10179
  :param instance_role: The execution Role that instances launched by this Compute Environment will use. Default: - a role will be created
@@ -10140,7 +10183,7 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10140
10183
  :param placement_group: The EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to this Compute Environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. Default: - no placement group
10141
10184
  :param spot_bid_percentage: The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Instance. You always pay the lowest market price and never more than your maximum percentage. For most use cases, Batch recommends leaving this field empty. Implies ``spot == true`` if set Default: 100%
10142
10185
  :param spot_fleet_role: The service-linked role that Spot Fleet needs to launch instances on your behalf. Default: - a new role will be created
10143
- :param use_optimal_instance_classes: Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
10186
+ :param use_optimal_instance_classes: (deprecated) Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
10144
10187
 
10145
10188
  :exampleMetadata: infused
10146
10189
 
@@ -10172,6 +10215,7 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10172
10215
  check_type(argname="argument update_to_latest_image_version", value=update_to_latest_image_version, expected_type=type_hints["update_to_latest_image_version"])
10173
10216
  check_type(argname="argument vpc_subnets", value=vpc_subnets, expected_type=type_hints["vpc_subnets"])
10174
10217
  check_type(argname="argument allocation_strategy", value=allocation_strategy, expected_type=type_hints["allocation_strategy"])
10218
+ check_type(argname="argument default_instance_classes", value=default_instance_classes, expected_type=type_hints["default_instance_classes"])
10175
10219
  check_type(argname="argument images", value=images, expected_type=type_hints["images"])
10176
10220
  check_type(argname="argument instance_classes", value=instance_classes, expected_type=type_hints["instance_classes"])
10177
10221
  check_type(argname="argument instance_role", value=instance_role, expected_type=type_hints["instance_role"])
@@ -10209,6 +10253,8 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10209
10253
  self._values["vpc_subnets"] = vpc_subnets
10210
10254
  if allocation_strategy is not None:
10211
10255
  self._values["allocation_strategy"] = allocation_strategy
10256
+ if default_instance_classes is not None:
10257
+ self._values["default_instance_classes"] = default_instance_classes
10212
10258
  if images is not None:
10213
10259
  self._values["images"] = images
10214
10260
  if instance_classes is not None:
@@ -10400,6 +10446,22 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10400
10446
  result = self._values.get("allocation_strategy")
10401
10447
  return typing.cast(typing.Optional[AllocationStrategy], result)
10402
10448
 
10449
+ @builtins.property
10450
+ def default_instance_classes(
10451
+ self,
10452
+ ) -> typing.Optional[typing.List[DefaultInstanceClass]]:
10453
+ '''Use batch's default instance types.
10454
+
10455
+ A simpler way to choose up-to-date instance classes based on region
10456
+ instead of specifying exact instance classes.
10457
+
10458
+ :default: - choose from instanceTypes and instanceClasses
10459
+
10460
+ :see: https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html
10461
+ '''
10462
+ result = self._values.get("default_instance_classes")
10463
+ return typing.cast(typing.Optional[typing.List[DefaultInstanceClass]], result)
10464
+
10403
10465
  @builtins.property
10404
10466
  def images(self) -> typing.Optional[typing.List[EcsMachineImage]]:
10405
10467
  '''Configure which AMIs this Compute Environment can launch.
@@ -10514,13 +10576,17 @@ class ManagedEc2EcsComputeEnvironmentProps(ManagedComputeEnvironmentProps):
10514
10576
 
10515
10577
  @builtins.property
10516
10578
  def use_optimal_instance_classes(self) -> typing.Optional[builtins.bool]:
10517
- '''Whether or not to use batch's optimal instance type.
10579
+ '''(deprecated) Whether or not to use batch's optimal instance type.
10518
10580
 
10519
10581
  The optimal instance type is equivalent to adding the
10520
10582
  C4, M4, and R4 instance classes. You can specify other instance classes
10521
10583
  (of the same architecture) in addition to the optimal instance classes.
10522
10584
 
10523
10585
  :default: true
10586
+
10587
+ :deprecated: use defaultInstanceClasses instead
10588
+
10589
+ :stability: deprecated
10524
10590
  '''
10525
10591
  result = self._values.get("use_optimal_instance_classes")
10526
10592
  return typing.cast(typing.Optional[builtins.bool], result)
@@ -10577,6 +10643,7 @@ class ManagedEc2EksComputeEnvironment(
10577
10643
  # the properties below are optional
10578
10644
  allocation_strategy=batch.AllocationStrategy.BEST_FIT,
10579
10645
  compute_environment_name="computeEnvironmentName",
10646
+ default_instance_classes=[batch.DefaultInstanceClass.X86_64],
10580
10647
  enabled=False,
10581
10648
  images=[batch.EksMachineImage(
10582
10649
  image=machine_image,
@@ -10617,6 +10684,7 @@ class ManagedEc2EksComputeEnvironment(
10617
10684
  eks_cluster: _ICluster_6b2b80df,
10618
10685
  kubernetes_namespace: builtins.str,
10619
10686
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
10687
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
10620
10688
  images: typing.Optional[typing.Sequence[typing.Union[EksMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
10621
10689
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
10622
10690
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -10645,6 +10713,7 @@ class ManagedEc2EksComputeEnvironment(
10645
10713
  :param eks_cluster: The cluster that backs this Compute Environment. Required for Compute Environments running Kubernetes jobs. Please ensure that you have followed the steps at https://docs.aws.amazon.com/batch/latest/userguide/getting-started-eks.html before attempting to deploy a ``ManagedEc2EksComputeEnvironment`` that uses this cluster. If you do not follow the steps in the link, the deployment fail with a message that the compute environment did not stabilize.
10646
10714
  :param kubernetes_namespace: The namespace of the Cluster.
10647
10715
  :param allocation_strategy: The allocation strategy to use if not enough instances of the best fitting instance type can be allocated. Default: - ``BEST_FIT_PROGRESSIVE`` if not using Spot instances, ``SPOT_CAPACITY_OPTIMIZED`` if using Spot instances.
10716
+ :param default_instance_classes: Use batch's default instance types. A simpler way to choose up-to-date instance classes based on region instead of specifying exact instance classes. Default: - choose from instanceTypes and instanceClasses
10648
10717
  :param images: Configure which AMIs this Compute Environment can launch. Default: If ``imageKubernetesVersion`` is specified, - EKS_AL2 for non-GPU instances, EKS_AL2_NVIDIA for GPU instances, Otherwise, - ECS_AL2 for non-GPU instances, ECS_AL2_NVIDIA for GPU instances,
10649
10718
  :param instance_classes: The instance types that this Compute Environment can launch. Which one is chosen depends on the ``AllocationStrategy`` used. Batch will automatically choose the instance size. Default: - the instances Batch considers will be used (currently C4, M4, and R4)
10650
10719
  :param instance_role: The execution Role that instances launched by this Compute Environment will use. Default: - a role will be created
@@ -10653,7 +10722,7 @@ class ManagedEc2EksComputeEnvironment(
10653
10722
  :param minv_cpus: The minimum vCPUs that an environment should maintain, even if the compute environment is DISABLED. Default: 0
10654
10723
  :param placement_group: The EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to this Compute Environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. Default: - no placement group
10655
10724
  :param spot_bid_percentage: The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Instance. You always pay the lowest market price and never more than your maximum percentage. For most use cases, Batch recommends leaving this field empty. Implies ``spot == true`` if set Default: - 100%
10656
- :param use_optimal_instance_classes: Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
10725
+ :param use_optimal_instance_classes: (deprecated) Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
10657
10726
  :param vpc: VPC in which this Compute Environment will launch Instances.
10658
10727
  :param maxv_cpus: The maximum vCpus this ``ManagedComputeEnvironment`` can scale up to. Each vCPU is equivalent to 1024 CPU shares. *Note*: if this Compute Environment uses EC2 resources (not Fargate) with either ``AllocationStrategy.BEST_FIT_PROGRESSIVE`` or ``AllocationStrategy.SPOT_CAPACITY_OPTIMIZED``, or ``AllocationStrategy.BEST_FIT`` with Spot instances, The scheduler may exceed this number by at most one of the instances specified in ``instanceTypes`` or ``instanceClasses``. Default: 256
10659
10728
  :param replace_compute_environment: Specifies whether this Compute Environment is replaced if an update is made that requires replacing its instances. To enable more properties to be updated, set this property to ``false``. When changing the value of this property to false, do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the UPDATE_ROLLBACK_FAILED state. You can't update a stack that is in the UPDATE_ROLLBACK_FAILED state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. The properties which require a replacement of the Compute Environment are: Default: false
@@ -10675,6 +10744,7 @@ class ManagedEc2EksComputeEnvironment(
10675
10744
  eks_cluster=eks_cluster,
10676
10745
  kubernetes_namespace=kubernetes_namespace,
10677
10746
  allocation_strategy=allocation_strategy,
10747
+ default_instance_classes=default_instance_classes,
10678
10748
  images=images,
10679
10749
  instance_classes=instance_classes,
10680
10750
  instance_role=instance_role,
@@ -10981,6 +11051,7 @@ class ManagedEc2EksComputeEnvironment(
10981
11051
  "eks_cluster": "eksCluster",
10982
11052
  "kubernetes_namespace": "kubernetesNamespace",
10983
11053
  "allocation_strategy": "allocationStrategy",
11054
+ "default_instance_classes": "defaultInstanceClasses",
10984
11055
  "images": "images",
10985
11056
  "instance_classes": "instanceClasses",
10986
11057
  "instance_role": "instanceRole",
@@ -11011,6 +11082,7 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11011
11082
  eks_cluster: _ICluster_6b2b80df,
11012
11083
  kubernetes_namespace: builtins.str,
11013
11084
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
11085
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
11014
11086
  images: typing.Optional[typing.Sequence[typing.Union[EksMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
11015
11087
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
11016
11088
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -11038,6 +11110,7 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11038
11110
  :param eks_cluster: The cluster that backs this Compute Environment. Required for Compute Environments running Kubernetes jobs. Please ensure that you have followed the steps at https://docs.aws.amazon.com/batch/latest/userguide/getting-started-eks.html before attempting to deploy a ``ManagedEc2EksComputeEnvironment`` that uses this cluster. If you do not follow the steps in the link, the deployment fail with a message that the compute environment did not stabilize.
11039
11111
  :param kubernetes_namespace: The namespace of the Cluster.
11040
11112
  :param allocation_strategy: The allocation strategy to use if not enough instances of the best fitting instance type can be allocated. Default: - ``BEST_FIT_PROGRESSIVE`` if not using Spot instances, ``SPOT_CAPACITY_OPTIMIZED`` if using Spot instances.
11113
+ :param default_instance_classes: Use batch's default instance types. A simpler way to choose up-to-date instance classes based on region instead of specifying exact instance classes. Default: - choose from instanceTypes and instanceClasses
11041
11114
  :param images: Configure which AMIs this Compute Environment can launch. Default: If ``imageKubernetesVersion`` is specified, - EKS_AL2 for non-GPU instances, EKS_AL2_NVIDIA for GPU instances, Otherwise, - ECS_AL2 for non-GPU instances, ECS_AL2_NVIDIA for GPU instances,
11042
11115
  :param instance_classes: The instance types that this Compute Environment can launch. Which one is chosen depends on the ``AllocationStrategy`` used. Batch will automatically choose the instance size. Default: - the instances Batch considers will be used (currently C4, M4, and R4)
11043
11116
  :param instance_role: The execution Role that instances launched by this Compute Environment will use. Default: - a role will be created
@@ -11046,7 +11119,7 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11046
11119
  :param minv_cpus: The minimum vCPUs that an environment should maintain, even if the compute environment is DISABLED. Default: 0
11047
11120
  :param placement_group: The EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to this Compute Environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. Default: - no placement group
11048
11121
  :param spot_bid_percentage: The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Instance. You always pay the lowest market price and never more than your maximum percentage. For most use cases, Batch recommends leaving this field empty. Implies ``spot == true`` if set Default: - 100%
11049
- :param use_optimal_instance_classes: Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
11122
+ :param use_optimal_instance_classes: (deprecated) Whether or not to use batch's optimal instance type. The optimal instance type is equivalent to adding the C4, M4, and R4 instance classes. You can specify other instance classes (of the same architecture) in addition to the optimal instance classes. Default: true
11050
11123
 
11051
11124
  :exampleMetadata: fixture=_generated
11052
11125
 
@@ -11079,6 +11152,7 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11079
11152
  # the properties below are optional
11080
11153
  allocation_strategy=batch.AllocationStrategy.BEST_FIT,
11081
11154
  compute_environment_name="computeEnvironmentName",
11155
+ default_instance_classes=[batch.DefaultInstanceClass.X86_64],
11082
11156
  enabled=False,
11083
11157
  images=[batch.EksMachineImage(
11084
11158
  image=machine_image,
@@ -11129,6 +11203,7 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11129
11203
  check_type(argname="argument eks_cluster", value=eks_cluster, expected_type=type_hints["eks_cluster"])
11130
11204
  check_type(argname="argument kubernetes_namespace", value=kubernetes_namespace, expected_type=type_hints["kubernetes_namespace"])
11131
11205
  check_type(argname="argument allocation_strategy", value=allocation_strategy, expected_type=type_hints["allocation_strategy"])
11206
+ check_type(argname="argument default_instance_classes", value=default_instance_classes, expected_type=type_hints["default_instance_classes"])
11132
11207
  check_type(argname="argument images", value=images, expected_type=type_hints["images"])
11133
11208
  check_type(argname="argument instance_classes", value=instance_classes, expected_type=type_hints["instance_classes"])
11134
11209
  check_type(argname="argument instance_role", value=instance_role, expected_type=type_hints["instance_role"])
@@ -11167,6 +11242,8 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11167
11242
  self._values["vpc_subnets"] = vpc_subnets
11168
11243
  if allocation_strategy is not None:
11169
11244
  self._values["allocation_strategy"] = allocation_strategy
11245
+ if default_instance_classes is not None:
11246
+ self._values["default_instance_classes"] = default_instance_classes
11170
11247
  if images is not None:
11171
11248
  self._values["images"] = images
11172
11249
  if instance_classes is not None:
@@ -11379,6 +11456,22 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11379
11456
  result = self._values.get("allocation_strategy")
11380
11457
  return typing.cast(typing.Optional[AllocationStrategy], result)
11381
11458
 
11459
+ @builtins.property
11460
+ def default_instance_classes(
11461
+ self,
11462
+ ) -> typing.Optional[typing.List[DefaultInstanceClass]]:
11463
+ '''Use batch's default instance types.
11464
+
11465
+ A simpler way to choose up-to-date instance classes based on region
11466
+ instead of specifying exact instance classes.
11467
+
11468
+ :default: - choose from instanceTypes and instanceClasses
11469
+
11470
+ :see: https://docs.aws.amazon.com/batch/latest/userguide/instance-type-compute-table.html
11471
+ '''
11472
+ result = self._values.get("default_instance_classes")
11473
+ return typing.cast(typing.Optional[typing.List[DefaultInstanceClass]], result)
11474
+
11382
11475
  @builtins.property
11383
11476
  def images(self) -> typing.Optional[typing.List[EksMachineImage]]:
11384
11477
  '''Configure which AMIs this Compute Environment can launch.
@@ -11483,13 +11576,17 @@ class ManagedEc2EksComputeEnvironmentProps(ManagedComputeEnvironmentProps):
11483
11576
 
11484
11577
  @builtins.property
11485
11578
  def use_optimal_instance_classes(self) -> typing.Optional[builtins.bool]:
11486
- '''Whether or not to use batch's optimal instance type.
11579
+ '''(deprecated) Whether or not to use batch's optimal instance type.
11487
11580
 
11488
11581
  The optimal instance type is equivalent to adding the
11489
11582
  C4, M4, and R4 instance classes. You can specify other instance classes
11490
11583
  (of the same architecture) in addition to the optimal instance classes.
11491
11584
 
11492
11585
  :default: true
11586
+
11587
+ :deprecated: use defaultInstanceClasses instead
11588
+
11589
+ :stability: deprecated
11493
11590
  '''
11494
11591
  result = self._values.get("use_optimal_instance_classes")
11495
11592
  return typing.cast(typing.Optional[builtins.bool], result)
@@ -26252,6 +26349,7 @@ __all__ = [
26252
26349
  "ComputeEnvironmentReference",
26253
26350
  "ConsumableResourceReference",
26254
26351
  "CustomReason",
26352
+ "DefaultInstanceClass",
26255
26353
  "Device",
26256
26354
  "DevicePermission",
26257
26355
  "DnsPolicy",
@@ -26849,6 +26947,7 @@ def _typecheckingstub__f512f54787789f74db02e15bede1080e7c35d142bce05240edb789cee
26849
26947
  id: builtins.str,
26850
26948
  *,
26851
26949
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
26950
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
26852
26951
  images: typing.Optional[typing.Sequence[typing.Union[EcsMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
26853
26952
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
26854
26953
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -26910,6 +27009,7 @@ def _typecheckingstub__8eb858d67ed25e3f273cc247ebf45f3c3f60ddc697df4791d3298b29a
26910
27009
  update_to_latest_image_version: typing.Optional[builtins.bool] = None,
26911
27010
  vpc_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
26912
27011
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
27012
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
26913
27013
  images: typing.Optional[typing.Sequence[typing.Union[EcsMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
26914
27014
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
26915
27015
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -26931,6 +27031,7 @@ def _typecheckingstub__9d1d04f77f1ffdbbe37085b164b175a3e5f0615a7fcde154dcc7f2b64
26931
27031
  eks_cluster: _ICluster_6b2b80df,
26932
27032
  kubernetes_namespace: builtins.str,
26933
27033
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
27034
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
26934
27035
  images: typing.Optional[typing.Sequence[typing.Union[EksMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
26935
27036
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
26936
27037
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -26985,6 +27086,7 @@ def _typecheckingstub__0a94139ce5fac0f77a3f41888dd3906c6a6876b7e2df289a2bb742a8c
26985
27086
  eks_cluster: _ICluster_6b2b80df,
26986
27087
  kubernetes_namespace: builtins.str,
26987
27088
  allocation_strategy: typing.Optional[AllocationStrategy] = None,
27089
+ default_instance_classes: typing.Optional[typing.Sequence[DefaultInstanceClass]] = None,
26988
27090
  images: typing.Optional[typing.Sequence[typing.Union[EksMachineImage, typing.Dict[builtins.str, typing.Any]]]] = None,
26989
27091
  instance_classes: typing.Optional[typing.Sequence[_InstanceClass_85a592e7]] = None,
26990
27092
  instance_role: typing.Optional[_IRole_235f5d8e] = None,
@@ -4961,6 +4961,12 @@ class FoundationModelIdentifier(
4961
4961
  '''Base model "cohere.embed-multilingual-v3:0:512".'''
4962
4962
  return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_EMBED_MULTILINGUAL_V3_0_512"))
4963
4963
 
4964
+ @jsii.python.classproperty
4965
+ @jsii.member(jsii_name="COHERE_EMBED_V4")
4966
+ def COHERE_EMBED_V4(cls) -> "FoundationModelIdentifier":
4967
+ '''Base model "cohere.embed-v4:0".'''
4968
+ return typing.cast("FoundationModelIdentifier", jsii.sget(cls, "COHERE_EMBED_V4"))
4969
+
4964
4970
  @jsii.python.classproperty
4965
4971
  @jsii.member(jsii_name="COHERE_RERANK_V3_5")
4966
4972
  def COHERE_RERANK_V3_5(cls) -> "FoundationModelIdentifier":
@@ -11339,7 +11345,7 @@ class CfnDataAutomationProject(
11339
11345
  '''Settings for generating data from audio.
11340
11346
 
11341
11347
  :param state: Whether generating categorical data from audio is enabled.
11342
- :param type_configuration:
11348
+ :param type_configuration: This element contains information about extractions from different types. Used to enable speaker and channel labeling for transcripts.
11343
11349
  :param types: The types of data to generate.
11344
11350
 
11345
11351
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategory.html
@@ -11395,7 +11401,10 @@ class CfnDataAutomationProject(
11395
11401
  def type_configuration(
11396
11402
  self,
11397
11403
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty"]]:
11398
- '''
11404
+ '''This element contains information about extractions from different types.
11405
+
11406
+ Used to enable speaker and channel labeling for transcripts.
11407
+
11399
11408
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategory.html#cfn-bedrock-dataautomationproject-audioextractioncategory-typeconfiguration
11400
11409
  '''
11401
11410
  result = self._values.get("type_configuration")
@@ -11432,8 +11441,9 @@ class CfnDataAutomationProject(
11432
11441
  *,
11433
11442
  transcript: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.TranscriptConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
11434
11443
  ) -> None:
11435
- '''
11436
- :param transcript:
11444
+ '''Allows configuration of extractions for different types of data, such as transcript and content moderation.
11445
+
11446
+ :param transcript: This element allows you to configure different extractions for your transcript data, such as speaker and channel labeling.
11437
11447
 
11438
11448
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration.html
11439
11449
  :exampleMetadata: fixture=_generated
@@ -11466,7 +11476,8 @@ class CfnDataAutomationProject(
11466
11476
  def transcript(
11467
11477
  self,
11468
11478
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.TranscriptConfigurationProperty"]]:
11469
- '''
11479
+ '''This element allows you to configure different extractions for your transcript data, such as speaker and channel labeling.
11480
+
11470
11481
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration.html#cfn-bedrock-dataautomationproject-audioextractioncategorytypeconfiguration-transcript
11471
11482
  '''
11472
11483
  result = self._values.get("transcript")
@@ -11888,8 +11899,11 @@ class CfnDataAutomationProject(
11888
11899
  )
11889
11900
  class ChannelLabelingConfigurationProperty:
11890
11901
  def __init__(self, *, state: builtins.str) -> None:
11891
- '''
11892
- :param state:
11902
+ '''Enables or disables channel labeling.
11903
+
11904
+ Channel labeling, when enabled will assign a number to each audio channel, and indicate which channel is being used in each portion of the transcript. This appears in the response as "ch_0" for the first channel, and "ch_1" for the second.
11905
+
11906
+ :param state: State of channel labeling, either enabled or disabled.
11893
11907
 
11894
11908
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-channellabelingconfiguration.html
11895
11909
  :exampleMetadata: fixture=_generated
@@ -11913,7 +11927,8 @@ class CfnDataAutomationProject(
11913
11927
 
11914
11928
  @builtins.property
11915
11929
  def state(self) -> builtins.str:
11916
- '''
11930
+ '''State of channel labeling, either enabled or disabled.
11931
+
11917
11932
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-channellabelingconfiguration.html#cfn-bedrock-dataautomationproject-channellabelingconfiguration-state
11918
11933
  '''
11919
11934
  result = self._values.get("state")
@@ -13365,8 +13380,11 @@ class CfnDataAutomationProject(
13365
13380
  )
13366
13381
  class SpeakerLabelingConfigurationProperty:
13367
13382
  def __init__(self, *, state: builtins.str) -> None:
13368
- '''
13369
- :param state:
13383
+ '''Enables or disables speaker labeling.
13384
+
13385
+ Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.
13386
+
13387
+ :param state: State of speaker labeling, either enabled or disabled.
13370
13388
 
13371
13389
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-speakerlabelingconfiguration.html
13372
13390
  :exampleMetadata: fixture=_generated
@@ -13390,7 +13408,8 @@ class CfnDataAutomationProject(
13390
13408
 
13391
13409
  @builtins.property
13392
13410
  def state(self) -> builtins.str:
13393
- '''
13411
+ '''State of speaker labeling, either enabled or disabled.
13412
+
13394
13413
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-speakerlabelingconfiguration.html#cfn-bedrock-dataautomationproject-speakerlabelingconfiguration-state
13395
13414
  '''
13396
13415
  result = self._values.get("state")
@@ -13670,9 +13689,12 @@ class CfnDataAutomationProject(
13670
13689
  channel_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.ChannelLabelingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
13671
13690
  speaker_labeling: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataAutomationProject.SpeakerLabelingConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
13672
13691
  ) -> None:
13673
- '''
13674
- :param channel_labeling:
13675
- :param speaker_labeling:
13692
+ '''Configuration for transcript options.
13693
+
13694
+ This option allows you to enable speaker labeling and channel labeling.
13695
+
13696
+ :param channel_labeling: Enables channel labeling. Each audio channel will be labeled with a number, and the transcript will indicate which channel is being used.
13697
+ :param speaker_labeling: Enables speaker labeling. Each speaker within a transcript will recieve a number, and the transcript will note which speaker is talking.
13676
13698
 
13677
13699
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html
13678
13700
  :exampleMetadata: fixture=_generated
@@ -13706,7 +13728,10 @@ class CfnDataAutomationProject(
13706
13728
  def channel_labeling(
13707
13729
  self,
13708
13730
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.ChannelLabelingConfigurationProperty"]]:
13709
- '''
13731
+ '''Enables channel labeling.
13732
+
13733
+ Each audio channel will be labeled with a number, and the transcript will indicate which channel is being used.
13734
+
13710
13735
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html#cfn-bedrock-dataautomationproject-transcriptconfiguration-channellabeling
13711
13736
  '''
13712
13737
  result = self._values.get("channel_labeling")
@@ -13716,7 +13741,10 @@ class CfnDataAutomationProject(
13716
13741
  def speaker_labeling(
13717
13742
  self,
13718
13743
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataAutomationProject.SpeakerLabelingConfigurationProperty"]]:
13719
- '''
13744
+ '''Enables speaker labeling.
13745
+
13746
+ Each speaker within a transcript will recieve a number, and the transcript will note which speaker is talking.
13747
+
13720
13748
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-transcriptconfiguration.html#cfn-bedrock-dataautomationproject-transcriptconfiguration-speakerlabeling
13721
13749
  '''
13722
13750
  result = self._values.get("speaker_labeling")