pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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 (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  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 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  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 -48
  36. pulumi_aiven/get_account.py +20 -9
  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 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  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 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  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 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  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 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  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 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.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,33 +167,31 @@ 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
 
169
- <!--Start PulumiCodeChooser -->
170
174
  ```python
171
175
  import pulumi
172
176
  import pulumi_aiven as aiven
173
177
 
174
- foo = aiven.AwsPrivatelink("foo",
175
- project=data["aiven_project"]["foo"]["project"],
176
- service_name=aiven_kafka["bar"]["service_name"],
178
+ main = aiven.AwsPrivatelink("main",
179
+ project=example_project["project"],
180
+ service_name=example_kafka["serviceName"],
177
181
  principals=["arn:aws:iam::012345678901:user/mwf"])
178
182
  ```
179
- <!--End PulumiCodeChooser -->
180
183
 
181
184
  ## Import
182
185
 
183
186
  ```sh
184
- $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink foo project/service_name
187
+ $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
185
188
  ```
186
189
 
187
190
  :param str resource_name: The name of the resource.
188
191
  :param pulumi.ResourceOptions opts: Options for the resource.
189
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
190
- :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.
191
- :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.
192
195
  """
193
196
  ...
194
197
  @overload
@@ -197,26 +200,24 @@ class AwsPrivatelink(pulumi.CustomResource):
197
200
  args: AwsPrivatelinkArgs,
198
201
  opts: Optional[pulumi.ResourceOptions] = None):
199
202
  """
200
- 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.
201
204
 
202
205
  ## Example Usage
203
206
 
204
- <!--Start PulumiCodeChooser -->
205
207
  ```python
206
208
  import pulumi
207
209
  import pulumi_aiven as aiven
208
210
 
209
- foo = aiven.AwsPrivatelink("foo",
210
- project=data["aiven_project"]["foo"]["project"],
211
- service_name=aiven_kafka["bar"]["service_name"],
211
+ main = aiven.AwsPrivatelink("main",
212
+ project=example_project["project"],
213
+ service_name=example_kafka["serviceName"],
212
214
  principals=["arn:aws:iam::012345678901:user/mwf"])
213
215
  ```
214
- <!--End PulumiCodeChooser -->
215
216
 
216
217
  ## Import
217
218
 
218
219
  ```sh
219
- $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink foo project/service_name
220
+ $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
220
221
  ```
221
222
 
222
223
  :param str resource_name: The name of the resource.
@@ -279,11 +280,11 @@ class AwsPrivatelink(pulumi.CustomResource):
279
280
  :param str resource_name: The unique name of the resulting resource.
280
281
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
281
282
  :param pulumi.ResourceOptions opts: Options for the resource.
282
- :param pulumi.Input[str] aws_service_id: AWS service ID
283
- :param pulumi.Input[str] aws_service_name: AWS service name
284
- :param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed principals
285
- :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.
286
- :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.
287
288
  """
288
289
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
289
290
 
@@ -300,7 +301,7 @@ class AwsPrivatelink(pulumi.CustomResource):
300
301
  @pulumi.getter(name="awsServiceId")
301
302
  def aws_service_id(self) -> pulumi.Output[str]:
302
303
  """
303
- AWS service ID
304
+ AWS service ID.
304
305
  """
305
306
  return pulumi.get(self, "aws_service_id")
306
307
 
@@ -308,7 +309,7 @@ class AwsPrivatelink(pulumi.CustomResource):
308
309
  @pulumi.getter(name="awsServiceName")
309
310
  def aws_service_name(self) -> pulumi.Output[str]:
310
311
  """
311
- AWS service name
312
+ AWS service name.
312
313
  """
313
314
  return pulumi.get(self, "aws_service_name")
314
315
 
@@ -316,7 +317,7 @@ class AwsPrivatelink(pulumi.CustomResource):
316
317
  @pulumi.getter
317
318
  def principals(self) -> pulumi.Output[Sequence[str]]:
318
319
  """
319
- List of allowed principals
320
+ List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
320
321
  """
321
322
  return pulumi.get(self, "principals")
322
323
 
@@ -324,7 +325,7 @@ class AwsPrivatelink(pulumi.CustomResource):
324
325
  @pulumi.getter
325
326
  def project(self) -> pulumi.Output[str]:
326
327
  """
327
- 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.
328
329
  """
329
330
  return pulumi.get(self, "project")
330
331
 
@@ -332,7 +333,7 @@ class AwsPrivatelink(pulumi.CustomResource):
332
333
  @pulumi.getter(name="serviceName")
333
334
  def service_name(self) -> pulumi.Output[str]:
334
335
  """
335
- 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.
336
337
  """
337
338
  return pulumi.get(self, "service_name")
338
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,34 +215,37 @@ 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
 
217
- <!--Start PulumiCodeChooser -->
218
222
  ```python
219
223
  import pulumi
220
224
  import pulumi_aiven as aiven
221
225
 
222
- foo = aiven.AwsVpcPeeringConnection("foo",
223
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
224
- aws_account_id="XXXXX",
225
- 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")
226
235
  ```
227
- <!--End PulumiCodeChooser -->
228
236
 
229
237
  ## Import
230
238
 
231
239
  ```sh
232
- $ 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
233
241
  ```
234
242
 
235
243
  :param str resource_name: The name of the resource.
236
244
  :param pulumi.ResourceOptions opts: Options for the resource.
237
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
238
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
239
- :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.
240
- :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.
241
249
  """
242
250
  ...
243
251
  @overload
@@ -246,26 +254,29 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
246
254
  args: AwsVpcPeeringConnectionArgs,
247
255
  opts: Optional[pulumi.ResourceOptions] = None):
