aws-cdk-lib 2.216.0__py3-none-any.whl → 2.217.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 (58) hide show
  1. aws_cdk/__init__.py +60 -28
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.216.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amplify/__init__.py +8 -8
  6. aws_cdk/aws_apigateway/__init__.py +26 -6
  7. aws_cdk/aws_apigatewayv2/__init__.py +2 -2
  8. aws_cdk/aws_appmesh/__init__.py +12 -12
  9. aws_cdk/aws_appstream/__init__.py +14 -4
  10. aws_cdk/aws_appsync/__init__.py +3 -3
  11. aws_cdk/aws_aps/__init__.py +459 -0
  12. aws_cdk/aws_batch/__init__.py +6 -2
  13. aws_cdk/aws_bedrock/__init__.py +132 -0
  14. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  15. aws_cdk/aws_certificatemanager/__init__.py +9 -10
  16. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  17. aws_cdk/aws_cloudformation/__init__.py +14 -14
  18. aws_cdk/aws_cloudfront/__init__.py +12 -8
  19. aws_cdk/aws_cognito/__init__.py +2 -2
  20. aws_cdk/aws_connect/__init__.py +138 -10
  21. aws_cdk/aws_cur/__init__.py +57 -3
  22. aws_cdk/aws_datasync/__init__.py +351 -0
  23. aws_cdk/aws_datazone/__init__.py +675 -2
  24. aws_cdk/aws_dynamodb/__init__.py +123 -0
  25. aws_cdk/aws_ec2/__init__.py +55 -10
  26. aws_cdk/aws_ecs/__init__.py +55 -12
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
  28. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  29. aws_cdk/aws_evs/__init__.py +58 -4
  30. aws_cdk/aws_gamelift/__init__.py +72 -56
  31. aws_cdk/aws_iam/__init__.py +1 -1
  32. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
  33. aws_cdk/aws_iotsitewise/__init__.py +75 -111
  34. aws_cdk/aws_kms/__init__.py +10 -2
  35. aws_cdk/aws_lambda/__init__.py +46 -0
  36. aws_cdk/aws_medialive/__init__.py +127 -0
  37. aws_cdk/aws_mediapackage/__init__.py +2 -2
  38. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  39. aws_cdk/aws_networkmanager/__init__.py +63 -0
  40. aws_cdk/aws_odb/__init__.py +2082 -195
  41. aws_cdk/aws_omics/__init__.py +1414 -171
  42. aws_cdk/aws_opensearchserverless/__init__.py +164 -21
  43. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  44. aws_cdk/aws_pcs/__init__.py +9 -9
  45. aws_cdk/aws_quicksight/__init__.py +295 -3
  46. aws_cdk/aws_rds/__init__.py +338 -58
  47. aws_cdk/aws_sagemaker/__init__.py +251 -1
  48. aws_cdk/aws_servicecatalog/__init__.py +162 -154
  49. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  50. aws_cdk/aws_transfer/__init__.py +13 -12
  51. aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
  52. aws_cdk/aws_workspacesinstances/__init__.py +641 -2
  53. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
  54. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +58 -56
  55. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
  56. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
  57. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
  58. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
@@ -589,9 +589,11 @@ class CfnContainerFleetProps:
589
589
 
590
590
  # the properties below are optional
591
591
  location_capacity=gamelift.CfnContainerFleet.LocationCapacityProperty(
592
- desired_ec2_instances=123,
593
592
  max_size=123,
594
- min_size=123
593
+ min_size=123,
594
+
595
+ # the properties below are optional
596
+ desired_ec2_instances=123
595
597
  ),
596
598
  stopped_actions=["stoppedActions"]
597
599
  )],
@@ -1261,7 +1263,7 @@ class CfnFleetProps:
1261
1263
  :param anywhere_configuration: Amazon GameLift Servers Anywhere configuration options.
