aws-cdk-lib 2.196.1__py3-none-any.whl → 2.198.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.
- aws_cdk/__init__.py +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.196.1.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +90 -1
- aws_cdk/aws_apigatewayv2/__init__.py +866 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
- aws_cdk/aws_appsync/__init__.py +31 -21
- aws_cdk/aws_autoscaling/__init__.py +2 -1
- aws_cdk/aws_bedrock/__init__.py +32 -26
- aws_cdk/aws_cloudfront/__init__.py +9 -3
- aws_cdk/aws_cloudwatch/__init__.py +756 -29
- aws_cdk/aws_codebuild/__init__.py +19 -0
- aws_cdk/aws_codepipeline/__init__.py +44 -7
- aws_cdk/aws_datasync/__init__.py +850 -833
- aws_cdk/aws_datazone/__init__.py +615 -2
- aws_cdk/aws_deadline/__init__.py +162 -4
- aws_cdk/aws_dsql/__init__.py +35 -1
- aws_cdk/aws_ec2/__init__.py +291 -7
- aws_cdk/aws_ecs/__init__.py +38 -19
- aws_cdk/aws_ecs_patterns/__init__.py +15 -9
- aws_cdk/aws_elasticache/__init__.py +5 -5
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
- aws_cdk/aws_gamelift/__init__.py +103 -17
- aws_cdk/aws_gameliftstreams/__init__.py +6 -6
- aws_cdk/aws_lex/__init__.py +1245 -172
- aws_cdk/aws_mediapackagev2/__init__.py +11 -10
- aws_cdk/aws_omics/__init__.py +939 -100
- aws_cdk/aws_pcs/__init__.py +126 -0
- aws_cdk/aws_rds/__init__.py +42 -15
- aws_cdk/aws_rolesanywhere/__init__.py +14 -13
- aws_cdk/aws_route53resolver/__init__.py +0 -41
- aws_cdk/aws_sagemaker/__init__.py +38 -12
- aws_cdk/aws_ses/__init__.py +192 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
- aws_cdk/aws_synthetics/__init__.py +137 -3
- aws_cdk/aws_wafv2/__init__.py +4 -4
- aws_cdk/aws_workspaces/__init__.py +41 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +43 -43
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.196.1.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -4655,7 +4655,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
4655
4655
|
)
|
|
4656
4656
|
|
|
4657
4657
|
|
|
4658
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
4658
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
4659
4659
|
class CfnFleet(
|
|
4660
4660
|
_CfnResource_9df397a6,
|
|
4661
4661
|
metaclass=jsii.JSIIMeta,
|
|
@@ -4752,7 +4752,11 @@ class CfnFleet(
|
|
|
4752
4752
|
)],
|
|
4753
4753
|
script_id="scriptId",
|
|
4754
4754
|
server_launch_parameters="serverLaunchParameters",
|
|
4755
|
-
server_launch_path="serverLaunchPath"
|
|
4755
|
+
server_launch_path="serverLaunchPath",
|
|
4756
|
+
tags=[CfnTag(
|
|
4757
|
+
key="key",
|
|
4758
|
+
value="value"
|
|
4759
|
+
)]
|
|
4756
4760
|
)
|
|
4757
4761
|
'''
|
|
4758
4762
|
|
|
@@ -4788,6 +4792,7 @@ class CfnFleet(
|
|
|
4788
4792
|
script_id: typing.Optional[builtins.str] = None,
|
|
4789
4793
|
server_launch_parameters: typing.Optional[builtins.str] = None,
|
|
4790
4794
|
server_launch_path: typing.Optional[builtins.str] = None,
|
|
4795
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4791
4796
|
) -> None:
|
|
4792
4797
|
'''
|
|
4793
4798
|
:param scope: Scope in which this resource is defined.
|
|
@@ -4799,7 +4804,7 @@ class CfnFleet(
|
|
|
4799
4804
|
: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* .
|
|
4800
4805
|
: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.
|
|
4801
4806
|
:param description: A description for the fleet.
|
|
4802
|
-
:param desired_ec2_instances: 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.
|
|
4807
|
+
: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.
|
|
4803
4808
|
:param ec2_inbound_permissions: The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. Set this parameter for managed EC2 fleets. You can leave this parameter empty when creating the fleet, but you must call ` <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetPortSettings>`_ to set it before players can connect to game sessions. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished. For Amazon GameLift Servers Realtime fleets, Amazon GameLift Servers automatically sets TCP and UDP ranges.
|
|
4804
4809
|
:param ec2_instance_type: The Amazon GameLift Servers-supported Amazon EC2 instance type to use with managed EC2 fleets. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See `Amazon Elastic Compute Cloud Instance Types <https://docs.aws.amazon.com/ec2/instance-types/>`_ for detailed descriptions of Amazon EC2 instance types.
|
|
4805
4810
|
:param fleet_type: Indicates whether to use On-Demand or Spot instances for this fleet. By default, this property is set to ``ON_DEMAND`` . Learn more about when to use `On-Demand versus Spot Instances <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot>`_ . This fleet property can't be changed after the fleet is created.
|
|
@@ -4807,9 +4812,9 @@ class CfnFleet(
|
|
|
4807
4812
|
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is ``EC2`` .
|
|
4808
4813
|
:param locations: A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in AWS Regions that support multiple locations. You can add any AWS Region or Local Zone that's supported by Amazon GameLift Servers. Provide a list of one or more AWS Region codes, such as ``us-west-2`` , or Local Zone names. When using this parameter, Amazon GameLift Servers requires you to include your home location in the request. For a list of supported Regions and Local Zones, see `Amazon GameLift Servers service locations <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_ for managed hosting.
|
|
4809
4814
|
:param log_paths: (deprecated) This parameter is no longer used. When hosting a custom game build, specify where Amazon GameLift should store log files using the Amazon GameLift server API call ProcessReady()
|
|
4810
|
-
:param max_size: The maximum
|
|
4815
|
+
:param max_size: (deprecated) [DEPRECATED] The maximum value that is allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.
|
|
4811
4816
|
:param metric_groups: The name of an AWS CloudWatch metric group to add this fleet to. A metric group is used to aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to create a new metric group. A fleet can be included in only one metric group at a time.
|
|
4812
|
-
:param min_size: The minimum
|
|
4817
|
+
:param min_size: (deprecated) [DEPRECATED] The minimum value allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value.
|
|
4813
4818
|
:param new_game_session_protection_policy: The status of termination protection for active game sessions on the fleet. By default, this property is set to ``NoProtection`` . - *NoProtection* - Game sessions can be terminated during active gameplay as a result of a scale-down event. - *FullProtection* - Game sessions in ``ACTIVE`` status cannot be terminated during a scale-down event.
|
|
4814
4819
|
:param peer_vpc_aws_account_id: Used when peering your Amazon GameLift Servers fleet with a VPC, the unique identifier for the AWS account that owns the VPC. You can find your account ID in the AWS Management Console under account settings.
|
|
4815
4820
|
:param peer_vpc_id: A unique identifier for a VPC with resources to be accessed by your Amazon GameLift Servers fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the `VPC Dashboard <https://docs.aws.amazon.com/vpc/>`_ in the AWS Management Console . Learn more about VPC peering in `VPC Peering with Amazon GameLift Servers Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html>`_ .
|
|
@@ -4819,6 +4824,7 @@ class CfnFleet(
|
|
|
4819
4824
|
:param script_id: The unique identifier for a Realtime configuration script to be deployed on fleet instances. You can use either the script ID or ARN. Scripts must be uploaded to Amazon GameLift Servers prior to creating the fleet. This fleet property cannot be changed later. .. epigraph:: You can't use the ``!Ref`` command to reference a script created with a CloudFormation template for the fleet property ``ScriptId`` . Instead, use ``Fn::GetAtt Script.Arn`` or ``Fn::GetAtt Script.Id`` to retrieve either of these properties as input for ``ScriptId`` . Alternatively, enter a ``ScriptId`` string manually.
|
|
4820
4825
|
:param server_launch_parameters: (deprecated) This parameter is no longer used but is retained for backward compatibility. Instead, specify server launch parameters in the RuntimeConfiguration parameter. A request must specify either a runtime configuration or values for both ServerLaunchParameters and ServerLaunchPath.
|
|
4821
4826
|
:param server_launch_path: (deprecated) This parameter is no longer used. Instead, specify a server launch path using the RuntimeConfiguration parameter. Requests that specify a server launch path and launch parameters instead of a runtime configuration will continue to work.
|
|
4827
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
4822
4828
|
'''
|
|
4823
4829
|
if __debug__:
|
|
4824
4830
|
type_hints = typing.get_type_hints(_typecheckingstub__21fe09a90444788b3c862f454214d4e160757c9b02d0598d282f68b7f79d749f)
|
|
@@ -4852,6 +4858,7 @@ class CfnFleet(
|
|
|
4852
4858
|
script_id=script_id,
|
|
4853
4859
|
server_launch_parameters=server_launch_parameters,
|
|
4854
4860
|
server_launch_path=server_launch_path,
|
|
4861
|
+
tags=tags,
|
|
4855
4862
|
)
|
|
4856
4863
|
|
|
4857
4864
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -4886,6 +4893,15 @@ class CfnFleet(
|
|
|
4886
4893
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4887
4894
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4888
4895
|
|
|
4896
|
+
@builtins.property
|
|
4897
|
+
@jsii.member(jsii_name="attrFleetArn")
|
|
4898
|
+
def attr_fleet_arn(self) -> builtins.str:
|
|
4899
|
+
'''The Amazon Resource Name ( `ARN <https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html>`_ ) that is assigned to a Amazon GameLift Servers fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is ``arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912`` . In a GameLift fleet ARN, the resource ID matches the ``FleetId`` value.
|
|
4900
|
+
|
|
4901
|
+
:cloudformationAttribute: FleetArn
|
|
4902
|
+
'''
|
|
4903
|
+
return typing.cast(builtins.str, jsii.get(self, "attrFleetArn"))
|
|
4904
|
+
|
|
4889
4905
|
@builtins.property
|
|
4890
4906
|
@jsii.member(jsii_name="attrFleetId")
|
|
4891
4907
|
def attr_fleet_id(self) -> builtins.str:
|
|
@@ -4895,6 +4911,12 @@ class CfnFleet(
|
|
|
4895
4911
|
'''
|
|
4896
4912
|
return typing.cast(builtins.str, jsii.get(self, "attrFleetId"))
|
|
4897
4913
|
|
|
4914
|
+
@builtins.property
|
|
4915
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
4916
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
4917
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
4918
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
4919
|
+
|
|
4898
4920
|
@builtins.property
|
|
4899
4921
|
@jsii.member(jsii_name="cfnProperties")
|
|
4900
4922
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -5004,7 +5026,12 @@ class CfnFleet(
|
|
|
5004
5026
|
@builtins.property
|
|
5005
5027
|
@jsii.member(jsii_name="desiredEc2Instances")
|
|
5006
5028
|
def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
|
|
5007
|
-
'''The number of EC2 instances that you want this fleet to host.
|
|
5029
|
+
'''(deprecated) [DEPRECATED] The number of EC2 instances that you want this fleet to host.
|
|
5030
|
+
|
|
5031
|
+
:deprecated: this property has been deprecated
|
|
5032
|
+
|
|
5033
|
+
:stability: deprecated
|
|
5034
|
+
'''
|
|
5008
5035
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "desiredEc2Instances"))
|
|
5009
5036
|
|
|
5010
5037
|
@desired_ec2_instances.setter
|
|
@@ -5126,7 +5153,12 @@ class CfnFleet(
|
|
|
5126
5153
|
@builtins.property
|
|
5127
5154
|
@jsii.member(jsii_name="maxSize")
|
|
5128
5155
|
def max_size(self) -> typing.Optional[jsii.Number]:
|
|
5129
|
-
'''The maximum
|
|
5156
|
+
'''(deprecated) [DEPRECATED] The maximum value that is allowed for the fleet's instance count.
|
|
5157
|
+
|
|
5158
|
+
:deprecated: this property has been deprecated
|
|
5159
|
+
|
|
5160
|
+
:stability: deprecated
|
|
5161
|
+
'''
|
|
5130
5162
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "maxSize"))
|
|
5131
5163
|
|
|
5132
5164
|
@max_size.setter
|
|
@@ -5152,7 +5184,12 @@ class CfnFleet(
|
|
|
5152
5184
|
@builtins.property
|
|
5153
5185
|
@jsii.member(jsii_name="minSize")
|
|
5154
5186
|
def min_size(self) -> typing.Optional[jsii.Number]:
|
|
5155
|
-
'''The minimum
|
|
5187
|
+
'''(deprecated) [DEPRECATED] The minimum value allowed for the fleet's instance count.
|
|
5188
|
+
|
|
5189
|
+
:deprecated: this property has been deprecated
|
|
5190
|
+
|
|
5191
|
+
:stability: deprecated
|
|
5192
|
+
'''
|
|
5156
5193
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "minSize"))
|
|
5157
5194
|
|
|
5158
5195
|
@min_size.setter
|
|
@@ -5307,6 +5344,19 @@ class CfnFleet(
|
|
|
5307
5344
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5308
5345
|
jsii.set(self, "serverLaunchPath", value) # pyright: ignore[reportArgumentType]
|
|
5309
5346
|
|
|
5347
|
+
@builtins.property
|
|
5348
|
+
@jsii.member(jsii_name="tags")
|
|
5349
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
5350
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
5351
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
5352
|
+
|
|
5353
|
+
@tags.setter
|
|
5354
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
5355
|
+
if __debug__:
|
|
5356
|
+
type_hints = typing.get_type_hints(_typecheckingstub__27ef86cf1bf34b50ec355a45305857c52751912f8408dec34a63b8a26665856d)
|
|
5357
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5358
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
5359
|
+
|
|
5310
5360
|
@jsii.data_type(
|
|
5311
5361
|
jsii_type="aws-cdk-lib.aws_gamelift.CfnFleet.AnywhereConfigurationProperty",
|
|
5312
5362
|
jsii_struct_bases=[],
|
|
@@ -6386,6 +6436,7 @@ class CfnFleet(
|
|
|
6386
6436
|
"script_id": "scriptId",
|
|
6387
6437
|
"server_launch_parameters": "serverLaunchParameters",
|
|
6388
6438
|
"server_launch_path": "serverLaunchPath",
|
|
6439
|
+
"tags": "tags",
|
|
6389
6440
|
},
|
|
6390
6441
|
)
|
|
6391
6442
|
class CfnFleetProps:
|
|
@@ -6419,6 +6470,7 @@ class CfnFleetProps:
|
|
|
6419
6470
|
script_id: typing.Optional[builtins.str] = None,
|
|
6420
6471
|
server_launch_parameters: typing.Optional[builtins.str] = None,
|
|
6421
6472
|
server_launch_path: typing.Optional[builtins.str] = None,
|
|
6473
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6422
6474
|
) -> None:
|
|
6423
6475
|
'''Properties for defining a ``CfnFleet``.
|
|
6424
6476
|
|
|
@@ -6429,7 +6481,7 @@ class CfnFleetProps:
|
|
|
6429
6481
|
: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* .
|
|
6430
6482
|
: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.
|
|
6431
6483
|
:param description: A description for the fleet.
|
|
6432
|
-
:param desired_ec2_instances: 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.
|
|
6484
|
+
: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.
|
|
6433
6485
|
:param ec2_inbound_permissions: The IP address ranges and port settings that allow inbound traffic to access game server processes and other processes on this fleet. Set this parameter for managed EC2 fleets. You can leave this parameter empty when creating the fleet, but you must call ` <https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetPortSettings>`_ to set it before players can connect to game sessions. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished. For Amazon GameLift Servers Realtime fleets, Amazon GameLift Servers automatically sets TCP and UDP ranges.
|
|
6434
6486
|
:param ec2_instance_type: The Amazon GameLift Servers-supported Amazon EC2 instance type to use with managed EC2 fleets. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See `Amazon Elastic Compute Cloud Instance Types <https://docs.aws.amazon.com/ec2/instance-types/>`_ for detailed descriptions of Amazon EC2 instance types.
|
|
6435
6487
|
:param fleet_type: Indicates whether to use On-Demand or Spot instances for this fleet. By default, this property is set to ``ON_DEMAND`` . Learn more about when to use `On-Demand versus Spot Instances <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-ec2-instances.html#gamelift-ec2-instances-spot>`_ . This fleet property can't be changed after the fleet is created.
|
|
@@ -6437,9 +6489,9 @@ class CfnFleetProps:
|
|
|
6437
6489
|
:param instance_role_credentials_provider: Indicates that fleet instances maintain a shared credentials file for the IAM role defined in ``InstanceRoleArn`` . Shared credentials allow applications that are deployed with the game server executable to communicate with other AWS resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see `Communicate with other AWS resources from your fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html>`_ . This attribute is used with fleets where ``ComputeType`` is ``EC2`` .
|
|
6438
6490
|
:param locations: A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in AWS Regions that support multiple locations. You can add any AWS Region or Local Zone that's supported by Amazon GameLift Servers. Provide a list of one or more AWS Region codes, such as ``us-west-2`` , or Local Zone names. When using this parameter, Amazon GameLift Servers requires you to include your home location in the request. For a list of supported Regions and Local Zones, see `Amazon GameLift Servers service locations <https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html>`_ for managed hosting.
|
|
6439
6491
|
:param log_paths: (deprecated) This parameter is no longer used. When hosting a custom game build, specify where Amazon GameLift should store log files using the Amazon GameLift server API call ProcessReady()
|
|
6440
|
-
:param max_size: The maximum
|
|
6492
|
+
:param max_size: (deprecated) [DEPRECATED] The maximum value that is allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.
|
|
6441
6493
|
:param metric_groups: The name of an AWS CloudWatch metric group to add this fleet to. A metric group is used to aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to create a new metric group. A fleet can be included in only one metric group at a time.
|
|
6442
|
-
:param min_size: The minimum
|
|
6494
|
+
:param min_size: (deprecated) [DEPRECATED] The minimum value allowed for the fleet's instance count. When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value.
|
|
6443
6495
|
:param new_game_session_protection_policy: The status of termination protection for active game sessions on the fleet. By default, this property is set to ``NoProtection`` . - *NoProtection* - Game sessions can be terminated during active gameplay as a result of a scale-down event. - *FullProtection* - Game sessions in ``ACTIVE`` status cannot be terminated during a scale-down event.
|
|
6444
6496
|
:param peer_vpc_aws_account_id: Used when peering your Amazon GameLift Servers fleet with a VPC, the unique identifier for the AWS account that owns the VPC. You can find your account ID in the AWS Management Console under account settings.
|
|
6445
6497
|
:param peer_vpc_id: A unique identifier for a VPC with resources to be accessed by your Amazon GameLift Servers fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the `VPC Dashboard <https://docs.aws.amazon.com/vpc/>`_ in the AWS Management Console . Learn more about VPC peering in `VPC Peering with Amazon GameLift Servers Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html>`_ .
|
|
@@ -6449,6 +6501,7 @@ class CfnFleetProps:
|
|
|
6449
6501
|
:param script_id: The unique identifier for a Realtime configuration script to be deployed on fleet instances. You can use either the script ID or ARN. Scripts must be uploaded to Amazon GameLift Servers prior to creating the fleet. This fleet property cannot be changed later. .. epigraph:: You can't use the ``!Ref`` command to reference a script created with a CloudFormation template for the fleet property ``ScriptId`` . Instead, use ``Fn::GetAtt Script.Arn`` or ``Fn::GetAtt Script.Id`` to retrieve either of these properties as input for ``ScriptId`` . Alternatively, enter a ``ScriptId`` string manually.
|
|
6450
6502
|
:param server_launch_parameters: (deprecated) This parameter is no longer used but is retained for backward compatibility. Instead, specify server launch parameters in the RuntimeConfiguration parameter. A request must specify either a runtime configuration or values for both ServerLaunchParameters and ServerLaunchPath.
|
|
6451
6503
|
:param server_launch_path: (deprecated) This parameter is no longer used. Instead, specify a server launch path using the RuntimeConfiguration parameter. Requests that specify a server launch path and launch parameters instead of a runtime configuration will continue to work.
|
|
6504
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
6452
6505
|
|
|
6453
6506
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html
|
|
6454
6507
|
:exampleMetadata: fixture=_generated
|
|
@@ -6536,7 +6589,11 @@ class CfnFleetProps:
|
|
|
6536
6589
|
)],
|
|
6537
6590
|
script_id="scriptId",
|
|
6538
6591
|
server_launch_parameters="serverLaunchParameters",
|
|
6539
|
-
server_launch_path="serverLaunchPath"
|
|
6592
|
+
server_launch_path="serverLaunchPath",
|
|
6593
|
+
tags=[CfnTag(
|
|
6594
|
+
key="key",
|
|
6595
|
+
value="value"
|
|
6596
|
+
)]
|
|
6540
6597
|
)
|
|
6541
6598
|
'''
|
|
6542
6599
|
if __debug__:
|
|
@@ -6568,6 +6625,7 @@ class CfnFleetProps:
|
|
|
6568
6625
|
check_type(argname="argument script_id", value=script_id, expected_type=type_hints["script_id"])
|
|
6569
6626
|
check_type(argname="argument server_launch_parameters", value=server_launch_parameters, expected_type=type_hints["server_launch_parameters"])
|
|
6570
6627
|
check_type(argname="argument server_launch_path", value=server_launch_path, expected_type=type_hints["server_launch_path"])
|
|
6628
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
6571
6629
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
6572
6630
|
"name": name,
|
|
6573
6631
|
}
|
|
@@ -6623,6 +6681,8 @@ class CfnFleetProps:
|
|
|
6623
6681
|
self._values["server_launch_parameters"] = server_launch_parameters
|
|
6624
6682
|
if server_launch_path is not None:
|
|
6625
6683
|
self._values["server_launch_path"] = server_launch_path
|
|
6684
|
+
if tags is not None:
|
|
6685
|
+
self._values["tags"] = tags
|
|
6626
6686
|
|
|
6627
6687
|
@builtins.property
|
|
6628
6688
|
def name(self) -> builtins.str:
|
|
@@ -6712,11 +6772,14 @@ class CfnFleetProps:
|
|
|
6712
6772
|
|
|
6713
6773
|
@builtins.property
|
|
6714
6774
|
def desired_ec2_instances(self) -> typing.Optional[jsii.Number]:
|
|
6715
|
-
'''The number of EC2 instances that you want this fleet to host.
|
|
6775
|
+
'''(deprecated) [DEPRECATED] The number of EC2 instances that you want this fleet to host.
|
|
6716
6776
|
|
|
6717
6777
|
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.
|
|
6718
6778
|
|
|
6779
|
+
:deprecated: this property has been deprecated
|
|
6780
|
+
|
|
6719
6781
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-desiredec2instances
|
|
6782
|
+
:stability: deprecated
|
|
6720
6783
|
'''
|
|
6721
6784
|
result = self._values.get("desired_ec2_instances")
|
|
6722
6785
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6807,11 +6870,14 @@ class CfnFleetProps:
|
|
|
6807
6870
|
|
|
6808
6871
|
@builtins.property
|
|
6809
6872
|
def max_size(self) -> typing.Optional[jsii.Number]:
|
|
6810
|
-
'''The maximum
|
|
6873
|
+
'''(deprecated) [DEPRECATED] The maximum value that is allowed for the fleet's instance count.
|
|
6811
6874
|
|
|
6812
|
-
|
|
6875
|
+
When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value.
|
|
6876
|
+
|
|
6877
|
+
:deprecated: this property has been deprecated
|
|
6813
6878
|
|
|
6814
6879
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-maxsize
|
|
6880
|
+
:stability: deprecated
|
|
6815
6881
|
'''
|
|
6816
6882
|
result = self._values.get("max_size")
|
|
6817
6883
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6829,11 +6895,14 @@ class CfnFleetProps:
|
|
|
6829
6895
|
|
|
6830
6896
|
@builtins.property
|
|
6831
6897
|
def min_size(self) -> typing.Optional[jsii.Number]:
|
|
6832
|
-
'''The minimum
|
|
6898
|
+
'''(deprecated) [DEPRECATED] The minimum value allowed for the fleet's instance count.
|
|
6833
6899
|
|
|
6834
|
-
|
|
6900
|
+
When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value.
|
|
6901
|
+
|
|
6902
|
+
:deprecated: this property has been deprecated
|
|
6835
6903
|
|
|
6836
6904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-minsize
|
|
6905
|
+
:stability: deprecated
|
|
6837
6906
|
'''
|
|
6838
6907
|
result = self._values.get("min_size")
|
|
6839
6908
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
@@ -6956,6 +7025,15 @@ class CfnFleetProps:
|
|
|
6956
7025
|
result = self._values.get("server_launch_path")
|
|
6957
7026
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6958
7027
|
|
|
7028
|
+
@builtins.property
|
|
7029
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
7030
|
+
'''An array of key-value pairs to apply to this resource.
|
|
7031
|
+
|
|
7032
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#cfn-gamelift-fleet-tags
|
|
7033
|
+
'''
|
|
7034
|
+
result = self._values.get("tags")
|
|
7035
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
7036
|
+
|
|
6959
7037
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
6960
7038
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
6961
7039
|
|
|
@@ -11207,6 +11285,7 @@ def _typecheckingstub__21fe09a90444788b3c862f454214d4e160757c9b02d0598d282f68b7f
|
|
|
11207
11285
|
script_id: typing.Optional[builtins.str] = None,
|
|
11208
11286
|
server_launch_parameters: typing.Optional[builtins.str] = None,
|
|
11209
11287
|
server_launch_path: typing.Optional[builtins.str] = None,
|
|
11288
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11210
11289
|
) -> None:
|
|
11211
11290
|
"""Type checking stubs"""
|
|
11212
11291
|
pass
|
|
@@ -11385,6 +11464,12 @@ def _typecheckingstub__63d5bf96be81c4a6b00ef1deb4d8846acf0053313fb89efd0ded1f093
|
|
|
11385
11464
|
"""Type checking stubs"""
|
|
11386
11465
|
pass
|
|
11387
11466
|
|
|
11467
|
+
def _typecheckingstub__27ef86cf1bf34b50ec355a45305857c52751912f8408dec34a63b8a26665856d(
|
|
11468
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
11469
|
+
) -> None:
|
|
11470
|
+
"""Type checking stubs"""
|
|
11471
|
+
pass
|
|
11472
|
+
|
|
11388
11473
|
def _typecheckingstub__e3897ffc82938e5bf4e6384b3a83b22f50c7189a71eb0fc30ea8f17642db5ef9(
|
|
11389
11474
|
*,
|
|
11390
11475
|
cost: builtins.str,
|
|
@@ -11506,6 +11591,7 @@ def _typecheckingstub__8a51a418ba5b606bdfc45dc50c3172e280a12e078a7392f3258d5d329
|
|
|
11506
11591
|
script_id: typing.Optional[builtins.str] = None,
|
|
11507
11592
|
server_launch_parameters: typing.Optional[builtins.str] = None,
|
|
11508
11593
|
server_launch_path: typing.Optional[builtins.str] = None,
|
|
11594
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
11509
11595
|
) -> None:
|
|
11510
11596
|
"""Type checking stubs"""
|
|
11511
11597
|
pass
|
|
@@ -824,8 +824,8 @@ class CfnStreamGroup(
|
|
|
824
824
|
) -> None:
|
|
825
825
|
'''Represents the default Amazon GameLift Streams application that a stream group hosts.
|
|
826
826
|
|
|
827
|
-
:param arn: An `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html>`_ that uniquely identifies the application resource.
|
|
828
|
-
:param id: An ID that uniquely identifies the application resource.
|
|
827
|
+
:param arn: An `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html>`_ that uniquely identifies the application resource. Example ARN: ``arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6`` .
|
|
828
|
+
:param id: An ID that uniquely identifies the application resource. Example ID: ``a-9ZY8X7Wv6`` .
|
|
829
829
|
|
|
830
830
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html
|
|
831
831
|
:exampleMetadata: fixture=_generated
|
|
@@ -853,7 +853,7 @@ class CfnStreamGroup(
|
|
|
853
853
|
|
|
854
854
|
@builtins.property
|
|
855
855
|
def arn(self) -> typing.Optional[builtins.str]:
|
|
856
|
-
'''An `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html>`_ that uniquely identifies the application resource.
|
|
856
|
+
'''An `Amazon Resource Name (ARN) <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html>`_ that uniquely identifies the application resource. Example ARN: ``arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6`` .
|
|
857
857
|
|
|
858
858
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html#cfn-gameliftstreams-streamgroup-defaultapplication-arn
|
|
859
859
|
'''
|
|
@@ -864,7 +864,7 @@ class CfnStreamGroup(
|
|
|
864
864
|
def id(self) -> typing.Optional[builtins.str]:
|
|
865
865
|
'''An ID that uniquely identifies the application resource.
|
|
866
866
|
|
|
867
|
-
|
|
867
|
+
Example ID: ``a-9ZY8X7Wv6`` .
|
|
868
868
|
|
|
869
869
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html#cfn-gameliftstreams-streamgroup-defaultapplication-id
|
|
870
870
|
'''
|
|
@@ -903,7 +903,7 @@ class CfnStreamGroup(
|
|
|
903
903
|
|
|
904
904
|
When configuring a location for the first time, you must specify a numeric value for at least one of the two capacity types.
|
|
905
905
|
|
|
906
|
-
:param location_name: A location's name. For example, ``us-east-1`` . For a complete list of locations that Amazon GameLift Streams supports, refer to `Regions and
|
|
906
|
+
:param location_name: A location's name. For example, ``us-east-1`` . For a complete list of locations that Amazon GameLift Streams supports, refer to `Regions, quotas, and limitations <https://docs.aws.amazon.com/gameliftstreams/latest/developerguide/regions-quotas.html>`_ in the *Amazon GameLift Streams Developer Guide* .
|
|
907
907
|
:param always_on_capacity: The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session.
|
|
908
908
|
:param on_demand_capacity: The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes).
|
|
909
909
|
|
|
@@ -941,7 +941,7 @@ class CfnStreamGroup(
|
|
|
941
941
|
def location_name(self) -> builtins.str:
|
|
942
942
|
'''A location's name.
|
|
943
943
|
|
|
944
|
-
For example, ``us-east-1`` . For a complete list of locations that Amazon GameLift Streams supports, refer to `Regions and
|
|
944
|
+
For example, ``us-east-1`` . For a complete list of locations that Amazon GameLift Streams supports, refer to `Regions, quotas, and limitations <https://docs.aws.amazon.com/gameliftstreams/latest/developerguide/regions-quotas.html>`_ in the *Amazon GameLift Streams Developer Guide* .
|
|
945
945
|
|
|
946
946
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-locationconfiguration.html#cfn-gameliftstreams-streamgroup-locationconfiguration-locationname
|
|
947
947
|
'''
|