aws-cdk-lib 2.181.1__py3-none-any.whl → 2.183.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 (69) hide show
  1. aws_cdk/__init__.py +751 -41
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.183.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +638 -14
  10. aws_cdk/aws_bedrock/__init__.py +6009 -2326
  11. aws_cdk/aws_ce/__init__.py +141 -3
  12. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  13. aws_cdk/aws_cloudformation/__init__.py +310 -35
  14. aws_cdk/aws_cloudfront/__init__.py +1 -0
  15. aws_cdk/aws_cloudtrail/__init__.py +8 -8
  16. aws_cdk/aws_codebuild/__init__.py +4 -10
  17. aws_cdk/aws_cognito/__init__.py +3 -3
  18. aws_cdk/aws_datazone/__init__.py +82 -0
  19. aws_cdk/aws_dms/__init__.py +350 -0
  20. aws_cdk/aws_ec2/__init__.py +95 -17
  21. aws_cdk/aws_ecr/__init__.py +10 -4
  22. aws_cdk/aws_ecs/__init__.py +58 -9
  23. aws_cdk/aws_eks/__init__.py +32 -3
  24. aws_cdk/aws_elasticache/__init__.py +3 -3
  25. aws_cdk/aws_emr/__init__.py +9 -3
  26. aws_cdk/aws_fsx/__init__.py +2 -0
  27. aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
  28. aws_cdk/aws_guardduty/__init__.py +38 -26
  29. aws_cdk/aws_iam/__init__.py +295 -37
  30. aws_cdk/aws_inspector/__init__.py +180 -1
  31. aws_cdk/aws_iot/__init__.py +616 -22
  32. aws_cdk/aws_iotfleetwise/__init__.py +72 -10
  33. aws_cdk/aws_iotsitewise/__init__.py +14 -11
  34. aws_cdk/aws_kafkaconnect/__init__.py +4 -2
  35. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  36. aws_cdk/aws_lambda/__init__.py +17 -0
  37. aws_cdk/aws_logs/__init__.py +135 -0
  38. aws_cdk/aws_medialive/__init__.py +86 -86
  39. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  40. aws_cdk/aws_msk/__init__.py +236 -128
  41. aws_cdk/aws_neptunegraph/__init__.py +3 -3
  42. aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
  43. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  44. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  45. aws_cdk/aws_pipes/__init__.py +6 -2
  46. aws_cdk/aws_quicksight/__init__.py +6712 -20758
  47. aws_cdk/aws_rds/__init__.py +174 -30
  48. aws_cdk/aws_redshift/__init__.py +8 -8
  49. aws_cdk/aws_s3/__init__.py +8 -0
  50. aws_cdk/aws_sagemaker/__init__.py +80 -18
  51. aws_cdk/aws_securitylake/__init__.py +3 -0
  52. aws_cdk/aws_sns/__init__.py +76 -1
  53. aws_cdk/aws_synthetics/__init__.py +2 -0
  54. aws_cdk/aws_transfer/__init__.py +241 -40
  55. aws_cdk/aws_vpclattice/__init__.py +144 -9
  56. aws_cdk/aws_wafv2/__init__.py +790 -0
  57. aws_cdk/aws_wisdom/__init__.py +3 -110
  58. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  59. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  60. aws_cdk/aws_xray/__init__.py +195 -0
  61. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  62. aws_cdk/custom_resources/__init__.py +65 -8
  63. aws_cdk/cx_api/__init__.py +2 -1
  64. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/METADATA +2 -2
  65. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/RECORD +69 -68
  66. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.183.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1205 @@