248
256
  """
249
- 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.
250
258
 
251
259
  ## Example Usage
252
260
 
253
- <!--Start PulumiCodeChooser -->
254
261
  ```python
255
262
  import pulumi
256
263
  import pulumi_aiven as aiven
257
264
 
258
- foo = aiven.AwsVpcPeeringConnection("foo",
259
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
260
- aws_account_id="XXXXX",
261
- 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")
262
274
  ```
263
- <!--End PulumiCodeChooser -->
264
275
 
265
276
  ## Import
266
277
 
267
278
  ```sh
268
- $ 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
269
280
  ```
270
281
 
271
282
  :param str resource_name: The name of the resource.
@@ -326,7 +337,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
326
337
  aws_vpc_peering_connection_id: Optional[pulumi.Input[str]] = None,
327
338
  aws_vpc_region: Optional[pulumi.Input[str]] = None,
328
339
  state: Optional[pulumi.Input[str]] = None,
329
- state_info: Optional[pulumi.Input[Mapping[str, Any]]] = None,
340
+ state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
330
341
  vpc_id: Optional[pulumi.Input[str]] = None) -> 'AwsVpcPeeringConnection':
331
342
  """
332
343
  Get an existing AwsVpcPeeringConnection resource's state with the given name, id, and optional extra
@@ -335,13 +346,13 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
335
346
  :param str resource_name: The unique name of the resulting resource.
336
347
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
337
348
  :param pulumi.ResourceOptions opts: Options for the resource.
338
- :param pulumi.Input[str] aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
339
- :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
340
- :param pulumi.Input[str] aws_vpc_peering_connection_id: AWS VPC peering connection ID
341
- :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.
342
- :param pulumi.Input[str] state: State of the peering connection
343
- :param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
344
- :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.
345
356
  """
346
357
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
347
358
 
@@ -360,7 +371,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
360
371
  @pulumi.getter(name="awsAccountId")
361
372
  def aws_account_id(self) -> pulumi.Output[str]:
362
373
  """
363
- 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.
364
375
  """
365
376
  return pulumi.get(self, "aws_account_id")
366
377
 
@@ -368,7 +379,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
368
379
  @pulumi.getter(name="awsVpcId")
369
380
  def aws_vpc_id(self) -> pulumi.Output[str]:
370
381
  """
371
- 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.
372
383
  """
373
384
  return pulumi.get(self, "aws_vpc_id")
374
385
 
@@ -376,7 +387,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
376
387
  @pulumi.getter(name="awsVpcPeeringConnectionId")
377
388
  def aws_vpc_peering_connection_id(self) -> pulumi.Output[str]:
378
389
  """
379
- AWS VPC peering connection ID
390
+ The ID of the AWS VPC peering connection.
380
391
  """
381
392
  return pulumi.get(self, "aws_vpc_peering_connection_id")
382
393
 
@@ -384,7 +395,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
384
395
  @pulumi.getter(name="awsVpcRegion")
385
396
  def aws_vpc_region(self) -> pulumi.Output[str]:
386
397
  """
387
- 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.
388
399
  """
389
400
  return pulumi.get(self, "aws_vpc_region")
390
401
 
@@ -392,15 +403,15 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
392
403
  @pulumi.getter
393
404
  def state(self) -> pulumi.Output[str]:
394
405
  """
395
- State of the peering connection
406
+ The state of the peering connection.
396
407
  """
397
408
  return pulumi.get(self, "state")
398
409
 
399
410
  @property
400
411
  @pulumi.getter(name="stateInfo")
401
- def state_info(self) -> pulumi.Output[Mapping[str, Any]]:
412
+ def state_info(self) -> pulumi.Output[Mapping[str, str]]:
402
413
  """
403
- State-specific help or error information
414
+ State-specific help or error information.
404
415
  """
405
416
  return pulumi.get(self, "state_info")
406
417
 
@@ -408,7 +419,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
408
419
  @pulumi.getter(name="vpcId")
409
420
  def vpc_id(self) -> pulumi.Output[str]:
410
421
  """
411
- 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.
412
423
  """
413
424
  return pulumi.get(self, "vpc_id")
414
425