1262
1264
  :param apply_capacity: Current resource capacity settings for managed EC2 fleets and managed container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. *Returned by:* `DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ , `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ , `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
1263
1265
  :param build_id: A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a ``READY`` status. This fleet setting cannot be changed once the fleet is created.
1264
- :param certificate_configuration: Prompts Amazon GameLift Servers to generate a TLS/SSL certificate for the fleet. Amazon GameLift Servers uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift Servers. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. AWS Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *AWS Certificate Manager User Guide* .
1266
+ :param certificate_configuration: Prompts Amazon GameLift Servers to generate a TLS/SSL certificate for the fleet. Amazon GameLift Servers uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift Servers. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *Certificate Manager User Guide* .
1265
1267
  :param compute_type: The type of compute resource used to host your game servers. - ``EC2`` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This is the default setting. - ``ANYWHERE`` – Game servers and supporting software are deployed to compute resources that you provide and manage. With this compute type, you can also set the ``AnywhereConfiguration`` parameter.
1266
1268
  :param description: A description for the fleet.
1267
1269
  :param desired_ec2_instances: (deprecated) [DEPRECATED] The number of EC2 instances that you want this fleet to host. When creating a new fleet, GameLift automatically sets this value to "1" and initiates a single instance. Once the fleet is active, update this value to trigger GameLift to add or remove instances from the fleet.
@@ -1325,9 +1327,11 @@ class CfnFleetProps:
1325
1327
 
1326
1328
  # the properties below are optional
1327
1329
  location_capacity=gamelift.CfnFleet.LocationCapacityProperty(
1328
- desired_ec2_instances=123,
1329
1330
  max_size=123,
1330
- min_size=123
1331
+ min_size=123,
1332
+
1333
+ # the properties below are optional
1334
+ desired_ec2_instances=123
1331
1335
  )
1332
1336
  )],
1333
1337
  log_paths=["logPaths"],
@@ -1522,10 +1526,10 @@ class CfnFleetProps:
1522
1526
 
1523
1527
  Amazon GameLift Servers uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift Servers. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet.
1524
1528
 
1525
- AWS Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition.
1529
+ Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition.
1526
1530
  .. epigraph::
1527
1531
 
1528
- ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *AWS Certificate Manager User Guide* .
1532
+ ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *Certificate Manager User Guide* .
1529
1533
 
1530
1534
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-certificateconfiguration
1531
1535
  '''
@@ -4691,9 +4695,11 @@ class CfnContainerFleet(
4691
4695
 
4692
4696
  # the properties below are optional
4693
4697
  location_capacity=gamelift.CfnContainerFleet.LocationCapacityProperty(
4694
- desired_ec2_instances=123,
4695
4698
  max_size=123,
4696
- min_size=123
4699
+ min_size=123,
4700
+
4701
+ # the properties below are optional
4702
+ desired_ec2_instances=123
4697
4703
  ),
4698
4704
  stopped_actions=["stoppedActions"]
4699
4705
  )],
@@ -5623,26 +5629,26 @@ class CfnContainerFleet(
5623
5629
  jsii_type="aws-cdk-lib.aws_gamelift.CfnContainerFleet.LocationCapacityProperty",
5624
5630
  jsii_struct_bases=[],
5625
5631
  name_mapping={
5626
- "desired_ec2_instances": "desiredEc2Instances",
5627
5632
  "max_size": "maxSize",
5628
5633
  "min_size": "minSize",
5634
+ "desired_ec2_instances": "desiredEc2Instances",
5629
5635
  },
5630
5636
  )
5631
5637
  class LocationCapacityProperty:
5632
5638
  def __init__(
5633
5639
  self,
5634
5640
  *,
5635
- desired_ec2_instances: jsii.Number,
5636
5641
  max_size: jsii.Number,
5637
5642
  min_size: jsii.Number,
5643
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
5638
5644
  ) -> None:
5639
5645
  '''Current resource capacity settings in a specified fleet or location.
5640
5646
 
5641
5647
  The location value might refer to a fleet's remote location or its home Region.
5642
5648
 
5643
- :param desired_ec2_instances: The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
5644
5649
  :param max_size: The maximum value that is allowed for the fleet's instance count for a location.
5645
5650
  :param min_size: The minimum value allowed for the fleet's instance count for a location.
5651
+ :param desired_ec2_instances: Defaults to MinSize if not defined. The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
5646
5652
 
5647
5653
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html
5648
5654
  :exampleMetadata: fixture=_generated
@@ -5654,33 +5660,24 @@ class CfnContainerFleet(
5654
5660
  from aws_cdk import aws_gamelift as gamelift
5655
5661
 
5656
5662
  location_capacity_property = gamelift.CfnContainerFleet.LocationCapacityProperty(
5657
- desired_ec2_instances=123,
5658
5663
  max_size=123,
5659
- min_size=123
5664
+ min_size=123,
5665
+
5666
+ # the properties below are optional
5667
+ desired_ec2_instances=123
5660
5668
  )
5661
5669
  '''
5662
5670
  if __debug__:
5663
5671
  type_hints = typing.get_type_hints(_typecheckingstub__cfdc01eeb9f739a54f304b9e5cb1f66114e55233f5383f018ef7dd086a28ed10)
5664
- check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
5665
5672
  check_type(argname="argument max_size", value=max_size, expected_type=type_hints["max_size"])
5666
5673
  check_type(argname="argument min_size", value=min_size, expected_type=type_hints["min_size"])
5674
+ check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
5667
5675
  self._values: typing.Dict[builtins.str, typing.Any] = {
5668
- "desired_ec2_instances": desired_ec2_instances,
5669
5676
  "max_size": max_size,
5670
5677
  "min_size": min_size,
5671
5678
  }
5672
-
5673
- @builtins.property
5674
- def desired_ec2_instances(self) -> jsii.Number:
5675
- '''The number of EC2 instances you want to maintain in the specified fleet location.
5676
-
5677
- This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
5678
-
5679
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html#cfn-gamelift-containerfleet-locationcapacity-desiredec2instances
5680
- '''
5681
- result = self._values.get("desired_ec2_instances")
5682
- assert result is not None, "Required property 'desired_ec2_instances' is missing"
5683
- return typing.cast(jsii.Number, result)
5679
+ if desired_ec2_instances is not None:
5680
+ self._values["desired_ec2_instances"] = desired_ec2_instances
5684
5681
 
5685
5682
  @builtins.property
5686
5683
  def max_size(self) -> jsii.Number:
@@ -5702,6 +5699,17 @@ class CfnContainerFleet(
5702
5699
  assert result is not None, "Required property 'min_size' is missing"
5703
5700
  return typing.cast(jsii.Number, result)
5704
5701
 
5702
+ @builtins.property
5703
+ def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
5704
+ '''Defaults to MinSize if not defined.
5705
+
5706
+ The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. If any auto-scaling policy is defined for the container fleet, the desired instance will only be applied once during fleet creation and will be ignored in updates to avoid conflicts with auto-scaling. During updates with any auto-scaling policy defined, if current desired instance is lower than the new MinSize, it will be increased to the new MinSize; if current desired instance is larger than the new MaxSize, it will be decreased to the new MaxSize.
5707
+
5708
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html#cfn-gamelift-containerfleet-locationcapacity-desiredec2instances
5709
+ '''
5710
+ result = self._values.get("desired_ec2_instances")
5711
+ return typing.cast(typing.Optional[jsii.Number], result)
5712
+
5705
5713
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5706
5714
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5707
5715
 
@@ -5750,9 +5758,11 @@ class CfnContainerFleet(
5750
5758
 
5751
5759
  # the properties below are optional
5752
5760
  location_capacity=gamelift.CfnContainerFleet.LocationCapacityProperty(
5753
- desired_ec2_instances=123,
5754
5761
  max_size=123,
5755
- min_size=123
5762
+ min_size=123,
5763
+
5764
+ # the properties below are optional
5765
+ desired_ec2_instances=123
5756
5766
  ),
5757
5767
  stopped_actions=["stoppedActions"]
5758
5768
  )
@@ -7687,9 +7697,11 @@ class CfnFleet(
7687
7697
 
7688
7698
  # the properties below are optional
7689
7699
  location_capacity=gamelift.CfnFleet.LocationCapacityProperty(
7690
- desired_ec2_instances=123,
7691
7700
  max_size=123,
7692
- min_size=123
7701
+ min_size=123,
7702
+
7703
+ # the properties below are optional
7704
+ desired_ec2_instances=123
7693
7705
  )
7694
7706
  )],
7695
7707
  log_paths=["logPaths"],
@@ -7783,7 +7795,7 @@ class CfnFleet(
7783
7795
  :param anywhere_configuration: Amazon GameLift Servers Anywhere configuration options.
7784
7796
  :param apply_capacity: Current resource capacity settings for managed EC2 fleets and managed container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. *Returned by:* `DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ , `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ , `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
