pulumi-aiven 6.13.0a1709702245__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 +32826 -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_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  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 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  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 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  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 +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  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 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.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.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,210 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAlloydbomniUserResult',
19
+ 'AwaitableGetAlloydbomniUserResult',
20
+ 'get_alloydbomni_user',
21
+ 'get_alloydbomni_user_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAlloydbomniUserResult:
26
+ """
27
+ A collection of values returned by getAlloydbomniUser.
28
+ """
29
+ def __init__(__self__, access_cert=None, access_key=None, id=None, password=None, pg_allow_replication=None, project=None, service_name=None, type=None, username=None):
30
+ if access_cert and not isinstance(access_cert, str):
31
+ raise TypeError("Expected argument 'access_cert' to be a str")
32
+ pulumi.set(__self__, "access_cert", access_cert)
33
+ if access_key and not isinstance(access_key, str):
34
+ raise TypeError("Expected argument 'access_key' to be a str")
35
+ pulumi.set(__self__, "access_key", access_key)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if password and not isinstance(password, str):
40
+ raise TypeError("Expected argument 'password' to be a str")
41
+ pulumi.set(__self__, "password", password)
42
+ if pg_allow_replication and not isinstance(pg_allow_replication, bool):
43
+ raise TypeError("Expected argument 'pg_allow_replication' to be a bool")
44
+ pulumi.set(__self__, "pg_allow_replication", pg_allow_replication)
45
+ if project and not isinstance(project, str):
46
+ raise TypeError("Expected argument 'project' to be a str")
47
+ pulumi.set(__self__, "project", project)
48
+ if service_name and not isinstance(service_name, str):
49
+ raise TypeError("Expected argument 'service_name' to be a str")
50
+ pulumi.set(__self__, "service_name", service_name)
51
+ if type and not isinstance(type, str):
52
+ raise TypeError("Expected argument 'type' to be a str")
53
+ pulumi.set(__self__, "type", type)
54
+ if username and not isinstance(username, str):
55
+ raise TypeError("Expected argument 'username' to be a str")
56
+ pulumi.set(__self__, "username", username)
57
+
58
+ @property
59
+ @pulumi.getter(name="accessCert")
60
+ def access_cert(self) -> str:
61
+ """
62
+ The access certificate for the servie user.
63
+ """
64
+ return pulumi.get(self, "access_cert")
65
+
66
+ @property
67
+ @pulumi.getter(name="accessKey")
68
+ def access_key(self) -> str:
69
+ """
70
+ The access certificate key for the service user.
71
+ """
72
+ return pulumi.get(self, "access_key")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def id(self) -> str:
77
+ """
78
+ The provider-assigned unique ID for this managed resource.
79
+ """
80
+ return pulumi.get(self, "id")
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def password(self) -> str:
85
+ """
86
+ The password of the service user.
87
+ """
88
+ return pulumi.get(self, "password")
89
+
90
+ @property
91
+ @pulumi.getter(name="pgAllowReplication")
92
+ def pg_allow_replication(self) -> bool:
93
+ """
94
+ Allows replication. For the default avnadmin user this attribute is required and is always `true`.
95
+ """
96
+ return pulumi.get(self, "pg_allow_replication")
97
+
98
+ @property
99
+ @pulumi.getter
100
+ def project(self) -> str:
101
+ """
102
+ 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.
103
+ """
104
+ return pulumi.get(self, "project")
105
+
106
+ @property
107
+ @pulumi.getter(name="serviceName")
108
+ def service_name(self) -> str:
109
+ """
110
+ 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.
111
+ """
112
+ return pulumi.get(self, "service_name")
113
+
114
+ @property
115
+ @pulumi.getter
116
+ def type(self) -> str:
117
+ """
118
+ The service user account type, either primary or regular.
119
+ """
120
+ return pulumi.get(self, "type")
121
+
122
+ @property
123
+ @pulumi.getter
124
+ def username(self) -> str:
125
+ """
126
+ The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
127
+ """
128
+ return pulumi.get(self, "username")
129
+
130
+
131
+ class AwaitableGetAlloydbomniUserResult(GetAlloydbomniUserResult):
132
+ # pylint: disable=using-constant-test
133
+ def __await__(self):
134
+ if False:
135
+ yield self
136
+ return GetAlloydbomniUserResult(
137
+ access_cert=self.access_cert,
138
+ access_key=self.access_key,
139
+ id=self.id,
140
+ password=self.password,
141
+ pg_allow_replication=self.pg_allow_replication,
142
+ project=self.project,
143
+ service_name=self.service_name,
144
+ type=self.type,
145
+ username=self.username)
146
+
147
+
148
+ def get_alloydbomni_user(project: Optional[str] = None,
149
+ service_name: Optional[str] = None,
150
+ username: Optional[str] = None,
151
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlloydbomniUserResult:
152
+ """
153
+ Gets information about an Aiven for AlloyDB Omni service user.
154
+
155
+ **This resource is in the beta stage and may change without notice.** Set
156
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
157
+
158
+
159
+ :param 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.
160
+ :param 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.
161
+ :param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
162
+ """
163
+ __args__ = dict()
164
+ __args__['project'] = project
165
+ __args__['serviceName'] = service_name
166
+ __args__['username'] = username
167
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
168
+ __ret__ = pulumi.runtime.invoke('aiven:index/getAlloydbomniUser:getAlloydbomniUser', __args__, opts=opts, typ=GetAlloydbomniUserResult).value
169
+
170
+ return AwaitableGetAlloydbomniUserResult(
171
+ access_cert=pulumi.get(__ret__, 'access_cert'),
172
+ access_key=pulumi.get(__ret__, 'access_key'),
173
+ id=pulumi.get(__ret__, 'id'),
174
+ password=pulumi.get(__ret__, 'password'),
175
+ pg_allow_replication=pulumi.get(__ret__, 'pg_allow_replication'),
176
+ project=pulumi.get(__ret__, 'project'),
177
+ service_name=pulumi.get(__ret__, 'service_name'),
178
+ type=pulumi.get(__ret__, 'type'),
179
+ username=pulumi.get(__ret__, 'username'))
180
+ def get_alloydbomni_user_output(project: Optional[pulumi.Input[str]] = None,
181
+ service_name: Optional[pulumi.Input[str]] = None,
182
+ username: Optional[pulumi.Input[str]] = None,
183
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlloydbomniUserResult]:
184
+ """
185
+ Gets information about an Aiven for AlloyDB Omni service user.
186
+
187
+ **This resource is in the beta stage and may change without notice.** Set
188
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
189
+
190
+
191
+ :param 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.
192
+ :param 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.
193
+ :param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
194
+ """
195
+ __args__ = dict()
196
+ __args__['project'] = project
197
+ __args__['serviceName'] = service_name
198
+ __args__['username'] = username
199
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
200
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAlloydbomniUser:getAlloydbomniUser', __args__, opts=opts, typ=GetAlloydbomniUserResult)
201
+ return __ret__.apply(lambda __response__: GetAlloydbomniUserResult(
202
+ access_cert=pulumi.get(__response__, 'access_cert'),
203
+ access_key=pulumi.get(__response__, 'access_key'),
204
+ id=pulumi.get(__response__, 'id'),
205
+ password=pulumi.get(__response__, 'password'),
206
+ pg_allow_replication=pulumi.get(__response__, 'pg_allow_replication'),
207
+ project=pulumi.get(__response__, 'project'),
208
+ service_name=pulumi.get(__response__, 'service_name'),
209
+ type=pulumi.get(__response__, 'type'),
210
+ username=pulumi.get(__response__, 'username')))
@@ -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__ = [
@@ -45,7 +50,7 @@ class GetAwsPrivatelinkResult:
45
50
  @pulumi.getter(name="awsServiceId")
46
51
  def aws_service_id(self) -> str:
47
52
  """
48
- AWS service ID
53
+ AWS service ID.
49
54
  """
50
55
  return pulumi.get(self, "aws_service_id")
51
56
 
@@ -53,7 +58,7 @@ class GetAwsPrivatelinkResult:
53
58
  @pulumi.getter(name="awsServiceName")
54
59
  def aws_service_name(self) -> str:
55
60
  """
56
- AWS service name
61
+ AWS service name.
57
62
  """
58
63
  return pulumi.get(self, "aws_service_name")
59
64
 
@@ -69,7 +74,7 @@ class GetAwsPrivatelinkResult:
69
74
  @pulumi.getter
70
75
  def principals(self) -> Sequence[str]:
71
76
  """
72
- List of allowed principals
77
+ List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
73
78
  """
74
79
  return pulumi.get(self, "principals")
75
80
 
@@ -77,7 +82,7 @@ class GetAwsPrivatelinkResult:
77
82
  @pulumi.getter
78
83
  def project(self) -> str:
79
84
  """
80
- 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.
85
+ 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.
81
86
  """
82
87
  return pulumi.get(self, "project")
83
88
 
@@ -85,7 +90,7 @@ class GetAwsPrivatelinkResult:
85
90
  @pulumi.getter(name="serviceName")
86
91
  def service_name(self) -> str:
87
92
  """
88
- 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.
93
+ 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.
89
94
  """
90
95
  return pulumi.get(self, "service_name")
91
96
 
@@ -108,7 +113,7 @@ def get_aws_privatelink(project: Optional[str] = None,
108
113
  service_name: Optional[str] = None,
109
114
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsPrivatelinkResult:
110
115
  """
111
- The AWS Privatelink resource allows the creation and management of Aiven AWS Privatelink for a services.
116
+ Gets information about an AWS PrivateLink connection for an Aiven service.
112
117
 
113
118
  ## Example Usage
114
119
 
@@ -116,13 +121,13 @@ def get_aws_privatelink(project: Optional[str] = None,
116
121
  import pulumi
117
122
  import pulumi_aiven as aiven
118
123
 
119
- foo = aiven.get_aws_privatelink(project=data["aiven_project"]["foo"]["project"],
120
- service_name=aiven_kafka["bar"]["service_name"])
124
+ main = aiven.get_aws_privatelink(project=example_project["project"],
125
+ service_name=example_kafka["serviceName"])
121
126
  ```
122
127
 
123
128
 
124
- :param 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.
125
- :param 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.
129
+ :param 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.
130
+ :param 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.
126
131
  """
127
132
  __args__ = dict()
128
133
  __args__['project'] = project
@@ -137,14 +142,11 @@ def get_aws_privatelink(project: Optional[str] = None,
137
142
  principals=pulumi.get(__ret__, 'principals'),
138
143
  project=pulumi.get(__ret__, 'project'),
139
144
  service_name=pulumi.get(__ret__, 'service_name'))
140
-
141
-
142
- @_utilities.lift_output_func(get_aws_privatelink)
143
145
  def get_aws_privatelink_output(project: Optional[pulumi.Input[str]] = None,
144
146
  service_name: Optional[pulumi.Input[str]] = None,
145
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsPrivatelinkResult]:
147
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsPrivatelinkResult]:
146
148
  """
147
- The AWS Privatelink resource allows the creation and management of Aiven AWS Privatelink for a services.
149
+ Gets information about an AWS PrivateLink connection for an Aiven service.
148
150
 
149
151
  ## Example Usage
150
152
 
@@ -152,12 +154,23 @@ def get_aws_privatelink_output(project: Optional[pulumi.Input[str]] = None,
152
154
  import pulumi
153
155
  import pulumi_aiven as aiven
154
156
 
155
- foo = aiven.get_aws_privatelink(project=data["aiven_project"]["foo"]["project"],
156
- service_name=aiven_kafka["bar"]["service_name"])
157
+ main = aiven.get_aws_privatelink(project=example_project["project"],
158
+ service_name=example_kafka["serviceName"])
157
159
  ```
158
160
 
159
161
 
160
- :param 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.
161
- :param 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.
162
+ :param 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.
163
+ :param 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.
162
164
  """
163
- ...
165
+ __args__ = dict()
166
+ __args__['project'] = project
167
+ __args__['serviceName'] = service_name
168
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
169
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAwsPrivatelink:getAwsPrivatelink', __args__, opts=opts, typ=GetAwsPrivatelinkResult)
170
+ return __ret__.apply(lambda __response__: GetAwsPrivatelinkResult(
171
+ aws_service_id=pulumi.get(__response__, 'aws_service_id'),
172
+ aws_service_name=pulumi.get(__response__, 'aws_service_name'),
173
+ id=pulumi.get(__response__, 'id'),
174
+ principals=pulumi.get(__response__, 'principals'),
175
+ project=pulumi.get(__response__, 'project'),
176
+ service_name=pulumi.get(__response__, 'service_name')))
@@ -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__ = [
@@ -51,7 +56,7 @@ class GetAwsVpcPeeringConnectionResult:
51
56
  @pulumi.getter(name="awsAccountId")
52
57
  def aws_account_id(self) -> str:
53
58
  """
54
- AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
59
+ AWS account ID. Changing this property forces recreation of the resource.
55
60
  """
56
61
  return pulumi.get(self, "aws_account_id")
57
62
 
@@ -59,7 +64,7 @@ class GetAwsVpcPeeringConnectionResult:
59
64
  @pulumi.getter(name="awsVpcId")
60
65
  def aws_vpc_id(self) -> str:
61
66
  """
62
- AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
67
+ AWS VPC ID. Changing this property forces recreation of the resource.
63
68
  """
64
69
  return pulumi.get(self, "aws_vpc_id")
65
70
 
@@ -67,7 +72,7 @@ class GetAwsVpcPeeringConnectionResult:
67
72
  @pulumi.getter(name="awsVpcPeeringConnectionId")
68
73
  def aws_vpc_peering_connection_id(self) -> str:
69
74
  """
70
- AWS VPC peering connection ID
75
+ The ID of the AWS VPC peering connection.
71
76
  """
72
77
  return pulumi.get(self, "aws_vpc_peering_connection_id")
73
78
 
@@ -75,7 +80,7 @@ class GetAwsVpcPeeringConnectionResult:
75
80
  @pulumi.getter(name="awsVpcRegion")
76
81
  def aws_vpc_region(self) -> str:
77
82
  """
78
- 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.
83
+ The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
79
84
  """
80
85
  return pulumi.get(self, "aws_vpc_region")
81
86
 
@@ -91,15 +96,15 @@ class GetAwsVpcPeeringConnectionResult:
91
96
  @pulumi.getter
92
97
  def state(self) -> str:
93
98
  """
94
- State of the peering connection
99
+ The state of the peering connection.
95
100
  """
96
101
  return pulumi.get(self, "state")
97
102
 
98
103
  @property
99
104
  @pulumi.getter(name="stateInfo")
100
- def state_info(self) -> Mapping[str, Any]:
105
+ def state_info(self) -> Mapping[str, str]:
101
106
  """
102
- State-specific help or error information
107
+ State-specific help or error information.
103
108
  """
104
109
  return pulumi.get(self, "state_info")
105
110
 
@@ -107,7 +112,7 @@ class GetAwsVpcPeeringConnectionResult:
107
112
  @pulumi.getter(name="vpcId")
108
113
  def vpc_id(self) -> str:
109
114
  """
110
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
115
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
111
116
  """
112
117
  return pulumi.get(self, "vpc_id")
113
118
 
@@ -134,7 +139,7 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
134
139
  vpc_id: Optional[str] = None,
135
140
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwsVpcPeeringConnectionResult:
136
141
  """
137
- The AWS VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.
142
+ Gets information about an AWS VPC peering connection.
138
143
 
139
144
  ## Example Usage
140
145
 
@@ -142,16 +147,21 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
142
147
  import pulumi
143
148
  import pulumi_aiven as aiven
144
149
 
145
- foo = aiven.get_aws_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
146
- aws_account_id="XXXXX",
147
- aws_vpc_id="XXXXX")
150
+ example_vpc = aiven.ProjectVpc("example_vpc",
151
+ project=example_project["project"],
152
+ cloud_name="google-europe-west1",
153
+ network_cidr="192.168.1.0/24")
154
+ aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
155
+ aws_account_id=aws_id,
156
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
157
+ aws_vpc_region="aws-us-east-2"))
148
158
  ```
149
159
 
150
160
 
151
- :param str aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
152
- :param str aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
153
- :param 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.
154
- :param str vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
161
+ :param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
162
+ :param str aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
163
+ :param 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.
164
+ :param str vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
155
165
  """
156
166
  __args__ = dict()
157
167
  __args__['awsAccountId'] = aws_account_id
@@ -170,16 +180,13 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
170
180
  state=pulumi.get(__ret__, 'state'),
171
181
  state_info=pulumi.get(__ret__, 'state_info'),
172
182
  vpc_id=pulumi.get(__ret__, 'vpc_id'))
173
-
174
-
175
- @_utilities.lift_output_func(get_aws_vpc_peering_connection)
176
183
  def get_aws_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[str]] = None,
177
184
  aws_vpc_id: Optional[pulumi.Input[str]] = None,
178
185
  aws_vpc_region: Optional[pulumi.Input[str]] = None,
179
186
  vpc_id: Optional[pulumi.Input[str]] = None,
180
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsVpcPeeringConnectionResult]:
187
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsVpcPeeringConnectionResult]:
181
188
  """
182
- The AWS VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.
189
+ Gets information about an AWS VPC peering connection.
183
190
 
184
191
  ## Example Usage
185
192
 
@@ -187,15 +194,35 @@ def get_aws_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[
187
194
  import pulumi
188
195
  import pulumi_aiven as aiven
189
196
 
190
- foo = aiven.get_aws_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
191
- aws_account_id="XXXXX",
192
- aws_vpc_id="XXXXX")
197
+ example_vpc = aiven.ProjectVpc("example_vpc",
198
+ project=example_project["project"],
199
+ cloud_name="google-europe-west1",
200
+ network_cidr="192.168.1.0/24")
201
+ aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
202
+ aws_account_id=aws_id,
203
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
204
+ aws_vpc_region="aws-us-east-2"))
193
205
  ```
194
206
 
195
207
 
196
- :param str aws_account_id: AWS account ID. This property cannot be changed, doing so forces recreation of the resource.
197
- :param str aws_vpc_id: AWS VPC ID. This property cannot be changed, doing so forces recreation of the resource.
198
- :param 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.
199
- :param str vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
208
+ :param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
209
+ :param str aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
210
+ :param 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.
211
+ :param str vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
200
212
  """
201
- ...
213
+ __args__ = dict()
214
+ __args__['awsAccountId'] = aws_account_id
215
+ __args__['awsVpcId'] = aws_vpc_id
216
+ __args__['awsVpcRegion'] = aws_vpc_region
217
+ __args__['vpcId'] = vpc_id
218
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
219
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAwsVpcPeeringConnection:getAwsVpcPeeringConnection', __args__, opts=opts, typ=GetAwsVpcPeeringConnectionResult)
220
+ return __ret__.apply(lambda __response__: GetAwsVpcPeeringConnectionResult(
221
+ aws_account_id=pulumi.get(__response__, 'aws_account_id'),
222
+ aws_vpc_id=pulumi.get(__response__, 'aws_vpc_id'),
223
+ aws_vpc_peering_connection_id=pulumi.get(__response__, 'aws_vpc_peering_connection_id'),
224
+ aws_vpc_region=pulumi.get(__response__, 'aws_vpc_region'),
225
+ id=pulumi.get(__response__, 'id'),
226
+ state=pulumi.get(__response__, 'state'),
227
+ state_info=pulumi.get(__response__, 'state_info'),
228
+ vpc_id=pulumi.get(__response__, 'vpc_id')))