pulumi-postgresql 3.16.0a1749537323__tar.gz → 3.17.0a1766297919__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.
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/PKG-INFO +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/__init__.py +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/_inputs.py +74 -75
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/__init__.py +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/__init__.pyi +6 -11
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/outputs.py +13 -14
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/config/vars.py +28 -33
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/database.py +188 -189
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/default_privileg.py +123 -124
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/default_privileges.py +123 -124
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/extension.py +103 -104
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/function.py +191 -192
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_schemas.py +41 -42
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_sequences.py +40 -41
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/get_tables.py +46 -47
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/grant.py +137 -138
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/grant_role.py +52 -53
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/outputs.py +62 -63
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/physical_replication_slot.py +18 -19
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/provider.py +202 -216
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/publication.py +137 -138
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/pulumi-plugin.json +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/replication_slot.py +52 -53
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/role.py +481 -346
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/schema.py +89 -90
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/security_label.py +69 -70
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/server.py +120 -121
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/subscription.py +103 -104
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/user_mapping.py +52 -53
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/PKG-INFO +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pyproject.toml +1 -1
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/README.md +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/_utilities.py +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql/py.typed +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/SOURCES.txt +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/dependency_links.txt +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/requires.txt +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/pulumi_postgresql.egg-info/top_level.txt +0 -0
- {pulumi_postgresql-3.16.0a1749537323 → pulumi_postgresql-3.17.0a1766297919}/setup.cfg +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
from . import _utilities
|
|
7
7
|
import typing
|
|
8
8
|
# Export this package's modules as members:
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -28,19 +27,19 @@ MYPY = False
|
|
|
28
27
|
|
|
29
28
|
if not MYPY:
|
|
30
29
|
class FunctionArgArgsDict(TypedDict):
|
|
31
|
-
type: pulumi.Input[
|
|
30
|
+
type: pulumi.Input[_builtins.str]
|
|
32
31
|
"""
|
|
33
32
|
The type of the argument.
|
|
34
33
|
"""
|
|
35
|
-
default: NotRequired[pulumi.Input[
|
|
34
|
+
default: NotRequired[pulumi.Input[_builtins.str]]
|
|
36
35
|
"""
|
|
37
36
|
An expression to be used as default value if the parameter is not specified.
|
|
38
37
|
"""
|
|
39
|
-
mode: NotRequired[pulumi.Input[
|
|
38
|
+
mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
40
39
|
"""
|
|
41
40
|
Can be one of IN, INOUT, OUT, or VARIADIC. Default is IN.
|
|
42
41
|
"""
|
|
43
|
-
name: NotRequired[pulumi.Input[
|
|
42
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
44
43
|
"""
|
|
45
44
|
The name of the argument.
|
|
46
45
|
"""
|
|
@@ -50,15 +49,15 @@ elif False:
|
|
|
50
49
|
@pulumi.input_type
|
|
51
50
|
class FunctionArgArgs:
|
|
52
51
|
def __init__(__self__, *,
|
|
53
|
-
type: pulumi.Input[
|
|
54
|
-
default: Optional[pulumi.Input[
|
|
55
|
-
mode: Optional[pulumi.Input[
|
|
56
|
-
name: Optional[pulumi.Input[
|
|
52
|
+
type: pulumi.Input[_builtins.str],
|
|
53
|
+
default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
54
|
+
mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
55
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
57
56
|
"""
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
:param pulumi.Input[
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.str] type: The type of the argument.
|
|
58
|
+
:param pulumi.Input[_builtins.str] default: An expression to be used as default value if the parameter is not specified.
|
|
59
|
+
:param pulumi.Input[_builtins.str] mode: Can be one of IN, INOUT, OUT, or VARIADIC. Default is IN.
|
|
60
|
+
:param pulumi.Input[_builtins.str] name: The name of the argument.
|
|
62
61
|
"""
|
|
63
62
|
pulumi.set(__self__, "type", type)
|
|
64
63
|
if default is not None:
|
|
@@ -68,66 +67,66 @@ class FunctionArgArgs:
|
|
|
68
67
|
if name is not None:
|
|
69
68
|
pulumi.set(__self__, "name", name)
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def type(self) -> pulumi.Input[
|
|
72
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
74
73
|
"""
|
|
75
74
|
The type of the argument.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "type")
|
|
78
77
|
|
|
79
78
|
@type.setter
|
|
80
|
-
def type(self, value: pulumi.Input[
|
|
79
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
81
80
|
pulumi.set(self, "type", value)
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
|
-
def default(self) -> Optional[pulumi.Input[
|
|
84
|
+
def default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
85
|
"""
|
|
87
86
|
An expression to be used as default value if the parameter is not specified.
|
|
88
87
|
"""
|
|
89
88
|
return pulumi.get(self, "default")
|
|
90
89
|
|
|
91
90
|
@default.setter
|
|
92
|
-
def default(self, value: Optional[pulumi.Input[
|
|
91
|
+
def default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
92
|
pulumi.set(self, "default", value)
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter
|
|
97
|
-
def mode(self) -> Optional[pulumi.Input[
|
|
96
|
+
def mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
97
|
"""
|
|
99
98
|
Can be one of IN, INOUT, OUT, or VARIADIC. Default is IN.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "mode")
|
|
102
101
|
|
|
103
102
|
@mode.setter
|
|
104
|
-
def mode(self, value: Optional[pulumi.Input[
|
|
103
|
+
def mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
104
|
pulumi.set(self, "mode", value)
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter
|
|
109
|
-
def name(self) -> Optional[pulumi.Input[
|
|
108
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
110
109
|
"""
|
|
111
110
|
The name of the argument.
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "name")
|
|
114
113
|
|
|
115
114
|
@name.setter
|
|
116
|
-
def name(self, value: Optional[pulumi.Input[
|
|
115
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
117
116
|
pulumi.set(self, "name", value)
|
|
118
117
|
|
|
119
118
|
|
|
120
119
|
if not MYPY:
|
|
121
120
|
class ProviderClientcertArgsDict(TypedDict):
|
|
122
|
-
cert: pulumi.Input[
|
|
121
|
+
cert: pulumi.Input[_builtins.str]
|
|
123
122
|
"""
|
|
124
123
|
The SSL client certificate file path. The file must contain PEM encoded data.
|
|
125
124
|
"""
|
|
126
|
-
key: pulumi.Input[
|
|
125
|
+
key: pulumi.Input[_builtins.str]
|
|
127
126
|
"""
|
|
128
127
|
The SSL client certificate private key file path. The file must contain PEM encoded data.
|
|
129
128
|
"""
|
|
130
|
-
sslinline: NotRequired[pulumi.Input[
|
|
129
|
+
sslinline: NotRequired[pulumi.Input[_builtins.bool]]
|
|
131
130
|
"""
|
|
132
131
|
Must be set to true if you are inlining the cert/key instead of using a file path.
|
|
133
132
|
"""
|
|
@@ -137,75 +136,75 @@ elif False:
|
|
|
137
136
|
@pulumi.input_type
|
|
138
137
|
class ProviderClientcertArgs:
|
|
139
138
|
def __init__(__self__, *,
|
|
140
|
-
cert: pulumi.Input[
|
|
141
|
-
key: pulumi.Input[
|
|
142
|
-
sslinline: Optional[pulumi.Input[
|
|
139
|
+
cert: pulumi.Input[_builtins.str],
|
|
140
|
+
key: pulumi.Input[_builtins.str],
|
|
141
|
+
sslinline: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
143
142
|
"""
|
|
144
|
-
:param pulumi.Input[
|
|
145
|
-
:param pulumi.Input[
|
|
146
|
-
:param pulumi.Input[
|
|
143
|
+
:param pulumi.Input[_builtins.str] cert: The SSL client certificate file path. The file must contain PEM encoded data.
|
|
144
|
+
:param pulumi.Input[_builtins.str] key: The SSL client certificate private key file path. The file must contain PEM encoded data.
|
|
145
|
+
:param pulumi.Input[_builtins.bool] sslinline: Must be set to true if you are inlining the cert/key instead of using a file path.
|
|
147
146
|
"""
|
|
148
147
|
pulumi.set(__self__, "cert", cert)
|
|
149
148
|
pulumi.set(__self__, "key", key)
|
|
150
149
|
if sslinline is not None:
|
|
151
150
|
pulumi.set(__self__, "sslinline", sslinline)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter
|
|
155
|
-
def cert(self) -> pulumi.Input[
|
|
154
|
+
def cert(self) -> pulumi.Input[_builtins.str]:
|
|
156
155
|
"""
|
|
157
156
|
The SSL client certificate file path. The file must contain PEM encoded data.
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "cert")
|
|
160
159
|
|
|
161
160
|
@cert.setter
|
|
162
|
-
def cert(self, value: pulumi.Input[
|
|
161
|
+
def cert(self, value: pulumi.Input[_builtins.str]):
|
|
163
162
|
pulumi.set(self, "cert", value)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter
|
|
167
|
-
def key(self) -> pulumi.Input[
|
|
166
|
+
def key(self) -> pulumi.Input[_builtins.str]:
|
|
168
167
|
"""
|
|
169
168
|
The SSL client certificate private key file path. The file must contain PEM encoded data.
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "key")
|
|
172
171
|
|
|
173
172
|
@key.setter
|
|
174
|
-
def key(self, value: pulumi.Input[
|
|
173
|
+
def key(self, value: pulumi.Input[_builtins.str]):
|
|
175
174
|
pulumi.set(self, "key", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
|
-
def sslinline(self) -> Optional[pulumi.Input[
|
|
178
|
+
def sslinline(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
180
179
|
"""
|
|
181
180
|
Must be set to true if you are inlining the cert/key instead of using a file path.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "sslinline")
|
|
184
183
|
|
|
185
184
|
@sslinline.setter
|
|
186
|
-
def sslinline(self, value: Optional[pulumi.Input[
|
|
185
|
+
def sslinline(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
187
186
|
pulumi.set(self, "sslinline", value)
|
|
188
187
|
|
|
189
188
|
|
|
190
189
|
if not MYPY:
|
|
191
190
|
class SchemaPolicyArgsDict(TypedDict):
|
|
192
|
-
create: NotRequired[pulumi.Input[
|
|
191
|
+
create: NotRequired[pulumi.Input[_builtins.bool]]
|
|
193
192
|
"""
|
|
194
193
|
Should the specified ROLE have CREATE privileges to the specified SCHEMA.
|
|
195
194
|
"""
|
|
196
|
-
create_with_grant: NotRequired[pulumi.Input[
|
|
195
|
+
create_with_grant: NotRequired[pulumi.Input[_builtins.bool]]
|
|
197
196
|
"""
|
|
198
197
|
Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.
|
|
199
198
|
"""
|
|
200
|
-
role: NotRequired[pulumi.Input[
|
|
199
|
+
role: NotRequired[pulumi.Input[_builtins.str]]
|
|
201
200
|
"""
|
|
202
201
|
The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the [`PUBLIC` role](https://www.postgresql.org/docs/current/static/sql-grant.html).
|
|
203
202
|
"""
|
|
204
|
-
usage: NotRequired[pulumi.Input[
|
|
203
|
+
usage: NotRequired[pulumi.Input[_builtins.bool]]
|
|
205
204
|
"""
|
|
206
205
|
Should the specified ROLE have USAGE privileges to the specified SCHEMA.
|
|
207
206
|
"""
|
|
208
|
-
usage_with_grant: NotRequired[pulumi.Input[
|
|
207
|
+
usage_with_grant: NotRequired[pulumi.Input[_builtins.bool]]
|
|
209
208
|
"""
|
|
210
209
|
Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.
|
|
211
210
|
|
|
@@ -217,17 +216,17 @@ elif False:
|
|
|
217
216
|
@pulumi.input_type
|
|
218
217
|
class SchemaPolicyArgs:
|
|
219
218
|
def __init__(__self__, *,
|
|
220
|
-
create: Optional[pulumi.Input[
|
|
221
|
-
create_with_grant: Optional[pulumi.Input[
|
|
222
|
-
role: Optional[pulumi.Input[
|
|
223
|
-
usage: Optional[pulumi.Input[
|
|
224
|
-
usage_with_grant: Optional[pulumi.Input[
|
|
225
|
-
"""
|
|
226
|
-
:param pulumi.Input[
|
|
227
|
-
:param pulumi.Input[
|
|
228
|
-
:param pulumi.Input[
|
|
229
|
-
:param pulumi.Input[
|
|
230
|
-
:param pulumi.Input[
|
|
219
|
+
create: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
220
|
+
create_with_grant: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
221
|
+
role: Optional[pulumi.Input[_builtins.str]] = None,
|
|
222
|
+
usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
223
|
+
usage_with_grant: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
224
|
+
"""
|
|
225
|
+
:param pulumi.Input[_builtins.bool] create: Should the specified ROLE have CREATE privileges to the specified SCHEMA.
|
|
226
|
+
:param pulumi.Input[_builtins.bool] create_with_grant: Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.
|
|
227
|
+
:param pulumi.Input[_builtins.str] role: The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the [`PUBLIC` role](https://www.postgresql.org/docs/current/static/sql-grant.html).
|
|
228
|
+
:param pulumi.Input[_builtins.bool] usage: Should the specified ROLE have USAGE privileges to the specified SCHEMA.
|
|
229
|
+
:param pulumi.Input[_builtins.bool] usage_with_grant: Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.
|
|
231
230
|
|
|
232
231
|
> **NOTE on `policy`:** The permissions of a role specified in multiple policy blocks is cumulative. For example, if the same role is specified in two different `policy` each with different permissions (e.g. `create` and `usage_with_grant`, respectively), then the specified role with have both `create` and `usage_with_grant` privileges.
|
|
233
232
|
"""
|
|
@@ -242,57 +241,57 @@ class SchemaPolicyArgs:
|
|
|
242
241
|
if usage_with_grant is not None:
|
|
243
242
|
pulumi.set(__self__, "usage_with_grant", usage_with_grant)
|
|
244
243
|
|
|
245
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
246
245
|
@pulumi.getter
|
|
247
|
-
def create(self) -> Optional[pulumi.Input[
|
|
246
|
+
def create(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
248
247
|
"""
|
|
249
248
|
Should the specified ROLE have CREATE privileges to the specified SCHEMA.
|
|
250
249
|
"""
|
|
251
250
|
return pulumi.get(self, "create")
|
|
252
251
|
|
|
253
252
|
@create.setter
|
|
254
|
-
def create(self, value: Optional[pulumi.Input[
|
|
253
|
+
def create(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
255
254
|
pulumi.set(self, "create", value)
|
|
256
255
|
|
|
257
|
-
@property
|
|
256
|
+
@_builtins.property
|
|
258
257
|
@pulumi.getter(name="createWithGrant")
|
|
259
|
-
def create_with_grant(self) -> Optional[pulumi.Input[
|
|
258
|
+
def create_with_grant(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
260
259
|
"""
|
|
261
260
|
Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.
|
|
262
261
|
"""
|
|
263
262
|
return pulumi.get(self, "create_with_grant")
|
|
264
263
|
|
|
265
264
|
@create_with_grant.setter
|
|
266
|
-
def create_with_grant(self, value: Optional[pulumi.Input[
|
|
265
|
+
def create_with_grant(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
267
266
|
pulumi.set(self, "create_with_grant", value)
|
|
268
267
|
|
|
269
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
270
269
|
@pulumi.getter
|
|
271
|
-
def role(self) -> Optional[pulumi.Input[
|
|
270
|
+
def role(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
272
271
|
"""
|
|
273
272
|
The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the [`PUBLIC` role](https://www.postgresql.org/docs/current/static/sql-grant.html).
|
|
274
273
|
"""
|
|
275
274
|
return pulumi.get(self, "role")
|
|
276
275
|
|
|
277
276
|
@role.setter
|
|
278
|
-
def role(self, value: Optional[pulumi.Input[
|
|
277
|
+
def role(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
279
278
|
pulumi.set(self, "role", value)
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter
|
|
283
|
-
def usage(self) -> Optional[pulumi.Input[
|
|
282
|
+
def usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
284
283
|
"""
|
|
285
284
|
Should the specified ROLE have USAGE privileges to the specified SCHEMA.
|
|
286
285
|
"""
|
|
287
286
|
return pulumi.get(self, "usage")
|
|
288
287
|
|
|
289
288
|
@usage.setter
|
|
290
|
-
def usage(self, value: Optional[pulumi.Input[
|
|
289
|
+
def usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
291
290
|
pulumi.set(self, "usage", value)
|
|
292
291
|
|
|
293
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
294
293
|
@pulumi.getter(name="usageWithGrant")
|
|
295
|
-
def usage_with_grant(self) -> Optional[pulumi.Input[
|
|
294
|
+
def usage_with_grant(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
296
295
|
"""
|
|
297
296
|
Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.
|
|
298
297
|
|
|
@@ -301,7 +300,7 @@ class SchemaPolicyArgs:
|
|
|
301
300
|
return pulumi.get(self, "usage_with_grant")
|
|
302
301
|
|
|
303
302
|
@usage_with_grant.setter
|
|
304
|
-
def usage_with_grant(self, value: Optional[pulumi.Input[
|
|
303
|
+
def usage_with_grant(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
305
304
|
pulumi.set(self, "usage_with_grant", value)
|
|
306
305
|
|
|
307
306
|
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -18,8 +17,7 @@ from . import outputs
|
|
|
18
17
|
|
|
19
18
|
awsRdsIamAuth: Optional[bool]
|
|
20
19
|
"""
|
|
21
|
-
Use rds_iam instead of password authentication (see:
|
|
22
|
-
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)
|
|
20
|
+
Use rds_iam instead of password authentication (see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html)
|
|
23
21
|
"""
|
|
24
22
|
|
|
25
23
|
awsRdsIamProfile: Optional[str]
|
|
@@ -39,8 +37,7 @@ AWS region to use for IAM auth
|
|
|
39
37
|
|
|
40
38
|
azureIdentityAuth: Optional[bool]
|
|
41
39
|
"""
|
|
42
|
-
Use MS Azure identity OAuth token (see:
|
|
43
|
-
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication)
|
|
40
|
+
Use MS Azure identity OAuth token (see: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-configure-sign-in-azure-ad-authentication)
|
|
44
41
|
"""
|
|
45
42
|
|
|
46
43
|
azureTenantId: Optional[str]
|
|
@@ -57,7 +54,7 @@ Maximum wait for connection, in seconds. Zero or not specified means wait indefi
|
|
|
57
54
|
|
|
58
55
|
database: Optional[str]
|
|
59
56
|
"""
|
|
60
|
-
The name of the database to connect to in order to
|
|
57
|
+
The name of the database to connect to in order to connect to (defaults to `postgres`).
|
|
61
58
|
"""
|
|
62
59
|
|
|
63
60
|
databaseUsername: Optional[str]
|
|
@@ -101,8 +98,7 @@ sslMode: Optional[str]
|
|
|
101
98
|
|
|
102
99
|
sslmode: Optional[str]
|
|
103
100
|
"""
|
|
104
|
-
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the
|
|
105
|
-
PostgreSQL server
|
|
101
|
+
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the PostgreSQL server
|
|
106
102
|
"""
|
|
107
103
|
|
|
108
104
|
sslrootcert: Optional[str]
|
|
@@ -112,8 +108,7 @@ The SSL server root certificate file path. The file must contain PEM encoded dat
|
|
|
112
108
|
|
|
113
109
|
superuser: Optional[bool]
|
|
114
110
|
"""
|
|
115
|
-
Specify if the user to connect as is a Postgres superuser or not.If not, some feature might be disabled (e.g.:
|
|
116
|
-
Refreshing state password from Postgres)
|
|
111
|
+
Specify if the user to connect as is a Postgres superuser or not.If not, some feature might be disabled (e.g.: Refreshing state password from Postgres)
|
|
117
112
|
"""
|
|
118
113
|
|
|
119
114
|
username: Optional[str]
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,38 +21,38 @@ __all__ = [
|
|
|
22
21
|
@pulumi.output_type
|
|
23
22
|
class Clientcert(dict):
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
cert:
|
|
26
|
-
key:
|
|
27
|
-
sslinline: Optional[
|
|
24
|
+
cert: _builtins.str,
|
|
25
|
+
key: _builtins.str,
|
|
26
|
+
sslinline: Optional[_builtins.bool] = None):
|
|
28
27
|
"""
|
|
29
|
-
:param
|
|
30
|
-
:param
|
|
31
|
-
:param
|
|
28
|
+
:param _builtins.str cert: The SSL client certificate file path. The file must contain PEM encoded data.
|
|
29
|
+
:param _builtins.str key: The SSL client certificate private key file path. The file must contain PEM encoded data.
|
|
30
|
+
:param _builtins.bool sslinline: Must be set to true if you are inlining the cert/key instead of using a file path.
|
|
32
31
|
"""
|
|
33
32
|
pulumi.set(__self__, "cert", cert)
|
|
34
33
|
pulumi.set(__self__, "key", key)
|
|
35
34
|
if sslinline is not None:
|
|
36
35
|
pulumi.set(__self__, "sslinline", sslinline)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def cert(self) ->
|
|
39
|
+
def cert(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The SSL client certificate file path. The file must contain PEM encoded data.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "cert")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def key(self) ->
|
|
47
|
+
def key(self) -> _builtins.str:
|
|
49
48
|
"""
|
|
50
49
|
The SSL client certificate private key file path. The file must contain PEM encoded data.
|
|
51
50
|
"""
|
|
52
51
|
return pulumi.get(self, "key")
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter
|
|
56
|
-
def sslinline(self) -> Optional[
|
|
55
|
+
def sslinline(self) -> Optional[_builtins.bool]:
|
|
57
56
|
"""
|
|
58
57
|
Must be set to true if you are inlining the cert/key instead of using a file path.
|
|
59
58
|
"""
|