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.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.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
|
|
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
|
-
|
|
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
|
-
|
|
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,23 +113,21 @@ 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
|
-
|
|
116
|
+
Gets information about an AWS PrivateLink connection for an Aiven service.
|
|
112
117
|
|
|
113
118
|
## Example Usage
|
|
114
119
|
|
|
115
|
-
<!--Start PulumiCodeChooser -->
|
|
116
120
|
```python
|
|
117
121
|
import pulumi
|
|
118
122
|
import pulumi_aiven as aiven
|
|
119
123
|
|
|
120
|
-
|
|
121
|
-
service_name=
|
|
124
|
+
main = aiven.get_aws_privatelink(project=example_project["project"],
|
|
125
|
+
service_name=example_kafka["serviceName"])
|
|
122
126
|
```
|
|
123
|
-
<!--End PulumiCodeChooser -->
|
|
124
127
|
|
|
125
128
|
|
|
126
|
-
:param str project:
|
|
127
|
-
:param str service_name:
|
|
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.
|
|
128
131
|
"""
|
|
129
132
|
__args__ = dict()
|
|
130
133
|
__args__['project'] = project
|
|
@@ -139,29 +142,35 @@ def get_aws_privatelink(project: Optional[str] = None,
|
|
|
139
142
|
principals=pulumi.get(__ret__, 'principals'),
|
|
140
143
|
project=pulumi.get(__ret__, 'project'),
|
|
141
144
|
service_name=pulumi.get(__ret__, 'service_name'))
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
@_utilities.lift_output_func(get_aws_privatelink)
|
|
145
145
|
def get_aws_privatelink_output(project: Optional[pulumi.Input[str]] = None,
|
|
146
146
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
147
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsPrivatelinkResult]:
|
|
147
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsPrivatelinkResult]:
|
|
148
148
|
"""
|
|
149
|
-
|
|
149
|
+
Gets information about an AWS PrivateLink connection for an Aiven service.
|
|
150
150
|
|
|
151
151
|
## Example Usage
|
|
152
152
|
|
|
153
|
-
<!--Start PulumiCodeChooser -->
|
|
154
153
|
```python
|
|
155
154
|
import pulumi
|
|
156
155
|
import pulumi_aiven as aiven
|
|
157
156
|
|
|
158
|
-
|
|
159
|
-
service_name=
|
|
157
|
+
main = aiven.get_aws_privatelink(project=example_project["project"],
|
|
158
|
+
service_name=example_kafka["serviceName"])
|
|
160
159
|
```
|
|
161
|
-
<!--End PulumiCodeChooser -->
|
|
162
160
|
|
|
163
161
|
|
|
164
|
-
:param str project:
|
|
165
|
-
:param str service_name:
|
|
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.
|
|
166
164
|
"""
|
|
167
|
-
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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
|
-
|
|
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,
|
|
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
|
|
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,26 +139,29 @@ 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
|
-
|
|
142
|
+
Gets information about an AWS VPC peering connection.
|
|
138
143
|
|
|
139
144
|
## Example Usage
|
|
140
145
|
|
|
141
|
-
<!--Start PulumiCodeChooser -->
|
|
142
146
|
```python
|
|
143
147
|
import pulumi
|
|
144
148
|
import pulumi_aiven as aiven
|
|
145
149
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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"))
|
|
149
158
|
```
|
|
150
|
-
<!--End PulumiCodeChooser -->
|
|
151
159
|
|
|
152
160
|
|
|
153
|
-
:param str aws_account_id: AWS account ID.
|
|
154
|
-
:param str aws_vpc_id: AWS VPC ID.
|
|
155
|
-
:param str aws_vpc_region: AWS region of the peered VPC
|
|
156
|
-
:param str vpc_id: The
|
|
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.
|
|
157
165
|
"""
|
|
158
166
|
__args__ = dict()
|
|
159
167
|
__args__['awsAccountId'] = aws_account_id
|
|
@@ -172,34 +180,49 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
|
|
|
172
180
|
state=pulumi.get(__ret__, 'state'),
|
|
173
181
|
state_info=pulumi.get(__ret__, 'state_info'),
|
|
174
182
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
@_utilities.lift_output_func(get_aws_vpc_peering_connection)
|
|
178
183
|
def get_aws_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[str]] = None,
|
|
179
184
|
aws_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
180
185
|
aws_vpc_region: Optional[pulumi.Input[str]] = None,
|
|
181
186
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
182
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsVpcPeeringConnectionResult]:
|
|
187
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAwsVpcPeeringConnectionResult]:
|
|
183
188
|
"""
|
|
184
|
-
|
|
189
|
+
Gets information about an AWS VPC peering connection.
|
|
185
190
|
|
|
186
191
|
## Example Usage
|
|
187
192
|
|
|
188
|
-
<!--Start PulumiCodeChooser -->
|
|
189
193
|
```python
|
|
190
194
|
import pulumi
|
|
191
195
|
import pulumi_aiven as aiven
|
|
192
196
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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"))
|
|
196
205
|
```
|
|
197
|
-
<!--End PulumiCodeChooser -->
|
|
198
206
|
|
|
199
207
|
|
|
200
|
-
:param str aws_account_id: AWS account ID.
|
|
201
|
-
:param str aws_vpc_id: AWS VPC ID.
|
|
202
|
-
:param str aws_vpc_region: AWS region of the peered VPC
|
|
203
|
-
:param str vpc_id: The
|
|
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.
|
|
204
212
|
"""
|
|
205
|
-
|
|
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')))
|