cdk-preinstalled-amazon-linux-ec2 0.0.1__tar.gz → 0.0.3__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.
- {cdk-preinstalled-amazon-linux-ec2-0.0.1/src/cdk_preinstalled_amazon_linux_ec2.egg-info → cdk-preinstalled-amazon-linux-ec2-0.0.3}/PKG-INFO +4 -4
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/README.md +3 -3
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/setup.py +2 -2
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2/__init__.py +16 -16
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2/_jsii/__init__.py +2 -2
- cdk-preinstalled-amazon-linux-ec2-0.0.3/src/cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.3.jsii.tgz +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3/src/cdk_preinstalled_amazon_linux_ec2.egg-info}/PKG-INFO +4 -4
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2.egg-info/SOURCES.txt +1 -1
- cdk-preinstalled-amazon-linux-ec2-0.0.1/src/cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.1.jsii.tgz +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/LICENSE +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/MANIFEST.in +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/pyproject.toml +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/setup.cfg +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2/py.typed +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2.egg-info/dependency_links.txt +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2.egg-info/requires.txt +0 -0
- {cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/src/cdk_preinstalled_amazon_linux_ec2.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-preinstalled-amazon-linux-ec2
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.3
|
4
4
|
Summary: CDK Construct for creating an Amazon Linux EC2 instance with pre-installed software
|
5
5
|
Home-page: https://github.com/badmintoncryer/cdk-preinstalled-amazon-linux-ec2.git
|
6
6
|
Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
|
@@ -61,7 +61,7 @@ new PreinstalledAmazonLinuxInstance(this, 'Instance', {
|
|
61
61
|
}),
|
62
62
|
// Specify preinstalled software
|
63
63
|
preinstalledSoftware: {
|
64
|
-
|
64
|
+
packages: [
|
65
65
|
PreinstalledSoftwareType.NODEJS,
|
66
66
|
PreinstalledSoftwareType.VSCODE,
|
67
67
|
PreinstalledSoftwareType.GIT,
|
@@ -108,8 +108,8 @@ Ofcourse, you can customize the additional user data script by calling `instance
|
|
108
108
|
```python
|
109
109
|
declare const instance: PreinstalledAmazonLinuxInstance;
|
110
110
|
|
111
|
-
// install
|
111
|
+
// install yarn
|
112
112
|
instance.userData.addCommands(
|
113
|
-
'
|
113
|
+
'npm install -g yarn'
|
114
114
|
);
|
115
115
|
```
|
{cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/README.md
RENAMED
@@ -38,7 +38,7 @@ new PreinstalledAmazonLinuxInstance(this, 'Instance', {
|
|
38
38
|
}),
|
39
39
|
// Specify preinstalled software
|
40
40
|
preinstalledSoftware: {
|
41
|
-
|
41
|
+
packages: [
|
42
42
|
PreinstalledSoftwareType.NODEJS,
|
43
43
|
PreinstalledSoftwareType.VSCODE,
|
44
44
|
PreinstalledSoftwareType.GIT,
|
@@ -85,8 +85,8 @@ Ofcourse, you can customize the additional user data script by calling `instance
|
|
85
85
|
```python
|
86
86
|
declare const instance: PreinstalledAmazonLinuxInstance;
|
87
87
|
|
88
|
-
// install
|
88
|
+
// install yarn
|
89
89
|
instance.userData.addCommands(
|
90
|
-
'
|
90
|
+
'npm install -g yarn'
|
91
91
|
);
|
92
92
|
```
|
{cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/setup.py
RENAMED
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "cdk-preinstalled-amazon-linux-ec2",
|
8
|
-
"version": "0.0.
|
8
|
+
"version": "0.0.3",
|
9
9
|
"description": "CDK Construct for creating an Amazon Linux EC2 instance with pre-installed software",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/badmintoncryer/cdk-preinstalled-amazon-linux-ec2.git",
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"cdk_preinstalled_amazon_linux_ec2._jsii": [
|
29
|
-
"cdk-preinstalled-amazon-linux-ec2@0.0.
|
29
|
+
"cdk-preinstalled-amazon-linux-ec2@0.0.3.jsii.tgz"
|
30
30
|
],
|
31
31
|
"cdk_preinstalled_amazon_linux_ec2": [
|
32
32
|
"py.typed"
|
@@ -39,7 +39,7 @@ new PreinstalledAmazonLinuxInstance(this, 'Instance', {
|
|
39
39
|
}),
|
40
40
|
// Specify preinstalled software
|
41
41
|
preinstalledSoftware: {
|
42
|
-
|
42
|
+
packages: [
|
43
43
|
PreinstalledSoftwareType.NODEJS,
|
44
44
|
PreinstalledSoftwareType.VSCODE,
|
45
45
|
PreinstalledSoftwareType.GIT,
|
@@ -86,9 +86,9 @@ Ofcourse, you can customize the additional user data script by calling `instance
|
|
86
86
|
```python
|
87
87
|
declare const instance: PreinstalledAmazonLinuxInstance;
|
88
88
|
|
89
|
-
// install
|
89
|
+
// install yarn
|
90
90
|
instance.userData.addCommands(
|
91
|
-
'
|
91
|
+
'npm install -g yarn'
|
92
92
|
);
|
93
93
|
```
|
94
94
|
'''
|
@@ -774,29 +774,29 @@ class PreinstalledAmazonLinuxInstanceProps(_aws_cdk_aws_ec2_ceddda9d.InstancePro
|
|
774
774
|
@jsii.data_type(
|
775
775
|
jsii_type="cdk-preinstalled-amazon-linux-ec2.PreinstalledSoftware",
|
776
776
|
jsii_struct_bases=[],
|
777
|
-
name_mapping={"others": "others", "
|
777
|
+
name_mapping={"others": "others", "packages": "packages"},
|
778
778
|
)
|
779
779
|
class PreinstalledSoftware:
|
780
780
|
def __init__(
|
781
781
|
self,
|
782
782
|
*,
|
783
783
|
others: typing.Optional[typing.Sequence[builtins.str]] = None,
|
784
|
-
|
784
|
+
packages: typing.Optional[typing.Sequence["PreinstalledSoftwarePackage"]] = None,
|
785
785
|
) -> None:
|
786
786
|
'''The configuration for preinstalled software.
|
787
787
|
|
788
788
|
:param others: Whether to install other software. This is a list of software to install and passed to ``dnf install <software>`` Default: - no other software is preinstalled
|
789
|
-
:param
|
789
|
+
:param packages: The type of preinstalled software. Default: - no software is preinstalled
|
790
790
|
'''
|
791
791
|
if __debug__:
|
792
792
|
type_hints = typing.get_type_hints(_typecheckingstub__657dec901feded435d209f20ab5a0de458a54fdf89665912ea70cb5dfd6220fa)
|
793
793
|
check_type(argname="argument others", value=others, expected_type=type_hints["others"])
|
794
|
-
check_type(argname="argument
|
794
|
+
check_type(argname="argument packages", value=packages, expected_type=type_hints["packages"])
|
795
795
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
796
796
|
if others is not None:
|
797
797
|
self._values["others"] = others
|
798
|
-
if
|
799
|
-
self._values["
|
798
|
+
if packages is not None:
|
799
|
+
self._values["packages"] = packages
|
800
800
|
|
801
801
|
@builtins.property
|
802
802
|
def others(self) -> typing.Optional[typing.List[builtins.str]]:
|
@@ -810,13 +810,13 @@ class PreinstalledSoftware:
|
|
810
810
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
811
811
|
|
812
812
|
@builtins.property
|
813
|
-
def
|
813
|
+
def packages(self) -> typing.Optional[typing.List["PreinstalledSoftwarePackage"]]:
|
814
814
|
'''The type of preinstalled software.
|
815
815
|
|
816
816
|
:default: - no software is preinstalled
|
817
817
|
'''
|
818
|
-
result = self._values.get("
|
819
|
-
return typing.cast(typing.Optional[typing.List["
|
818
|
+
result = self._values.get("packages")
|
819
|
+
return typing.cast(typing.Optional[typing.List["PreinstalledSoftwarePackage"]], result)
|
820
820
|
|
821
821
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
822
822
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
@@ -830,8 +830,8 @@ class PreinstalledSoftware:
|
|
830
830
|
)
|
831
831
|
|
832
832
|
|
833
|
-
@jsii.enum(jsii_type="cdk-preinstalled-amazon-linux-ec2.
|
834
|
-
class
|
833
|
+
@jsii.enum(jsii_type="cdk-preinstalled-amazon-linux-ec2.PreinstalledSoftwarePackage")
|
834
|
+
class PreinstalledSoftwarePackage(enum.Enum):
|
835
835
|
'''The type of preinstalled software.'''
|
836
836
|
|
837
837
|
NODEJS = "NODEJS"
|
@@ -848,7 +848,7 @@ __all__ = [
|
|
848
848
|
"PreinstalledAmazonLinuxInstance",
|
849
849
|
"PreinstalledAmazonLinuxInstanceProps",
|
850
850
|
"PreinstalledSoftware",
|
851
|
-
"
|
851
|
+
"PreinstalledSoftwarePackage",
|
852
852
|
]
|
853
853
|
|
854
854
|
publication.publish()
|
@@ -928,7 +928,7 @@ def _typecheckingstub__334eb01c668e6ca9bfd6d599da22858b05b079eeea1e7b6a9f71ee632
|
|
928
928
|
def _typecheckingstub__657dec901feded435d209f20ab5a0de458a54fdf89665912ea70cb5dfd6220fa(
|
929
929
|
*,
|
930
930
|
others: typing.Optional[typing.Sequence[builtins.str]] = None,
|
931
|
-
|
931
|
+
packages: typing.Optional[typing.Sequence[PreinstalledSoftwarePackage]] = None,
|
932
932
|
) -> None:
|
933
933
|
"""Type checking stubs"""
|
934
934
|
pass
|
@@ -18,9 +18,9 @@ import constructs._jsii
|
|
18
18
|
|
19
19
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
20
20
|
"cdk-preinstalled-amazon-linux-ec2",
|
21
|
-
"0.0.
|
21
|
+
"0.0.3",
|
22
22
|
__name__[0:-6],
|
23
|
-
"cdk-preinstalled-amazon-linux-ec2@0.0.
|
23
|
+
"cdk-preinstalled-amazon-linux-ec2@0.0.3.jsii.tgz",
|
24
24
|
)
|
25
25
|
|
26
26
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-preinstalled-amazon-linux-ec2
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.3
|
4
4
|
Summary: CDK Construct for creating an Amazon Linux EC2 instance with pre-installed software
|
5
5
|
Home-page: https://github.com/badmintoncryer/cdk-preinstalled-amazon-linux-ec2.git
|
6
6
|
Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
|
@@ -61,7 +61,7 @@ new PreinstalledAmazonLinuxInstance(this, 'Instance', {
|
|
61
61
|
}),
|
62
62
|
// Specify preinstalled software
|
63
63
|
preinstalledSoftware: {
|
64
|
-
|
64
|
+
packages: [
|
65
65
|
PreinstalledSoftwareType.NODEJS,
|
66
66
|
PreinstalledSoftwareType.VSCODE,
|
67
67
|
PreinstalledSoftwareType.GIT,
|
@@ -108,8 +108,8 @@ Ofcourse, you can customize the additional user data script by calling `instance
|
|
108
108
|
```python
|
109
109
|
declare const instance: PreinstalledAmazonLinuxInstance;
|
110
110
|
|
111
|
-
// install
|
111
|
+
// install yarn
|
112
112
|
instance.userData.addCommands(
|
113
|
-
'
|
113
|
+
'npm install -g yarn'
|
114
114
|
);
|
115
115
|
```
|
@@ -11,4 +11,4 @@ src/cdk_preinstalled_amazon_linux_ec2.egg-info/dependency_links.txt
|
|
11
11
|
src/cdk_preinstalled_amazon_linux_ec2.egg-info/requires.txt
|
12
12
|
src/cdk_preinstalled_amazon_linux_ec2.egg-info/top_level.txt
|
13
13
|
src/cdk_preinstalled_amazon_linux_ec2/_jsii/__init__.py
|
14
|
-
src/cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.
|
14
|
+
src/cdk_preinstalled_amazon_linux_ec2/_jsii/cdk-preinstalled-amazon-linux-ec2@0.0.3.jsii.tgz
|
Binary file
|
File without changes
|
{cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/MANIFEST.in
RENAMED
File without changes
|
{cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/pyproject.toml
RENAMED
File without changes
|
{cdk-preinstalled-amazon-linux-ec2-0.0.1 → cdk-preinstalled-amazon-linux-ec2-0.0.3}/setup.cfg
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|