pulumi-aiven 6.34.0a1740021642__py3-none-any.whl → 6.35.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

pulumi_aiven/__init__.py CHANGED
@@ -13,8 +13,10 @@ from .account_team_project import *
13
13
  from .alloydbomni import *
14
14
  from .alloydbomni_database import *
15
15
  from .alloydbomni_user import *
16
+ from .aws_org_vpc_peering_connection import *
16
17
  from .aws_privatelink import *
17
18
  from .aws_vpc_peering_connection import *
19
+ from .azure_org_vpc_peering_connection import *
18
20
  from .azure_privatelink import *
19
21
  from .azure_privatelink_connection_approval import *
20
22
  from .azure_vpc_peering_connection import *
@@ -35,6 +37,7 @@ from .flink_application_version import *
35
37
  from .flink_jar_application import *
36
38
  from .flink_jar_application_deployment import *
37
39
  from .flink_jar_application_version import *
40
+ from .gcp_org_vpc_peering_connection import *
38
41
  from .gcp_privatelink import *
39
42
  from .gcp_privatelink_connection_approval import *
40
43
  from .gcp_vpc_peering_connection import *
@@ -46,8 +49,10 @@ from .get_account_team_project import *
46
49
  from .get_alloydbomni import *
47
50
  from .get_alloydbomni_database import *
48
51
  from .get_alloydbomni_user import *
52
+ from .get_aws_org_vpc_peering_connection import *
49
53
  from .get_aws_privatelink import *
50
54
  from .get_aws_vpc_peering_connection import *
55
+ from .get_azure_org_vpc_peering_connection import *
51
56
  from .get_azure_privatelink import *
52
57
  from .get_azure_vpc_peering_connection import *
53
58
  from .get_billing_group import *
@@ -63,6 +68,7 @@ from .get_external_identity import *
63
68
  from .get_flink import *
64
69
  from .get_flink_application import *
65
70
  from .get_flink_application_version import *
71
+ from .get_gcp_org_vpc_peering_connection import *
66
72
  from .get_gcp_privatelink import *
67
73
  from .get_gcp_vpc_peering_connection import *
68
74
  from .get_grafana import *
@@ -97,6 +103,7 @@ from .get_organization_project import *
97
103
  from .get_organization_user import *
98
104
  from .get_organization_user_group import *
99
105
  from .get_organization_user_list import *
106
+ from .get_organization_vpc import *
100
107
  from .get_organizational_unit import *
101
108
  from .get_pg import *
102
109
  from .get_pg_database import *
@@ -150,6 +157,7 @@ from .organization_project import *
150
157
  from .organization_user import *
151
158
  from .organization_user_group import *
152
159
  from .organization_user_group_member import *
160
+ from .organization_vpc import *
153
161
  from .organizational_unit import *
154
162
  from .pg import *
155
163
  from .pg_database import *
@@ -244,6 +252,14 @@ _utilities.register(
244
252
  "aiven:index/alloydbomniUser:AlloydbomniUser": "AlloydbomniUser"
245
253
  }
246
254
  },
255
+ {
256
+ "pkg": "aiven",
257
+ "mod": "index/awsOrgVpcPeeringConnection",
258
+ "fqn": "pulumi_aiven",
259
+ "classes": {
260
+ "aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection": "AwsOrgVpcPeeringConnection"
261
+ }
262
+ },
247
263
  {
248
264
  "pkg": "aiven",
249
265
  "mod": "index/awsPrivatelink",
@@ -260,6 +276,14 @@ _utilities.register(
260
276
  "aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection": "AwsVpcPeeringConnection"
261
277
  }
262
278
  },
279
+ {
280
+ "pkg": "aiven",
281
+ "mod": "index/azureOrgVpcPeeringConnection",
282
+ "fqn": "pulumi_aiven",
283
+ "classes": {
284
+ "aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection": "AzureOrgVpcPeeringConnection"
285
+ }
286
+ },
263
287
  {
264
288
  "pkg": "aiven",
265
289
  "mod": "index/azurePrivatelink",
@@ -420,6 +444,14 @@ _utilities.register(
420
444
  "aiven:index/flinkJarApplicationVersion:FlinkJarApplicationVersion": "FlinkJarApplicationVersion"
421
445
  }
422
446
  },
