aws-cdk-lib 2.188.0__py3-none-any.whl → 2.189.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.188.0.jsii.tgz → aws-cdk-lib@2.189.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +2 -0
- aws_cdk/aws_apigatewayv2/__init__.py +82 -0
- aws_cdk/aws_batch/__init__.py +2 -0
- aws_cdk/aws_bedrock/__init__.py +24 -22
- aws_cdk/aws_dsql/__init__.py +366 -0
- aws_cdk/aws_dynamodb/__init__.py +4 -4
- aws_cdk/aws_ec2/__init__.py +129 -100
- aws_cdk/aws_fsx/__init__.py +2 -8
- aws_cdk/aws_gamelift/__init__.py +135 -9
- aws_cdk/aws_groundstation/__init__.py +4 -2
- aws_cdk/aws_paymentcryptography/__init__.py +6 -2
- aws_cdk/aws_redshiftserverless/__init__.py +166 -0
- aws_cdk/pipelines/__init__.py +39 -1
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/RECORD +22 -21
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.188.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_fsx/__init__.py
CHANGED
|
@@ -3386,7 +3386,7 @@ class CfnFileSystem(
|
|
|
3386
3386
|
:param disk_iops_configuration: The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for Windows file system. By default, Amazon FSx automatically provisions 3 IOPS per GiB of storage capacity. You can provision additional IOPS per GiB of storage, up to the maximum limit associated with your chosen throughput capacity.
|
|
3387
3387
|
:param preferred_subnet_id: Required when ``DeploymentType`` is set to ``MULTI_AZ_1`` . This specifies the subnet in which you want the preferred file server to be located. For in- AWS applications, we recommend that you launch your clients in the same availability zone as your preferred file server to reduce cross-availability zone data transfer costs and minimize latency.
|
|
3388
3388
|
:param self_managed_active_directory_configuration: The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see `Using Amazon FSx for Windows with your self-managed Microsoft Active Directory <https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html>`_ or `Managing FSx for ONTAP SVMs <https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html>`_ .
|
|
3389
|
-
:param weekly_maintenance_start_time:
|
|
3389
|
+
:param weekly_maintenance_start_time: The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
3390
3390
|
|
|
3391
3391
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html
|
|
3392
3392
|
:exampleMetadata: fixture=_generated
|
|
@@ -3617,13 +3617,7 @@ class CfnFileSystem(
|
|
|
3617
3617
|
|
|
3618
3618
|
@builtins.property
|
|
3619
3619
|
def weekly_maintenance_start_time(self) -> typing.Optional[builtins.str]:
|
|
3620
|
-
'''
|
|
3621
|
-
|
|
3622
|
-
``D`` is the day of the week, for which 1 represents Monday and 7 represents Sunday. For further details, see `the ISO-8601 spec as described on Wikipedia <https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/ISO_week_date>`_ .
|
|
3623
|
-
|
|
3624
|
-
``HH`` is the zero-padded hour of the day (0-23), and ``MM`` is the zero-padded minute of the hour.
|
|
3625
|
-
|
|
3626
|
-
For example, ``1:05:00`` specifies maintenance at 5 AM Monday.
|
|
3620
|
+
'''The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
|
|
3627
3621
|
|
|
3628
3622
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-windowsconfiguration.html#cfn-fsx-filesystem-windowsconfiguration-weeklymaintenancestarttime
|
|
3629
3623
|
'''
|
aws_cdk/aws_gamelift/__init__.py
CHANGED
|
@@ -75,7 +75,7 @@ from .. import (
|
|
|
75
75
|
)
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
78
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
79
79
|
class CfnAlias(
|
|
80
80
|
_CfnResource_9df397a6,
|
|
81
81
|
metaclass=jsii.JSIIMeta,
|
|
@@ -106,7 +106,11 @@ class CfnAlias(
|
|
|
106
106
|
),
|
|
107
107
|
|
|
108
108
|
# the properties below are optional
|
|
109
|
-
description="description"
|
|
109
|
+
description="description",
|
|
110
|
+
tags=[CfnTag(
|
|
111
|
+
key="key",
|
|
112
|
+
value="value"
|
|
113
|
+
)]
|
|
110
114
|
)
|
|
111
115
|
'''
|
|
112
116
|
|
|
@@ -118,6 +122,7 @@ class CfnAlias(
|
|
|
118
122
|
name: builtins.str,
|
|
119
123
|
routing_strategy: typing.Union[_IResolvable_da3f097b, typing.Union["CfnAlias.RoutingStrategyProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
120
124
|
description: typing.Optional[builtins.str] = None,
|
|
125
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
121
126
|
) -> None:
|
|
122
127
|
'''
|
|
123
128
|
:param scope: Scope in which this resource is defined.
|
|
@@ -125,13 +130,17 @@ class CfnAlias(
|
|
|
125
130
|
:param name: A descriptive label that is associated with an alias. Alias names do not need to be unique.
|
|
126
131
|
:param routing_strategy: The routing configuration, including routing type and fleet target, for the alias.
|
|
127
132
|
:param description: A human-readable description of the alias.
|
|
133
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
128
134
|
'''
|
|
129
135
|
if __debug__:
|
|
130
136
|
type_hints = typing.get_type_hints(_typecheckingstub__6a91f3a4a7dfbcf1655ec6812682d7a8824bfb46a9ce2a65e3c859108e3633c8)
|
|
131
137
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
132
138
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
133
139
|
props = CfnAliasProps(
|
|
134
|
-
name=name,
|
|
140
|
+
name=name,
|
|
141
|
+
routing_strategy=routing_strategy,
|
|
142
|
+
description=description,
|
|
143
|
+
tags=tags,
|
|
135
144
|
)
|
|
136
145
|
|
|
137
146
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -166,6 +175,15 @@ class CfnAlias(
|
|
|
166
175
|
'''The CloudFormation resource type name for this resource class.'''
|
|
167
176
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
168
177
|
|
|
178
|
+
@builtins.property
|
|
179
|
+
@jsii.member(jsii_name="attrAliasArn")
|
|
180
|
+
def attr_alias_arn(self) -> builtins.str:
|
|
181
|
+
'''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 alias resource and uniquely identifies it. ARNs are unique across all Regions. Format is ``arn:aws:gamelift:<region>::alias/alias-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912`` . In a GameLift alias ARN, the resource ID matches the alias ID value.
|
|
182
|
+
|
|
183
|
+
:cloudformationAttribute: AliasArn
|
|
184
|
+
'''
|
|
185
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAliasArn"))
|
|
186
|
+
|
|
169
187
|
@builtins.property
|
|
170
188
|
@jsii.member(jsii_name="attrAliasId")
|
|
171
189
|
def attr_alias_id(self) -> builtins.str:
|
|
@@ -177,6 +195,12 @@ class CfnAlias(
|
|
|
177
195
|
'''
|
|
178
196
|
return typing.cast(builtins.str, jsii.get(self, "attrAliasId"))
|
|
179
197
|
|
|
198
|
+
@builtins.property
|
|
199
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
200
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
201
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
202
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
203
|
+
|
|
180
204
|
@builtins.property
|
|
181
205
|
@jsii.member(jsii_name="cfnProperties")
|
|
182
206
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -226,6 +250,19 @@ class CfnAlias(
|
|
|
226
250
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
227
251
|
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
228
252
|
|
|
253
|
+
@builtins.property
|
|
254
|
+
@jsii.member(jsii_name="tags")
|
|
255
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
256
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
257
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
258
|
+
|
|
259
|
+
@tags.setter
|
|
260
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
261
|
+
if __debug__:
|
|
262
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cc43df2fa439cbdde0361a6e15a7a3a916a006856add3cb38bca18959f9c8775)
|
|
263
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
264
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
265
|
+
|
|
229
266
|
@jsii.data_type(
|
|
230
267
|
jsii_type="aws-cdk-lib.aws_gamelift.CfnAlias.RoutingStrategyProperty",
|
|
231
268
|
jsii_struct_bases=[],
|
|
@@ -331,6 +368,7 @@ class CfnAlias(
|
|
|
331
368
|
"name": "name",
|
|
332
369
|
"routing_strategy": "routingStrategy",
|
|
333
370
|
"description": "description",
|
|
371
|
+
"tags": "tags",
|
|
334
372
|
},
|
|
335
373
|
)
|
|
336
374
|
class CfnAliasProps:
|
|
@@ -340,12 +378,14 @@ class CfnAliasProps:
|
|
|
340
378
|
name: builtins.str,
|
|
341
379
|
routing_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAlias.RoutingStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
342
380
|
description: typing.Optional[builtins.str] = None,
|
|
381
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
343
382
|
) -> None:
|
|
344
383
|
'''Properties for defining a ``CfnAlias``.
|
|
345
384
|
|
|
346
385
|
:param name: A descriptive label that is associated with an alias. Alias names do not need to be unique.
|
|
347
386
|
:param routing_strategy: The routing configuration, including routing type and fleet target, for the alias.
|
|
348
387
|
:param description: A human-readable description of the alias.
|
|
388
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
349
389
|
|
|
350
390
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html
|
|
351
391
|
:exampleMetadata: fixture=_generated
|
|
@@ -367,7 +407,11 @@ class CfnAliasProps:
|
|
|
367
407
|
),
|
|
368
408
|
|
|
369
409
|
# the properties below are optional
|
|
370
|
-
description="description"
|
|
410
|
+
description="description",
|
|
411
|
+
tags=[CfnTag(
|
|
412
|
+
key="key",
|
|
413
|
+
value="value"
|
|
414
|
+
)]
|
|
371
415
|
)
|
|
372
416
|
'''
|
|
373
417
|
if __debug__:
|
|
@@ -375,12 +419,15 @@ class CfnAliasProps:
|
|
|
375
419
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
376
420
|
check_type(argname="argument routing_strategy", value=routing_strategy, expected_type=type_hints["routing_strategy"])
|
|
377
421
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
422
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
378
423
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
379
424
|
"name": name,
|
|
380
425
|
"routing_strategy": routing_strategy,
|
|
381
426
|
}
|
|
382
427
|
if description is not None:
|
|
383
428
|
self._values["description"] = description
|
|
429
|
+
if tags is not None:
|
|
430
|
+
self._values["tags"] = tags
|
|
384
431
|
|
|
385
432
|
@builtins.property
|
|
386
433
|
def name(self) -> builtins.str:
|
|
@@ -415,6 +462,15 @@ class CfnAliasProps:
|
|
|
415
462
|
result = self._values.get("description")
|
|
416
463
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
417
464
|
|
|
465
|
+
@builtins.property
|
|
466
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
467
|
+
'''An array of key-value pairs to apply to this resource.
|
|
468
|
+
|
|
469
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-alias.html#cfn-gamelift-alias-tags
|
|
470
|
+
'''
|
|
471
|
+
result = self._values.get("tags")
|
|
472
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
473
|
+
|
|
418
474
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
419
475
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
420
476
|
|
|
@@ -427,7 +483,7 @@ class CfnAliasProps:
|
|
|
427
483
|
)
|
|
428
484
|
|
|
429
485
|
|
|
430
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
486
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
431
487
|
class CfnBuild(
|
|
432
488
|
_CfnResource_9df397a6,
|
|
433
489
|
metaclass=jsii.JSIIMeta,
|
|
@@ -459,6 +515,10 @@ class CfnBuild(
|
|
|
459
515
|
# the properties below are optional
|
|
460
516
|
object_version="objectVersion"
|
|
461
517
|
),
|
|
518
|
+
tags=[CfnTag(
|
|
519
|
+
key="key",
|
|
520
|
+
value="value"
|
|
521
|
+
)],
|
|
462
522
|
version="version"
|
|
463
523
|
)
|
|
464
524
|
'''
|
|
@@ -472,6 +532,7 @@ class CfnBuild(
|
|
|
472
532
|
operating_system: typing.Optional[builtins.str] = None,
|
|
473
533
|
server_sdk_version: typing.Optional[builtins.str] = None,
|
|
474
534
|
storage_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnBuild.StorageLocationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
535
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
475
536
|
version: typing.Optional[builtins.str] = None,
|
|
476
537
|
) -> None:
|
|
477
538
|
'''
|
|
@@ -481,6 +542,7 @@ class CfnBuild(
|
|
|
481
542
|
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
482
543
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift Servers. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift Servers sets this value to ``4.0.2`` .
|
|
483
544
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift Servers to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift Servers will report a ``SizeOnDisk`` of 0.
|
|
545
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
484
546
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
485
547
|
'''
|
|
486
548
|
if __debug__:
|
|
@@ -492,6 +554,7 @@ class CfnBuild(
|
|
|
492
554
|
operating_system=operating_system,
|
|
493
555
|
server_sdk_version=server_sdk_version,
|
|
494
556
|
storage_location=storage_location,
|
|
557
|
+
tags=tags,
|
|
495
558
|
version=version,
|
|
496
559
|
)
|
|
497
560
|
|
|
@@ -527,6 +590,15 @@ class CfnBuild(
|
|
|
527
590
|
'''The CloudFormation resource type name for this resource class.'''
|
|
528
591
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
529
592
|
|
|
593
|
+
@builtins.property
|
|
594
|
+
@jsii.member(jsii_name="attrBuildArn")
|
|
595
|
+
def attr_build_arn(self) -> builtins.str:
|
|
596
|
+
'''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 build resource and uniquely identifies it. ARNs are unique across all Regions. Format is ``arn:aws:gamelift:<region>::build/build-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912`` . In a GameLift build ARN, the resource ID matches the *BuildId* value.
|
|
597
|
+
|
|
598
|
+
:cloudformationAttribute: BuildArn
|
|
599
|
+
'''
|
|
600
|
+
return typing.cast(builtins.str, jsii.get(self, "attrBuildArn"))
|
|
601
|
+
|
|
530
602
|
@builtins.property
|
|
531
603
|
@jsii.member(jsii_name="attrBuildId")
|
|
532
604
|
def attr_build_id(self) -> builtins.str:
|
|
@@ -536,6 +608,12 @@ class CfnBuild(
|
|
|
536
608
|
'''
|
|
537
609
|
return typing.cast(builtins.str, jsii.get(self, "attrBuildId"))
|
|
538
610
|
|
|
611
|
+
@builtins.property
|
|
612
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
613
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
614
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
615
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
616
|
+
|
|
539
617
|
@builtins.property
|
|
540
618
|
@jsii.member(jsii_name="cfnProperties")
|
|
541
619
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -598,6 +676,19 @@ class CfnBuild(
|
|
|
598
676
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
599
677
|
jsii.set(self, "storageLocation", value) # pyright: ignore[reportArgumentType]
|
|
600
678
|
|
|
679
|
+
@builtins.property
|
|
680
|
+
@jsii.member(jsii_name="tags")
|
|
681
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
682
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
683
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
684
|
+
|
|
685
|
+
@tags.setter
|
|
686
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
687
|
+
if __debug__:
|
|
688
|
+
type_hints = typing.get_type_hints(_typecheckingstub__61f5c317acb9e4d0abf34641df15710032d796e858c0b0962748ce1d84bf6d9d)
|
|
689
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
690
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
691
|
+
|
|
601
692
|
@builtins.property
|
|
602
693
|
@jsii.member(jsii_name="version")
|
|
603
694
|
def version(self) -> typing.Optional[builtins.str]:
|
|
@@ -734,6 +825,7 @@ class CfnBuild(
|
|
|
734
825
|
"operating_system": "operatingSystem",
|
|
735
826
|
"server_sdk_version": "serverSdkVersion",
|
|
736
827
|
"storage_location": "storageLocation",
|
|
828
|
+
"tags": "tags",
|
|
737
829
|
"version": "version",
|
|
738
830
|
},
|
|
739
831
|
)
|
|
@@ -745,6 +837,7 @@ class CfnBuildProps:
|
|
|
745
837
|
operating_system: typing.Optional[builtins.str] = None,
|
|
746
838
|
server_sdk_version: typing.Optional[builtins.str] = None,
|
|
747
839
|
storage_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBuild.StorageLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
840
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
748
841
|
version: typing.Optional[builtins.str] = None,
|
|
749
842
|
) -> None:
|
|
750
843
|
'''Properties for defining a ``CfnBuild``.
|
|
@@ -753,6 +846,7 @@ class CfnBuildProps:
|
|
|
753
846
|
:param operating_system: The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
754
847
|
:param server_sdk_version: A server SDK version you used when integrating your game server build with Amazon GameLift Servers. For more information see `Integrate games with custom game servers <https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html>`_ . By default Amazon GameLift Servers sets this value to ``4.0.2`` .
|
|
755
848
|
:param storage_location: Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift Servers to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. If a ``StorageLocation`` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift Servers will report a ``SizeOnDisk`` of 0.
|
|
849
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
756
850
|
:param version: Version information that is associated with this build. Version strings do not need to be unique.
|
|
757
851
|
|
|
758
852
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html
|
|
@@ -776,6 +870,10 @@ class CfnBuildProps:
|
|
|
776
870
|
# the properties below are optional
|
|
777
871
|
object_version="objectVersion"
|
|
778
872
|
),
|
|
873
|
+
tags=[CfnTag(
|
|
874
|
+
key="key",
|
|
875
|
+
value="value"
|
|
876
|
+
)],
|
|
779
877
|
version="version"
|
|
780
878
|
)
|
|
781
879
|
'''
|
|
@@ -785,6 +883,7 @@ class CfnBuildProps:
|
|
|
785
883
|
check_type(argname="argument operating_system", value=operating_system, expected_type=type_hints["operating_system"])
|
|
786
884
|
check_type(argname="argument server_sdk_version", value=server_sdk_version, expected_type=type_hints["server_sdk_version"])
|
|
787
885
|
check_type(argname="argument storage_location", value=storage_location, expected_type=type_hints["storage_location"])
|
|
886
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
788
887
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
|
789
888
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
790
889
|
if name is not None:
|
|
@@ -795,6 +894,8 @@ class CfnBuildProps:
|
|
|
795
894
|
self._values["server_sdk_version"] = server_sdk_version
|
|
796
895
|
if storage_location is not None:
|
|
797
896
|
self._values["storage_location"] = storage_location
|
|
897
|
+
if tags is not None:
|
|
898
|
+
self._values["tags"] = tags
|
|
798
899
|
if version is not None:
|
|
799
900
|
self._values["version"] = version
|
|
800
901
|
|
|
@@ -849,6 +950,15 @@ class CfnBuildProps:
|
|
|
849
950
|
result = self._values.get("storage_location")
|
|
850
951
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnBuild.StorageLocationProperty]], result)
|
|
851
952
|
|
|
953
|
+
@builtins.property
|
|
954
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
955
|
+
'''An array of key-value pairs to apply to this resource.
|
|
956
|
+
|
|
957
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-tags
|
|
958
|
+
'''
|
|
959
|
+
result = self._values.get("tags")
|
|
960
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
961
|
+
|
|
852
962
|
@builtins.property
|
|
853
963
|
def version(self) -> typing.Optional[builtins.str]:
|
|
854
964
|
'''Version information that is associated with this build.
|
|
@@ -2928,7 +3038,7 @@ class CfnContainerGroupDefinition(
|
|
|
2928
3038
|
:param scope: Scope in which this resource is defined.
|
|
2929
3039
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2930
3040
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
2931
|
-
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
3041
|
+
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
2932
3042
|
:param total_memory_limit_mebibytes: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be greater than any individual container's memory limit.
|
|
2933
3043
|
:param total_vcpu_limit: The amount of vCPU units on a fleet instance to allocate for the container group (1 vCPU is equal to 1024 CPU units). All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be equal to or greater than the sum of the limits for each container in the group.
|
|
2934
3044
|
:param container_group_type: The type of container group. Container group type determines how Amazon GameLift Servers deploys the container group on each fleet instance.
|
|
@@ -3594,7 +3704,7 @@ class CfnContainerGroupDefinition(
|
|
|
3594
3704
|
protocol: builtins.str,
|
|
3595
3705
|
to_port: jsii.Number,
|
|
3596
3706
|
) -> None:
|
|
3597
|
-
'''A set of one or more port numbers that can be opened on the container.
|
|
3707
|
+
'''A set of one or more port numbers that can be opened on the container, and the supported network protocol.
|
|
3598
3708
|
|
|
3599
3709
|
*Part of:* `ContainerPortConfiguration <https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerPortConfiguration.html>`_
|
|
3600
3710
|
|
|
@@ -4278,7 +4388,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
4278
4388
|
'''Properties for defining a ``CfnContainerGroupDefinition``.
|
|
4279
4389
|
|
|
4280
4390
|
:param name: A descriptive identifier for the container group definition. The name value is unique in an AWS Region.
|
|
4281
|
-
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
4391
|
+
:param operating_system: The platform that all containers in the container group definition run on. .. epigraph:: Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
4282
4392
|
:param total_memory_limit_mebibytes: The amount of memory (in MiB) on a fleet instance to allocate for the container group. All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be greater than any individual container's memory limit.
|
|
4283
4393
|
:param total_vcpu_limit: The amount of vCPU units on a fleet instance to allocate for the container group (1 vCPU is equal to 1024 CPU units). All containers in the group share these resources. You can set a limit for each container definition in the group. If individual containers have limits, this total value must be equal to or greater than the sum of the limits for each container in the group.
|
|
4284
4394
|
:param container_group_type: The type of container group. Container group type determines how Amazon GameLift Servers deploys the container group on each fleet instance.
|
|
@@ -4433,7 +4543,7 @@ class CfnContainerGroupDefinitionProps:
|
|
|
4433
4543
|
|
|
4434
4544
|
.. epigraph::
|
|
4435
4545
|
|
|
4436
|
-
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/
|
|
4546
|
+
Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the `Amazon Linux 2 FAQs <https://docs.aws.amazon.com/amazon-linux-2/faqs/>`_ . For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See `Migrate to server SDK version 5. <https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html>`_
|
|
4437
4547
|
|
|
4438
4548
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-containergroupdefinition.html#cfn-gamelift-containergroupdefinition-operatingsystem
|
|
4439
4549
|
'''
|
|
@@ -10481,6 +10591,7 @@ def _typecheckingstub__6a91f3a4a7dfbcf1655ec6812682d7a8824bfb46a9ce2a65e3c859108
|
|
|
10481
10591
|
name: builtins.str,
|
|
10482
10592
|
routing_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAlias.RoutingStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10483
10593
|
description: typing.Optional[builtins.str] = None,
|
|
10594
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10484
10595
|
) -> None:
|
|
10485
10596
|
"""Type checking stubs"""
|
|
10486
10597
|
pass
|
|
@@ -10515,6 +10626,12 @@ def _typecheckingstub__98d25b43c56fe6060dfb6e36792550c92a6a537d6d2e31b8c97947858
|
|
|
10515
10626
|
"""Type checking stubs"""
|
|
10516
10627
|
pass
|
|
10517
10628
|
|
|
10629
|
+
def _typecheckingstub__cc43df2fa439cbdde0361a6e15a7a3a916a006856add3cb38bca18959f9c8775(
|
|
10630
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
10631
|
+
) -> None:
|
|
10632
|
+
"""Type checking stubs"""
|
|
10633
|
+
pass
|
|
10634
|
+
|
|
10518
10635
|
def _typecheckingstub__4057d890d9c2fba51db14d6885375c0c7263cd6b07fb4401e3fb51d7676734f9(
|
|
10519
10636
|
*,
|
|
10520
10637
|
type: builtins.str,
|
|
@@ -10529,6 +10646,7 @@ def _typecheckingstub__e74c18c4446e0f846baf63e2e707aa2ba663f37170623164846853f11
|
|
|
10529
10646
|
name: builtins.str,
|
|
10530
10647
|
routing_strategy: typing.Union[_IResolvable_da3f097b, typing.Union[CfnAlias.RoutingStrategyProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
10531
10648
|
description: typing.Optional[builtins.str] = None,
|
|
10649
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10532
10650
|
) -> None:
|
|
10533
10651
|
"""Type checking stubs"""
|
|
10534
10652
|
pass
|
|
@@ -10541,6 +10659,7 @@ def _typecheckingstub__d2f3884df6574dd3d4e76d857acf05a15fdc616d818da1cebcfcce408
|
|
|
10541
10659
|
operating_system: typing.Optional[builtins.str] = None,
|
|
10542
10660
|
server_sdk_version: typing.Optional[builtins.str] = None,
|
|
10543
10661
|
storage_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBuild.StorageLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10662
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10544
10663
|
version: typing.Optional[builtins.str] = None,
|
|
10545
10664
|
) -> None:
|
|
10546
10665
|
"""Type checking stubs"""
|
|
@@ -10582,6 +10701,12 @@ def _typecheckingstub__fdd3e9ea10aa8547b05a398258efac5d3e786e68d7875c76104c89d2a
|
|
|
10582
10701
|
"""Type checking stubs"""
|
|
10583
10702
|
pass
|
|
10584
10703
|
|
|
10704
|
+
def _typecheckingstub__61f5c317acb9e4d0abf34641df15710032d796e858c0b0962748ce1d84bf6d9d(
|
|
10705
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
10706
|
+
) -> None:
|
|
10707
|
+
"""Type checking stubs"""
|
|
10708
|
+
pass
|
|
10709
|
+
|
|
10585
10710
|
def _typecheckingstub__3f69e6e764a220fcdeac2ac30cce1d3fbf57e0ef02b497976b1bb0e8162a6a67(
|
|
10586
10711
|
value: typing.Optional[builtins.str],
|
|
10587
10712
|
) -> None:
|
|
@@ -10604,6 +10729,7 @@ def _typecheckingstub__4ea486b468f726c96f63f78347aac31445ce3b0bd1ea282f6fce30ca4
|
|
|
10604
10729
|
operating_system: typing.Optional[builtins.str] = None,
|
|
10605
10730
|
server_sdk_version: typing.Optional[builtins.str] = None,
|
|
10606
10731
|
storage_location: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnBuild.StorageLocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10732
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
10607
10733
|
version: typing.Optional[builtins.str] = None,
|
|
10608
10734
|
) -> None:
|
|
10609
10735
|
"""Type checking stubs"""
|
|
@@ -1881,7 +1881,7 @@ class CfnDataflowEndpointGroup(
|
|
|
1881
1881
|
'''
|
|
1882
1882
|
:param scope: Scope in which this resource is defined.
|
|
1883
1883
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
1884
|
-
:param endpoint_details: List of Endpoint Details, containing address and port for each endpoint.
|
|
1884
|
+
:param endpoint_details: List of Endpoint Details, containing address and port for each endpoint. All dataflow endpoints within a single dataflow endpoint group must be of the same type. You cannot mix AWS Ground Station Agent endpoints with Dataflow endpoints in the same group. If your use case requires both types of endpoints, you must create separate dataflow endpoint groups for each type.
|
|
1885
1885
|
:param contact_post_pass_duration_seconds: Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a ``POSTPASS`` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the ``POSTPASS`` state.
|
|
1886
1886
|
:param contact_pre_pass_duration_seconds: Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a ``PREPASS`` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the ``PREPASS`` state.
|
|
1887
1887
|
:param tags: Tags assigned to a resource.
|
|
@@ -2865,7 +2865,7 @@ class CfnDataflowEndpointGroupProps:
|
|
|
2865
2865
|
) -> None:
|
|
2866
2866
|
'''Properties for defining a ``CfnDataflowEndpointGroup``.
|
|
2867
2867
|
|
|
2868
|
-
:param endpoint_details: List of Endpoint Details, containing address and port for each endpoint.
|
|
2868
|
+
:param endpoint_details: List of Endpoint Details, containing address and port for each endpoint. All dataflow endpoints within a single dataflow endpoint group must be of the same type. You cannot mix AWS Ground Station Agent endpoints with Dataflow endpoints in the same group. If your use case requires both types of endpoints, you must create separate dataflow endpoint groups for each type.
|
|
2869
2869
|
:param contact_post_pass_duration_seconds: Amount of time, in seconds, after a contact ends that the Ground Station Dataflow Endpoint Group will be in a ``POSTPASS`` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the ``POSTPASS`` state.
|
|
2870
2870
|
:param contact_pre_pass_duration_seconds: Amount of time, in seconds, before a contact starts that the Ground Station Dataflow Endpoint Group will be in a ``PREPASS`` state. A Ground Station Dataflow Endpoint Group State Change event will be emitted when the Dataflow Endpoint Group enters and exits the ``PREPASS`` state.
|
|
2871
2871
|
:param tags: Tags assigned to a resource.
|
|
@@ -2949,6 +2949,8 @@ class CfnDataflowEndpointGroupProps:
|
|
|
2949
2949
|
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDataflowEndpointGroup.EndpointDetailsProperty]]]:
|
|
2950
2950
|
'''List of Endpoint Details, containing address and port for each endpoint.
|
|
2951
2951
|
|
|
2952
|
+
All dataflow endpoints within a single dataflow endpoint group must be of the same type. You cannot mix AWS Ground Station Agent endpoints with Dataflow endpoints in the same group. If your use case requires both types of endpoints, you must create separate dataflow endpoint groups for each type.
|
|
2953
|
+
|
|
2952
2954
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-groundstation-dataflowendpointgroup.html#cfn-groundstation-dataflowendpointgroup-endpointdetails
|
|
2953
2955
|
'''
|
|
2954
2956
|
result = self._values.get("endpoint_details")
|
|
@@ -297,9 +297,13 @@ class CfnKey(
|
|
|
297
297
|
|
|
298
298
|
In addition to the key material used in cryptographic operations, an AWS Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state.
|
|
299
299
|
|
|
300
|
-
When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that define the scope and cryptographic operations that you can perform using the key, for example key class (example: ``SYMMETRIC_KEY`` ), key algorithm (example: ``TDES_2KEY`` ), key usage (example: ``TR31_P0_PIN_ENCRYPTION_KEY`` ) and key modes of use (example: ``Encrypt`` ).
|
|
300
|
+
When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that define the scope and cryptographic operations that you can perform using the key, for example key class (example: ``SYMMETRIC_KEY`` ), key algorithm (example: ``TDES_2KEY`` ), key usage (example: ``TR31_P0_PIN_ENCRYPTION_KEY`` ) and key modes of use (example: ``Encrypt`` ). AWS Payment Cryptography binds key attributes to keys using key blocks when you store or export them. AWS Payment Cryptography stores the key contents wrapped and never stores or transmits them in the clear.
|
|
301
301
|
|
|
302
|
-
|
|
302
|
+
For information about valid combinations of key attributes, see `Understanding key attributes <https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html>`_ in the *AWS Payment Cryptography User Guide* . The mutable data contained within a key includes usage timestamp and key deletion timestamp and can be modified after creation.
|
|
303
|
+
|
|
304
|
+
You can use the ``CreateKey`` operation to generate an ECC (Elliptic Curve Cryptography) key pair used for establishing an ECDH (Elliptic Curve Diffie-Hellman) key agreement between two parties. In the ECDH key agreement process, both parties generate their own ECC key pair with key usage K3 and exchange the public keys. Each party then use their private key, the received public key from the other party, and the key derivation parameters including key derivation function, hash algorithm, derivation data, and key algorithm to derive a shared key.
|
|
305
|
+
|
|
306
|
+
To maintain the single-use principle of cryptographic keys in payments, ECDH derived keys should not be used for multiple purposes, such as a ``TR31_P0_PIN_ENCRYPTION_KEY`` and ``TR31_K1_KEY_BLOCK_PROTECTION_KEY`` . When creating ECC key pairs in AWS Payment Cryptography you can optionally set the ``DeriveKeyUsage`` parameter, which defines the key usage bound to the symmetric key that will be derived using the ECC key pair.
|
|
303
307
|
|
|
304
308
|
*Cross-account use* : This operation can't be used across different AWS accounts.
|
|
305
309
|
|