aws-cdk-lib 2.216.0__py3-none-any.whl → 2.218.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 (151) 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.218.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +87 -0
  6. aws_cdk/aws_amplify/__init__.py +8 -8
  7. aws_cdk/aws_apigateway/__init__.py +229 -6
  8. aws_cdk/aws_apigatewayv2/__init__.py +60 -2
  9. aws_cdk/aws_appconfig/__init__.py +145 -0
  10. aws_cdk/aws_appflow/__init__.py +116 -0
  11. aws_cdk/aws_appintegrations/__init__.py +116 -0
  12. aws_cdk/aws_appmesh/__init__.py +12 -12
  13. aws_cdk/aws_appstream/__init__.py +101 -4
  14. aws_cdk/aws_appsync/__init__.py +61 -3
  15. aws_cdk/aws_apptest/__init__.py +58 -0
  16. aws_cdk/aws_aps/__init__.py +459 -0
  17. aws_cdk/aws_athena/__init__.py +58 -0
  18. aws_cdk/aws_auditmanager/__init__.py +58 -0
  19. aws_cdk/aws_backup/__init__.py +145 -0
  20. aws_cdk/aws_batch/__init__.py +64 -2
  21. aws_cdk/aws_bedrock/__init__.py +277 -0
  22. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  23. aws_cdk/aws_cassandra/__init__.py +29 -0
  24. aws_cdk/aws_certificatemanager/__init__.py +38 -10
  25. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  26. aws_cdk/aws_cloudformation/__init__.py +14 -14
  27. aws_cdk/aws_cloudfront/__init__.py +69 -8
  28. aws_cdk/aws_cloudfront_origins/__init__.py +87 -7
  29. aws_cdk/aws_cloudtrail/__init__.py +58 -0
  30. aws_cdk/aws_cloudwatch/__init__.py +145 -0
  31. aws_cdk/aws_codebuild/__init__.py +115 -12
  32. aws_cdk/aws_codedeploy/__init__.py +29 -0
  33. aws_cdk/aws_codeguruprofiler/__init__.py +58 -0
  34. aws_cdk/aws_codepipeline/__init__.py +29 -0
  35. aws_cdk/aws_cognito/__init__.py +89 -2
  36. aws_cdk/aws_config/__init__.py +58 -0
  37. aws_cdk/aws_connect/__init__.py +138 -10
  38. aws_cdk/aws_cur/__init__.py +86 -3
  39. aws_cdk/aws_customerprofiles/__init__.py +58 -0
  40. aws_cdk/aws_datapipeline/__init__.py +29 -0
  41. aws_cdk/aws_datasync/__init__.py +351 -0
  42. aws_cdk/aws_datazone/__init__.py +733 -2
  43. aws_cdk/aws_directoryservice/__init__.py +29 -0
  44. aws_cdk/aws_dms/__init__.py +58 -0
  45. aws_cdk/aws_docdb/__init__.py +153 -25
  46. aws_cdk/aws_dsql/__init__.py +29 -0
  47. aws_cdk/aws_dynamodb/__init__.py +181 -0
  48. aws_cdk/aws_ec2/__init__.py +2031 -10
  49. aws_cdk/aws_ecr/__init__.py +116 -0
  50. aws_cdk/aws_ecs/__init__.py +142 -12
  51. aws_cdk/aws_efs/__init__.py +116 -0
  52. aws_cdk/aws_eks/__init__.py +118 -0
  53. aws_cdk/aws_elasticache/__init__.py +261 -0
  54. aws_cdk/aws_elasticbeanstalk/__init__.py +29 -0
  55. aws_cdk/aws_elasticloadbalancingv2/__init__.py +48 -0
  56. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  57. aws_cdk/aws_emr/__init__.py +87 -0
  58. aws_cdk/aws_emrcontainers/__init__.py +58 -0
  59. aws_cdk/aws_emrserverless/__init__.py +58 -0
  60. aws_cdk/aws_entityresolution/__init__.py +145 -0
  61. aws_cdk/aws_events/__init__.py +290 -0
  62. aws_cdk/aws_evs/__init__.py +58 -4
  63. aws_cdk/aws_finspace/__init__.py +58 -0
  64. aws_cdk/aws_gamelift/__init__.py +507 -56
  65. aws_cdk/aws_glue/__init__.py +145 -0
  66. aws_cdk/aws_greengrass/__init__.py +464 -0
  67. aws_cdk/aws_groundstation/__init__.py +87 -0
  68. aws_cdk/aws_guardduty/__init__.py +87 -0
  69. aws_cdk/aws_healthimaging/__init__.py +58 -0
  70. aws_cdk/aws_healthlake/__init__.py +29 -0
  71. aws_cdk/aws_iam/__init__.py +1 -1
  72. aws_cdk/aws_internetmonitor/__init__.py +58 -0
  73. aws_cdk/aws_iot/__init__.py +957 -0
  74. aws_cdk/aws_iotanalytics/__init__.py +116 -0
  75. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +93 -38
  76. aws_cdk/aws_iotevents/__init__.py +87 -0
  77. aws_cdk/aws_iotfleethub/__init__.py +58 -0
  78. aws_cdk/aws_iotfleetwise/__init__.py +116 -0
  79. aws_cdk/aws_iotsitewise/__init__.py +568 -111
  80. aws_cdk/aws_iottwinmaker/__init__.py +145 -0
  81. aws_cdk/aws_iotwireless/__init__.py +464 -0
  82. aws_cdk/aws_kendra/__init__.py +116 -0
  83. aws_cdk/aws_kinesis/__init__.py +58 -0
  84. aws_cdk/aws_kinesisanalytics/__init__.py +31 -0
  85. aws_cdk/aws_kinesisanalyticsv2/__init__.py +29 -0
  86. aws_cdk/aws_kinesisfirehose/__init__.py +58 -0
  87. aws_cdk/aws_kinesisvideo/__init__.py +29 -0
  88. aws_cdk/aws_kms/__init__.py +68 -2
  89. aws_cdk/aws_lambda/__init__.py +104 -0
  90. aws_cdk/aws_lex/__init__.py +29 -0
  91. aws_cdk/aws_location/__init__.py +348 -0
  92. aws_cdk/aws_logs/__init__.py +232 -0
  93. aws_cdk/aws_lookoutequipment/__init__.py +29 -0
  94. aws_cdk/aws_lookoutvision/__init__.py +58 -0
  95. aws_cdk/aws_managedblockchain/__init__.py +145 -0
  96. aws_cdk/aws_medialive/__init__.py +562 -0
  97. aws_cdk/aws_mediapackage/__init__.py +2 -2
  98. aws_cdk/aws_mediatailor/__init__.py +174 -0
  99. aws_cdk/aws_memorydb/__init__.py +203 -0
  100. aws_cdk/aws_mwaa/__init__.py +58 -0
  101. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  102. aws_cdk/aws_networkmanager/__init__.py +92 -0
  103. aws_cdk/aws_nimblestudio/__init__.py +29 -0
  104. aws_cdk/aws_odb/__init__.py +2082 -195
  105. aws_cdk/aws_omics/__init__.py +1520 -103
  106. aws_cdk/aws_opensearchserverless/__init__.py +222 -21
  107. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  108. aws_cdk/aws_opsworks/__init__.py +29 -0
  109. aws_cdk/aws_opsworkscm/__init__.py +29 -0
  110. aws_cdk/aws_organizations/__init__.py +116 -0
  111. aws_cdk/aws_panorama/__init__.py +116 -0
  112. aws_cdk/aws_pcs/__init__.py +9 -9
  113. aws_cdk/aws_pinpoint/__init__.py +116 -0
  114. aws_cdk/aws_qbusiness/__init__.py +232 -0
  115. aws_cdk/aws_qldb/__init__.py +29 -0
  116. aws_cdk/aws_quicksight/__init__.py +295 -3
  117. aws_cdk/aws_rds/__init__.py +402 -58
  118. aws_cdk/aws_redshift/__init__.py +29 -0
  119. aws_cdk/aws_rekognition/__init__.py +87 -0
  120. aws_cdk/aws_resourcegroups/__init__.py +58 -0
  121. aws_cdk/aws_rolesanywhere/__init__.py +145 -0
  122. aws_cdk/aws_route53recoveryreadiness/__init__.py +58 -0
  123. aws_cdk/aws_route53resolver/__init__.py +29 -0
  124. aws_cdk/aws_s3/__init__.py +116 -0
  125. aws_cdk/aws_s3express/__init__.py +116 -0
  126. aws_cdk/aws_sagemaker/__init__.py +715 -1
  127. aws_cdk/aws_scheduler/__init__.py +29 -0
  128. aws_cdk/aws_secretsmanager/__init__.py +29 -0
  129. aws_cdk/aws_servicecatalog/__init__.py +191 -154
  130. aws_cdk/aws_servicecatalogappregistry/__init__.py +116 -0
  131. aws_cdk/aws_servicediscovery/__init__.py +58 -0
  132. aws_cdk/aws_ses/__init__.py +261 -0
  133. aws_cdk/aws_simspaceweaver/__init__.py +29 -0
  134. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  135. aws_cdk/aws_ssm/__init__.py +87 -0
  136. aws_cdk/aws_synthetics/__init__.py +29 -0
  137. aws_cdk/aws_timestream/__init__.py +87 -0
  138. aws_cdk/aws_transfer/__init__.py +274 -12
  139. aws_cdk/aws_verifiedpermissions/__init__.py +59 -1
  140. aws_cdk/aws_voiceid/__init__.py +29 -0
  141. aws_cdk/aws_wisdom/__init__.py +232 -0
  142. aws_cdk/aws_workspaces/__init__.py +58 -0
  143. aws_cdk/aws_workspacesinstances/__init__.py +670 -2
  144. aws_cdk/aws_workspacesthinclient/__init__.py +58 -0
  145. aws_cdk/pipelines/__init__.py +5 -1
  146. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/METADATA +1 -1
  147. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/RECORD +151 -149
  148. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/LICENSE +0 -0
  149. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/NOTICE +0 -0
  150. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.0.dist-info}/WHEEL +0 -0
  151. {aws_cdk_lib-2.216.0.dist-info → aws_cdk_lib-2.218.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
  '''
@@ -4078,6 +4082,48 @@ class CfnAlias(
4078
4082
 
4079
4083
  jsii.create(self.__class__, self, [scope, id, props])
4080
4084
 
4085
+ @jsii.member(jsii_name="fromAliasArn")
4086
+ @builtins.classmethod
4087
+ def from_alias_arn(
4088
+ cls,
4089
+ scope: _constructs_77d1e7e8.Construct,
4090
+ id: builtins.str,
4091
+ arn: builtins.str,
4092
+ ) -> IAliasRef:
4093
+ '''Creates a new IAliasRef from an ARN.
4094
+
4095
+ :param scope: -
4096
+ :param id: -
4097
+ :param arn: -
4098
+ '''
4099
+ if __debug__:
4100
+ type_hints = typing.get_type_hints(_typecheckingstub__0891ad75db2bf874492959e788adcf5ee5a3b7a4699cf9c2ddfce496a136a601)
4101
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4102
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4103
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
4104
+ return typing.cast(IAliasRef, jsii.sinvoke(cls, "fromAliasArn", [scope, id, arn]))
4105
+
4106
+ @jsii.member(jsii_name="fromAliasId")
4107
+ @builtins.classmethod
4108
+ def from_alias_id(
4109
+ cls,
4110
+ scope: _constructs_77d1e7e8.Construct,
4111
+ id: builtins.str,
4112
+ alias_id: builtins.str,
4113
+ ) -> IAliasRef:
4114
+ '''Creates a new IAliasRef from a aliasId.
4115
+
4116
+ :param scope: -
4117
+ :param id: -
4118
+ :param alias_id: -
4119
+ '''
4120
+ if __debug__:
4121
+ type_hints = typing.get_type_hints(_typecheckingstub__a59b299e6043860af26f7752ca92bfb2a6ddcc5cc02cdd40fd28dd726442c36f)
4122
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4123
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4124
+ check_type(argname="argument alias_id", value=alias_id, expected_type=type_hints["alias_id"])
4125
+ return typing.cast(IAliasRef, jsii.sinvoke(cls, "fromAliasId", [scope, id, alias_id]))
4126
+
4081
4127
  @jsii.member(jsii_name="inspect")
4082
4128
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4083
4129
  '''Examines the CloudFormation resource and discloses attributes.
@@ -4377,6 +4423,48 @@ class CfnBuild(
4377
4423
 
4378
4424
  jsii.create(self.__class__, self, [scope, id, props])
4379
4425
 
4426
+ @jsii.member(jsii_name="fromBuildArn")
4427
+ @builtins.classmethod
4428
+ def from_build_arn(
4429
+ cls,
4430
+ scope: _constructs_77d1e7e8.Construct,
4431
+ id: builtins.str,
4432
+ arn: builtins.str,
4433
+ ) -> IBuildRef:
4434
+ '''Creates a new IBuildRef from an ARN.
4435
+
4436
+ :param scope: -
4437
+ :param id: -
4438
+ :param arn: -
4439
+ '''
4440
+ if __debug__:
4441
+ type_hints = typing.get_type_hints(_typecheckingstub__b64baecddf621fae2565c108e8413814c02580087d90dfa34419b75919effaa2)
4442
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4443
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4444
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
4445
+ return typing.cast(IBuildRef, jsii.sinvoke(cls, "fromBuildArn", [scope, id, arn]))
4446
+
4447
+ @jsii.member(jsii_name="fromBuildId")
4448
+ @builtins.classmethod
4449
+ def from_build_id(
4450
+ cls,
4451
+ scope: _constructs_77d1e7e8.Construct,
4452
+ id: builtins.str,
4453
+ build_id: builtins.str,
4454
+ ) -> IBuildRef:
4455
+ '''Creates a new IBuildRef from a buildId.
4456
+
4457
+ :param scope: -
4458
+ :param id: -
4459
+ :param build_id: -
4460
+ '''
4461
+ if __debug__:
4462
+ type_hints = typing.get_type_hints(_typecheckingstub__fce919b179ae0f0256b86c63c73e64f52cf5bc6cc8b69274e60f6c90c64ea1a7)
4463
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4464
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4465
+ check_type(argname="argument build_id", value=build_id, expected_type=type_hints["build_id"])
4466
+ return typing.cast(IBuildRef, jsii.sinvoke(cls, "fromBuildId", [scope, id, build_id]))
4467
+
4380
4468
  @jsii.member(jsii_name="inspect")
4381
4469
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4382
4470
  '''Examines the CloudFormation resource and discloses attributes.
@@ -4691,9 +4779,11 @@ class CfnContainerFleet(
4691
4779
 
4692
4780
  # the properties below are optional
4693
4781
  location_capacity=gamelift.CfnContainerFleet.LocationCapacityProperty(
4694
- desired_ec2_instances=123,
4695
4782
  max_size=123,
4696
- min_size=123
4783
+ min_size=123,
4784
+
4785
+ # the properties below are optional
4786
+ desired_ec2_instances=123
4697
4787
  ),
4698
4788
  stopped_actions=["stoppedActions"]
4699
4789
  )],
@@ -4797,6 +4887,27 @@ class CfnContainerFleet(
4797
4887
 
4798
4888
  jsii.create(self.__class__, self, [scope, id, props])
4799
4889
 
4890
+ @jsii.member(jsii_name="fromFleetId")
4891
+ @builtins.classmethod
4892
+ def from_fleet_id(
4893
+ cls,
4894
+ scope: _constructs_77d1e7e8.Construct,
4895
+ id: builtins.str,
4896
+ fleet_id: builtins.str,
4897
+ ) -> IContainerFleetRef:
4898
+ '''Creates a new IContainerFleetRef from a fleetId.
4899
+
4900
+ :param scope: -
4901
+ :param id: -
4902
+ :param fleet_id: -
4903
+ '''
4904
+ if __debug__:
4905
+ type_hints = typing.get_type_hints(_typecheckingstub__4bea05f08256bdbf55f0f4481b2104de57302a58c74c37db452b862c9cc716f4)
4906
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4907
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4908
+ check_type(argname="argument fleet_id", value=fleet_id, expected_type=type_hints["fleet_id"])
4909
+ return typing.cast(IContainerFleetRef, jsii.sinvoke(cls, "fromFleetId", [scope, id, fleet_id]))
4910
+
4800
4911
  @jsii.member(jsii_name="inspect")
4801
4912
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
4802
4913
  '''Examines the CloudFormation resource and discloses attributes.
@@ -5623,26 +5734,26 @@ class CfnContainerFleet(
5623
5734
  jsii_type="aws-cdk-lib.aws_gamelift.CfnContainerFleet.LocationCapacityProperty",
5624
5735
  jsii_struct_bases=[],
5625
5736
  name_mapping={
5626
- "desired_ec2_instances": "desiredEc2Instances",
5627
5737
  "max_size": "maxSize",
5628
5738
  "min_size": "minSize",
5739
+ "desired_ec2_instances": "desiredEc2Instances",
5629
5740
  },
5630
5741
  )
5631
5742
  class LocationCapacityProperty:
5632
5743
  def __init__(
5633
5744
  self,
5634
5745
  *,
5635
- desired_ec2_instances: jsii.Number,
5636
5746
  max_size: jsii.Number,
5637
5747
  min_size: jsii.Number,
5748
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
5638
5749
  ) -> None:
5639
5750
  '''Current resource capacity settings in a specified fleet or location.
5640
5751
 
5641
5752
  The location value might refer to a fleet's remote location or its home Region.
5642
5753
 
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
5754
  :param max_size: The maximum value that is allowed for the fleet's instance count for a location.
5645
5755
  :param min_size: The minimum value allowed for the fleet's instance count for a location.
5756
+ :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
5757
 
5647
5758
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html
5648
5759
  :exampleMetadata: fixture=_generated
@@ -5654,33 +5765,24 @@ class CfnContainerFleet(
5654
5765
  from aws_cdk import aws_gamelift as gamelift
5655
5766
 
5656
5767
  location_capacity_property = gamelift.CfnContainerFleet.LocationCapacityProperty(
5657
- desired_ec2_instances=123,
5658
5768
  max_size=123,
5659
- min_size=123
5769
+ min_size=123,
5770
+
5771
+ # the properties below are optional
5772
+ desired_ec2_instances=123
5660
5773
  )
5661
5774
  '''
5662
5775
  if __debug__:
5663
5776
  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
5777
  check_type(argname="argument max_size", value=max_size, expected_type=type_hints["max_size"])
5666
5778
  check_type(argname="argument min_size", value=min_size, expected_type=type_hints["min_size"])
5779
+ check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
5667
5780
  self._values: typing.Dict[builtins.str, typing.Any] = {
5668
- "desired_ec2_instances": desired_ec2_instances,
5669
5781
  "max_size": max_size,
5670
5782
  "min_size": min_size,
5671
5783
  }
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)
5784
+ if desired_ec2_instances is not None:
5785
+ self._values["desired_ec2_instances"] = desired_ec2_instances
5684
5786
 
5685
5787
  @builtins.property
5686
5788
  def max_size(self) -> jsii.Number:
@@ -5702,6 +5804,17 @@ class CfnContainerFleet(
5702
5804
  assert result is not None, "Required property 'min_size' is missing"
5703
5805
  return typing.cast(jsii.Number, result)
5704
5806
 
5807
+ @builtins.property
5808
+ def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
5809
+ '''Defaults to MinSize if not defined.
5810
+
5811
+ 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.
5812
+
5813
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-containerfleet-locationcapacity.html#cfn-gamelift-containerfleet-locationcapacity-desiredec2instances
5814
+ '''
5815
+ result = self._values.get("desired_ec2_instances")
5816
+ return typing.cast(typing.Optional[jsii.Number], result)
5817
+
5705
5818
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5706
5819
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5707
5820
 
@@ -5750,9 +5863,11 @@ class CfnContainerFleet(
5750
5863
 
5751
5864
  # the properties below are optional
5752
5865
  location_capacity=gamelift.CfnContainerFleet.LocationCapacityProperty(
5753
- desired_ec2_instances=123,
5754
5866
  max_size=123,
5755
- min_size=123
5867
+ min_size=123,
5868
+
5869
+ # the properties below are optional
5870
+ desired_ec2_instances=123
5756
5871
  ),
5757
5872
  stopped_actions=["stoppedActions"]
5758
5873
  )
@@ -7687,9 +7802,11 @@ class CfnFleet(
7687
7802
 
7688
7803
  # the properties below are optional
7689
7804
  location_capacity=gamelift.CfnFleet.LocationCapacityProperty(
7690
- desired_ec2_instances=123,
7691
7805
  max_size=123,
7692
- min_size=123
7806
+ min_size=123,
7807
+
7808
+ # the properties below are optional
7809
+ desired_ec2_instances=123
7693
7810
  )
7694
7811
  )],
7695
7812
  log_paths=["logPaths"],
@@ -7783,7 +7900,7 @@ class CfnFleet(
7783
7900
  :param anywhere_configuration: Amazon GameLift Servers Anywhere configuration options.
7784
7901
  :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
7902
  :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* .
7903
+ :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
7904
  :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
7905
  :param description: A description for the fleet.
7789
7906
  :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.
@@ -7845,6 +7962,48 @@ class CfnFleet(
7845
7962
 
7846
7963
  jsii.create(self.__class__, self, [scope, id, props])
7847
7964
 
7965
+ @jsii.member(jsii_name="fromFleetArn")
7966
+ @builtins.classmethod
7967
+ def from_fleet_arn(
7968
+ cls,
7969
+ scope: _constructs_77d1e7e8.Construct,
7970
+ id: builtins.str,
7971
+ arn: builtins.str,
7972
+ ) -> IFleetRef:
7973
+ '''Creates a new IFleetRef from an ARN.
7974
+
7975
+ :param scope: -
7976
+ :param id: -
7977
+ :param arn: -
7978
+ '''
7979
+ if __debug__:
7980
+ type_hints = typing.get_type_hints(_typecheckingstub__9d455e8de7d04220b53d8533ff523e203629fe41becf83c008b6eecd38420352)
7981
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
7982
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
7983
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
7984
+ return typing.cast(IFleetRef, jsii.sinvoke(cls, "fromFleetArn", [scope, id, arn]))
7985
+
7986
+ @jsii.member(jsii_name="fromFleetId")
7987
+ @builtins.classmethod
7988
+ def from_fleet_id(
7989
+ cls,
7990
+ scope: _constructs_77d1e7e8.Construct,
7991
+ id: builtins.str,
7992
+ fleet_id: builtins.str,
7993
+ ) -> IFleetRef:
7994
+ '''Creates a new IFleetRef from a fleetId.
7995
+
7996
+ :param scope: -
7997
+ :param id: -
7998
+ :param fleet_id: -
7999
+ '''
8000
+ if __debug__:
8001
+ type_hints = typing.get_type_hints(_typecheckingstub__8559f65005087aabe3f94a9857ca3ab135fe3fddc5daa3feb2e8cdfac0b9fe44)
8002
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
8003
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
8004
+ check_type(argname="argument fleet_id", value=fleet_id, expected_type=type_hints["fleet_id"])
8005
+ return typing.cast(IFleetRef, jsii.sinvoke(cls, "fromFleetId", [scope, id, fleet_id]))
8006
+
7848
8007
  @jsii.member(jsii_name="inspect")
7849
8008
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
7850
8009
  '''Examines the CloudFormation resource and discloses attributes.
@@ -8582,18 +8741,18 @@ class CfnFleet(
8582
8741
  jsii_type="aws-cdk-lib.aws_gamelift.CfnFleet.LocationCapacityProperty",
8583
8742
  jsii_struct_bases=[],
8584
8743
  name_mapping={
8585
- "desired_ec2_instances": "desiredEc2Instances",
8586
8744
  "max_size": "maxSize",
8587
8745
  "min_size": "minSize",
8746
+ "desired_ec2_instances": "desiredEc2Instances",
8588
8747
  },
8589
8748
  )
8590
8749
  class LocationCapacityProperty:
8591
8750
  def __init__(
8592
8751
  self,
8593
8752
  *,
8594
- desired_ec2_instances: jsii.Number,
8595
8753
  max_size: jsii.Number,
8596
8754
  min_size: jsii.Number,
8755
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
8597
8756
  ) -> None:
8598
8757
  '''Current resource capacity settings for managed EC2 fleets and managed container fleets.
8599
8758
 
@@ -8601,9 +8760,9 @@ class CfnFleet(
8601
8760
 
8602
8761
  *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
8762
 
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
8763
  :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
8764
  :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.
8765
+ :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
8766
 
8608
8767
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html
8609
8768
  :exampleMetadata: fixture=_generated
@@ -8615,33 +8774,24 @@ class CfnFleet(
8615
8774
  from aws_cdk import aws_gamelift as gamelift
8616
8775
 
8617
8776
  location_capacity_property = gamelift.CfnFleet.LocationCapacityProperty(
8618
- desired_ec2_instances=123,
8619
8777
  max_size=123,
8620
- min_size=123
8778
+ min_size=123,
8779
+
8780
+ # the properties below are optional
8781
+ desired_ec2_instances=123
8621
8782
  )
8622
8783
  '''
8623
8784
  if __debug__:
8624
8785
  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
8786
  check_type(argname="argument max_size", value=max_size, expected_type=type_hints["max_size"])
8627
8787
  check_type(argname="argument min_size", value=min_size, expected_type=type_hints["min_size"])
8788
+ check_type(argname="argument desired_ec2_instances", value=desired_ec2_instances, expected_type=type_hints["desired_ec2_instances"])
8628
8789
  self._values: typing.Dict[builtins.str, typing.Any] = {
8629
- "desired_ec2_instances": desired_ec2_instances,
8630
8790
  "max_size": max_size,
8631
8791
  "min_size": min_size,
8632
8792
  }
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)
8793
+ if desired_ec2_instances is not None:
8794
+ self._values["desired_ec2_instances"] = desired_ec2_instances
8645
8795
 
8646
8796
  @builtins.property
8647
8797
  def max_size(self) -> jsii.Number:
@@ -8667,6 +8817,17 @@ class CfnFleet(
8667
8817
  assert result is not None, "Required property 'min_size' is missing"
8668
8818
  return typing.cast(jsii.Number, result)
8669
8819
 
8820
+ @builtins.property
8821
+ def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
8822
+ '''The number of Amazon EC2 instances you want to maintain in the specified fleet location.
8823
+
8824
+ 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.
8825
+
8826
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-locationcapacity.html#cfn-gamelift-fleet-locationcapacity-desiredec2instances
8827
+ '''
8828
+ result = self._values.get("desired_ec2_instances")
8829
+ return typing.cast(typing.Optional[jsii.Number], result)
8830
+
8670
8831
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
8671
8832
  return isinstance(rhs, self.__class__) and rhs._values == self._values
8672
8833
 
@@ -8709,9 +8870,11 @@ class CfnFleet(
8709
8870
 
8710
8871
  # the properties below are optional
8711
8872
  location_capacity=gamelift.CfnFleet.LocationCapacityProperty(
8712
- desired_ec2_instances=123,
8713
8873
  max_size=123,
8714
- min_size=123
8874
+ min_size=123,
8875
+
8876
+ # the properties below are optional
8877
+ desired_ec2_instances=123
8715
8878
  )
8716
8879
  )
8717
8880
  '''
@@ -10165,6 +10328,48 @@ class CfnGameSessionQueue(
10165
10328
 
10166
10329
  jsii.create(self.__class__, self, [scope, id, props])
10167
10330
 
10331
+ @jsii.member(jsii_name="fromGameSessionQueueArn")
10332
+ @builtins.classmethod
10333
+ def from_game_session_queue_arn(
10334
+ cls,
10335
+ scope: _constructs_77d1e7e8.Construct,
10336
+ id: builtins.str,
10337
+ arn: builtins.str,
10338
+ ) -> IGameSessionQueueRef:
10339
+ '''Creates a new IGameSessionQueueRef from an ARN.
10340
+
10341
+ :param scope: -
10342
+ :param id: -
10343
+ :param arn: -
10344
+ '''
10345
+ if __debug__:
10346
+ type_hints = typing.get_type_hints(_typecheckingstub__540ac4078b9102d1d66f8574fdf325a0e302bcaf342feee75294bf2204b5907e)
10347
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
10348
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
10349
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
10350
+ return typing.cast(IGameSessionQueueRef, jsii.sinvoke(cls, "fromGameSessionQueueArn", [scope, id, arn]))
10351
+
10352
+ @jsii.member(jsii_name="fromGameSessionQueueName")
10353
+ @builtins.classmethod
10354
+ def from_game_session_queue_name(
10355
+ cls,
10356
+ scope: _constructs_77d1e7e8.Construct,
10357
+ id: builtins.str,
10358
+ game_session_queue_name: builtins.str,
10359
+ ) -> IGameSessionQueueRef:
10360
+ '''Creates a new IGameSessionQueueRef from a gameSessionQueueName.
10361
+
10362
+ :param scope: -
10363
+ :param id: -
10364
+ :param game_session_queue_name: -
10365
+ '''
10366
+ if __debug__:
10367
+ type_hints = typing.get_type_hints(_typecheckingstub__604e1fe11dcc006d09239a8bce6316a343133e18607927cf4992e8abe62c765d)
10368
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
10369
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
10370
+ check_type(argname="argument game_session_queue_name", value=game_session_queue_name, expected_type=type_hints["game_session_queue_name"])
10371
+ return typing.cast(IGameSessionQueueRef, jsii.sinvoke(cls, "fromGameSessionQueueName", [scope, id, game_session_queue_name]))
10372
+
10168
10373
  @jsii.member(jsii_name="inspect")
10169
10374
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
10170
10375
  '''Examines the CloudFormation resource and discloses attributes.
@@ -10962,6 +11167,48 @@ class CfnMatchmakingConfiguration(
10962
11167
 
10963
11168
  jsii.create(self.__class__, self, [scope, id, props])
10964
11169
 
11170
+ @jsii.member(jsii_name="fromMatchmakingConfigurationArn")
11171
+ @builtins.classmethod
11172
+ def from_matchmaking_configuration_arn(
11173
+ cls,
11174
+ scope: _constructs_77d1e7e8.Construct,
11175
+ id: builtins.str,
11176
+ arn: builtins.str,
11177
+ ) -> IMatchmakingConfigurationRef:
11178
+ '''Creates a new IMatchmakingConfigurationRef from an ARN.
11179
+
11180
+ :param scope: -
11181
+ :param id: -
11182
+ :param arn: -
11183
+ '''
11184
+ if __debug__:
11185
+ type_hints = typing.get_type_hints(_typecheckingstub__314f533f42d53467335b4de1a0b4ad24e756e52a2d7c4b0515ce7509adf3b859)
11186
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11187
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11188
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
11189
+ return typing.cast(IMatchmakingConfigurationRef, jsii.sinvoke(cls, "fromMatchmakingConfigurationArn", [scope, id, arn]))
11190
+
11191
+ @jsii.member(jsii_name="fromMatchmakingConfigurationName")
11192
+ @builtins.classmethod
11193
+ def from_matchmaking_configuration_name(
11194
+ cls,
11195
+ scope: _constructs_77d1e7e8.Construct,
11196
+ id: builtins.str,
11197
+ matchmaking_configuration_name: builtins.str,
11198
+ ) -> IMatchmakingConfigurationRef:
11199
+ '''Creates a new IMatchmakingConfigurationRef from a matchmakingConfigurationName.
11200
+
11201
+ :param scope: -
11202
+ :param id: -
11203
+ :param matchmaking_configuration_name: -
11204
+ '''
11205
+ if __debug__:
11206
+ type_hints = typing.get_type_hints(_typecheckingstub__44f1d437cf25656e15ed4fd08232b72aae3264ab16d7f3b56203fc14fce035c9)
11207
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11208
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11209
+ check_type(argname="argument matchmaking_configuration_name", value=matchmaking_configuration_name, expected_type=type_hints["matchmaking_configuration_name"])
11210
+ return typing.cast(IMatchmakingConfigurationRef, jsii.sinvoke(cls, "fromMatchmakingConfigurationName", [scope, id, matchmaking_configuration_name]))
11211
+
10965
11212
  @jsii.member(jsii_name="inspect")
10966
11213
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
10967
11214
  '''Examines the CloudFormation resource and discloses attributes.
@@ -11400,6 +11647,48 @@ class CfnMatchmakingRuleSet(
11400
11647
 
11401
11648
  jsii.create(self.__class__, self, [scope, id, props])
11402
11649
 
11650
+ @jsii.member(jsii_name="fromMatchmakingRuleSetArn")
11651
+ @builtins.classmethod
11652
+ def from_matchmaking_rule_set_arn(
11653
+ cls,
11654
+ scope: _constructs_77d1e7e8.Construct,
11655
+ id: builtins.str,
11656
+ arn: builtins.str,
11657
+ ) -> IMatchmakingRuleSetRef:
11658
+ '''Creates a new IMatchmakingRuleSetRef from an ARN.
11659
+
11660
+ :param scope: -
11661
+ :param id: -
11662
+ :param arn: -
11663
+ '''
11664
+ if __debug__:
11665
+ type_hints = typing.get_type_hints(_typecheckingstub__5db6a3778aaefefe0614ddb33692b54c772d255548b2608c42527605805d0968)
11666
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11667
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11668
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
11669
+ return typing.cast(IMatchmakingRuleSetRef, jsii.sinvoke(cls, "fromMatchmakingRuleSetArn", [scope, id, arn]))
11670
+
11671
+ @jsii.member(jsii_name="fromMatchmakingRuleSetName")
11672
+ @builtins.classmethod
11673
+ def from_matchmaking_rule_set_name(
11674
+ cls,
11675
+ scope: _constructs_77d1e7e8.Construct,
11676
+ id: builtins.str,
11677
+ matchmaking_rule_set_name: builtins.str,
11678
+ ) -> IMatchmakingRuleSetRef:
11679
+ '''Creates a new IMatchmakingRuleSetRef from a matchmakingRuleSetName.
11680
+
11681
+ :param scope: -
11682
+ :param id: -
11683
+ :param matchmaking_rule_set_name: -
11684
+ '''
11685
+ if __debug__:
11686
+ type_hints = typing.get_type_hints(_typecheckingstub__8e5b9fd099aa59434fcb8a6563f3d9bfcf91d508b750f45d7b65f6d3f2e9ce92)
11687
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11688
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11689
+ check_type(argname="argument matchmaking_rule_set_name", value=matchmaking_rule_set_name, expected_type=type_hints["matchmaking_rule_set_name"])
11690
+ return typing.cast(IMatchmakingRuleSetRef, jsii.sinvoke(cls, "fromMatchmakingRuleSetName", [scope, id, matchmaking_rule_set_name]))
11691
+
11403
11692
  @jsii.member(jsii_name="inspect")
11404
11693
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
11405
11694
  '''Examines the CloudFormation resource and discloses attributes.
@@ -11584,6 +11873,48 @@ class CfnScript(
11584
11873
 
11585
11874
  jsii.create(self.__class__, self, [scope, id, props])
11586
11875
 
11876
+ @jsii.member(jsii_name="fromScriptArn")
11877
+ @builtins.classmethod
11878
+ def from_script_arn(
11879
+ cls,
11880
+ scope: _constructs_77d1e7e8.Construct,
11881
+ id: builtins.str,
11882
+ arn: builtins.str,
11883
+ ) -> IScriptRef:
11884
+ '''Creates a new IScriptRef from an ARN.
11885
+
11886
+ :param scope: -
11887
+ :param id: -
11888
+ :param arn: -
11889
+ '''
11890
+ if __debug__:
11891
+ type_hints = typing.get_type_hints(_typecheckingstub__05f70751d0eb86aad8868957f46568cda9a897d9759d21070b4720da285bbb70)
11892
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11893
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11894
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
11895
+ return typing.cast(IScriptRef, jsii.sinvoke(cls, "fromScriptArn", [scope, id, arn]))
11896
+
11897
+ @jsii.member(jsii_name="fromScriptId")
11898
+ @builtins.classmethod
11899
+ def from_script_id(
11900
+ cls,
11901
+ scope: _constructs_77d1e7e8.Construct,
11902
+ id: builtins.str,
11903
+ script_id: builtins.str,
11904
+ ) -> IScriptRef:
11905
+ '''Creates a new IScriptRef from a scriptId.
11906
+
11907
+ :param scope: -
11908
+ :param id: -
11909
+ :param script_id: -
11910
+ '''
11911
+ if __debug__:
11912
+ type_hints = typing.get_type_hints(_typecheckingstub__1f59c8d56686af6162141e6c0156e96fdd82f37720262dc218ca572b226b4135)
11913
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
11914
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
11915
+ check_type(argname="argument script_id", value=script_id, expected_type=type_hints["script_id"])
11916
+ return typing.cast(IScriptRef, jsii.sinvoke(cls, "fromScriptId", [scope, id, script_id]))
11917
+
11587
11918
  @jsii.member(jsii_name="inspect")
11588
11919
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
11589
11920
  '''Examines the CloudFormation resource and discloses attributes.
@@ -12168,6 +12499,22 @@ def _typecheckingstub__6a91f3a4a7dfbcf1655ec6812682d7a8824bfb46a9ce2a65e3c859108
12168
12499
  """Type checking stubs"""
12169
12500
  pass
12170
12501
 
12502
+ def _typecheckingstub__0891ad75db2bf874492959e788adcf5ee5a3b7a4699cf9c2ddfce496a136a601(
12503
+ scope: _constructs_77d1e7e8.Construct,
12504
+ id: builtins.str,
12505
+ arn: builtins.str,
12506
+ ) -> None:
12507
+ """Type checking stubs"""
12508
+ pass
12509
+
12510
+ def _typecheckingstub__a59b299e6043860af26f7752ca92bfb2a6ddcc5cc02cdd40fd28dd726442c36f(
12511
+ scope: _constructs_77d1e7e8.Construct,
12512
+ id: builtins.str,
12513
+ alias_id: builtins.str,
12514
+ ) -> None:
12515
+ """Type checking stubs"""
12516
+ pass
12517
+
12171
12518
  def _typecheckingstub__e6c7223e714d0339897da2cbb4b67d9e03a5022aa12f568680b86e828460d501(
12172
12519
  inspector: _TreeInspector_488e0dd5,
12173
12520
  ) -> None:
@@ -12227,6 +12574,22 @@ def _typecheckingstub__d2f3884df6574dd3d4e76d857acf05a15fdc616d818da1cebcfcce408
12227
12574
  """Type checking stubs"""
12228
12575
  pass
12229
12576
 
12577
+ def _typecheckingstub__b64baecddf621fae2565c108e8413814c02580087d90dfa34419b75919effaa2(
12578
+ scope: _constructs_77d1e7e8.Construct,
12579
+ id: builtins.str,
12580
+ arn: builtins.str,
12581
+ ) -> None:
12582
+ """Type checking stubs"""
12583
+ pass
12584
+
12585
+ def _typecheckingstub__fce919b179ae0f0256b86c63c73e64f52cf5bc6cc8b69274e60f6c90c64ea1a7(
12586
+ scope: _constructs_77d1e7e8.Construct,
12587
+ id: builtins.str,
12588
+ build_id: builtins.str,
12589
+ ) -> None:
12590
+ """Type checking stubs"""
12591
+ pass
12592
+
12230
12593
  def _typecheckingstub__5dabd8e19951007a8e9f2bcb21f9e872c9fc5b6a638701939005bc4d813c12a3(
12231
12594
  inspector: _TreeInspector_488e0dd5,
12232
12595
  ) -> None:
@@ -12310,6 +12673,14 @@ def _typecheckingstub__d30a780826320cc5d36af5934da7151d1abdd72973e8cb82c8f063951
12310
12673
  """Type checking stubs"""
12311
12674
  pass
12312
12675
 
12676
+ def _typecheckingstub__4bea05f08256bdbf55f0f4481b2104de57302a58c74c37db452b862c9cc716f4(
12677
+ scope: _constructs_77d1e7e8.Construct,
12678
+ id: builtins.str,
12679
+ fleet_id: builtins.str,
12680
+ ) -> None:
12681
+ """Type checking stubs"""
12682
+ pass
12683
+
12313
12684
  def _typecheckingstub__8beb89172335ad10958d248c189bbeedc924ed5525d311d2bf335e603ec0616c(
12314
12685
  inspector: _TreeInspector_488e0dd5,
12315
12686
  ) -> None:
@@ -12468,9 +12839,9 @@ def _typecheckingstub__3c74cebf3a79bd067a90f843de7a76b099cbe8aff962b812b7dcae7ad
12468
12839
 
12469
12840
  def _typecheckingstub__cfdc01eeb9f739a54f304b9e5cb1f66114e55233f5383f018ef7dd086a28ed10(
12470
12841
  *,
12471
- desired_ec2_instances: jsii.Number,
12472
12842
  max_size: jsii.Number,
12473
12843
  min_size: jsii.Number,
12844
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
12474
12845
  ) -> None:
12475
12846
  """Type checking stubs"""
12476
12847
  pass
@@ -12724,6 +13095,22 @@ def _typecheckingstub__21fe09a90444788b3c862f454214d4e160757c9b02d0598d282f68b7f
12724
13095
  """Type checking stubs"""
12725
13096
  pass
12726
13097
 
13098
+ def _typecheckingstub__9d455e8de7d04220b53d8533ff523e203629fe41becf83c008b6eecd38420352(
13099
+ scope: _constructs_77d1e7e8.Construct,
13100
+ id: builtins.str,
13101
+ arn: builtins.str,
13102
+ ) -> None:
13103
+ """Type checking stubs"""
13104
+ pass
13105
+
13106
+ def _typecheckingstub__8559f65005087aabe3f94a9857ca3ab135fe3fddc5daa3feb2e8cdfac0b9fe44(
13107
+ scope: _constructs_77d1e7e8.Construct,
13108
+ id: builtins.str,
13109
+ fleet_id: builtins.str,
13110
+ ) -> None:
13111
+ """Type checking stubs"""
13112
+ pass
13113
+
12727
13114
  def _typecheckingstub__264e19b1dd38619175091751b1eec860e08c2225c7798789a29ec89ab8971593(
12728
13115
  inspector: _TreeInspector_488e0dd5,
12729
13116
  ) -> None:
@@ -12930,9 +13317,9 @@ def _typecheckingstub__70f885be25c9084dbab3b02a36601be0e37c43ab741ea7dd646494423
12930
13317
 
12931
13318
  def _typecheckingstub__76847ac983ab72ef92adc1b0579d769ca62af002ef71c76165cbd879da8645fc(
12932
13319
  *,
12933
- desired_ec2_instances: jsii.Number,
12934
13320
  max_size: jsii.Number,
12935
13321
  min_size: jsii.Number,
13322
+ desired_ec2_instances: typing.Optional[jsii.Number] = None,
12936
13323
  ) -> None:
12937
13324
  """Type checking stubs"""
12938
13325
  pass
@@ -13149,6 +13536,22 @@ def _typecheckingstub__2435e37790a5987d49478948c0c1ac36c9e463fa29441c46ba0aa4d56
13149
13536
  """Type checking stubs"""
13150
13537
  pass
13151
13538
 
13539
+ def _typecheckingstub__540ac4078b9102d1d66f8574fdf325a0e302bcaf342feee75294bf2204b5907e(
13540
+ scope: _constructs_77d1e7e8.Construct,
13541
+ id: builtins.str,
13542
+ arn: builtins.str,
13543
+ ) -> None:
13544
+ """Type checking stubs"""
13545
+ pass
13546
+
13547
+ def _typecheckingstub__604e1fe11dcc006d09239a8bce6316a343133e18607927cf4992e8abe62c765d(
13548
+ scope: _constructs_77d1e7e8.Construct,
13549
+ id: builtins.str,
13550
+ game_session_queue_name: builtins.str,
13551
+ ) -> None:
13552
+ """Type checking stubs"""
13553
+ pass
13554
+
13152
13555
  def _typecheckingstub__2cc05027a8472775374b6846f6c9ab499cc41f64fa8ed31ccbfd79e142b8b76d(
13153
13556
  inspector: _TreeInspector_488e0dd5,
13154
13557
  ) -> None:
@@ -13311,6 +13714,22 @@ def _typecheckingstub__5991dfcf120df852e2fd4ce6291a275a648645c817c923b70181ea8f5
13311
13714
  """Type checking stubs"""
13312
13715
  pass
13313
13716
 
13717
+ def _typecheckingstub__314f533f42d53467335b4de1a0b4ad24e756e52a2d7c4b0515ce7509adf3b859(
13718
+ scope: _constructs_77d1e7e8.Construct,
13719
+ id: builtins.str,
13720
+ arn: builtins.str,
13721
+ ) -> None:
13722
+ """Type checking stubs"""
13723
+ pass
13724
+
13725
+ def _typecheckingstub__44f1d437cf25656e15ed4fd08232b72aae3264ab16d7f3b56203fc14fce035c9(
13726
+ scope: _constructs_77d1e7e8.Construct,
13727
+ id: builtins.str,
13728
+ matchmaking_configuration_name: builtins.str,
13729
+ ) -> None:
13730
+ """Type checking stubs"""
13731
+ pass
13732
+
13314
13733
  def _typecheckingstub__97ef86c5f161a3f7e4debb1e365142a6bed6fcfa0560f9575501529b34dee619(
13315
13734
  inspector: _TreeInspector_488e0dd5,
13316
13735
  ) -> None:
@@ -13444,6 +13863,22 @@ def _typecheckingstub__18ad8102fb28f35f09c9f78c601c99b706ee4e13284fddfd4e85f0e7b
13444
13863
  """Type checking stubs"""
13445
13864
  pass
13446
13865
 
13866
+ def _typecheckingstub__5db6a3778aaefefe0614ddb33692b54c772d255548b2608c42527605805d0968(
13867
+ scope: _constructs_77d1e7e8.Construct,
13868
+ id: builtins.str,
13869
+ arn: builtins.str,
13870
+ ) -> None:
13871
+ """Type checking stubs"""
13872
+ pass
13873
+
13874
+ def _typecheckingstub__8e5b9fd099aa59434fcb8a6563f3d9bfcf91d508b750f45d7b65f6d3f2e9ce92(
13875
+ scope: _constructs_77d1e7e8.Construct,
13876
+ id: builtins.str,
13877
+ matchmaking_rule_set_name: builtins.str,
13878
+ ) -> None:
13879
+ """Type checking stubs"""
13880
+ pass
13881
+
13447
13882
  def _typecheckingstub__3d61a78aff0b1528ed82cb81e325639d2c75504b437ae15a2e7aac55347f0a30(
13448
13883
  inspector: _TreeInspector_488e0dd5,
13449
13884
  ) -> None:
@@ -13486,6 +13921,22 @@ def _typecheckingstub__a610f7d9791794a98e26c23e6a2c7f57a2aceb363ba1a205d32cc0011
13486
13921
  """Type checking stubs"""
13487
13922
  pass
13488
13923
 
13924
+ def _typecheckingstub__05f70751d0eb86aad8868957f46568cda9a897d9759d21070b4720da285bbb70(
13925
+ scope: _constructs_77d1e7e8.Construct,
13926
+ id: builtins.str,
13927
+ arn: builtins.str,
13928
+ ) -> None:
13929
+ """Type checking stubs"""
13930
+ pass
13931
+
13932
+ def _typecheckingstub__1f59c8d56686af6162141e6c0156e96fdd82f37720262dc218ca572b226b4135(
13933
+ scope: _constructs_77d1e7e8.Construct,
13934
+ id: builtins.str,
13935
+ script_id: builtins.str,
13936
+ ) -> None:
13937
+ """Type checking stubs"""
13938
+ pass
13939
+
13489
13940
  def _typecheckingstub__e467306a2b7b42d3bd4d40de8ebac0e5dbae11f33d3c54e42eae339fc88bc56b(
13490
13941
  inspector: _TreeInspector_488e0dd5,
13491
13942
  ) -> None: