pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.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 pulumi-aiven might be problematic. Click here for more details.

Files changed (169) hide show
  1. pulumi_aiven/__init__.py +136 -0
  2. pulumi_aiven/_inputs.py +32960 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
  36. pulumi_aiven/get_account.py +20 -5
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_quota.py +604 -0
  121. pulumi_aiven/kafka_schema.py +65 -56
  122. pulumi_aiven/kafka_schema_configuration.py +25 -20
  123. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  124. pulumi_aiven/kafka_topic.py +184 -65
  125. pulumi_aiven/kafka_user.py +59 -54
  126. pulumi_aiven/m3_aggregator.py +176 -308
  127. pulumi_aiven/m3_db.py +190 -322
  128. pulumi_aiven/m3db_user.py +51 -46
  129. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  130. pulumi_aiven/my_sql.py +190 -322
  131. pulumi_aiven/mysql_database.py +32 -47
  132. pulumi_aiven/mysql_user.py +37 -32
  133. pulumi_aiven/open_search.py +128 -105
  134. pulumi_aiven/open_search_acl_config.py +33 -32
  135. pulumi_aiven/open_search_acl_rule.py +55 -50
  136. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  137. pulumi_aiven/opensearch_user.py +30 -25
  138. pulumi_aiven/organization.py +18 -13
  139. pulumi_aiven/organization_application_user.py +345 -0
  140. pulumi_aiven/organization_application_user_token.py +711 -0
  141. pulumi_aiven/organization_group_project.py +349 -0
  142. pulumi_aiven/organization_permission.py +421 -0
  143. pulumi_aiven/organization_user.py +25 -46
  144. pulumi_aiven/organization_user_group.py +64 -23
  145. pulumi_aiven/organization_user_group_member.py +359 -0
  146. pulumi_aiven/organizational_unit.py +41 -32
  147. pulumi_aiven/outputs.py +38714 -21632
  148. pulumi_aiven/pg.py +92 -88
  149. pulumi_aiven/pg_database.py +52 -67
  150. pulumi_aiven/pg_user.py +80 -61
  151. pulumi_aiven/project.py +111 -102
  152. pulumi_aiven/project_user.py +44 -31
  153. pulumi_aiven/project_vpc.py +58 -29
  154. pulumi_aiven/provider.py +5 -0
  155. pulumi_aiven/pulumi-plugin.json +2 -1
  156. pulumi_aiven/redis.py +163 -295
  157. pulumi_aiven/redis_user.py +58 -53
  158. pulumi_aiven/service_integration.py +511 -161
  159. pulumi_aiven/service_integration_endpoint.py +466 -158
  160. pulumi_aiven/static_ip.py +21 -16
  161. pulumi_aiven/thanos.py +1262 -0
  162. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
  163. pulumi_aiven/valkey.py +1256 -0
  164. pulumi_aiven/valkey_user.py +606 -0
  165. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
  166. pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
  167. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
  168. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  169. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AwsPrivatelinkArgs', 'AwsPrivatelink']
@@ -19,9 +24,9 @@ class AwsPrivatelinkArgs:
19
24
  service_name: pulumi.Input[str]):
20
25
  """
21
26
  The set of arguments for constructing a AwsPrivatelink resource.
22
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
23
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
27
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
28
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
29
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
25
30
  """
26
31
  pulumi.set(__self__, "principals", principals)
27
32
  pulumi.set(__self__, "project", project)
@@ -31,7 +36,7 @@ class AwsPrivatelinkArgs:
31
36
  @pulumi.getter
32
37
  def principals(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
33
38
  """
34
- List of allowed principals
39
+ List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
35
40
  """
36
41
  return pulumi.get(self, "principals")
37
42
 
@@ -43,7 +48,7 @@ class AwsPrivatelinkArgs:
43
48
  @pulumi.getter
44
49
  def project(self) -> pulumi.Input[str]:
45
50
  """
46
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
51
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
47
52
  """
48
53
  return pulumi.get(self, "project")
49
54
 
@@ -55,7 +60,7 @@ class AwsPrivatelinkArgs:
55
60
  @pulumi.getter(name="serviceName")
56
61
  def service_name(self) -> pulumi.Input[str]:
57
62
  """
58
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
63
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
59
64
  """
60
65
  return pulumi.get(self, "service_name")
61
66
 
@@ -74,11 +79,11 @@ class _AwsPrivatelinkState:
74
79
  service_name: Optional[pulumi.Input[str]] = None):
