pulumi-aiven 6.34.0a1739941685__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.

@@ -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
+