pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.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 +28 -0
- pulumi_aiven/_inputs.py +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/aws_privatelink.py
CHANGED
|
@@ -19,9 +19,9 @@ class AwsPrivatelinkArgs:
|
|
|
19
19
|
service_name: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a AwsPrivatelink resource.
|
|
22
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed
|
|
23
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
24
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
22
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
23
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "principals", principals)
|
|
27
27
|
pulumi.set(__self__, "project", project)
|
|
@@ -31,7 +31,7 @@ class AwsPrivatelinkArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def principals(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
33
33
|
"""
|
|
34
|
-
List of allowed
|
|
34
|
+
List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "principals")
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ class AwsPrivatelinkArgs:
|
|
|
43
43
|
@pulumi.getter
|
|
44
44
|
def project(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
46
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "project")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class AwsPrivatelinkArgs:
|
|
|
55
55
|
@pulumi.getter(name="serviceName")
|
|
56
56
|
def service_name(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
58
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "service_name")
|
|
61
61
|
|
|
@@ -74,11 +74,11 @@ class _AwsPrivatelinkState:
|
|
|
74
74
|
service_name: Optional[pulumi.Input[str]] = None):
|
|
75
75
|
"""
|
|
76
76
|
Input properties used for looking up and filtering AwsPrivatelink resources.
|
|
77
|
-
:param pulumi.Input[str] aws_service_id: AWS service ID
|
|
78
|
-
:param pulumi.Input[str] aws_service_name: AWS service name
|
|
79
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed
|
|
80
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
81
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
77
|
+
:param pulumi.Input[str] aws_service_id: AWS service ID.
|
|
78
|
+
:param pulumi.Input[str] aws_service_name: AWS service name.
|
|
79
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
80
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
81
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
82
82
|
"""
|
|
83
83
|
if aws_service_id is not None:
|
|
84
84
|
pulumi.set(__self__, "aws_service_id", aws_service_id)
|
|
@@ -95,7 +95,7 @@ class _AwsPrivatelinkState:
|
|
|
95
95
|
@pulumi.getter(name="awsServiceId")
|
|
96
96
|
def aws_service_id(self) -> Optional[pulumi.Input[str]]:
|
|
97
97
|
"""
|
|
98
|
-
AWS service ID
|
|
98
|
+
AWS service ID.
|
|
99
99
|
"""
|
|
100
100
|
return pulumi.get(self, "aws_service_id")
|
|
101
101
|
|
|
@@ -107,7 +107,7 @@ class _AwsPrivatelinkState:
|
|
|
107
107
|
@pulumi.getter(name="awsServiceName")
|
|
108
108
|
def aws_service_name(self) -> Optional[pulumi.Input[str]]:
|
|
109
109
|
"""
|
|
110
|
-
AWS service name
|
|
110
|
+
AWS service name.
|
|
111
111
|
"""
|
|
112
112
|
return pulumi.get(self, "aws_service_name")
|
|
113
113
|
|
|
@@ -119,7 +119,7 @@ class _AwsPrivatelinkState:
|
|
|
119
119
|
@pulumi.getter
|
|
120
120
|
def principals(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
121
121
|
"""
|
|
122
|
-
List of allowed
|
|
122
|
+
List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
123
123
|
"""
|
|
124
124
|
return pulumi.get(self, "principals")
|
|
125
125
|
|
|
@@ -131,7 +131,7 @@ class _AwsPrivatelinkState:
|
|
|
131
131
|
@pulumi.getter
|
|
132
132
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
133
133
|
"""
|
|
134
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
134
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
135
135
|
"""
|
|
136
136
|
return pulumi.get(self, "project")
|
|
137
137
|
|
|
@@ -143,7 +143,7 @@ class _AwsPrivatelinkState:
|
|
|
143
143
|
@pulumi.getter(name="serviceName")
|
|
144
144
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
145
145
|
"""
|
|
146
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
146
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
147
147
|
"""
|
|
148
148
|
return pulumi.get(self, "service_name")
|
|
149
149
|
|
|
@@ -162,31 +162,33 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
162
162
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
163
163
|
__props__=None):
|
|
164
164
|
"""
|
|
165
|
-
|
|
165
|
+
Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
|
|
166
166
|
|
|
167
167
|
## Example Usage
|
|
168
168
|
|
|
169
|
+
<!--Start PulumiCodeChooser -->
|
|
169
170
|
```python
|
|
170
171
|
import pulumi
|
|
171
172
|
import pulumi_aiven as aiven
|
|
172
173
|
|
|
173
|
-
|
|
174
|
-
project=data["aiven_project"]["
|
|
175
|
-
service_name=aiven_kafka["
|
|
174
|
+
main = aiven.AwsPrivatelink("main",
|
|
175
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
176
|
+
service_name=aiven_kafka["example_kafka"]["service_name"],
|
|
176
177
|
principals=["arn:aws:iam::012345678901:user/mwf"])
|
|
177
178
|
```
|
|
179
|
+
<!--End PulumiCodeChooser -->
|
|
178
180
|
|
|
179
181
|
## Import
|
|
180
182
|
|
|
181
183
|
```sh
|
|
182
|
-
|
|
184
|
+
$ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
|
|
183
185
|
```
|
|
184
186
|
|
|
185
187
|
:param str resource_name: The name of the resource.
|
|
186
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
187
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed
|
|
188
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
189
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
190
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
191
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
190
192
|
"""
|
|
191
193
|
...
|
|
192
194
|
@overload
|
|
@@ -195,24 +197,26 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
195
197
|
args: AwsPrivatelinkArgs,
|
|
196
198
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
197
199
|
"""
|
|
198
|
-
|
|
200
|
+
Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
|
|
199
201
|
|
|
200
202
|
## Example Usage
|
|
201
203
|
|
|
204
|
+
<!--Start PulumiCodeChooser -->
|
|
202
205
|
```python
|
|
203
206
|
import pulumi
|
|
204
207
|
import pulumi_aiven as aiven
|
|
205
208
|
|
|
206
|
-
|
|
207
|
-
project=data["aiven_project"]["
|
|
208
|
-
service_name=aiven_kafka["
|
|
209
|
+
main = aiven.AwsPrivatelink("main",
|
|
210
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
211
|
+
service_name=aiven_kafka["example_kafka"]["service_name"],
|
|
209
212
|
principals=["arn:aws:iam::012345678901:user/mwf"])
|
|
210
213
|
```
|
|
214
|
+
<!--End PulumiCodeChooser -->
|
|
211
215
|
|
|
212
216
|
## Import
|
|
213
217
|
|
|
214
218
|
```sh
|
|
215
|
-
|
|
219
|
+
$ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
|
|
216
220
|
```
|
|
217
221
|
|
|
218
222
|
:param str resource_name: The name of the resource.
|
|
@@ -275,11 +279,11 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
275
279
|
:param str resource_name: The unique name of the resulting resource.
|
|
276
280
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
277
281
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
278
|
-
:param pulumi.Input[str] aws_service_id: AWS service ID
|
|
279
|
-
:param pulumi.Input[str] aws_service_name: AWS service name
|
|
280
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of allowed
|
|
281
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
282
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
282
|
+
:param pulumi.Input[str] aws_service_id: AWS service ID.
|
|
283
|
+
:param pulumi.Input[str] aws_service_name: AWS service name.
|
|
284
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] principals: List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
285
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
286
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
283
287
|
"""
|
|
284
288
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
285
289
|
|
|
@@ -296,7 +300,7 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
296
300
|
@pulumi.getter(name="awsServiceId")
|
|
297
301
|
def aws_service_id(self) -> pulumi.Output[str]:
|
|
298
302
|
"""
|
|
299
|
-
AWS service ID
|
|
303
|
+
AWS service ID.
|
|
300
304
|
"""
|
|
301
305
|
return pulumi.get(self, "aws_service_id")
|
|
302
306
|
|
|
@@ -304,7 +308,7 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
304
308
|
@pulumi.getter(name="awsServiceName")
|
|
305
309
|
def aws_service_name(self) -> pulumi.Output[str]:
|
|
306
310
|
"""
|
|
307
|
-
AWS service name
|
|
311
|
+
AWS service name.
|
|
308
312
|
"""
|
|
309
313
|
return pulumi.get(self, "aws_service_name")
|
|
310
314
|
|
|
@@ -312,7 +316,7 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
312
316
|
@pulumi.getter
|
|
313
317
|
def principals(self) -> pulumi.Output[Sequence[str]]:
|
|
314
318
|
"""
|
|
315
|
-
List of allowed
|
|
319
|
+
List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
|
|
316
320
|
"""
|
|
317
321
|
return pulumi.get(self, "principals")
|
|
318
322
|
|
|
@@ -320,7 +324,7 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
320
324
|
@pulumi.getter
|
|
321
325
|
def project(self) -> pulumi.Output[str]:
|
|
322
326
|
"""
|
|
323
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
327
|
+
Identifies 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.
|
|
324
328
|
"""
|
|
325
329
|
return pulumi.get(self, "project")
|
|
326
330
|
|
|
@@ -328,7 +332,7 @@ class AwsPrivatelink(pulumi.CustomResource):
|
|
|
328
332
|
@pulumi.getter(name="serviceName")
|
|
329
333
|
def service_name(self) -> pulumi.Output[str]:
|
|
330
334
|
"""
|
|
331
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
335
|
+
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
332
336
|
"""
|
|
333
337
|
return pulumi.get(self, "service_name")
|
|
334
338
|
|
|
@@ -20,10 +20,10 @@ class AwsVpcPeeringConnectionArgs:
|
|
|
20
20
|
vpc_id: pulumi.Input[str]):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a AwsVpcPeeringConnection resource.
|
|
23
|
-
:param pulumi.Input[str] aws_account_id: AWS account ID.
|
|
24
|
-
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID.
|
|
25
|
-
:param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC
|
|
26
|
-
:param pulumi.Input[str] vpc_id: The
|
|
23
|
+
:param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
|
|
25
|
+
:param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
26
|
+
:param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
27
27
|
"""
|
|
28
28
|
pulumi.set(__self__, "aws_account_id", aws_account_id)
|
|
29
29
|
pulumi.set(__self__, "aws_vpc_id", aws_vpc_id)
|
|
@@ -34,7 +34,7 @@ class AwsVpcPeeringConnectionArgs:
|
|
|
34
34
|
@pulumi.getter(name="awsAccountId")
|
|
35
35
|
def aws_account_id(self) -> pulumi.Input[str]:
|
|
36
36
|
"""
|
|
37
|
-
AWS account ID.
|
|
37
|
+
AWS account ID. Changing this property forces recreation of the resource.
|
|
38
38
|
"""
|
|
39
39
|
return pulumi.get(self, "aws_account_id")
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ class AwsVpcPeeringConnectionArgs:
|
|
|
46
46
|
@pulumi.getter(name="awsVpcId")
|
|
47
47
|
def aws_vpc_id(self) -> pulumi.Input[str]:
|
|
48
48
|
"""
|
|
49
|
-
AWS VPC ID.
|
|
49
|
+
AWS VPC ID. Changing this property forces recreation of the resource.
|
|
50
50
|
"""
|
|
51
51
|
return pulumi.get(self, "aws_vpc_id")
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ class AwsVpcPeeringConnectionArgs:
|
|
|
58
58
|
@pulumi.getter(name="awsVpcRegion")
|
|
59
59
|
def aws_vpc_region(self) -> pulumi.Input[str]:
|
|
60
60
|
"""
|
|
61
|
-
AWS region of the peered VPC
|
|
61
|
+
The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "aws_vpc_region")
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ class AwsVpcPeeringConnectionArgs:
|
|
|
70
70
|
@pulumi.getter(name="vpcId")
|
|
71
71
|
def vpc_id(self) -> pulumi.Input[str]:
|
|
72
72
|
"""
|
|
73
|
-
The
|
|
73
|
+
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
74
74
|
"""
|
|
75
75
|
return pulumi.get(self, "vpc_id")
|
|
76
76
|
|
|
@@ -91,13 +91,13 @@ class _AwsVpcPeeringConnectionState:
|
|
|
91
91
|
vpc_id: Optional[pulumi.Input[str]] = None):
|
|
92
92
|
"""
|
|
93
93
|
Input properties used for looking up and filtering AwsVpcPeeringConnection resources.
|
|
94
|
-
:param pulumi.Input[str] aws_account_id: AWS account ID.
|
|
95
|
-
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID.
|
|
96
|
-
:param pulumi.Input[str] aws_vpc_peering_connection_id: AWS VPC peering connection
|
|
97
|
-
:param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC
|
|
98
|
-
:param pulumi.Input[str] state:
|
|
99
|
-
:param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
|
|
100
|
-
:param pulumi.Input[str] vpc_id: The
|
|
94
|
+
:param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|
|
95
|
+
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
|
|
96
|
+
:param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
|
|
97
|
+
:param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
98
|
+
:param pulumi.Input[str] state: The state of the peering connection.
|
|
99
|
+
:param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information.
|
|
100
|
+
:param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
101
101
|
"""
|
|
102
102
|
if aws_account_id is not None:
|
|
103
103
|
pulumi.set(__self__, "aws_account_id", aws_account_id)
|
|
@@ -118,7 +118,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
118
118
|
@pulumi.getter(name="awsAccountId")
|
|
119
119
|
def aws_account_id(self) -> Optional[pulumi.Input[str]]:
|
|
120
120
|
"""
|
|
121
|
-
AWS account ID.
|
|
121
|
+
AWS account ID. Changing this property forces recreation of the resource.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "aws_account_id")
|
|
124
124
|
|
|
@@ -130,7 +130,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
130
130
|
@pulumi.getter(name="awsVpcId")
|
|
131
131
|
def aws_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
132
132
|
"""
|
|
133
|
-
AWS VPC ID.
|
|
133
|
+
AWS VPC ID. Changing this property forces recreation of the resource.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "aws_vpc_id")
|
|
136
136
|
|
|
@@ -142,7 +142,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
142
142
|
@pulumi.getter(name="awsVpcPeeringConnectionId")
|
|
143
143
|
def aws_vpc_peering_connection_id(self) -> Optional[pulumi.Input[str]]:
|
|
144
144
|
"""
|
|
145
|
-
AWS VPC peering connection
|
|
145
|
+
The ID of the AWS VPC peering connection.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "aws_vpc_peering_connection_id")
|
|
148
148
|
|
|
@@ -154,7 +154,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
154
154
|
@pulumi.getter(name="awsVpcRegion")
|
|
155
155
|
def aws_vpc_region(self) -> Optional[pulumi.Input[str]]:
|
|
156
156
|
"""
|
|
157
|
-
AWS region of the peered VPC
|
|
157
|
+
The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
158
158
|
"""
|
|
159
159
|
return pulumi.get(self, "aws_vpc_region")
|
|
160
160
|
|
|
@@ -166,7 +166,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
166
166
|
@pulumi.getter
|
|
167
167
|
def state(self) -> Optional[pulumi.Input[str]]:
|
|
168
168
|
"""
|
|
169
|
-
|
|
169
|
+
The state of the peering connection.
|
|
170
170
|
"""
|
|
171
171
|
return pulumi.get(self, "state")
|
|
172
172
|
|
|
@@ -178,7 +178,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
178
178
|
@pulumi.getter(name="stateInfo")
|
|
179
179
|
def state_info(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
180
180
|
"""
|
|
181
|
-
State-specific help or error information
|
|
181
|
+
State-specific help or error information.
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "state_info")
|
|
184
184
|
|
|
@@ -190,7 +190,7 @@ class _AwsVpcPeeringConnectionState:
|
|
|
190
190
|
@pulumi.getter(name="vpcId")
|
|
191
191
|
def vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
192
192
|
"""
|
|
193
|
-
The
|
|
193
|
+
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
194
194
|
"""
|
|
195
195
|
return pulumi.get(self, "vpc_id")
|
|
196
196
|
|
|
@@ -210,32 +210,39 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
210
210
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
211
211
|
__props__=None):
|
|
212
212
|
"""
|
|
213
|
-
|
|
213
|
+
Creates and manages an AWS VPC peering connection with an Aiven VPC.
|
|
214
214
|
|
|
215
215
|
## Example Usage
|
|
216
216
|
|
|
217
|
+
<!--Start PulumiCodeChooser -->
|
|
217
218
|
```python
|
|
218
219
|
import pulumi
|
|
219
220
|
import pulumi_aiven as aiven
|
|
220
221
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
example_vpc = aiven.ProjectVpc("exampleVpc",
|
|
223
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
224
|
+
cloud_name="aws-us-east-2",
|
|
225
|
+
network_cidr="192.168.1.0/24")
|
|
226
|
+
aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("awsToAivenPeering",
|
|
227
|
+
vpc_id=example_vpc.id,
|
|
228
|
+
aws_account_id=var["aws_id"],
|
|
229
|
+
aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
|
|
230
|
+
aws_vpc_region="aws-us-east-2")
|
|
225
231
|
```
|
|
232
|
+
<!--End PulumiCodeChooser -->
|
|
226
233
|
|
|
227
234
|
## Import
|
|
228
235
|
|
|
229
236
|
```sh
|
|
230
|
-
|
|
237
|
+
$ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection aws_to_aiven_peering PROJECT/VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
|
|
231
238
|
```
|
|
232
239
|
|
|
233
240
|
:param str resource_name: The name of the resource.
|
|
234
241
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
235
|
-
:param pulumi.Input[str] aws_account_id: AWS account ID.
|
|
236
|
-
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID.
|
|
237
|
-
:param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC
|
|
238
|
-
:param pulumi.Input[str] vpc_id: The
|
|
242
|
+
:param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|
|
243
|
+
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
|
|
244
|
+
:param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
245
|
+
:param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
239
246
|
"""
|
|
240
247
|
...
|
|
241
248
|
@overload
|
|
@@ -244,24 +251,31 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
244
251
|
args: AwsVpcPeeringConnectionArgs,
|
|
245
252
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
246
253
|
"""
|
|
247
|
-
|
|
254
|
+
Creates and manages an AWS VPC peering connection with an Aiven VPC.
|
|
248
255
|
|
|
249
256
|
## Example Usage
|
|
250
257
|
|
|
258
|
+
<!--Start PulumiCodeChooser -->
|
|
251
259
|
```python
|
|
252
260
|
import pulumi
|
|
253
261
|
import pulumi_aiven as aiven
|
|
254
262
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
263
|
+
example_vpc = aiven.ProjectVpc("exampleVpc",
|
|
264
|
+
project=data["aiven_project"]["example_project"]["project"],
|
|
265
|
+
cloud_name="aws-us-east-2",
|
|
266
|
+
network_cidr="192.168.1.0/24")
|
|
267
|
+
aws_to_aiven_peering = aiven.AwsVpcPeeringConnection("awsToAivenPeering",
|
|
268
|
+
vpc_id=example_vpc.id,
|
|
269
|
+
aws_account_id=var["aws_id"],
|
|
270
|
+
aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
|
|
271
|
+
aws_vpc_region="aws-us-east-2")
|
|
259
272
|
```
|
|
273
|
+
<!--End PulumiCodeChooser -->
|
|
260
274
|
|
|
261
275
|
## Import
|
|
262
276
|
|
|
263
277
|
```sh
|
|
264
|
-
|
|
278
|
+
$ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection aws_to_aiven_peering PROJECT/VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
|
|
265
279
|
```
|
|
266
280
|
|
|
267
281
|
:param str resource_name: The name of the resource.
|
|
@@ -331,13 +345,13 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
331
345
|
:param str resource_name: The unique name of the resulting resource.
|
|
332
346
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
333
347
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
334
|
-
:param pulumi.Input[str] aws_account_id: AWS account ID.
|
|
335
|
-
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID.
|
|
336
|
-
:param pulumi.Input[str] aws_vpc_peering_connection_id: AWS VPC peering connection
|
|
337
|
-
:param pulumi.Input[str] aws_vpc_region: AWS region of the peered VPC
|
|
338
|
-
:param pulumi.Input[str] state:
|
|
339
|
-
:param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
|
|
340
|
-
:param pulumi.Input[str] vpc_id: The
|
|
348
|
+
:param pulumi.Input[str] aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
|
|
349
|
+
:param pulumi.Input[str] aws_vpc_id: AWS VPC ID. Changing this property forces recreation of the resource.
|
|
350
|
+
:param pulumi.Input[str] aws_vpc_peering_connection_id: The ID of the AWS VPC peering connection.
|
|
351
|
+
:param pulumi.Input[str] aws_vpc_region: The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
352
|
+
:param pulumi.Input[str] state: The state of the peering connection.
|
|
353
|
+
:param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information.
|
|
354
|
+
:param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
341
355
|
"""
|
|
342
356
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
343
357
|
|
|
@@ -356,7 +370,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
356
370
|
@pulumi.getter(name="awsAccountId")
|
|
357
371
|
def aws_account_id(self) -> pulumi.Output[str]:
|
|
358
372
|
"""
|
|
359
|
-
AWS account ID.
|
|
373
|
+
AWS account ID. Changing this property forces recreation of the resource.
|
|
360
374
|
"""
|
|
361
375
|
return pulumi.get(self, "aws_account_id")
|
|
362
376
|
|
|
@@ -364,7 +378,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
364
378
|
@pulumi.getter(name="awsVpcId")
|
|
365
379
|
def aws_vpc_id(self) -> pulumi.Output[str]:
|
|
366
380
|
"""
|
|
367
|
-
AWS VPC ID.
|
|
381
|
+
AWS VPC ID. Changing this property forces recreation of the resource.
|
|
368
382
|
"""
|
|
369
383
|
return pulumi.get(self, "aws_vpc_id")
|
|
370
384
|
|
|
@@ -372,7 +386,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
372
386
|
@pulumi.getter(name="awsVpcPeeringConnectionId")
|
|
373
387
|
def aws_vpc_peering_connection_id(self) -> pulumi.Output[str]:
|
|
374
388
|
"""
|
|
375
|
-
AWS VPC peering connection
|
|
389
|
+
The ID of the AWS VPC peering connection.
|
|
376
390
|
"""
|
|
377
391
|
return pulumi.get(self, "aws_vpc_peering_connection_id")
|
|
378
392
|
|
|
@@ -380,7 +394,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
380
394
|
@pulumi.getter(name="awsVpcRegion")
|
|
381
395
|
def aws_vpc_region(self) -> pulumi.Output[str]:
|
|
382
396
|
"""
|
|
383
|
-
AWS region of the peered VPC
|
|
397
|
+
The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource.
|
|
384
398
|
"""
|
|
385
399
|
return pulumi.get(self, "aws_vpc_region")
|
|
386
400
|
|
|
@@ -388,7 +402,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
388
402
|
@pulumi.getter
|
|
389
403
|
def state(self) -> pulumi.Output[str]:
|
|
390
404
|
"""
|
|
391
|
-
|
|
405
|
+
The state of the peering connection.
|
|
392
406
|
"""
|
|
393
407
|
return pulumi.get(self, "state")
|
|
394
408
|
|
|
@@ -396,7 +410,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
396
410
|
@pulumi.getter(name="stateInfo")
|
|
397
411
|
def state_info(self) -> pulumi.Output[Mapping[str, Any]]:
|
|
398
412
|
"""
|
|
399
|
-
State-specific help or error information
|
|
413
|
+
State-specific help or error information.
|
|
400
414
|
"""
|
|
401
415
|
return pulumi.get(self, "state_info")
|
|
402
416
|
|
|
@@ -404,7 +418,7 @@ class AwsVpcPeeringConnection(pulumi.CustomResource):
|
|
|
404
418
|
@pulumi.getter(name="vpcId")
|
|
405
419
|
def vpc_id(self) -> pulumi.Output[str]:
|
|
406
420
|
"""
|
|
407
|
-
The
|
|
421
|
+
The ID of the Aiven VPC. Changing this property forces recreation of the resource.
|
|
408
422
|
"""
|
|
409
423
|
return pulumi.get(self, "vpc_id")
|
|
410
424
|
|