7785
7797
  :param build_id: A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a ``READY`` status. This fleet setting cannot be changed once the fleet is created.
7786
- :param certificate_configuration: Prompts Amazon GameLift Servers to generate a TLS/SSL certificate for the fleet. Amazon GameLift Servers uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift Servers. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. AWS Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *AWS Certificate Manager User Guide* .
7798
+ :param certificate_configuration: Prompts Amazon GameLift Servers to generate a TLS/SSL certificate for the fleet. Amazon GameLift Servers uses the certificates to encrypt traffic between game clients and the game servers running on Amazon GameLift Servers. By default, the ``CertificateConfiguration`` is ``DISABLED`` . You can't change this property after you create the fleet. Certificate Manager (ACM) certificates expire after 13 months. Certificate expiration can cause fleets to fail, preventing players from connecting to instances in the fleet. We recommend you replace fleets before 13 months, consider using fleet aliases for a smooth transition. .. epigraph:: ACM isn't available in all AWS regions. A fleet creation request with certificate generation enabled in an unsupported Region, fails with a 4xx error. For more information about the supported Regions, see `Supported Regions <https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html>`_ in the *Certificate Manager User Guide* .
7787
7799
  :param compute_type: The type of compute resource used to host your game servers. - ``EC2`` – The game server build is deployed to Amazon EC2 instances for cloud hosting. This is the default setting. - ``ANYWHERE`` – Game servers and supporting software are deployed to compute resources that you provide and manage. With this compute type, you can also set the ``AnywhereConfiguration`` parameter.
7788
7800
  :param description: A description for the fleet.
7789
7801
  :param desired_ec2_instances: (deprecated) [DEPRECATED] The number of EC2 instances that you want this fleet to host. When creating a new fleet, GameLift automatically sets this value to "1" and initiates a single instance. Once the fleet is active, update this value to trigger GameLift to add or remove instances from the fleet.
@@ -8582,18 +8594,18 @@ class CfnFleet(
8582
8594
  jsii_type="aws-cdk-lib.aws_gamelift.CfnFleet.LocationCapacityProperty",
8583
8595
  jsii_struct_bases=[],
8584
8596
  name_mapping={
8585
- "desired_ec2_instances": "desiredEc2Instances",
8586
8597
  "max_size": "maxSize",
8587
8598
  "min_size": "minSize",
8599
+ "desired_ec2_instances": "desiredEc2Instances",
8588
8600
  },
8589
8601
  )
8590
8602
  class LocationCapacityProperty:
8591
8603
  def __init__(
8592
8604
  self,
8593
8605
  *,
8594
- desired_ec2_instances: jsii.Number,
8595
8606
  max_size: jsii.Number,
8596
8607
  min_size: jsii.Number,
8608
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
8597
8609
  ) -> None:
8598
8610
  '''Current resource capacity settings for managed EC2 fleets and managed container fleets.
8599
8611
 
@@ -8601,9 +8613,9 @@ class CfnFleet(
8601
8613
 
8602
8614
  *Returned by:* `DescribeFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html>`_ , `DescribeFleetLocationCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html>`_ , `UpdateFleetCapacity <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html>`_
8603
8615
 
8604
- :param desired_ec2_instances: The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
8605
8616
  :param max_size: The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
8606
8617
  :param min_size: The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
8618
+ :param desired_ec2_instances: The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
8607
8619
 
8608
8620
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html
8609
8621
  :exampleMetadata: fixture=_generated
@@ -8615,33 +8627,24 @@ class CfnFleet(
8615
8627
  from aws_cdk import aws_gamelift as gamelift
8616
8628
 
8617
8629
  location_capacity_property = gamelift.CfnFleet.LocationCapacityProperty(
8618
- desired_ec2_instances=123,
8619
8630
  max_size=123,
8620
- min_size=123
8631
+ min_size=123,
8632
+
8633
+ # the properties below are optional
8634
+ desired_ec2_instances=123
8621
8635
  )
8622
8636
  '''