75
80
  """
76
81
  Input properties used for looking up and filtering AwsPrivatelink resources.
77
- :param pulumi.Input[str] aws_service_id: AWS service ID
78
- :param pulumi.Input[str] aws_service_name: AWS service name
79
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
80
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
81
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
82
+ :param pulumi.Input[str] aws_service_id: AWS service ID.
83
+ :param pulumi.Input[str] aws_service_name: AWS service name.
84
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
85
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
86
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
82
87
  """
83
88
  if aws_service_id is not None:
84
89
  pulumi.set(__self__, "aws_service_id", aws_service_id)
@@ -95,7 +100,7 @@ class _AwsPrivatelinkState:
95
100
  @pulumi.getter(name="awsServiceId")
96
101
  def aws_service_id(self) -> Optional[pulumi.Input[str]]:
97
102
  """
98
- AWS service ID
103
+ AWS service ID.
99
104
  """
100
105
  return pulumi.get(self, "aws_service_id")
101
106
 
@@ -107,7 +112,7 @@ class _AwsPrivatelinkState:
107
112
  @pulumi.getter(name="awsServiceName")
108
113
  def aws_service_name(self) -> Optional[pulumi.Input[str]]:
109
114
  """
110
- AWS service name
115
+ AWS service name.
111
116
  """
112
117
  return pulumi.get(self, "aws_service_name")
113
118
 
@@ -119,7 +124,7 @@ class _AwsPrivatelinkState:
119
124
  @pulumi.getter
120
125
  def principals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
121
126
  """
122
- List of allowed principals
127
+ List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
123
128
  """
124
129
  return pulumi.get(self, "principals")
125
130
 
@@ -131,7 +136,7 @@ class _AwsPrivatelinkState:
131
136
  @pulumi.getter
132
137
  def project(self) -> Optional[pulumi.Input[str]]:
133
138
  """
134
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
139
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
135
140
  """
136
141
  return pulumi.get(self, "project")
137
142
 
@@ -143,7 +148,7 @@ class _AwsPrivatelinkState:
143
148
  @pulumi.getter(name="serviceName")
144
149
  def service_name(self) -> Optional[pulumi.Input[str]]:
145
150
  """
146
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
151
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
147
152
  """
148
153
  return pulumi.get(self, "service_name")
149
154
 
@@ -162,7 +167,7 @@ class AwsPrivatelink(pulumi.CustomResource):
162
167
  service_name: Optional[pulumi.Input[str]] = None,
163
168
  __props__=None):
164
169
  """
165
- The AWS Privatelink resource allows the creation and management of Aiven AWS Privatelink for a services.
170
+ Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
166
171
 
167
172
  ## Example Usage
168
173
 
@@ -170,23 +175,23 @@ class AwsPrivatelink(pulumi.CustomResource):
170
175
  import pulumi
171
176
  import pulumi_aiven as aiven
172
177
 
173
- foo = aiven.AwsPrivatelink("foo",
174
- project=data["aiven_project"]["foo"]["project"],
175
- service_name=aiven_kafka["bar"]["service_name"],
178
+ main = aiven.AwsPrivatelink("main",
179
+ project=example_project["project"],
180
+ service_name=example_kafka["serviceName"],
176
181
  principals=["arn:aws:iam::012345678901:user/mwf"])
177
182
  ```
178
183
 
179
184
  ## Import
180
185
 
181
186
  ```sh
182
- $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink foo project/service_name
187
+ $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
183
188
  ```
184
189
 
185
190
  :param str resource_name: The name of the resource.
186
191
  :param pulumi.ResourceOptions opts: Options for the resource.
187
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
188
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
189
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
192
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
193
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
194
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
190
195
  """
191
196
  ...
192
197
  @overload
@@ -195,7 +200,7 @@ class AwsPrivatelink(pulumi.CustomResource):
195
200
  args: AwsPrivatelinkArgs,
196
201
  opts: Optional[pulumi.ResourceOptions] = None):
