cdk-code-server 0.0.3__tar.gz → 0.0.5__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-code-server
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: CDK Construct for a VSCode Server development environment on EC2
5
5
  Home-page: https://github.com/badmintoncryer/cdk-code-server.git
6
6
  Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-code-server",
8
- "version": "0.0.3",
8
+ "version": "0.0.5",
9
9
  "description": "CDK Construct for a VSCode Server development environment on EC2",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/badmintoncryer/cdk-code-server.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "cdk_code-server._jsii": [
29
- "cdk-code-server@0.0.3.jsii.tgz"
29
+ "cdk-code-server@0.0.5.jsii.tgz"
30
30
  ],
31
31
  "cdk_code-server": [
32
32
  "py.typed"
@@ -145,6 +145,8 @@ class CodeServer(
145
145
  metaclass=jsii.JSIIMeta,
146
146
  jsii_type="cdk-code-server.CodeServer",
147
147
  ):
148
+ '''A CodeServer Construct.'''
149
+
148
150
  def __init__(
149
151
  self,
150
152
  scope: _constructs_77d1e7e8.Construct,
@@ -159,11 +161,11 @@ class CodeServer(
159
161
  '''
160
162
  :param scope: -
161
163
  :param id: -
162
- :param cpu_type:
163
- :param instance_type:
164
- :param policy:
165
- :param volume_size:
166
- :param vpc:
164
+ :param cpu_type: The CPU type. Default: - ARM_64
165
+ :param instance_type: The instance type. Default: - C7g.2xlarge
166
+ :param policy: The IAM policy to attach to the instance role. Default: - Allow all actions on all resources
167
+ :param volume_size: The size of the root volume in GiB. Default: 30
168
+ :param vpc: The VPC where the instance will be deployed. Default: - A new VPC will be created
167
169
  '''
168
170
  if __debug__:
169
171
  type_hints = typing.get_type_hints(_typecheckingstub__a3dc073ef85aeeab8ffd2fe5c32c737ce76d0e4197f8d84ff2cfe4d4ae5bf187)
@@ -201,12 +203,13 @@ class CodeServerProps:
201
203
  volume_size: typing.Optional[jsii.Number] = None,
202
204
  vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
203
205
  ) -> None:
204
- '''
205
- :param cpu_type:
206
- :param instance_type:
207
- :param policy:
208
- :param volume_size:
209
- :param vpc:
206
+ '''Properties for CodeServer construct.
207
+
208
+ :param cpu_type: The CPU type. Default: - ARM_64
209
+ :param instance_type: The instance type. Default: - C7g.2xlarge
210
+ :param policy: The IAM policy to attach to the instance role. Default: - Allow all actions on all resources
211
+ :param volume_size: The size of the root volume in GiB. Default: 30
212
+ :param vpc: The VPC where the instance will be deployed. Default: - A new VPC will be created
210
213
  '''
211
214
  if __debug__:
212
215
  type_hints = typing.get_type_hints(_typecheckingstub__fb583e2cef71433ccfaa187bf48195bf7085ded509b20a2c01dc80cffe3f0229)
@@ -229,26 +232,46 @@ class CodeServerProps:
229
232
 
230
233
  @builtins.property
231
234
  def cpu_type(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.AmazonLinuxCpuType]:
235
+ '''The CPU type.
236
+
237
+ :default: - ARM_64
238
+ '''
232
239
  result = self._values.get("cpu_type")
233
240
  return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.AmazonLinuxCpuType], result)
234
241
 
235
242
  @builtins.property
236
243
  def instance_type(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType]:
244
+ '''The instance type.
245
+
246
+ :default: - C7g.2xlarge
247
+ '''
237
248
  result = self._values.get("instance_type")
238
249
  return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.InstanceType], result)
239
250
 
240
251
  @builtins.property
241
252
  def policy(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]:
253
+ '''The IAM policy to attach to the instance role.
254
+
255
+ :default: - Allow all actions on all resources
256
+ '''
242
257
  result = self._values.get("policy")
243
258
  return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.PolicyStatement], result)
244
259
 
245
260
  @builtins.property
246
261
  def volume_size(self) -> typing.Optional[jsii.Number]:
262
+ '''The size of the root volume in GiB.
263
+
264
+ :default: 30
265
+ '''
247
266
  result = self._values.get("volume_size")
248
267
  return typing.cast(typing.Optional[jsii.Number], result)
249
268
 
250
269
  @builtins.property
251
270
  def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
271
+ '''The VPC where the instance will be deployed.
272
+
273
+ :default: - A new VPC will be created
274
+ '''
252
275
  result = self._values.get("vpc")
253
276
  return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
254
277
 
@@ -19,7 +19,7 @@ import constructs._jsii
19
19
  import open_constructs_aws_cdk._jsii
20
20
 
21
21
  __jsii_assembly__ = jsii.JSIIAssembly.load(
22
- "cdk-code-server", "0.0.3", __name__[0:-6], "cdk-code-server@0.0.3.jsii.tgz"
22
+ "cdk-code-server", "0.0.5", __name__[0:-6], "cdk-code-server@0.0.5.jsii.tgz"
23
23
  )
24
24
 
25
25
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-code-server
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: CDK Construct for a VSCode Server development environment on EC2
5
5
  Home-page: https://github.com/badmintoncryer/cdk-code-server.git
6
6
  Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
@@ -6,7 +6,7 @@ setup.py
6
6
  src/cdk_code-server/__init__.py
7
7
  src/cdk_code-server/py.typed
8
8
  src/cdk_code-server/_jsii/__init__.py
9
- src/cdk_code-server/_jsii/cdk-code-server@0.0.3.jsii.tgz
9
+ src/cdk_code-server/_jsii/cdk-code-server@0.0.5.jsii.tgz
10
10
  src/cdk_code_server.egg-info/PKG-INFO
11
11
  src/cdk_code_server.egg-info/SOURCES.txt
12
12
  src/cdk_code_server.egg-info/dependency_links.txt
File without changes