pulumi-eks 4.3.0a1768463252__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.
pulumi_eks/__init__.py ADDED
@@ -0,0 +1,51 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-gen-eks. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ from . import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from ._enums import *
10
+ from .addon import *
11
+ from .cluster import *
12
+ from .cluster_creation_role_provider import *
13
+ from .managed_node_group import *
14
+ from .node_group import *
15
+ from .node_group_security_group import *
16
+ from .node_group_v2 import *
17
+ from .provider import *
18
+ from .vpc_cni_addon import *
19
+ from ._inputs import *
20
+ from . import outputs
21
+ _utilities.register(
22
+ resource_modules="""
23
+ [
24
+ {
25
+ "pkg": "eks",
26
+ "mod": "index",
27
+ "fqn": "pulumi_eks",
28
+ "classes": {
29
+ "eks:index:Addon": "Addon",
30
+ "eks:index:Cluster": "Cluster",
31
+ "eks:index:ClusterCreationRoleProvider": "ClusterCreationRoleProvider",
32
+ "eks:index:ManagedNodeGroup": "ManagedNodeGroup",
33
+ "eks:index:NodeGroup": "NodeGroup",
34
+ "eks:index:NodeGroupSecurityGroup": "NodeGroupSecurityGroup",
35
+ "eks:index:NodeGroupV2": "NodeGroupV2",
36
+ "eks:index:VpcCniAddon": "VpcCniAddon"
37
+ }
38
+ }
39
+ ]
40
+ """,
41
+ resource_packages="""
42
+ [
43
+ {
44
+ "pkg": "eks",
45
+ "token": "pulumi:providers:eks",
46
+ "fqn": "pulumi_eks",
47
+ "class": "Provider"
48
+ }
49
+ ]
50
+ """
51
+ )
pulumi_eks/_enums.py ADDED
@@ -0,0 +1,164 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-gen-eks. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import pulumi
7
+ from enum import Enum
8
+
9
+ __all__ = [
10
+ 'AccessEntryType',
11
+ 'AmiType',
12
+ 'AuthenticationMode',
13
+ 'ClusterNodePools',
14
+ 'OperatingSystem',
15
+ 'ResolveConflictsOnCreate',
16
+ 'ResolveConflictsOnUpdate',
17
+ ]
18
+
19
+
20
+ @pulumi.type_token("eks:index:AccessEntryType")
21
+ class AccessEntryType(_builtins.str, Enum):
22
+ """
23
+ The type of the new access entry. Valid values are STANDARD, FARGATE_LINUX, EC2_LINUX, and EC2_WINDOWS.
24
+ Defaults to STANDARD which provides the standard workflow. EC2_LINUX and EC2_WINDOWS types disallow users to input a kubernetesGroup, and prevent associating access policies.
25
+ """
26
+ STANDARD = "STANDARD"
27
+ """
28
+ Standard Access Entry Workflow. Allows users to input a username and kubernetesGroup, and to associate access policies.
29
+ """
30
+ FARGATE_LINUX = "FARGATE_LINUX"
31
+ """
32
+ For IAM roles used with AWS Fargate profiles.
33
+ """
34
+ EC2_LINUX = "EC2_LINUX"
35
+ """
36
+ For IAM roles associated with self-managed Linux node groups. Allows the nodes to join the cluster.
37
+ """
38
+ EC2_WINDOWS = "EC2_WINDOWS"
39
+ """
40
+ For IAM roles associated with self-managed Windows node groups. Allows the nodes to join the cluster.
41
+ """
42
+ EC2 = "EC2"
43
+ """
44
+ For IAM roles associated with EC2 instances that need access policies. Allows the nodes to join the cluster.
45
+ """
46
+
47
+
48
+ @pulumi.type_token("eks:index:AmiType")
49
+ class AmiType(_builtins.str, Enum):
50
+ """
51
+ Predefined AMI types for EKS optimized AMIs. Can be used to select the latest EKS optimized AMI for a node group.
52
+ """
53
+ AL2_X86_64 = "AL2_x86_64"
54
+ AL2_X86_64_GPU = "AL2_x86_64_GPU"
55
+ AL2_ARM64 = "AL2_ARM_64"
56
+ AL2023_X86_64_STANDARD = "AL2023_x86_64_STANDARD"
57
+ AL2023_ARM64_STANDARD = "AL2023_ARM_64_STANDARD"
58
+ AL2023_X86_64_NVIDIA = "AL2023_x86_64_NVIDIA"
59
+ BOTTLEROCKET_ARM64 = "BOTTLEROCKET_ARM_64"
60
+ BOTTLEROCKET_X86_64 = "BOTTLEROCKET_x86_64"
61
+ BOTTLEROCKET_ARM64_NVIDIA = "BOTTLEROCKET_ARM_64_NVIDIA"
62
+ BOTTLEROCKET_X86_64_NVIDIA = "BOTTLEROCKET_x86_64_NVIDIA"
63
+
64
+
65
+ @pulumi.type_token("eks:index:AuthenticationMode")
66
+ class AuthenticationMode(_builtins.str, Enum):
67
+ """
68
+ The authentication mode of the cluster. Valid values are `CONFIG_MAP`, `API` or `API_AND_CONFIG_MAP`.
69
+
70
+ See for more details:
71
+ https://docs.aws.amazon.com/eks/latest/userguide/grant-k8s-access.html#set-cam
72
+ """
73
+ CONFIG_MAP = "CONFIG_MAP"
74
+ """
75
+ Only aws-auth ConfigMap will be used for authenticating to the Kubernetes API.
76
+ """
77
+ API = "API"
78
+ """
79
+ Only Access Entries will be used for authenticating to the Kubernetes API.
80
+ """
81
+ API_AND_CONFIG_MAP = "API_AND_CONFIG_MAP"
82
+ """
83
+ Both aws-auth ConfigMap and Access Entries can be used for authenticating to the Kubernetes API.
84
+ """
85
+
86
+
87
+ @pulumi.type_token("eks:index:ClusterNodePools")
88
+ class ClusterNodePools(_builtins.str, Enum):
89
+ """
90
+ Built-in node pools of EKS Auto Mode. For more details see: https://docs.aws.amazon.com/eks/latest/userguide/set-builtin-node-pools.html
91
+ """
92
+ SYSTEM = "system"
93
+ """
94
+ This NodePool has a `CriticalAddonsOnly` taint. Many EKS addons, such as CoreDNS, tolerate this taint. Use this system node pool to segregate cluster-critical applications. Supports both `amd64` and `arm64` architectures.
95
+ """
96
+ GENERAL_PURPOSE = "general-purpose"
97
+ """
98
+ This NodePool provides support for launching nodes for general purpose workloads in your cluster. Only supports `amd64` architecture.
99
+ """
100
+
101
+
102
+ @pulumi.type_token("eks:index:OperatingSystem")
103
+ class OperatingSystem(_builtins.str, Enum):
104
+ """
105
+ The type of EKS optimized Operating System to use for node groups.
106
+
107
+ See for more details:
108
+ https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-amis.html
109
+ """
110
+ AL2 = "AL2"
111
+ """
112
+ EKS optimized OS based on Amazon Linux 2 (AL2).
113
+ """
114
+ AL2023 = "AL2023"
115
+ """
116
+ EKS optimized OS based on Amazon Linux 2023 (AL2023).
117
+ See for more details: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
118
+ """
119
+ BOTTLEROCKET = "Bottlerocket"
120
+ """
121
+ EKS optimized Container OS based on Bottlerocket.
122
+ See for more details: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami-bottlerocket.html
123
+ """
124
+ RECOMMENDED = "AL2023"
125
+ """
126
+ The recommended EKS optimized OS. Currently Amazon Linux 2023 (AL2023).
127
+ This will be kept up to date with AWS' recommendations for EKS optimized operating systems.
128
+
129
+ See for more details: https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html
130
+ """
131
+
132
+
133
+ @pulumi.type_token("eks:index:ResolveConflictsOnCreate")
134
+ class ResolveConflictsOnCreate(_builtins.str, Enum):
135
+ """
136
+ How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are `NONE` and `OVERWRITE`. For more details see the [CreateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html) API Docs.
137
+ """
138
+ NONE = "NONE"
139
+ """
140
+ If the self-managed version of the add-on is installed on your cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail.
141
+ """
142
+ OVERWRITE = "OVERWRITE"
143
+ """
144
+ If the self-managed version of the add-on is installed on your cluster and the Amazon EKS default value is different than the existing value, Amazon EKS changes the value to the Amazon EKS default value.
145
+ """
146
+
147
+
148
+ @pulumi.type_token("eks:index:ResolveConflictsOnUpdate")
149
+ class ResolveConflictsOnUpdate(_builtins.str, Enum):
150
+ """
151
+ How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are `NONE`, `OVERWRITE`, and `PRESERVE`. For more details see the [UpdateAddon](https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) API Docs.
152
+ """
153
+ NONE = "NONE"
154
+ """
155
+ Amazon EKS doesn't change the value. The update might fail.
156
+ """
157
+ OVERWRITE = "OVERWRITE"
158
+ """
159
+ Amazon EKS overwrites the changed value back to the Amazon EKS default value.
160
+ """
161
+ PRESERVE = "PRESERVE"
162
+ """
163
+ Amazon EKS preserves the value. If you choose this option, we recommend that you test any field and value changes on a non-production cluster before updating the add-on on your production cluster.
164
+ """