197
202
  """
198
- The AWS Privatelink resource allows the creation and management of Aiven AWS Privatelink for a services.
203
+ Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
199
204
 
200
205
  ## Example Usage
201
206
 
@@ -203,16 +208,16 @@ class AwsPrivatelink(pulumi.CustomResource):
203
208
  import pulumi
204
209
  import pulumi_aiven as aiven
205
210
 
206
- foo = aiven.AwsPrivatelink("foo",
207
- project=data["aiven_project"]["foo"]["project"],
208
- service_name=aiven_kafka["bar"]["service_name"],
211
+ main = aiven.AwsPrivatelink("main",
212
+ project=example_project["project"],
213
+ service_name=example_kafka["serviceName"],
209
214
  principals=["arn:aws:iam::012345678901:user/mwf"])
210
215
  ```
211
216
 
212
217
  ## Import
213
218
 
214
219
  ```sh
215
- $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink foo project/service_name
220
+ $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
216
221
  ```
217
222
 
218
223
  :param str resource_name: The name of the resource.
@@ -275,11 +280,11 @@ class AwsPrivatelink(pulumi.CustomResource):
275
280
  :param str resource_name: The unique name of the resulting resource.
276
281
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
277
282
  :param pulumi.ResourceOptions opts: Options for the resource.
278
- :param pulumi.Input[str] aws_service_id: AWS service ID
279
- :param pulumi.Input[str] aws_service_name: AWS service name
280
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
281
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
282
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
283
+ :param pulumi.Input[str] aws_service_id: AWS service ID.
284
+ :param pulumi.Input[str] aws_service_name: AWS service name.
285
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
286
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
287
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
283
288
  """
284
289
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
285
290
 
@@ -296,7 +301,7 @@ class AwsPrivatelink(pulumi.CustomResource):
296
301
  @pulumi.getter(name="awsServiceId")
297
302
  def aws_service_id(self) -> pulumi.Output[str]:
298
303
  """
299
- AWS service ID
304
+ AWS service ID.
300
305
  """
301
306
  return pulumi.get(self, "aws_service_id")
302
307
 
@@ -304,7 +309,7 @@ class AwsPrivatelink(pulumi.CustomResource):
304
309
  @pulumi.getter(name="awsServiceName")
305
310
  def aws_service_name(self) -> pulumi.Output[str]:
306
311
  """
307
- AWS service name
312
+ AWS service name.
308
313
  """
309
314
  return pulumi.get(self, "aws_service_name")
310
315
 
@@ -312,7 +317,7 @@ class AwsPrivatelink(pulumi.CustomResource):
312
317
  @pulumi.getter
313
318
  def principals(self) -> pulumi.Output[Sequence[str]]:
314
319
  """
315
- List of allowed principals
320
+ List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
316
321
  """
317
322
  return pulumi.get(self, "principals")
318
323
 
@@ -320,7 +325,7 @@ class AwsPrivatelink(pulumi.CustomResource):
320
325
  @pulumi.getter
321
326
  def project(self) -> pulumi.Output[str]:
322
327
  """
323
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
328
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
324
329
  """
325
330
  return pulumi.get(self, "project")
326
331
 
@@ -328,7 +333,7 @@ class AwsPrivatelink(pulumi.CustomResource):
328
333
  @pulumi.getter(name="serviceName")
329
334
  def service_name(self) -> pulumi.Output[str]:
330
335
  """
331
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
336
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
332
337
  """
333
338
  return pulumi.get(self, "service_name")
334
339
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AwsVpcPeeringConnectionArgs', 'AwsVpcPeeringConnection']
@@ -20,10 +25,10 @@ class AwsVpcPeeringConnectionArgs:
20
25
  vpc_id: pulumi.Input[str]):
21
26
  """
22
27
  The set of arguments for constructing a AwsVpcPeeringConnection resource.
23
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
25
- :param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
26
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
28
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
29
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
30
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
31
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
27
32
  """
28
33
  pulumi.set(__self__, "aws_account_id", aws_account_id)
29
34
  pulumi.set(__self__, "aws_vpc_id", aws_vpc_id)
@@ -34,7 +39,7 @@ class AwsVpcPeeringConnectionArgs:
34
39
  @pulumi.getter(name="awsAccountId")