8623
8637
  if __debug__:
8624
8638
  type_hints = typing.get_type_hints(_typecheckingstub__76847ac983ab72ef92adc1b0579d769ca62af002ef71c76165cbd879da8645fc)
8625
- check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
8626
8639
  check_type(argname="argument max_size", value=max_size, expected_type=type_hints["max_size"])
8627
8640
  check_type(argname="argument min_size", value=min_size, expected_type=type_hints["min_size"])
8641
+ check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
8628
8642
  self._values: typing.Dict[builtins.str, typing.Any] = {
8629
- "desired_ec2_instances": desired_ec2_instances,
8630
8643
  "max_size": max_size,
8631
8644
  "min_size": min_size,
8632
8645
  }
8633
-
8634
- @builtins.property
8635
- def desired_ec2_instances(self) -> jsii.Number:
8636
- '''The number of Amazon EC2 instances you want to maintain in the specified fleet location.
8637
-
8638
- This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
8639
-
8640
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-desiredec2instances
8641
- '''
8642
- result = self._values.get("desired_ec2_instances")
8643
- assert result is not None, "Required property 'desired_ec2_instances' is missing"
8644
- return typing.cast(jsii.Number, result)
8646
+ if desired_ec2_instances is not None:
8647
+ self._values["desired_ec2_instances"] = desired_ec2_instances
8645
8648
 
8646
8649
  @builtins.property
8647
8650
  def max_size(self) -> jsii.Number:
@@ -8667,6 +8670,17 @@ class CfnFleet(
8667
8670
  assert result is not None, "Required property 'min_size' is missing"
8668
8671
  return typing.cast(jsii.Number, result)
8669
8672
 
8673
+ @builtins.property
8674
+ def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
8675
+ '''The number of Amazon EC2 instances you want to maintain in the specified fleet location.
8676
+
8677
+ This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
8678
+
8679
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-desiredec2instances
8680
+ '''
8681
+ result = self._values.get("desired_ec2_instances")
8682
+ return typing.cast(typing.Optional[jsii.Number], result)
8683
+
8670
8684
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
8671
8685
  return isinstance(rhs, self.__class__) and rhs._values == self._values
8672
8686
 
@@ -8709,9 +8723,11 @@ class CfnFleet(
8709
8723
 
8710
8724
  # the properties below are optional
8711
8725
  location_capacity=gamelift.CfnFleet.LocationCapacityProperty(
8712
- desired_ec2_instances=123,
8713
8726
  max_size=123,
8714
- min_size=123
8727
+ min_size=123,
8728
+
8729
+ # the properties below are optional
8730
+ desired_ec2_instances=123
8715
8731
  )
8716
8732
  )
8717
8733
  '''
@@ -12468,9 +12484,9 @@ def _typecheckingstub__3c74cebf3a79bd067a90f843de7a76b099cbe8aff962b812b7dcae7ad
12468
12484
 
12469
12485
  def _typecheckingstub__cfdc01eeb9f739a54f304b9e5cb1f66114e55233f5383f018ef7dd086a28ed10(
12470
12486
  *,
12471
- desired_ec2_instances: jsii.Number,
12472
12487
  max_size: jsii.Number,
12473
12488
  min_size: jsii.Number,
12489
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
12474
12490
  ) -> None:
12475
12491
  """Type checking stubs"""
12476
12492
  pass
@@ -12930,9 +12946,9 @@ def _typecheckingstub__70f885be25c9084dbab3b02a36601be0e37c43ab741ea7dd646494423
12930
12946
 
12931
12947
  def _typecheckingstub__76847ac983ab72ef92adc1b0579d769ca62af002ef71c76165cbd879da8645fc(
12932
12948
  *,
12933
- desired_ec2_instances: jsii.Number,
12934
12949
  max_size: jsii.Number,
12935
12950
  min_size: jsii.Number,
12951
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
12936
12952
  ) -> None:
12937
12953
  """Type checking stubs"""
12938
12954
  pass
@@ -12263,7 +12263,7 @@ class CfnServerCertificate(
12263
12263
 
12264
12264
  The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.
12265
12265
 
12266
- We recommend that you use `AWS Certificate Manager <https://docs.aws.amazon.com/acm/>`_ to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to AWS resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the `AWS Certificate Manager User Guide <https://docs.aws.amazon.com/acm/latest/userguide/>`_ .
12266
+ We recommend that you use `Certificate Manager <https://docs.aws.amazon.com/acm/>`_ to provision, manage, and deploy your server certificates. With ACM you can request a certificate, deploy it to AWS resources, and let ACM handle certificate renewals for you. Certificates provided by ACM are free. For more information about using ACM, see the `Certificate Manager User Guide <https://docs.aws.amazon.com/acm/latest/userguide/>`_ .
12267
12267
 
12268
12268
  For more information about working with server certificates, see `Working with server certificates <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html>`_ in the *IAM User Guide* . This topic includes a list of AWS services that can use the server certificates that you manage with IAM.
12269
12269
 
@@ -86,7 +86,7 @@ class CfnSuiteDefinitionProps:
86
86
  ) -> None:
87
87
  '''Properties for defining a ``CfnSuiteDefinition``.
88
88
 
89
- :param suite_definition_configuration: The configuration of the Suite Definition. Listed below are the required elements of the ``SuiteDefinitionConfiguration`` . - ***devicePermissionRoleArn*** - The device permission arn. This is a required element. *Type:* String - ***devices*** - The list of configured devices under test. For more information on devices under test, see `DeviceUnderTest <https://docs.aws.amazon.com/iot/latest/apireference/API_iotdeviceadvisor_DeviceUnderTest.html>`_ Not a required element. *Type:* List of devices under test - ***intendedForQualification*** - The tests intended for qualification in a suite. Not a required element. *Type:* Boolean - ***rootGroup*** - The test suite root group. For more information on creating and using root groups see the `Device Advisor workflow <https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html>`_ . This is a required element. *Type:* String - ***suiteDefinitionName*** - The Suite Definition Configuration name. This is a required element. *Type:* String
89
+ :param suite_definition_configuration: Gets the suite definition configuration.
90
90
  :param tags: Metadata that can be used to manage the the Suite Definition.
91
91
 
92
92
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html
@@ -122,37 +122,7 @@ class CfnSuiteDefinitionProps:
122
122
 
123
123
  @builtins.property
124
124
  def suite_definition_configuration(self) -> typing.Any:
125
- '''The configuration of the Suite Definition. Listed below are the required elements of the ``SuiteDefinitionConfiguration`` .
126
-
127
- - ***devicePermissionRoleArn*** - The device permission arn.
128
-
129
- This is a required element.
130
-
131
- *Type:* String
132
-
133
- - ***devices*** - The list of configured devices under test. For more information on devices under test, see `DeviceUnderTest <https://docs.aws.amazon.com/iot/latest/apireference/API_iotdeviceadvisor_DeviceUnderTest.html>`_
134
-
135
- Not a required element.
136
-
137
- *Type:* List of devices under test
138
-
139
- - ***intendedForQualification*** - The tests intended for qualification in a suite.
140
-
141
- Not a required element.
142
-
143
- *Type:* Boolean
144
-
145
- - ***rootGroup*** - The test suite root group. For more information on creating and using root groups see the `Device Advisor workflow <https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html>`_ .
146
-
147
- This is a required element.
148
-
149
- *Type:* String
150
-
151
- - ***suiteDefinitionName*** - The Suite Definition Configuration name.
152
-
153
- This is a required element.
154
-
155
- *Type:* String
125
+ '''Gets the suite definition configuration.
156
126
 
157
127
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html#cfn-iotcoredeviceadvisor-suitedefinition-suitedefinitionconfiguration
158
128
  '''
@@ -333,7 +303,7 @@ class CfnSuiteDefinition(
333
303
  '''
334
304
  :param scope: Scope in which this resource is defined.
335
305
  :param id: Construct identifier for this resource (unique in its scope).
336
- :param suite_definition_configuration: The configuration of the Suite Definition. Listed below are the required elements of the ``SuiteDefinitionConfiguration`` . - ***devicePermissionRoleArn*** - The device permission arn. This is a required element. *Type:* String - ***devices*** - The list of configured devices under test. For more information on devices under test, see `DeviceUnderTest <https://docs.aws.amazon.com/iot/latest/apireference/API_iotdeviceadvisor_DeviceUnderTest.html>`_ Not a required element. *Type:* List of devices under test - ***intendedForQualification*** - The tests intended for qualification in a suite. Not a required element. *Type:* Boolean - ***rootGroup*** - The test suite root group. For more information on creating and using root groups see the `Device Advisor workflow <https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html>`_ . This is a required element. *Type:* String - ***suiteDefinitionName*** - The Suite Definition Configuration name. This is a required element. *Type:* String
306
+ :param suite_definition_configuration: Gets the suite definition configuration.
337
307
  :param tags: Metadata that can be used to manage the the Suite Definition.
338
308
  '''
339
309
  if __debug__:
@@ -423,10 +393,7 @@ class CfnSuiteDefinition(
423
393
  @builtins.property
424
394
  @jsii.member(jsii_name="suiteDefinitionConfiguration")
425
395
  def suite_definition_configuration(self) -> typing.Any:
426
- '''The configuration of the Suite Definition.
427
-
428
- Listed below are the required elements of the ``SuiteDefinitionConfiguration`` .
429
- '''
396
+ '''Gets the suite definition configuration.'''
430
397
  return typing.cast(typing.Any, jsii.get(self, "suiteDefinitionConfiguration"))
431
398
 
432
399
  @suite_definition_configuration.setter
@@ -542,7 +509,37 @@ class CfnSuiteDefinition(
542
509
  intended_for_qualification: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
543
510
  suite_definition_name: typing.Optional[builtins.str] = None,
544
511
  ) -> None:
545
- '''Gets the suite definition configuration.
512
+ '''The configuration of the Suite Definition. Listed below are the required elements of the ``SuiteDefinitionConfiguration`` .
513
+
514
+ - ***devicePermissionRoleArn*** - The device permission arn.
515
+
516
+ This is a required element.
517
+
518
+ *Type:* String
519
+
520
+ - ***devices*** - The list of configured devices under test. For more information on devices under test, see `DeviceUnderTest <https://docs.aws.amazon.com/iot/latest/apireference/API_iotdeviceadvisor_DeviceUnderTest.html>`_
521
+
522
+ Not a required element.
523
+
524
+ *Type:* List of devices under test
525
+
526
+ - ***intendedForQualification*** - The tests intended for qualification in a suite.
527
+
528
+ Not a required element.
529
+
530
+ *Type:* Boolean
531
+
532
+ - ***rootGroup*** - The test suite root group. For more information on creating and using root groups see the `Device Advisor workflow <https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html>`_ .
533
+
534
+ This is a required element.
535
+
536
+ *Type:* String
537
+
538
+ - ***suiteDefinitionName*** - The Suite Definition Configuration name.
539
+
540
+ This is a required element.
541
+
542
+ *Type:* String
546
543
 
547
544
  :param device_permission_role_arn: Gets the device permission ARN. This is a required parameter.
548
545
  :param root_group: Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if ``intendedForQualification`` is set to true, ``rootGroup`` can be an empty string. If ``intendedForQualification`` is false, ``rootGroup`` cannot be an empty string. If ``rootGroup`` is empty, and ``intendedForQualification`` is set to true, all the qualification tests are included, and the configuration is default. For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.