447
+ {
448
+ "pkg": "aiven",
449
+ "mod": "index/gcpOrgVpcPeeringConnection",
450
+ "fqn": "pulumi_aiven",
451
+ "classes": {
452
+ "aiven:index/gcpOrgVpcPeeringConnection:GcpOrgVpcPeeringConnection": "GcpOrgVpcPeeringConnection"
453
+ }
454
+ },
423
455
  {
424
456
  "pkg": "aiven",
425
457
  "mod": "index/gcpPrivatelink",
@@ -740,6 +772,14 @@ _utilities.register(
740
772
  "aiven:index/organizationUserGroupMember:OrganizationUserGroupMember": "OrganizationUserGroupMember"
741
773
  }
742
774
  },
775
+ {
776
+ "pkg": "aiven",
777
+ "mod": "index/organizationVpc",
778
+ "fqn": "pulumi_aiven",
779
+ "classes": {
780
+ "aiven:index/organizationVpc:OrganizationVpc": "OrganizationVpc"
781
+ }
782
+ },
743
783
  {
744
784
  "pkg": "aiven",
745
785
  "mod": "index/organizationalUnit",
@@ -0,0 +1,481 @@
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__ = ['AwsOrgVpcPeeringConnectionArgs', 'AwsOrgVpcPeeringConnection']
18
+
19
+ @pulumi.input_type
20
+ class AwsOrgVpcPeeringConnectionArgs:
21
+ def __init__(__self__, *,
22
+ aws_account_id: pulumi.Input[str],
23
+ aws_vpc_id: pulumi.Input[str],
24
+ aws_vpc_region: pulumi.Input[str],
25
+ organization_id: pulumi.Input[str],
26
+ organization_vpc_id: pulumi.Input[str]):
27
+ """
28
+ The set of arguments for constructing a AwsOrgVpcPeeringConnection resource.
29
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
30
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
31
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC. For example, `eu-central-1`.
32
+ :param pulumi.Input[str] organization_id: Identifier of the organization.
33
+ :param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
34
+ """
35
+ pulumi.set(__self__, "aws_account_id", aws_account_id)
36
+ pulumi.set(__self__, "aws_vpc_id", aws_vpc_id)
37
+ pulumi.set(__self__, "aws_vpc_region", aws_vpc_region)
38
+ pulumi.set(__self__, "organization_id", organization_id)
39
+ pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
40
+
41
+ @property
42
+ @pulumi.getter(name="awsAccountId")
43
+ def aws_account_id(self) -> pulumi.Input[str]:
44
+ """
45
+ AWS account ID. Changing this property forces recreation of the resource.
46
+ """
47
+ return pulumi.get(self, "aws_account_id")
48
+
49
+ @aws_account_id.setter
50
+ def aws_account_id(self, value: pulumi.Input[str]):
51
+ pulumi.set(self, "aws_account_id", value)
52
+
53
+ @property
54
+ @pulumi.getter(name="awsVpcId")
55
+ def aws_vpc_id(self) -> pulumi.Input[str]:
56
+ """
57
+ AWS VPC ID. Changing this property forces recreation of the resource.
58
+ """
59
+ return pulumi.get(self, "aws_vpc_id")
60
+
61
+ @aws_vpc_id.setter
62
+ def aws_vpc_id(self, value: pulumi.Input[str]):
63
+ pulumi.set(self, "aws_vpc_id", value)
64
+
65
+ @property
66
+ @pulumi.getter(name="awsVpcRegion")
67
+ def aws_vpc_region(self) -> pulumi.Input[str]:
68
+ """
69
+ The AWS region of the peered VPC. For example, `eu-central-1`.
70
+ """
71
+ return pulumi.get(self, "aws_vpc_region")
72
+
73
+ @aws_vpc_region.setter
74
+ def aws_vpc_region(self, value: pulumi.Input[str]):
75
+ pulumi.set(self, "aws_vpc_region", value)
76
+
77
+ @property
78
+ @pulumi.getter(name="organizationId")
79
+ def organization_id(self) -> pulumi.Input[str]:
80
+ """
81
+ Identifier of the organization.
82
+ """
83
+ return pulumi.get(self, "organization_id")
84
+
85
+ @organization_id.setter
86
+ def organization_id(self, value: pulumi.Input[str]):
87
+ pulumi.set(self, "organization_id", value)
88
+
89
+ @property
90
+ @pulumi.getter(name="organizationVpcId")
91
+ def organization_vpc_id(self) -> pulumi.Input[str]:
92
+ """
93
+ Identifier of the organization VPC.
94
+ """
95
+ return pulumi.get(self, "organization_vpc_id")
96
+
97
+ @organization_vpc_id.setter
98
+ def organization_vpc_id(self, value: pulumi.Input[str]):
99
+ pulumi.set(self, "organization_vpc_id", value)
100
+
101
+
102
+ @pulumi.input_type
103
+ class _AwsOrgVpcPeeringConnectionState:
104
+ def __init__(__self__, *,
105
+ aws_account_id: Optional[pulumi.Input[str]] = None,
106
+ aws_vpc_id: Optional[pulumi.Input[str]] = None,
107
+ aws_vpc_peering_connection_id: Optional[pulumi.Input[str]] = None,
108
+ aws_vpc_region: Optional[pulumi.Input[str]] = None,
109
+ organization_id: Optional[pulumi.Input[str]] = None,
110
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
111
+ peering_connection_id: Optional[pulumi.Input[str]] = None,
112
+ state: Optional[pulumi.Input[str]] = None):
113
+ """
114
+ Input properties used for looking up and filtering AwsOrgVpcPeeringConnection resources.
115
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
116
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
117
+ :param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
118
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC. For example, `eu-central-1`.
119
+ :param pulumi.Input[str] organization_id: Identifier of the organization.
120
+ :param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
121
+ :param pulumi.Input[str] peering_connection_id: The ID of the peering connection.
122
+ :param pulumi.Input[str] state: State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
123
+ """
124
+ if aws_account_id is not None:
125
+ pulumi.set(__self__, "aws_account_id", aws_account_id)
126
+ if aws_vpc_id is not None:
127
+ pulumi.set(__self__, "aws_vpc_id", aws_vpc_id)
128
+ if aws_vpc_peering_connection_id is not None:
129
+ pulumi.set(__self__, "aws_vpc_peering_connection_id", aws_vpc_peering_connection_id)
130
+ if aws_vpc_region is not None:
131
+ pulumi.set(__self__, "aws_vpc_region", aws_vpc_region)
132
+ if organization_id is not None:
133
+ pulumi.set(__self__, "organization_id", organization_id)
134
+ if organization_vpc_id is not None:
135
+ pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
136
+ if peering_connection_id is not None:
137
+ pulumi.set(__self__, "peering_connection_id", peering_connection_id)
138
+ if state is not None:
139
+ pulumi.set(__self__, "state", state)
140
+
141
+ @property
142
+ @pulumi.getter(name="awsAccountId")
143
+ def aws_account_id(self) -> Optional[pulumi.Input[str]]:
144
+ """
145
+ AWS account ID. Changing this property forces recreation of the resource.
146
+ """
147
+ return pulumi.get(self, "aws_account_id")
148
+
149
+ @aws_account_id.setter
150
+ def aws_account_id(self, value: Optional[pulumi.Input[str]]):
151
+ pulumi.set(self, "aws_account_id", value)
152
+
153
+ @property
154
+ @pulumi.getter(name="awsVpcId")
155
+ def aws_vpc_id(self) -> Optional[pulumi.Input[str]]:
156
+ """
157
+ AWS VPC ID. Changing this property forces recreation of the resource.
158
+ """
159
+ return pulumi.get(self, "aws_vpc_id")
160
+
161
+ @aws_vpc_id.setter
162
+ def aws_vpc_id(self, value: Optional[pulumi.Input[str]]):
163
+ pulumi.set(self, "aws_vpc_id", value)
164
+
165
+ @property
166
+ @pulumi.getter(name="awsVpcPeeringConnectionId")
167
+ def aws_vpc_peering_connection_id(self) -> Optional[pulumi.Input[str]]:
168
+ """
169
+ The ID of the AWS VPC peering connection.
170
+ """
171
+ return pulumi.get(self, "aws_vpc_peering_connection_id")
172
+
173
+ @aws_vpc_peering_connection_id.setter
174
+ def aws_vpc_peering_connection_id(self, value: Optional[pulumi.Input[str]]):
175
+ pulumi.set(self, "aws_vpc_peering_connection_id", value)
176
+
177
+ @property
178
+ @pulumi.getter(name="awsVpcRegion")
179
+ def aws_vpc_region(self) -> Optional[pulumi.Input[str]]:
180
+ """
181
+ The AWS region of the peered VPC. For example, `eu-central-1`.
182
+ """
183
+ return pulumi.get(self, "aws_vpc_region")
184
+
185
+ @aws_vpc_region.setter
186
+ def aws_vpc_region(self, value: Optional[pulumi.Input[str]]):
187
+ pulumi.set(self, "aws_vpc_region", value)
188
+
189
+ @property
190
+ @pulumi.getter(name="organizationId")
191
+ def organization_id(self) -> Optional[pulumi.Input[str]]:
192
+ """
193
+ Identifier of the organization.
194
+ """
195
+ return pulumi.get(self, "organization_id")
196
+
197
+ @organization_id.setter
198
+ def organization_id(self, value: Optional[pulumi.Input[str]]):
199
+ pulumi.set(self, "organization_id", value)
200
+
201
+ @property
202
+ @pulumi.getter(name="organizationVpcId")
203
+ def organization_vpc_id(self) -> Optional[pulumi.Input[str]]:
204
+ """
205
+ Identifier of the organization VPC.
206
+ """
207
+ return pulumi.get(self, "organization_vpc_id")
208
+
209
+ @organization_vpc_id.setter
210
+ def organization_vpc_id(self, value: Optional[pulumi.Input[str]]):
211
+ pulumi.set(self, "organization_vpc_id", value)
212
+
213
+ @property
214
+ @pulumi.getter(name="peeringConnectionId")
215
+ def peering_connection_id(self) -> Optional[pulumi.Input[str]]:
216
+ """
217
+ The ID of the peering connection.
218
+ """
219
+ return pulumi.get(self, "peering_connection_id")
220
+
221
+ @peering_connection_id.setter
222
+ def peering_connection_id(self, value: Optional[pulumi.Input[str]]):
223
+ pulumi.set(self, "peering_connection_id", value)
224
+
225
+ @property
226
+ @pulumi.getter
227
+ def state(self) -> Optional[pulumi.Input[str]]:
228
+ """
229
+ State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
230
+ """
231
+ return pulumi.get(self, "state")
232
+
233
+ @state.setter
234
+ def state(self, value: Optional[pulumi.Input[str]]):
235
+ pulumi.set(self, "state", value)
236
+
237
+
238
+ class AwsOrgVpcPeeringConnection(pulumi.CustomResource):
239
+ @overload
240
+ def __init__(__self__,
241
+ resource_name: str,
242
+ opts: Optional[pulumi.ResourceOptions] = None,
243
+ aws_account_id: Optional[pulumi.Input[str]] = None,
244
+ aws_vpc_id: Optional[pulumi.Input[str]] = None,
245
+ aws_vpc_region: Optional[pulumi.Input[str]] = None,
246
+ organization_id: Optional[pulumi.Input[str]] = None,
247
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
248
+ __props__=None):
249
+ """
250
+ Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
251
+
252
+ **This resource is in the beta stage and may change without notice.** Set
253
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
254
+
255
+ ## Example Usage
256
+
257
+ ```python
258
+ import pulumi
259
+ import pulumi_aiven as aiven
260
+
261
+ example_vpc = aiven.OrganizationVpc("example_vpc",
262
+ organization_id=example["id"],
263
+ cloud_name="aws-eu-central-1",
264
+ network_cidr="10.0.0.0/24")
265
+ example_peering = aiven.AwsOrgVpcPeeringConnection("example_peering",
266
+ organization_id=example_vpc.organization_id,
267
+ organization_vpc_id=example_vpc.organization_vpc_id,
268
+ aws_account_id=aws_id,
269
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
270
+ aws_vpc_region="aws-us-east-2")
271
+ ```
272
+
273
+ ## Import
274
+
275
+ ```sh
276
+ $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
277
+ ```
278
+
279
+ :param str resource_name: The name of the resource.
280
+ :param pulumi.ResourceOptions opts: Options for the resource.
281
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
282
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
283
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC. For example, `eu-central-1`.
284
+ :param pulumi.Input[str] organization_id: Identifier of the organization.
285
+ :param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
286
+ """
287
+ ...
288
+ @overload
289
+ def __init__(__self__,
290
+ resource_name: str,
291
+ args: AwsOrgVpcPeeringConnectionArgs,
292
+ opts: Optional[pulumi.ResourceOptions] = None):
293
+ """
294
+ Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
295
+
296
+ **This resource is in the beta stage and may change without notice.** Set
297
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
298
+
299
+ ## Example Usage
300
+
301
+ ```python
302
+ import pulumi
303
+ import pulumi_aiven as aiven
304
+
305
+ example_vpc = aiven.OrganizationVpc("example_vpc",
306
+ organization_id=example["id"],
307
+ cloud_name="aws-eu-central-1",
308
+ network_cidr="10.0.0.0/24")
309
+ example_peering = aiven.AwsOrgVpcPeeringConnection("example_peering",
310
+ organization_id=example_vpc.organization_id,
311
+ organization_vpc_id=example_vpc.organization_vpc_id,
312
+ aws_account_id=aws_id,
313
+ aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
314
+ aws_vpc_region="aws-us-east-2")
315
+ ```
316
+
317
+ ## Import
318
+
319
+ ```sh
320
+ $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
321
+ ```
322
+
323
+ :param str resource_name: The name of the resource.
324
+ :param AwsOrgVpcPeeringConnectionArgs args: The arguments to use to populate this resource's properties.
325
+ :param pulumi.ResourceOptions opts: Options for the resource.
326
+ """
327
+ ...
328
+ def __init__(__self__, resource_name: str, *args, **kwargs):
329
+ resource_args, opts = _utilities.get_resource_args_opts(AwsOrgVpcPeeringConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
330
+ if resource_args is not None:
331
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
332
+ else:
333
+ __self__._internal_init(resource_name, *args, **kwargs)
334
+
335
+ def _internal_init(__self__,
336
+ resource_name: str,
337
+ opts: Optional[pulumi.ResourceOptions] = None,
338
+ aws_account_id: Optional[pulumi.Input[str]] = None,
339
+ aws_vpc_id: Optional[pulumi.Input[str]] = None,
340
+ aws_vpc_region: Optional[pulumi.Input[str]] = None,
341
+ organization_id: Optional[pulumi.Input[str]] = None,
342
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
343
+ __props__=None):
344
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
345
+ if not isinstance(opts, pulumi.ResourceOptions):
346
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
347
+ if opts.id is None:
348
+ if __props__ is not None:
349
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
350
+ __props__ = AwsOrgVpcPeeringConnectionArgs.__new__(AwsOrgVpcPeeringConnectionArgs)
351
+
352
+ if aws_account_id is None and not opts.urn:
353
+ raise TypeError("Missing required property 'aws_account_id'")
354
+ __props__.__dict__["aws_account_id"] = aws_account_id
355
+ if aws_vpc_id is None and not opts.urn:
356
+ raise TypeError("Missing required property 'aws_vpc_id'")
357
+ __props__.__dict__["aws_vpc_id"] = aws_vpc_id
358
+ if aws_vpc_region is None and not opts.urn:
359
+ raise TypeError("Missing required property 'aws_vpc_region'")
360
+ __props__.__dict__["aws_vpc_region"] = aws_vpc_region
361
+ if organization_id is None and not opts.urn:
362
+ raise TypeError("Missing required property 'organization_id'")
363
+ __props__.__dict__["organization_id"] = organization_id
364
+ if organization_vpc_id is None and not opts.urn:
365
+ raise TypeError("Missing required property 'organization_vpc_id'")
366
+ __props__.__dict__["organization_vpc_id"] = organization_vpc_id
367
+ __props__.__dict__["aws_vpc_peering_connection_id"] = None
368
+ __props__.__dict__["peering_connection_id"] = None
369
+ __props__.__dict__["state"] = None
370
+ super(AwsOrgVpcPeeringConnection, __self__).__init__(
371
+ 'aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection',
372
+ resource_name,
373
+ __props__,
374
+ opts)
375
+
376
+ @staticmethod
377
+ def get(resource_name: str,
378
+ id: pulumi.Input[str],
379
+ opts: Optional[pulumi.ResourceOptions] = None,
380
+ aws_account_id: Optional[pulumi.Input[str]] = None,
381
+ aws_vpc_id: Optional[pulumi.Input[str]] = None,
382
+ aws_vpc_peering_connection_id: Optional[pulumi.Input[str]] = None,
383
+ aws_vpc_region: Optional[pulumi.Input[str]] = None,
384
+ organization_id: Optional[pulumi.Input[str]] = None,
385
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
386
+ peering_connection_id: Optional[pulumi.Input[str]] = None,
387
+ state: Optional[pulumi.Input[str]] = None) -> 'AwsOrgVpcPeeringConnection':
388
+ """
389
+ Get an existing AwsOrgVpcPeeringConnection resource's state with the given name, id, and optional extra
390
+ properties used to qualify the lookup.
391
+
392
+ :param str resource_name: The unique name of the resulting resource.
393
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
394
+ :param pulumi.ResourceOptions opts: Options for the resource.
395
+ :param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
396
+ :param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
397
+ :param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
398
+ :param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC. For example, `eu-central-1`.
399
+ :param pulumi.Input[str] organization_id: Identifier of the organization.
400
+ :param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
401
+ :param pulumi.Input[str] peering_connection_id: The ID of the peering connection.
402
+ :param pulumi.Input[str] state: State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
403
+ """
404
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
405
+
406
+ __props__ = _AwsOrgVpcPeeringConnectionState.__new__(_AwsOrgVpcPeeringConnectionState)
407
+
408
+ __props__.__dict__["aws_account_id"] = aws_account_id
409
+ __props__.__dict__["aws_vpc_id"] = aws_vpc_id
410
+ __props__.__dict__["aws_vpc_peering_connection_id"] = aws_vpc_peering_connection_id
411
+ __props__.__dict__["aws_vpc_region"] = aws_vpc_region
412
+ __props__.__dict__["organization_id"] = organization_id
413
+ __props__.__dict__["organization_vpc_id"] = organization_vpc_id
414
+ __props__.__dict__["peering_connection_id"] = peering_connection_id
415
+ __props__.__dict__["state"] = state
416
+ return AwsOrgVpcPeeringConnection(resource_name, opts=opts, __props__=__props__)
417
+
418
+ @property
419
+ @pulumi.getter(name="awsAccountId")
420
+ def aws_account_id(self) -> pulumi.Output[str]:
421
+ """
422
+ AWS account ID. Changing this property forces recreation of the resource.
423
+ """
424
+ return pulumi.get(self, "aws_account_id")
425
+
426
+ @property
427
+ @pulumi.getter(name="awsVpcId")
428
+ def aws_vpc_id(self) -> pulumi.Output[str]:
429
+ """
430
+ AWS VPC ID. Changing this property forces recreation of the resource.
431
+ """
432
+ return pulumi.get(self, "aws_vpc_id")
433
+
434
+ @property
435
+ @pulumi.getter(name="awsVpcPeeringConnectionId")
436
+ def aws_vpc_peering_connection_id(self) -> pulumi.Output[str]:
437
+ """
438
+ The ID of the AWS VPC peering connection.
439
+ """
440
+ return pulumi.get(self, "aws_vpc_peering_connection_id")
441
+
442
+ @property
443
+ @pulumi.getter(name="awsVpcRegion")
444
+ def aws_vpc_region(self) -> pulumi.Output[str]:
445
+ """
446
+ The AWS region of the peered VPC. For example, `eu-central-1`.
447
+ """
448
+ return pulumi.get(self, "aws_vpc_region")
449
+
450
+ @property
451
+ @pulumi.getter(name="organizationId")
452
+ def organization_id(self) -> pulumi.Output[str]:
453
+ """
454
+ Identifier of the organization.
455
+ """
456
+ return pulumi.get(self, "organization_id")
457
+
458
+ @property
459
+ @pulumi.getter(name="organizationVpcId")
460
+ def organization_vpc_id(self) -> pulumi.Output[str]:
461
+ """
462
+ Identifier of the organization VPC.
463
+ """
464
+ return pulumi.get(self, "organization_vpc_id")
465
+
466
+ @property
467
+ @pulumi.getter(name="peeringConnectionId")
468
+ def peering_connection_id(self) -> pulumi.Output[str]:
469
+ """
470
+ The ID of the peering connection.
471
+ """
472
+ return pulumi.get(self, "peering_connection_id")
473
+
474
+ @property
475
+ @pulumi.getter
476
+ def state(self) -> pulumi.Output[str]:
477
+ """
478
+ State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`.
479
+ """
480
+ return pulumi.get(self, "state")
481
+