1
+ r'''
2
+ # AWS::GameLiftStreams Construct Library
3
+
4
+ <!--BEGIN STABILITY BANNER-->---
5
+
6
+
7
+ ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
8
+
9
+ > All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
10
+
11
+ ---
12
+ <!--END STABILITY BANNER-->
13
+
14
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
15
+
16
+ ```python
17
+ import aws_cdk.aws_gameliftstreams as gameliftstreams
18
+ ```
19
+
20
+ <!--BEGIN CFNONLY DISCLAIMER-->
21
+
22
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
23
+
24
+ * Search [Construct Hub for GameLiftStreams construct libraries](https://constructs.dev/search?q=gameliftstreams)
25
+ * Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::GameLiftStreams resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_GameLiftStreams.html) directly.
26
+
27
+ <!--BEGIN CFNONLY DISCLAIMER-->
28
+
29
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
30
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
31
+
32
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::GameLiftStreams](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_GameLiftStreams.html).
33
+
34
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
35
+
36
+ <!--END CFNONLY DISCLAIMER-->
37
+ '''
38
+ from pkgutil import extend_path
39
+ __path__ = extend_path(__path__, __name__)
40
+
41
+ import abc
42
+ import builtins
43
+ import datetime
44
+ import enum
45
+ import typing
46
+
47
+ import jsii
48
+ import publication
49
+ import typing_extensions
50
+
51
+ import typeguard
52
+ from importlib.metadata import version as _metadata_package_version
53
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
54
+
55
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
56
+ if TYPEGUARD_MAJOR_VERSION <= 2:
57
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
58
+ else:
59
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
60
+ pass
61
+ else:
62
+ if TYPEGUARD_MAJOR_VERSION == 3:
63
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
64
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
65
+ else:
66
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
67
+
68
+ from .._jsii import *
69
+
70
+ import constructs as _constructs_77d1e7e8
71
+ from .. import (
72
+ CfnResource as _CfnResource_9df397a6,
73
+ IInspectable as _IInspectable_c2943556,
74
+ IResolvable as _IResolvable_da3f097b,
75
+ ITaggableV2 as _ITaggableV2_4e6798f8,
76
+ TagManager as _TagManager_0a598cb3,
77
+ TreeInspector as _TreeInspector_488e0dd5,
78
+ )
79
+
80
+
81
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
82
+ class CfnApplication(
83
+ _CfnResource_9df397a6,
84
+ metaclass=jsii.JSIIMeta,
85
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnApplication",
86
+ ):
87
+ '''Definition of AWS::GameLiftStreams::Application Resource Type.
88
+
89
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html
90
+ :cloudformationResource: AWS::GameLiftStreams::Application
91
+ :exampleMetadata: fixture=_generated
92
+
93
+ Example::
94
+
95
+ # The code below shows an example of how to instantiate this type.
96
+ # The values are placeholders you should change.
97
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
98
+
99
+ cfn_application = gameliftstreams.CfnApplication(self, "MyCfnApplication",
100
+ application_source_uri="applicationSourceUri",
101
+ description="description",
102
+ executable_path="executablePath",
103
+ runtime_environment=gameliftstreams.CfnApplication.RuntimeEnvironmentProperty(
104
+ type="type",
105
+ version="version"
106
+ ),
107
+
108
+ # the properties below are optional
109
+ application_log_output_uri="applicationLogOutputUri",
110
+ application_log_paths=["applicationLogPaths"],
111
+ tags={
112
+ "tags_key": "tags"
113
+ }
114
+ )
115
+ '''
116
+
117
+ def __init__(
118
+ self,
119
+ scope: _constructs_77d1e7e8.Construct,
120
+ id: builtins.str,
121
+ *,
122
+ application_source_uri: builtins.str,
123
+ description: builtins.str,
124
+ executable_path: builtins.str,
125
+ runtime_environment: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.RuntimeEnvironmentProperty", typing.Dict[builtins.str, typing.Any]]],
126
+ application_log_output_uri: typing.Optional[builtins.str] = None,
127
+ application_log_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
128
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
129
+ ) -> None:
130
+ '''
131
+ :param scope: Scope in which this resource is defined.
132
+ :param id: Construct identifier for this resource (unique in its scope).
133
+ :param application_source_uri:
134
+ :param description:
135
+ :param executable_path:
136
+ :param runtime_environment:
137
+ :param application_log_output_uri:
138
+ :param application_log_paths:
139
+ :param tags:
140
+ '''
141
+ if __debug__:
142
+ type_hints = typing.get_type_hints(_typecheckingstub__98acfa7b89cf716a7d04ae3a442e9ce27afcc5fb822ef47ddf9f1d824dffcb57)
143
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
144
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
145
+ props = CfnApplicationProps(
146
+ application_source_uri=application_source_uri,
147
+ description=description,
148
+ executable_path=executable_path,
149
+ runtime_environment=runtime_environment,
150
+ application_log_output_uri=application_log_output_uri,
151
+ application_log_paths=application_log_paths,
152
+ tags=tags,
153
+ )
154
+
155
+ jsii.create(self.__class__, self, [scope, id, props])
156
+
157
+ @jsii.member(jsii_name="inspect")
158
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
159
+ '''Examines the CloudFormation resource and discloses attributes.
160
+
161
+ :param inspector: tree inspector to collect and process attributes.
162
+ '''
163
+ if __debug__:
164
+ type_hints = typing.get_type_hints(_typecheckingstub__2d76bc5828ad9405857a447dd5e09d353f094e8dace57a54f0cf310c8491cdf2)
165
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
166
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
167
+
168
+ @jsii.member(jsii_name="renderProperties")
169
+ def _render_properties(
170
+ self,
171
+ props: typing.Mapping[builtins.str, typing.Any],
172
+ ) -> typing.Mapping[builtins.str, typing.Any]:
173
+ '''
174
+ :param props: -
175
+ '''
176
+ if __debug__:
177
+ type_hints = typing.get_type_hints(_typecheckingstub__50c31bcf353c2c84c0618a01ad12939bc1543325af7012c982b33b3805174c1c)
178
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
179
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
180
+
181
+ @jsii.python.classproperty
182
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
183
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
184
+ '''The CloudFormation resource type name for this resource class.'''
185
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
186
+
187
+ @builtins.property
188
+ @jsii.member(jsii_name="attrArn")
189
+ def attr_arn(self) -> builtins.str:
190
+ '''
191
+ :cloudformationAttribute: Arn
192
+ '''
193
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
194
+
195
+ @builtins.property
196
+ @jsii.member(jsii_name="attrId")
197
+ def attr_id(self) -> builtins.str:
198
+ '''
199
+ :cloudformationAttribute: Id
200
+ '''
201
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
202
+
203
+ @builtins.property
204
+ @jsii.member(jsii_name="cdkTagManager")
205
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
206
+ '''Tag Manager which manages the tags for this resource.'''
207
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
208
+
209
+ @builtins.property
210
+ @jsii.member(jsii_name="cfnProperties")
211
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
212
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
213
+
214
+ @builtins.property
215
+ @jsii.member(jsii_name="applicationSourceUri")
216
+ def application_source_uri(self) -> builtins.str:
217
+ return typing.cast(builtins.str, jsii.get(self, "applicationSourceUri"))
218
+
219
+ @application_source_uri.setter
220
+ def application_source_uri(self, value: builtins.str) -> None:
221
+ if __debug__:
222
+ type_hints = typing.get_type_hints(_typecheckingstub__1879374230d6341862d7d814f31258e5fa681d1bb031c6cda6c5b47607c67d17)
223
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
224
+ jsii.set(self, "applicationSourceUri", value) # pyright: ignore[reportArgumentType]
225
+
226
+ @builtins.property
227
+ @jsii.member(jsii_name="description")
228
+ def description(self) -> builtins.str:
229
+ return typing.cast(builtins.str, jsii.get(self, "description"))
230
+
231
+ @description.setter
232
+ def description(self, value: builtins.str) -> None:
233
+ if __debug__:
234
+ type_hints = typing.get_type_hints(_typecheckingstub__8714b4b46e3aca8a02e428c362995e23942e3b680d88f693386d95f4351f36e6)
235
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
236
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
237
+
238
+ @builtins.property
239
+ @jsii.member(jsii_name="executablePath")
240
+ def executable_path(self) -> builtins.str:
241
+ return typing.cast(builtins.str, jsii.get(self, "executablePath"))
242
+
243
+ @executable_path.setter
244
+ def executable_path(self, value: builtins.str) -> None:
245
+ if __debug__:
246
+ type_hints = typing.get_type_hints(_typecheckingstub__31e9a9acdd861e63cdd99c001364a9e3ba706bbf503797c4fd9ac585c1f76a0c)
247
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
248
+ jsii.set(self, "executablePath", value) # pyright: ignore[reportArgumentType]
249
+
250
+ @builtins.property
251
+ @jsii.member(jsii_name="runtimeEnvironment")
252
+ def runtime_environment(
253
+ self,
254
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnApplication.RuntimeEnvironmentProperty"]:
255
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApplication.RuntimeEnvironmentProperty"], jsii.get(self, "runtimeEnvironment"))
256
+
257
+ @runtime_environment.setter
258
+ def runtime_environment(
259
+ self,
260
+ value: typing.Union[_IResolvable_da3f097b, "CfnApplication.RuntimeEnvironmentProperty"],
261
+ ) -> None:
262
+ if __debug__:
263
+ type_hints = typing.get_type_hints(_typecheckingstub__99f6582f76f3c6a11837e068e6e72ca864955b2789dca17c695fab2bad3ca516)
264
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
265
+ jsii.set(self, "runtimeEnvironment", value) # pyright: ignore[reportArgumentType]
266
+
267
+ @builtins.property
268
+ @jsii.member(jsii_name="applicationLogOutputUri")
269
+ def application_log_output_uri(self) -> typing.Optional[builtins.str]:
270
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "applicationLogOutputUri"))
271
+
272
+ @application_log_output_uri.setter
273
+ def application_log_output_uri(self, value: typing.Optional[builtins.str]) -> None:
274
+ if __debug__:
275
+ type_hints = typing.get_type_hints(_typecheckingstub__3fd55d29c5f92dec6b4e922ca4c78d4fbe17f68d92c455f0fe391ec69b4687c9)
276
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
277
+ jsii.set(self, "applicationLogOutputUri", value) # pyright: ignore[reportArgumentType]
278
+
279
+ @builtins.property
280
+ @jsii.member(jsii_name="applicationLogPaths")
281
+ def application_log_paths(self) -> typing.Optional[typing.List[builtins.str]]:
282
+ return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "applicationLogPaths"))
283
+
284
+ @application_log_paths.setter
285
+ def application_log_paths(
286
+ self,
287
+ value: typing.Optional[typing.List[builtins.str]],
288
+ ) -> None:
289
+ if __debug__:
290
+ type_hints = typing.get_type_hints(_typecheckingstub__b132398da4b4570c9a85ae72bf79d405aa40a1c75f2961f628de9d9b1224e0eb)
291
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
292
+ jsii.set(self, "applicationLogPaths", value) # pyright: ignore[reportArgumentType]
293
+
294
+ @builtins.property
295
+ @jsii.member(jsii_name="tags")
296
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
297
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
298
+
299
+ @tags.setter
300
+ def tags(
301
+ self,
302
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
303
+ ) -> None:
304
+ if __debug__:
305
+ type_hints = typing.get_type_hints(_typecheckingstub__d7a1896b47cdd07eb41b16d50651877cd16a2b19eb7ee93b0abc4e48422f849f)
306
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
307
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
308
+
309
+ @jsii.data_type(
310
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnApplication.RuntimeEnvironmentProperty",
311
+ jsii_struct_bases=[],
312
+ name_mapping={"type": "type", "version": "version"},
313
+ )
314
+ class RuntimeEnvironmentProperty:
315
+ def __init__(self, *, type: builtins.str, version: builtins.str) -> None:
316
+ '''
317
+ :param type:
318
+ :param version:
319
+
320
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-application-runtimeenvironment.html
321
+ :exampleMetadata: fixture=_generated
322
+
323
+ Example::
324
+
325
+ # The code below shows an example of how to instantiate this type.
326
+ # The values are placeholders you should change.
327
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
328
+
329
+ runtime_environment_property = gameliftstreams.CfnApplication.RuntimeEnvironmentProperty(
330
+ type="type",
331
+ version="version"
332
+ )
333
+ '''
334
+ if __debug__:
335
+ type_hints = typing.get_type_hints(_typecheckingstub__36db25239f5829e6be78b8afc94eb689056b154e144d17ae679806f522900e44)
336
+ check_type(argname="argument type", value=type, expected_type=type_hints["type"])
337
+ check_type(argname="argument version", value=version, expected_type=type_hints["version"])
338
+ self._values: typing.Dict[builtins.str, typing.Any] = {
339
+ "type": type,
340
+ "version": version,
341
+ }
342
+
343
+ @builtins.property
344
+ def type(self) -> builtins.str:
345
+ '''
346
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-application-runtimeenvironment.html#cfn-gameliftstreams-application-runtimeenvironment-type
347
+ '''
348
+ result = self._values.get("type")
349
+ assert result is not None, "Required property 'type' is missing"
350
+ return typing.cast(builtins.str, result)
351
+
352
+ @builtins.property
353
+ def version(self) -> builtins.str:
354
+ '''
355
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-application-runtimeenvironment.html#cfn-gameliftstreams-application-runtimeenvironment-version
356
+ '''
357
+ result = self._values.get("version")
358
+ assert result is not None, "Required property 'version' is missing"
359
+ return typing.cast(builtins.str, result)
360
+
361
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
362
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
363
+
364
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
365
+ return not (rhs == self)
366
+
367
+ def __repr__(self) -> str:
368
+ return "RuntimeEnvironmentProperty(%s)" % ", ".join(
369
+ k + "=" + repr(v) for k, v in self._values.items()
370
+ )
371
+
372
+
373
+ @jsii.data_type(
374
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnApplicationProps",
375
+ jsii_struct_bases=[],
376
+ name_mapping={
377
+ "application_source_uri": "applicationSourceUri",
378
+ "description": "description",
379
+ "executable_path": "executablePath",
380
+ "runtime_environment": "runtimeEnvironment",
381
+ "application_log_output_uri": "applicationLogOutputUri",
382
+ "application_log_paths": "applicationLogPaths",
383
+ "tags": "tags",
384
+ },
385
+ )
386
+ class CfnApplicationProps:
387
+ def __init__(
388
+ self,
389
+ *,
390
+ application_source_uri: builtins.str,
391
+ description: builtins.str,
392
+ executable_path: builtins.str,
393
+ runtime_environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.RuntimeEnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
394
+ application_log_output_uri: typing.Optional[builtins.str] = None,
395
+ application_log_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
396
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
397
+ ) -> None:
398
+ '''Properties for defining a ``CfnApplication``.
399
+
400
+ :param application_source_uri:
401
+ :param description:
402
+ :param executable_path:
403
+ :param runtime_environment:
404
+ :param application_log_output_uri:
405
+ :param application_log_paths:
406
+ :param tags:
407
+
408
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html
409
+ :exampleMetadata: fixture=_generated
410
+
411
+ Example::
412
+
413
+ # The code below shows an example of how to instantiate this type.
414
+ # The values are placeholders you should change.
415
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
416
+
417
+ cfn_application_props = gameliftstreams.CfnApplicationProps(
418
+ application_source_uri="applicationSourceUri",
419
+ description="description",
420
+ executable_path="executablePath",
421
+ runtime_environment=gameliftstreams.CfnApplication.RuntimeEnvironmentProperty(
422
+ type="type",
423
+ version="version"
424
+ ),
425
+
426
+ # the properties below are optional
427
+ application_log_output_uri="applicationLogOutputUri",
428
+ application_log_paths=["applicationLogPaths"],
429
+ tags={
430
+ "tags_key": "tags"
431
+ }
432
+ )
433
+ '''
434
+ if __debug__:
435
+ type_hints = typing.get_type_hints(_typecheckingstub__cf559d648da5bcc6d426f2fa9d64617eba1c68df0cd94a3f9e4e8e5996e805e4)
436
+ check_type(argname="argument application_source_uri", value=application_source_uri, expected_type=type_hints["application_source_uri"])
437
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
438
+ check_type(argname="argument executable_path", value=executable_path, expected_type=type_hints["executable_path"])
439
+ check_type(argname="argument runtime_environment", value=runtime_environment, expected_type=type_hints["runtime_environment"])
440
+ check_type(argname="argument application_log_output_uri", value=application_log_output_uri, expected_type=type_hints["application_log_output_uri"])
441
+ check_type(argname="argument application_log_paths", value=application_log_paths, expected_type=type_hints["application_log_paths"])
442
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
443
+ self._values: typing.Dict[builtins.str, typing.Any] = {
444
+ "application_source_uri": application_source_uri,
445
+ "description": description,
446
+ "executable_path": executable_path,
447
+ "runtime_environment": runtime_environment,
448
+ }
449
+ if application_log_output_uri is not None:
450
+ self._values["application_log_output_uri"] = application_log_output_uri
451
+ if application_log_paths is not None:
452
+ self._values["application_log_paths"] = application_log_paths
453
+ if tags is not None:
454
+ self._values["tags"] = tags
455
+
456
+ @builtins.property
457
+ def application_source_uri(self) -> builtins.str:
458
+ '''
459
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-applicationsourceuri
460
+ '''
461
+ result = self._values.get("application_source_uri")
462
+ assert result is not None, "Required property 'application_source_uri' is missing"
463
+ return typing.cast(builtins.str, result)
464
+
465
+ @builtins.property
466
+ def description(self) -> builtins.str:
467
+ '''
468
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-description
469
+ '''
470
+ result = self._values.get("description")
471
+ assert result is not None, "Required property 'description' is missing"
472
+ return typing.cast(builtins.str, result)
473
+
474
+ @builtins.property
475
+ def executable_path(self) -> builtins.str:
476
+ '''
477
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-executablepath
478
+ '''
479
+ result = self._values.get("executable_path")
480
+ assert result is not None, "Required property 'executable_path' is missing"
481
+ return typing.cast(builtins.str, result)
482
+
483
+ @builtins.property
484
+ def runtime_environment(
485
+ self,
486
+ ) -> typing.Union[_IResolvable_da3f097b, CfnApplication.RuntimeEnvironmentProperty]:
487
+ '''
488
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-runtimeenvironment
489
+ '''
490
+ result = self._values.get("runtime_environment")
491
+ assert result is not None, "Required property 'runtime_environment' is missing"
492
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnApplication.RuntimeEnvironmentProperty], result)
493
+
494
+ @builtins.property
495
+ def application_log_output_uri(self) -> typing.Optional[builtins.str]:
496
+ '''
497
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-applicationlogoutputuri
498
+ '''
499
+ result = self._values.get("application_log_output_uri")
500
+ return typing.cast(typing.Optional[builtins.str], result)
501
+
502
+ @builtins.property
503
+ def application_log_paths(self) -> typing.Optional[typing.List[builtins.str]]:
504
+ '''
505
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-applicationlogpaths
506
+ '''
507
+ result = self._values.get("application_log_paths")
508
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
509
+
510
+ @builtins.property
511
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
512
+ '''
513
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-application.html#cfn-gameliftstreams-application-tags
514
+ '''
515
+ result = self._values.get("tags")
516
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
517
+
518
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
519
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
520
+
521
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
522
+ return not (rhs == self)
523
+
524
+ def __repr__(self) -> str:
525
+ return "CfnApplicationProps(%s)" % ", ".join(
526
+ k + "=" + repr(v) for k, v in self._values.items()
527
+ )
528
+
529
+
530
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
531
+ class CfnStreamGroup(
532
+ _CfnResource_9df397a6,
533
+ metaclass=jsii.JSIIMeta,
534
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnStreamGroup",
535
+ ):
536
+ '''Definition of AWS::GameLiftStreams::StreamGroup Resource Type.
537
+
538
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html
539
+ :cloudformationResource: AWS::GameLiftStreams::StreamGroup
540
+ :exampleMetadata: fixture=_generated
541
+
542
+ Example::
543
+
544
+ # The code below shows an example of how to instantiate this type.
545
+ # The values are placeholders you should change.
546
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
547
+
548
+ cfn_stream_group = gameliftstreams.CfnStreamGroup(self, "MyCfnStreamGroup",
549
+ description="description",
550
+ location_configurations=[gameliftstreams.CfnStreamGroup.LocationConfigurationProperty(
551
+ location_name="locationName",
552
+
553
+ # the properties below are optional
554
+ always_on_capacity=123,
555
+ on_demand_capacity=123
556
+ )],
557
+ stream_class="streamClass",
558
+
559
+ # the properties below are optional
560
+ default_application=gameliftstreams.CfnStreamGroup.DefaultApplicationProperty(
561
+ arn="arn",
562
+ id="id"
563
+ ),
564
+ tags={
565
+ "tags_key": "tags"
566
+ }
567
+ )
568
+ '''
569
+
570
+ def __init__(
571
+ self,
572
+ scope: _constructs_77d1e7e8.Construct,
573
+ id: builtins.str,
574
+ *,
575
+ description: builtins.str,
576
+ location_configurations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStreamGroup.LocationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]],
577
+ stream_class: builtins.str,
578
+ default_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnStreamGroup.DefaultApplicationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
579
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
580
+ ) -> None:
581
+ '''
582
+ :param scope: Scope in which this resource is defined.
583
+ :param id: Construct identifier for this resource (unique in its scope).
584
+ :param description:
585
+ :param location_configurations:
586
+ :param stream_class:
587
+ :param default_application:
588
+ :param tags:
589
+ '''
590
+ if __debug__:
591
+ type_hints = typing.get_type_hints(_typecheckingstub__79f0f973b06de7ae1a48df1df69579c9c8dfd0885945a959686fdddf31cc2674)
592
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
593
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
594
+ props = CfnStreamGroupProps(
595
+ description=description,
596
+ location_configurations=location_configurations,
597
+ stream_class=stream_class,
598
+ default_application=default_application,
599
+ tags=tags,
600
+ )
601
+
602
+ jsii.create(self.__class__, self, [scope, id, props])
603
+
604
+ @jsii.member(jsii_name="inspect")
605
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
606
+ '''Examines the CloudFormation resource and discloses attributes.
607
+
608
+ :param inspector: tree inspector to collect and process attributes.
609
+ '''
610
+ if __debug__:
611
+ type_hints = typing.get_type_hints(_typecheckingstub__cb56536ce44817c859b61b163e409d7355fcd5587161451f9e349b151919e117)
612
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
613
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
614
+
615
+ @jsii.member(jsii_name="renderProperties")
616
+ def _render_properties(
617
+ self,
618
+ props: typing.Mapping[builtins.str, typing.Any],
619
+ ) -> typing.Mapping[builtins.str, typing.Any]:
620
+ '''
621
+ :param props: -
622
+ '''
623
+ if __debug__:
624
+ type_hints = typing.get_type_hints(_typecheckingstub__e452216970f4fb3ed8f8671a8e3d85dc54c1eb595b151c7880df187fd3ffc5e1)
625
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
626
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
627
+
628
+ @jsii.python.classproperty
629
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
630
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
631
+ '''The CloudFormation resource type name for this resource class.'''
632
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
633
+
634
+ @builtins.property
635
+ @jsii.member(jsii_name="attrArn")
636
+ def attr_arn(self) -> builtins.str:
637
+ '''
638
+ :cloudformationAttribute: Arn
639
+ '''
640
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
641
+
642
+ @builtins.property
643
+ @jsii.member(jsii_name="attrId")
644
+ def attr_id(self) -> builtins.str:
645
+ '''
646
+ :cloudformationAttribute: Id
647
+ '''
648
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
649
+
650
+ @builtins.property
651
+ @jsii.member(jsii_name="cdkTagManager")
652
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
653
+ '''Tag Manager which manages the tags for this resource.'''
654
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
655
+
656
+ @builtins.property
657
+ @jsii.member(jsii_name="cfnProperties")
658
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
659
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
660
+
661
+ @builtins.property
662
+ @jsii.member(jsii_name="description")
663
+ def description(self) -> builtins.str:
664
+ return typing.cast(builtins.str, jsii.get(self, "description"))
665
+
666
+ @description.setter
667
+ def description(self, value: builtins.str) -> None:
668
+ if __debug__:
669
+ type_hints = typing.get_type_hints(_typecheckingstub__be883277b66b56e75f860926d2ccdff02bbe3ad4484bdf975afaa283e57056d4)
670
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
671
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
672
+
673
+ @builtins.property
674
+ @jsii.member(jsii_name="locationConfigurations")
675
+ def location_configurations(
676
+ self,
677
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.LocationConfigurationProperty"]]]:
678
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.LocationConfigurationProperty"]]], jsii.get(self, "locationConfigurations"))
679
+
680
+ @location_configurations.setter
681
+ def location_configurations(
682
+ self,
683
+ value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.LocationConfigurationProperty"]]],
684
+ ) -> None:
685
+ if __debug__:
686
+ type_hints = typing.get_type_hints(_typecheckingstub__5dce7069bc18c5adbe92459796919490fb80e38f9a3fe455b779e19b0b30da98)
687
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
688
+ jsii.set(self, "locationConfigurations", value) # pyright: ignore[reportArgumentType]
689
+
690
+ @builtins.property
691
+ @jsii.member(jsii_name="streamClass")
692
+ def stream_class(self) -> builtins.str:
693
+ return typing.cast(builtins.str, jsii.get(self, "streamClass"))
694
+
695
+ @stream_class.setter
696
+ def stream_class(self, value: builtins.str) -> None:
697
+ if __debug__:
698
+ type_hints = typing.get_type_hints(_typecheckingstub__936ee9ce8407944010c50c15e2b4554c116b1f3d52c2407d116cc9635a8f1cef)
699
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
700
+ jsii.set(self, "streamClass", value) # pyright: ignore[reportArgumentType]
701
+
702
+ @builtins.property
703
+ @jsii.member(jsii_name="defaultApplication")
704
+ def default_application(
705
+ self,
706
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.DefaultApplicationProperty"]]:
707
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.DefaultApplicationProperty"]], jsii.get(self, "defaultApplication"))
708
+
709
+ @default_application.setter
710
+ def default_application(
711
+ self,
712
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnStreamGroup.DefaultApplicationProperty"]],
713
+ ) -> None:
714
+ if __debug__:
715
+ type_hints = typing.get_type_hints(_typecheckingstub__4aa4ce53af802ec6bb329423326bcefed0b20e44bbe786ff2d23e1de4a242ec9)
716
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
717
+ jsii.set(self, "defaultApplication", value) # pyright: ignore[reportArgumentType]
718
+
719
+ @builtins.property
720
+ @jsii.member(jsii_name="tags")
721
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
722
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], jsii.get(self, "tags"))
723
+
724
+ @tags.setter
725
+ def tags(
726
+ self,
727
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
728
+ ) -> None:
729
+ if __debug__:
730
+ type_hints = typing.get_type_hints(_typecheckingstub__491f8e30ff0958f00c4865b688648d82e82269ac2cd26ab478fe4579914e9c64)
731
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
732
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
733
+
734
+ @jsii.data_type(
735
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnStreamGroup.DefaultApplicationProperty",
736
+ jsii_struct_bases=[],
737
+ name_mapping={"arn": "arn", "id": "id"},
738
+ )
739
+ class DefaultApplicationProperty:
740
+ def __init__(
741
+ self,
742
+ *,
743
+ arn: typing.Optional[builtins.str] = None,
744
+ id: typing.Optional[builtins.str] = None,
745
+ ) -> None:
746
+ '''
747
+ :param arn:
748
+ :param id:
749
+
750
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html
751
+ :exampleMetadata: fixture=_generated
752
+
753
+ Example::
754
+
755
+ # The code below shows an example of how to instantiate this type.
756
+ # The values are placeholders you should change.
757
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
758
+
759
+ default_application_property = gameliftstreams.CfnStreamGroup.DefaultApplicationProperty(
760
+ arn="arn",
761
+ id="id"
762
+ )
763
+ '''
764
+ if __debug__:
765
+ type_hints = typing.get_type_hints(_typecheckingstub__c9b2ab7b0a09f30591f6dfe285dd0f1f30dec2efec3678c3961dddd6549f7a49)
766
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
767
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
768
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
769
+ if arn is not None:
770
+ self._values["arn"] = arn
771
+ if id is not None:
772
+ self._values["id"] = id
773
+
774
+ @builtins.property
775
+ def arn(self) -> typing.Optional[builtins.str]:
776
+ '''
777
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html#cfn-gameliftstreams-streamgroup-defaultapplication-arn
778
+ '''
779
+ result = self._values.get("arn")
780
+ return typing.cast(typing.Optional[builtins.str], result)
781
+
782
+ @builtins.property
783
+ def id(self) -> typing.Optional[builtins.str]:
784
+ '''
785
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-defaultapplication.html#cfn-gameliftstreams-streamgroup-defaultapplication-id
786
+ '''
787
+ result = self._values.get("id")
788
+ return typing.cast(typing.Optional[builtins.str], result)
789
+
790
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
791
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
792
+
793
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
794
+ return not (rhs == self)
795
+
796
+ def __repr__(self) -> str:
797
+ return "DefaultApplicationProperty(%s)" % ", ".join(
798
+ k + "=" + repr(v) for k, v in self._values.items()
799
+ )
800
+
801
+ @jsii.data_type(
802
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnStreamGroup.LocationConfigurationProperty",
803
+ jsii_struct_bases=[],
804
+ name_mapping={
805
+ "location_name": "locationName",
806
+ "always_on_capacity": "alwaysOnCapacity",
807
+ "on_demand_capacity": "onDemandCapacity",
808
+ },
809
+ )
810
+ class LocationConfigurationProperty:
811
+ def __init__(
812
+ self,
813
+ *,
814
+ location_name: builtins.str,
815
+ always_on_capacity: typing.Optional[jsii.Number] = None,
816
+ on_demand_capacity: typing.Optional[jsii.Number] = None,
817
+ ) -> None:
818
+ '''
819
+ :param location_name:
820
+ :param always_on_capacity:
821
+ :param on_demand_capacity:
822
+
823
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-locationconfiguration.html
824
+ :exampleMetadata: fixture=_generated
825
+
826
+ Example::
827
+
828
+ # The code below shows an example of how to instantiate this type.
829
+ # The values are placeholders you should change.
830
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
831
+
832
+ location_configuration_property = gameliftstreams.CfnStreamGroup.LocationConfigurationProperty(
833
+ location_name="locationName",
834
+
835
+ # the properties below are optional
836
+ always_on_capacity=123,
837
+ on_demand_capacity=123
838
+ )
839
+ '''
840
+ if __debug__:
841
+ type_hints = typing.get_type_hints(_typecheckingstub__4c32e96242e189f6a75d890a7316a655383684ce9337b4906f2e3b49bec9a86e)
842
+ check_type(argname="argument location_name", value=location_name, expected_type=type_hints["location_name"])
843
+ check_type(argname="argument always_on_capacity", value=always_on_capacity, expected_type=type_hints["always_on_capacity"])
844
+ check_type(argname="argument on_demand_capacity", value=on_demand_capacity, expected_type=type_hints["on_demand_capacity"])
845
+ self._values: typing.Dict[builtins.str, typing.Any] = {
846
+ "location_name": location_name,
847
+ }
848
+ if always_on_capacity is not None:
849
+ self._values["always_on_capacity"] = always_on_capacity
850
+ if on_demand_capacity is not None:
851
+ self._values["on_demand_capacity"] = on_demand_capacity
852
+
853
+ @builtins.property
854
+ def location_name(self) -> builtins.str:
855
+ '''
856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-locationconfiguration.html#cfn-gameliftstreams-streamgroup-locationconfiguration-locationname
857
+ '''
858
+ result = self._values.get("location_name")
859
+ assert result is not None, "Required property 'location_name' is missing"
860
+ return typing.cast(builtins.str, result)
861
+
862
+ @builtins.property
863
+ def always_on_capacity(self) -> typing.Optional[jsii.Number]:
864
+ '''
865
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-locationconfiguration.html#cfn-gameliftstreams-streamgroup-locationconfiguration-alwaysoncapacity
866
+ '''
867
+ result = self._values.get("always_on_capacity")
868
+ return typing.cast(typing.Optional[jsii.Number], result)
869
+
870
+ @builtins.property
871
+ def on_demand_capacity(self) -> typing.Optional[jsii.Number]:
872
+ '''
873
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gameliftstreams-streamgroup-locationconfiguration.html#cfn-gameliftstreams-streamgroup-locationconfiguration-ondemandcapacity
874
+ '''
875
+ result = self._values.get("on_demand_capacity")
876
+ return typing.cast(typing.Optional[jsii.Number], result)
877
+
878
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
879
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
880
+
881
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
882
+ return not (rhs == self)
883
+
884
+ def __repr__(self) -> str:
885
+ return "LocationConfigurationProperty(%s)" % ", ".join(
886
+ k + "=" + repr(v) for k, v in self._values.items()
887
+ )
888
+
889
+
890
+ @jsii.data_type(
891
+ jsii_type="aws-cdk-lib.aws_gameliftstreams.CfnStreamGroupProps",
892
+ jsii_struct_bases=[],
893
+ name_mapping={
894
+ "description": "description",
895
+ "location_configurations": "locationConfigurations",
896
+ "stream_class": "streamClass",
897
+ "default_application": "defaultApplication",
898
+ "tags": "tags",
899
+ },
900
+ )
901
+ class CfnStreamGroupProps:
902
+ def __init__(
903
+ self,
904
+ *,
905
+ description: builtins.str,
906
+ location_configurations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.LocationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
907
+ stream_class: builtins.str,
908
+ default_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.DefaultApplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
909
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
910
+ ) -> None:
911
+ '''Properties for defining a ``CfnStreamGroup``.
912
+
913
+ :param description:
914
+ :param location_configurations:
915
+ :param stream_class:
916
+ :param default_application:
917
+ :param tags:
918
+
919
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html
920
+ :exampleMetadata: fixture=_generated
921
+
922
+ Example::
923
+
924
+ # The code below shows an example of how to instantiate this type.
925
+ # The values are placeholders you should change.
926
+ from aws_cdk import aws_gameliftstreams as gameliftstreams
927
+
928
+ cfn_stream_group_props = gameliftstreams.CfnStreamGroupProps(
929
+ description="description",
930
+ location_configurations=[gameliftstreams.CfnStreamGroup.LocationConfigurationProperty(
931
+ location_name="locationName",
932
+
933
+ # the properties below are optional
934
+ always_on_capacity=123,
935
+ on_demand_capacity=123
936
+ )],
937
+ stream_class="streamClass",
938
+
939
+ # the properties below are optional
940
+ default_application=gameliftstreams.CfnStreamGroup.DefaultApplicationProperty(
941
+ arn="arn",
942
+ id="id"
943
+ ),
944
+ tags={
945
+ "tags_key": "tags"
946
+ }
947
+ )
948
+ '''
949
+ if __debug__:
950
+ type_hints = typing.get_type_hints(_typecheckingstub__2997124a9d44ddc8951fa0effc557b193f10cbfb4e3867a8a2d79ba217b9edc8)
951
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
952
+ check_type(argname="argument location_configurations", value=location_configurations, expected_type=type_hints["location_configurations"])
953
+ check_type(argname="argument stream_class", value=stream_class, expected_type=type_hints["stream_class"])
954
+ check_type(argname="argument default_application", value=default_application, expected_type=type_hints["default_application"])
955
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
956
+ self._values: typing.Dict[builtins.str, typing.Any] = {
957
+ "description": description,
958
+ "location_configurations": location_configurations,
959
+ "stream_class": stream_class,
960
+ }
961
+ if default_application is not None:
962
+ self._values["default_application"] = default_application
963
+ if tags is not None:
964
+ self._values["tags"] = tags
965
+
966
+ @builtins.property
967
+ def description(self) -> builtins.str:
968
+ '''
969
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html#cfn-gameliftstreams-streamgroup-description
970
+ '''
971
+ result = self._values.get("description")
972
+ assert result is not None, "Required property 'description' is missing"
973
+ return typing.cast(builtins.str, result)
974
+
975
+ @builtins.property
976
+ def location_configurations(
977
+ self,
978
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.LocationConfigurationProperty]]]:
979
+ '''
980
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html#cfn-gameliftstreams-streamgroup-locationconfigurations
981
+ '''
982
+ result = self._values.get("location_configurations")
983
+ assert result is not None, "Required property 'location_configurations' is missing"
984
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.LocationConfigurationProperty]]], result)
985
+
986
+ @builtins.property
987
+ def stream_class(self) -> builtins.str:
988
+ '''
989
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html#cfn-gameliftstreams-streamgroup-streamclass
990
+ '''
991
+ result = self._values.get("stream_class")
992
+ assert result is not None, "Required property 'stream_class' is missing"
993
+ return typing.cast(builtins.str, result)
994
+
995
+ @builtins.property
996
+ def default_application(
997
+ self,
998
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.DefaultApplicationProperty]]:
999
+ '''
1000
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html#cfn-gameliftstreams-streamgroup-defaultapplication
1001
+ '''
1002
+ result = self._values.get("default_application")
1003
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.DefaultApplicationProperty]], result)
1004
+
1005
+ @builtins.property
1006
+ def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
1007
+ '''
1008
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gameliftstreams-streamgroup.html#cfn-gameliftstreams-streamgroup-tags
1009
+ '''
1010
+ result = self._values.get("tags")
1011
+ return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
1012
+
1013
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1014
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1015
+
1016
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1017
+ return not (rhs == self)
1018
+
1019
+ def __repr__(self) -> str:
1020
+ return "CfnStreamGroupProps(%s)" % ", ".join(
1021
+ k + "=" + repr(v) for k, v in self._values.items()
1022
+ )
1023
+
1024
+
1025
+ __all__ = [
1026
+ "CfnApplication",
1027
+ "CfnApplicationProps",
1028
+ "CfnStreamGroup",
1029
+ "CfnStreamGroupProps",
1030
+ ]
1031
+
1032
+ publication.publish()
1033
+
1034
+ def _typecheckingstub__98acfa7b89cf716a7d04ae3a442e9ce27afcc5fb822ef47ddf9f1d824dffcb57(
1035
+ scope: _constructs_77d1e7e8.Construct,
1036
+ id: builtins.str,
1037
+ *,
1038
+ application_source_uri: builtins.str,
1039
+ description: builtins.str,
1040
+ executable_path: builtins.str,
1041
+ runtime_environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.RuntimeEnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
1042
+ application_log_output_uri: typing.Optional[builtins.str] = None,
1043
+ application_log_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
1044
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1045
+ ) -> None:
1046
+ """Type checking stubs"""
1047
+ pass
1048
+
1049
+ def _typecheckingstub__2d76bc5828ad9405857a447dd5e09d353f094e8dace57a54f0cf310c8491cdf2(
1050
+ inspector: _TreeInspector_488e0dd5,
1051
+ ) -> None:
1052
+ """Type checking stubs"""
1053
+ pass
1054
+
1055
+ def _typecheckingstub__50c31bcf353c2c84c0618a01ad12939bc1543325af7012c982b33b3805174c1c(
1056
+ props: typing.Mapping[builtins.str, typing.Any],
1057
+ ) -> None:
1058
+ """Type checking stubs"""
1059
+ pass
1060
+
1061
+ def _typecheckingstub__1879374230d6341862d7d814f31258e5fa681d1bb031c6cda6c5b47607c67d17(
1062
+ value: builtins.str,
1063
+ ) -> None:
1064
+ """Type checking stubs"""
1065
+ pass
1066
+
1067
+ def _typecheckingstub__8714b4b46e3aca8a02e428c362995e23942e3b680d88f693386d95f4351f36e6(
1068
+ value: builtins.str,
1069
+ ) -> None:
1070
+ """Type checking stubs"""
1071
+ pass
1072
+
1073
+ def _typecheckingstub__31e9a9acdd861e63cdd99c001364a9e3ba706bbf503797c4fd9ac585c1f76a0c(
1074
+ value: builtins.str,
1075
+ ) -> None:
1076
+ """Type checking stubs"""
1077
+ pass
1078
+
1079
+ def _typecheckingstub__99f6582f76f3c6a11837e068e6e72ca864955b2789dca17c695fab2bad3ca516(
1080
+ value: typing.Union[_IResolvable_da3f097b, CfnApplication.RuntimeEnvironmentProperty],
1081
+ ) -> None:
1082
+ """Type checking stubs"""
1083
+ pass
1084
+
1085
+ def _typecheckingstub__3fd55d29c5f92dec6b4e922ca4c78d4fbe17f68d92c455f0fe391ec69b4687c9(
1086
+ value: typing.Optional[builtins.str],
1087
+ ) -> None:
1088
+ """Type checking stubs"""
1089
+ pass
1090
+
1091
+ def _typecheckingstub__b132398da4b4570c9a85ae72bf79d405aa40a1c75f2961f628de9d9b1224e0eb(
1092
+ value: typing.Optional[typing.List[builtins.str]],
1093
+ ) -> None:
1094
+ """Type checking stubs"""
1095
+ pass
1096
+
1097
+ def _typecheckingstub__d7a1896b47cdd07eb41b16d50651877cd16a2b19eb7ee93b0abc4e48422f849f(
1098
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
1099
+ ) -> None:
1100
+ """Type checking stubs"""
1101
+ pass
1102
+
1103
+ def _typecheckingstub__36db25239f5829e6be78b8afc94eb689056b154e144d17ae679806f522900e44(
1104
+ *,
1105
+ type: builtins.str,
1106
+ version: builtins.str,
1107
+ ) -> None:
1108
+ """Type checking stubs"""
1109
+ pass
1110
+
1111
+ def _typecheckingstub__cf559d648da5bcc6d426f2fa9d64617eba1c68df0cd94a3f9e4e8e5996e805e4(
1112
+ *,
1113
+ application_source_uri: builtins.str,
1114
+ description: builtins.str,
1115
+ executable_path: builtins.str,
1116
+ runtime_environment: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.RuntimeEnvironmentProperty, typing.Dict[builtins.str, typing.Any]]],
1117
+ application_log_output_uri: typing.Optional[builtins.str] = None,
1118
+ application_log_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
1119
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1120
+ ) -> None:
1121
+ """Type checking stubs"""
1122
+ pass
1123
+
1124
+ def _typecheckingstub__79f0f973b06de7ae1a48df1df69579c9c8dfd0885945a959686fdddf31cc2674(
1125
+ scope: _constructs_77d1e7e8.Construct,
1126
+ id: builtins.str,
1127
+ *,
1128
+ description: builtins.str,
1129
+ location_configurations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.LocationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
1130
+ stream_class: builtins.str,
1131
+ default_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.DefaultApplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1132
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1133
+ ) -> None:
1134
+ """Type checking stubs"""
1135
+ pass
1136
+
1137
+ def _typecheckingstub__cb56536ce44817c859b61b163e409d7355fcd5587161451f9e349b151919e117(
1138
+ inspector: _TreeInspector_488e0dd5,
1139
+ ) -> None:
1140
+ """Type checking stubs"""
1141
+ pass
1142
+
1143
+ def _typecheckingstub__e452216970f4fb3ed8f8671a8e3d85dc54c1eb595b151c7880df187fd3ffc5e1(
1144
+ props: typing.Mapping[builtins.str, typing.Any],
1145
+ ) -> None:
1146
+ """Type checking stubs"""
1147
+ pass
1148
+
1149
+ def _typecheckingstub__be883277b66b56e75f860926d2ccdff02bbe3ad4484bdf975afaa283e57056d4(
1150
+ value: builtins.str,
1151
+ ) -> None:
1152
+ """Type checking stubs"""
1153
+ pass
1154
+
1155
+ def _typecheckingstub__5dce7069bc18c5adbe92459796919490fb80e38f9a3fe455b779e19b0b30da98(
1156
+ value: typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.LocationConfigurationProperty]]],
1157
+ ) -> None:
1158
+ """Type checking stubs"""
1159
+ pass
1160
+
1161
+ def _typecheckingstub__936ee9ce8407944010c50c15e2b4554c116b1f3d52c2407d116cc9635a8f1cef(
1162
+ value: builtins.str,
1163
+ ) -> None:
1164
+ """Type checking stubs"""
1165
+ pass
1166
+
1167
+ def _typecheckingstub__4aa4ce53af802ec6bb329423326bcefed0b20e44bbe786ff2d23e1de4a242ec9(
1168
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnStreamGroup.DefaultApplicationProperty]],
1169
+ ) -> None:
1170
+ """Type checking stubs"""
1171
+ pass
1172
+
1173
+ def _typecheckingstub__491f8e30ff0958f00c4865b688648d82e82269ac2cd26ab478fe4579914e9c64(
1174
+ value: typing.Optional[typing.Mapping[builtins.str, builtins.str]],
1175
+ ) -> None:
1176
+ """Type checking stubs"""
1177
+ pass
1178
+
1179
+ def _typecheckingstub__c9b2ab7b0a09f30591f6dfe285dd0f1f30dec2efec3678c3961dddd6549f7a49(
1180
+ *,
1181
+ arn: typing.Optional[builtins.str] = None,
1182
+ id: typing.Optional[builtins.str] = None,
1183
+ ) -> None:
1184
+ """Type checking stubs"""
1185
+ pass
1186
+
1187
+ def _typecheckingstub__4c32e96242e189f6a75d890a7316a655383684ce9337b4906f2e3b49bec9a86e(
1188
+ *,
1189
+ location_name: builtins.str,
1190
+ always_on_capacity: typing.Optional[jsii.Number] = None,
1191
+ on_demand_capacity: typing.Optional[jsii.Number] = None,
1192
+ ) -> None:
1193
+ """Type checking stubs"""
1194
+ pass
1195
+
1196
+ def _typecheckingstub__2997124a9d44ddc8951fa0effc557b193f10cbfb4e3867a8a2d79ba217b9edc8(
1197
+ *,
1198
+ description: builtins.str,
1199
+ location_configurations: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.LocationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]],
1200
+ stream_class: builtins.str,
1201
+ default_application: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnStreamGroup.DefaultApplicationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1202
+ tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1203
+ ) -> None:
1204
+ """Type checking stubs"""
1205
+ pass