35
40
  def aws_account_id(self) -> pulumi.Input[str]:
36
41
  """
37
- AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
42
+ AWS account ID. Changing this property forces recreation of the resource.
38
43
  """
39
44
  return pulumi.get(self, "aws_account_id")
40
45
 
@@ -46,7 +51,7 @@ class AwsVpcPeeringConnectionArgs:
46
51
  @pulumi.getter(name="awsVpcId")
47
52
  def aws_vpc_id(self) -> pulumi.Input[str]:
48
53
  """
49
- AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
54
+ AWS VPC ID. Changing this property forces recreation of the resource.
50
55
  """
51
56
  return pulumi.get(self, "aws_vpc_id")
52
57
 
@@ -58,7 +63,7 @@ class AwsVpcPeeringConnectionArgs:
58
63
  @pulumi.getter(name="awsVpcRegion")
59
64
  def aws_vpc_region(self) -> pulumi.Input[str]:
60
65
  """
61
- AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
66
+ The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
62
67
  """
63
68
  return pulumi.get(self, "aws_vpc_region")
64
69
 
@@ -70,7 +75,7 @@ class AwsVpcPeeringConnectionArgs:
70
75
  @pulumi.getter(name="vpcId")
71
76
  def vpc_id(self) -> pulumi.Input[str]:
72
77
  """
73
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
78
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
74
79
  """
75
80
  return pulumi.get(self, "vpc_id")
76
81
 
@@ -87,17 +92,17 @@ class _AwsVpcPeeringConnectionState:
87
92
  aws_vpc_peering_connection_id: Optional[pulumi.Input[str]] = None,
88
93
  aws_vpc_region: Optional[pulumi.Input[str]] = None,
89
94
  state: Optional[pulumi.Input[str]] = None,
90
- state_info: Optional[pulumi.Input[Mapping[str, Any]]] = None,
95
+ state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
91
96
  vpc_id: Optional[pulumi.Input[str]] = None):
92
97
  """
93
98
  Input properties used for looking up and filtering AwsVpcPeeringConnection resources.
94
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
95
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
96
- :param pulumi.Input[str] aws_vpc_peering_connection_id: AWS VPC peering connection ID
97
- :param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
98
- :param pulumi.Input[str] state: State of the peering connection
99
- :param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
100
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
99
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
100
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
101
+ :param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
102
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
103
+ :param pulumi.Input[str] state: The state of the peering connection.
104
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information.
105
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
101
106
  """
102
107
  if aws_account_id is not None:
103
108
  pulumi.set(__self__, "aws_account_id", aws_account_id)
@@ -118,7 +123,7 @@ class _AwsVpcPeeringConnectionState:
118
123
  @pulumi.getter(name="awsAccountId")
119
124
  def aws_account_id(self) -> Optional[pulumi.Input[str]]:
120
125
  """
121
- AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
126
+ AWS account ID. Changing this property forces recreation of the resource.
122
127
  """
123
128
  return pulumi.get(self, "aws_account_id")
124
129
 
@@ -130,7 +135,7 @@ class _AwsVpcPeeringConnectionState:
130
135
  @pulumi.getter(name="awsVpcId")
131
136
  def aws_vpc_id(self) -> Optional[pulumi.Input[str]]:
132
137
  """
133
- AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
138
+ AWS VPC ID. Changing this property forces recreation of the resource.
134
139
  """
135
140
  return pulumi.get(self, "aws_vpc_id")
136
141
 
@@ -142,7 +147,7 @@ class _AwsVpcPeeringConnectionState:
142
147
  @pulumi.getter(name="awsVpcPeeringConnectionId")
143
148
  def aws_vpc_peering_connection_id(self) -> Optional[pulumi.Input[str]]:
144
149
  """
145
- AWS VPC peering connection ID
150
+ The ID of the AWS VPC peering connection.
146
151
  """
147
152
  return pulumi.get(self, "aws_vpc_peering_connection_id")
148
153
 
@@ -154,7 +159,7 @@ class _AwsVpcPeeringConnectionState:
154
159
  @pulumi.getter(name="awsVpcRegion")
155
160
  def aws_vpc_region(self) -> Optional[pulumi.Input[str]]:
156
161
  """
157
- AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
162
+ The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
158
163
  """
159
164
  return pulumi.get(self, "aws_vpc_region")
160
165
 
@@ -166,7 +171,7 @@ class _AwsVpcPeeringConnectionState:
166
171
  @pulumi.getter
167
172
  def state(self) -> Optional[pulumi.Input[str]]:
168
173
  """
169
- State of the peering connection
174
+ The state of the peering connection.
170
175
  """
171
176
  return pulumi.get(self, "state")
172
177
 
@@ -176,21 +181,21 @@ class _AwsVpcPeeringConnectionState:
176
181
 
177
182
  @property
178
183
  @pulumi.getter(name="stateInfo")
179
- def state_info(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
184
+ def state_info(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
180
185
  """
181
- State-specific help or error information
186
+ State-specific help or error information.
182
187
  """
183
188
  return pulumi.get(self, "state_info")
184
189
 
185
190
  @state_info.setter
186
- def state_info(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
191
+ def state_info(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
187
192
  pulumi.set(self, "state_info", value)
188
193
 
189
194
  @property
190
195
  @pulumi.getter(name="vpcId")
191
196
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
192
197
  """
193
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
198
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
194
199
  """
195
200
  return pulumi.get(self, "vpc_id")
196
201
 
@@ -210,7 +215,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
210
215
  vpc_id: Optional[pulumi.Input[str]] = None,
211
216
  __props__=None):
212
217
  """
213
- The AWS VPC Peering Connection resource allows the creation and management of Aiven AWS VPC Peering Connections.
218
+ Creates and manages an AWS VPC peering connection with an Aiven VPC.
214
219
 
215
220
  ## Example Usage
216
221
 
@@ -218,24 +223,29 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
218
223
  import pulumi
219
224
  import pulumi_aiven as aiven
220
225
 
221
- foo = aiven.AwsVpcPeeringConnection("foo",
222
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
223
- aws_account_id="XXXXX",
224
- aws_vpc_id="XXXXX")
226
+ example_vpc = aiven.ProjectVpc("example_vpc",
227
+ project=example_project["project"],
228
+ cloud_name="aws-us-east-2",
229
+ network_cidr="192.168.1.0/24")
230
+ aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("aws_to_aiven_peering",
231
+ vpc_id=example_vpc.id,
232
+ aws_account_id=aws_id,
233
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
234
+ aws_vpc_region="aws-us-east-2")
225
235
  ```
226
236
 
227
237
  ## Import
228
238
 
229
239
  ```sh
230
- $ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection foo project_name/vpc_id/aws_account_id/aws_vpc_id/aws_vpc_region
240
+ $ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection aws_to_aiven_peering PROJECT/VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
231
241
  ```
232
242
 
233
243
  :param str resource_name: The name of the resource.
234
244
  :param pulumi.ResourceOptions opts: Options for the resource.
235
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
236
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
237
- :param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
238
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
245
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
246
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
247
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
248
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
239
249
  """
240
250
  ...
241
251
  @overload
@@ -244,7 +254,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
244
254
  args: AwsVpcPeeringConnectionArgs,
245
255
  opts: Optional[pulumi.ResourceOptions] = None):
246
256
  """
247
- The AWS VPC Peering Connection resource allows the creation and management of Aiven AWS VPC Peering Connections.
257
+ Creates and manages an AWS VPC peering connection with an Aiven VPC.
248
258
 
249
259
  ## Example Usage
250
260
 
@@ -252,16 +262,21 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
252
262
  import pulumi
253
263
  import pulumi_aiven as aiven
254
264
 
255
- foo = aiven.AwsVpcPeeringConnection("foo",
256
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
257
- aws_account_id="XXXXX",
258
- aws_vpc_id="XXXXX")
265
+ example_vpc = aiven.ProjectVpc("example_vpc",
266
+ project=example_project["project"],
267
+ cloud_name="aws-us-east-2",
268
+ network_cidr="192.168.1.0/24")
269
+ aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("aws_to_aiven_peering",
270
+ vpc_id=example_vpc.id,
271
+ aws_account_id=aws_id,
272
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
273
+ aws_vpc_region="aws-us-east-2")
259
274
  ```
260
275
 
261
276
  ## Import
262
277
 
263
278
  ```sh
264
- $ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection foo project_name/vpc_id/aws_account_id/aws_vpc_id/aws_vpc_region
279
+ $ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection aws_to_aiven_peering PROJECT/VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
265
280
  ```
266
281
 
267
282
  :param str resource_name: The name of the resource.
@@ -322,7 +337,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
322
337
  aws_vpc_peering_connection_id: Optional[pulumi.Input[str]] = None,
323
338
  aws_vpc_region: Optional[pulumi.Input[str]] = None,
324
339
  state: Optional[pulumi.Input[str]] = None,
325
- state_info: Optional[pulumi.Input[Mapping[str, Any]]] = None,
340
+ state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
326
341
  vpc_id: Optional[pulumi.Input[str]] = None) -> 'AwsVpcPeeringConnection':
327
342
  """
328
343
  Get an existing AwsVpcPeeringConnection resource's state with the given name, id, and optional extra
@@ -331,13 +346,13 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
331
346
  :param str resource_name: The unique name of the resulting resource.
332
347
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
333
348
  :param pulumi.ResourceOptions opts: Options for the resource.
334
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
335
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
336
- :param pulumi.Input[str] aws_vpc_peering_connection_id: AWS VPC peering connection ID
337
- :param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
338
- :param pulumi.Input[str] state: State of the peering connection
339
- :param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
340
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
349
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
350
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
351
+ :param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
352
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
353
+ :param pulumi.Input[str] state: The state of the peering connection.
354
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information.
355
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
341
356
  """
342
357
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
343
358
 
@@ -356,7 +371,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
356
371
  @pulumi.getter(name="awsAccountId")
357
372
  def aws_account_id(self) -> pulumi.Output[str]:
358
373
  """
359
- AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
374
+ AWS account ID. Changing this property forces recreation of the resource.
360
375
  """
361
376
  return pulumi.get(self, "aws_account_id")
362
377
 
@@ -364,7 +379,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
364
379
  @pulumi.getter(name="awsVpcId")
365
380
  def aws_vpc_id(self) -> pulumi.Output[str]:
366
381
  """
367
- AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
382
+ AWS VPC ID. Changing this property forces recreation of the resource.
368
383
  """
369
384
  return pulumi.get(self, "aws_vpc_id")
370
385
 
@@ -372,7 +387,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
372
387
  @pulumi.getter(name="awsVpcPeeringConnectionId")
373
388
  def aws_vpc_peering_connection_id(self) -> pulumi.Output[str]:
374
389
  """
375
- AWS VPC peering connection ID
390
+ The ID of the AWS VPC peering connection.
376
391
  """
377
392
  return pulumi.get(self, "aws_vpc_peering_connection_id")
378
393
 
@@ -380,7 +395,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
380
395
  @pulumi.getter(name="awsVpcRegion")
381
396
  def aws_vpc_region(self) -> pulumi.Output[str]:
382
397
  """
383
- AWS region of the peered VPC (if not in the same region as Aiven VPC). This property cannot be changed, doing so forces recreation of the resource.
398
+ The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
384
399
  """
385
400
  return pulumi.get(self, "aws_vpc_region")
386
401
 
@@ -388,15 +403,15 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
388
403
  @pulumi.getter
389
404
  def state(self) -> pulumi.Output[str]:
390
405
  """
391
- State of the peering connection
406
+ The state of the peering connection.
392
407
  """
393
408
  return pulumi.get(self, "state")
394
409
 
395
410
  @property
396
411
  @pulumi.getter(name="stateInfo")
397
- def state_info(self) -> pulumi.Output[Mapping[str, Any]]:
412
+ def state_info(self) -> pulumi.Output[Mapping[str, str]]:
398
413
  """
399
- State-specific help or error information
414
+ State-specific help or error information.
400
415
  """
401
416
  return pulumi.get(self, "state_info")
402
417
 
@@ -404,7 +419,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
404
419
  @pulumi.getter(name="vpcId")
405
420
  def vpc_id(self) -> pulumi.Output[str]:
406
421
  """
407
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
422
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
408
423
  """
409
424
  return pulumi.get(self, "vpc_id")
410
425