@pulumi/aiven 6.59.0-alpha.1789103454 → 6.59.0

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.
Files changed (225) hide show
  1. package/accountTeamProject.d.ts +3 -3
  2. package/awsOrgVpcPeeringConnection.d.ts +30 -33
  3. package/awsOrgVpcPeeringConnection.d.ts.map +1 -1
  4. package/awsOrgVpcPeeringConnection.js +10 -16
  5. package/awsOrgVpcPeeringConnection.js.map +1 -1
  6. package/awsPrivatelink.d.ts +45 -19
  7. package/awsPrivatelink.d.ts.map +1 -1
  8. package/awsPrivatelink.js +13 -6
  9. package/awsPrivatelink.js.map +1 -1
  10. package/azureOrgVpcPeeringConnection.d.ts +35 -38
  11. package/azureOrgVpcPeeringConnection.d.ts.map +1 -1
  12. package/azureOrgVpcPeeringConnection.js +7 -13
  13. package/azureOrgVpcPeeringConnection.js.map +1 -1
  14. package/azurePrivatelink.d.ts +32 -23
  15. package/azurePrivatelink.d.ts.map +1 -1
  16. package/azurePrivatelink.js +8 -6
  17. package/azurePrivatelink.js.map +1 -1
  18. package/azurePrivatelinkConnectionApproval.d.ts +12 -12
  19. package/azurePrivatelinkConnectionApproval.js +12 -12
  20. package/byocAwsEntity.d.ts +7 -7
  21. package/byocAwsEntity.js +7 -7
  22. package/byocAwsProvision.d.ts +5 -3
  23. package/byocAwsProvision.d.ts.map +1 -1
  24. package/byocAwsProvision.js +5 -3
  25. package/byocAwsProvision.js.map +1 -1
  26. package/byocPermissions.d.ts +15 -5
  27. package/byocPermissions.d.ts.map +1 -1
  28. package/byocPermissions.js +15 -5
  29. package/byocPermissions.js.map +1 -1
  30. package/clickhouseGrant.d.ts +6 -6
  31. package/clickhouseGrant.js +6 -6
  32. package/dragonfly.d.ts +3 -3
  33. package/dragonfly.js +3 -3
  34. package/flink.d.ts +3 -3
  35. package/flink.js +3 -3
  36. package/flinkApplicationDeployment.d.ts +4 -4
  37. package/flinkApplicationDeployment.js +4 -4
  38. package/flinkApplicationVersion.d.ts +4 -4
  39. package/flinkApplicationVersion.js +4 -4
  40. package/flinkJarApplication.d.ts +10 -18
  41. package/flinkJarApplication.d.ts.map +1 -1
  42. package/flinkJarApplication.js +9 -18
  43. package/flinkJarApplication.js.map +1 -1
  44. package/flinkJarApplicationDeployment.d.ts +4 -7
  45. package/flinkJarApplicationDeployment.d.ts.map +1 -1
  46. package/flinkJarApplicationDeployment.js +4 -7
  47. package/flinkJarApplicationDeployment.js.map +1 -1
  48. package/flinkJarApplicationVersion.d.ts +4 -7
  49. package/flinkJarApplicationVersion.d.ts.map +1 -1
  50. package/flinkJarApplicationVersion.js +4 -7
  51. package/flinkJarApplicationVersion.js.map +1 -1
  52. package/gcpOrgVpcPeeringConnection.d.ts +25 -28
  53. package/gcpOrgVpcPeeringConnection.d.ts.map +1 -1
  54. package/gcpOrgVpcPeeringConnection.js +8 -14
  55. package/gcpOrgVpcPeeringConnection.js.map +1 -1
  56. package/gcpPrivatelink.d.ts +24 -15
  57. package/gcpPrivatelink.d.ts.map +1 -1
  58. package/gcpPrivatelink.js +7 -5
  59. package/gcpPrivatelink.js.map +1 -1
  60. package/getAccountTeamProject.d.ts +1 -1
  61. package/getAwsOrgVpcPeeringConnection.d.ts +47 -18
  62. package/getAwsOrgVpcPeeringConnection.d.ts.map +1 -1
  63. package/getAwsOrgVpcPeeringConnection.js +30 -4
  64. package/getAwsOrgVpcPeeringConnection.js.map +1 -1
  65. package/getAwsPrivatelink.d.ts +29 -16
  66. package/getAwsPrivatelink.d.ts.map +1 -1
  67. package/getAwsPrivatelink.js +8 -6
  68. package/getAwsPrivatelink.js.map +1 -1
  69. package/getAzureOrgVpcPeeringConnection.d.ts +55 -26
  70. package/getAzureOrgVpcPeeringConnection.d.ts.map +1 -1
  71. package/getAzureOrgVpcPeeringConnection.js +32 -6
  72. package/getAzureOrgVpcPeeringConnection.js.map +1 -1
  73. package/getAzurePrivatelink.d.ts +25 -18
  74. package/getAzurePrivatelink.d.ts.map +1 -1
  75. package/getAzurePrivatelink.js +8 -6
  76. package/getAzurePrivatelink.js.map +1 -1
  77. package/getGcpOrgVpcPeeringConnection.d.ts +45 -18
  78. package/getGcpOrgVpcPeeringConnection.d.ts.map +1 -1
  79. package/getGcpOrgVpcPeeringConnection.js +28 -4
  80. package/getGcpOrgVpcPeeringConnection.js.map +1 -1
  81. package/getGcpPrivatelink.d.ts +22 -15
  82. package/getGcpPrivatelink.d.ts.map +1 -1
  83. package/getGcpPrivatelink.js +8 -6
  84. package/getGcpPrivatelink.js.map +1 -1
  85. package/getKafkaAcl.d.ts +44 -35
  86. package/getKafkaAcl.d.ts.map +1 -1
  87. package/getKafkaAcl.js +12 -12
  88. package/getKafkaAcl.js.map +1 -1
  89. package/getKafkaUser.d.ts +31 -22
  90. package/getKafkaUser.d.ts.map +1 -1
  91. package/getKafkaUser.js +10 -8
  92. package/getKafkaUser.js.map +1 -1
  93. package/getMirrorMakerReplicationFlow.d.ts +45 -36
  94. package/getMirrorMakerReplicationFlow.d.ts.map +1 -1
  95. package/getMirrorMakerReplicationFlow.js +12 -10
  96. package/getMirrorMakerReplicationFlow.js.map +1 -1
  97. package/getMysqlUser.d.ts +4 -0
  98. package/getMysqlUser.d.ts.map +1 -1
  99. package/getMysqlUser.js.map +1 -1
  100. package/getOpensearchUser.d.ts +4 -0
  101. package/getOpensearchUser.d.ts.map +1 -1
  102. package/getOpensearchUser.js.map +1 -1
  103. package/getOrganizationUserGroup.d.ts +34 -17
  104. package/getOrganizationUserGroup.d.ts.map +1 -1
  105. package/getOrganizationUserGroup.js +8 -4
  106. package/getOrganizationUserGroup.js.map +1 -1
  107. package/getOrganizationVpc.d.ts +38 -11
  108. package/getOrganizationVpc.d.ts.map +1 -1
  109. package/getOrganizationVpc.js +24 -4
  110. package/getOrganizationVpc.js.map +1 -1
  111. package/getPgUser.d.ts +4 -0
  112. package/getPgUser.d.ts.map +1 -1
  113. package/getPgUser.js.map +1 -1
  114. package/getProjectUser.d.ts +1 -1
  115. package/getServiceIntegration.d.ts +3 -3
  116. package/getServiceIntegrationEndpoint.d.ts +5 -1
  117. package/getServiceIntegrationEndpoint.d.ts.map +1 -1
  118. package/getServiceIntegrationEndpoint.js.map +1 -1
  119. package/getServicePlan.d.ts +4 -4
  120. package/getServicePlan.js +4 -4
  121. package/getValkeyUser.d.ts +50 -15
  122. package/getValkeyUser.d.ts.map +1 -1
  123. package/getValkeyUser.js +30 -2
  124. package/getValkeyUser.js.map +1 -1
  125. package/governanceAccess.d.ts +3 -3
  126. package/governanceAccess.js +3 -3
  127. package/grafana.d.ts +6 -6
  128. package/grafana.js +6 -6
  129. package/kafka.d.ts +10 -10
  130. package/kafka.js +10 -10
  131. package/kafkaAcl.d.ts +29 -25
  132. package/kafkaAcl.d.ts.map +1 -1
  133. package/kafkaAcl.js +11 -10
  134. package/kafkaAcl.js.map +1 -1
  135. package/kafkaConnect.d.ts +8 -8
  136. package/kafkaConnect.js +8 -8
  137. package/kafkaMirrorMaker.d.ts +5 -5
  138. package/kafkaMirrorMaker.js +5 -5
  139. package/kafkaNativeAcl.d.ts +50 -38
  140. package/kafkaNativeAcl.d.ts.map +1 -1
  141. package/kafkaNativeAcl.js +14 -11
  142. package/kafkaNativeAcl.js.map +1 -1
  143. package/kafkaTopic.d.ts +6 -6
  144. package/kafkaTopic.js +6 -6
  145. package/kafkaUser.d.ts +45 -31
  146. package/kafkaUser.d.ts.map +1 -1
  147. package/kafkaUser.js +12 -7
  148. package/kafkaUser.js.map +1 -1
  149. package/mirrorMakerReplicationFlow.d.ts +101 -74
  150. package/mirrorMakerReplicationFlow.d.ts.map +1 -1
  151. package/mirrorMakerReplicationFlow.js +29 -21
  152. package/mirrorMakerReplicationFlow.js.map +1 -1
  153. package/mySql.d.ts +7 -7
  154. package/mySql.js +7 -7
  155. package/mysqlUser.d.ts +8 -0
  156. package/mysqlUser.d.ts.map +1 -1
  157. package/mysqlUser.js +2 -0
  158. package/mysqlUser.js.map +1 -1
  159. package/openSearch.d.ts +6 -6
  160. package/openSearch.js +6 -6
  161. package/opensearchSecurityPluginConfig.d.ts +5 -1
  162. package/opensearchSecurityPluginConfig.d.ts.map +1 -1
  163. package/opensearchSecurityPluginConfig.js +5 -1
  164. package/opensearchSecurityPluginConfig.js.map +1 -1
  165. package/opensearchUser.d.ts +8 -0
  166. package/opensearchUser.d.ts.map +1 -1
  167. package/opensearchUser.js +2 -0
  168. package/opensearchUser.js.map +1 -1
  169. package/organizationAddress.d.ts +4 -1
  170. package/organizationAddress.d.ts.map +1 -1
  171. package/organizationAddress.js +4 -1
  172. package/organizationAddress.js.map +1 -1
  173. package/organizationApplicationUserToken.d.ts +4 -1
  174. package/organizationApplicationUserToken.d.ts.map +1 -1
  175. package/organizationApplicationUserToken.js +4 -1
  176. package/organizationApplicationUserToken.js.map +1 -1
  177. package/organizationBillingGroup.d.ts +7 -7
  178. package/organizationBillingGroup.js +7 -7
  179. package/organizationGroupProject.d.ts +3 -3
  180. package/organizationPermission.d.ts +10 -4
  181. package/organizationPermission.d.ts.map +1 -1
  182. package/organizationPermission.js +10 -4
  183. package/organizationPermission.js.map +1 -1
  184. package/organizationProject.d.ts +4 -4
  185. package/organizationProject.js +4 -4
  186. package/organizationUserGroup.d.ts +32 -19
  187. package/organizationUserGroup.d.ts.map +1 -1
  188. package/organizationUserGroup.js +8 -4
  189. package/organizationUserGroup.js.map +1 -1
  190. package/organizationVpc.d.ts +32 -17
  191. package/organizationVpc.d.ts.map +1 -1
  192. package/organizationVpc.js +9 -7
  193. package/organizationVpc.js.map +1 -1
  194. package/package.json +2 -2
  195. package/pg.d.ts +15 -10
  196. package/pg.d.ts.map +1 -1
  197. package/pg.js +15 -10
  198. package/pg.js.map +1 -1
  199. package/pgUser.d.ts +8 -0
  200. package/pgUser.d.ts.map +1 -1
  201. package/pgUser.js +2 -0
  202. package/pgUser.js.map +1 -1
  203. package/projectUser.d.ts +3 -3
  204. package/serviceIntegration.d.ts +6 -6
  205. package/serviceIntegration.js +3 -3
  206. package/serviceIntegrationEndpoint.d.ts +18 -6
  207. package/serviceIntegrationEndpoint.d.ts.map +1 -1
  208. package/serviceIntegrationEndpoint.js +5 -3
  209. package/serviceIntegrationEndpoint.js.map +1 -1
  210. package/thanos.d.ts +4 -4
  211. package/thanos.js +4 -4
  212. package/types/input.d.ts +688 -20
  213. package/types/input.d.ts.map +1 -1
  214. package/types/output.d.ts +809 -25
  215. package/types/output.d.ts.map +1 -1
  216. package/upgradeStep.d.ts +4 -1
  217. package/upgradeStep.d.ts.map +1 -1
  218. package/upgradeStep.js +4 -1
  219. package/upgradeStep.js.map +1 -1
  220. package/valkey.d.ts +3 -3
  221. package/valkey.js +3 -3
  222. package/valkeyUser.d.ts +45 -47
  223. package/valkeyUser.d.ts.map +1 -1
  224. package/valkeyUser.js +13 -24
  225. package/valkeyUser.js.map +1 -1
@@ -67,7 +67,7 @@ export declare class AccountTeamProject extends pulumi.CustomResource {
67
67
  */
68
68
  readonly teamId: pulumi.Output<string>;
69
69
  /**
70
- * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
70
+ * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
71
71
  */
72
72
  readonly teamType: pulumi.Output<string | undefined>;
73
73
  /**
@@ -96,7 +96,7 @@ export interface AccountTeamProjectState {
96
96
  */
97
97
  teamId?: pulumi.Input<string | undefined>;
98
98
  /**
99
- * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
99
+ * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
100
100
  */
101
101
  teamType?: pulumi.Input<string | undefined>;
102
102
  }
@@ -117,7 +117,7 @@ export interface AccountTeamProjectArgs {
117
117
  */
118
118
  teamId: pulumi.Input<string>;
119
119
  /**
120
- * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
120
+ * The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`.
121
121
  */
122
122
  teamType?: pulumi.Input<string | undefined>;
123
123
  }
@@ -1,9 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
- * Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
4
- *
5
- * **This resource is in the beta stage and may change without notice.** Set
6
- * the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
5
+ * Creates and manages an AWS VPC peering connection with an Aiven Organization VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated.
7
6
  *
8
7
  * ## Example Usage
9
8
  *
@@ -11,24 +10,19 @@ import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as pulumi from "@pulumi/pulumi";
12
11
  * import * as aiven from "@pulumi/aiven";
13
12
  *
14
- * const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
15
- * organizationId: example.id,
16
- * cloudName: "aws-eu-central-1",
17
- * networkCidr: "10.0.0.0/24",
18
- * });
19
- * const examplePeering = new aiven.AwsOrgVpcPeeringConnection("example_peering", {
20
- * organizationId: exampleVpc.organizationId,
21
- * organizationVpcId: exampleVpc.organizationVpcId,
22
- * awsAccountId: awsId,
23
- * awsVpcId: "vpc-1a2b3c4d5e6f7g8h9",
24
- * awsVpcRegion: "aws-us-east-2",
13
+ * const example = new aiven.AwsOrgVpcPeeringConnection("example", {
14
+ * organizationId: "org1a23f456789",
15
+ * organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
16
+ * awsAccountId: "123456789012",
17
+ * awsVpcId: "vpc-2f09a348",
18
+ * awsVpcRegion: "us-east-1",
25
19
  * });
26
20
  * ```
27
21
  *
28
22
  * ## Import
29
23
  *
30
24
  * ```sh
31
- * $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
25
+ * $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
32
26
  * ```
33
27
  */
34
28
  export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
@@ -48,11 +42,11 @@ export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
48
42
  */
49
43
  static isInstance(obj: any): obj is AwsOrgVpcPeeringConnection;
50
44
  /**
51
- * AWS account ID. Changing this property forces recreation of the resource.
45
+ * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
52
46
  */
53
47
  readonly awsAccountId: pulumi.Output<string>;
54
48
  /**
55
- * AWS VPC ID. Changing this property forces recreation of the resource.
49
+ * AWS VPC ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
56
50
  */
57
51
  readonly awsVpcId: pulumi.Output<string>;
58
52
  /**
@@ -60,25 +54,26 @@ export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
60
54
  */
61
55
  readonly awsVpcPeeringConnectionId: pulumi.Output<string>;
62
56
  /**
63
- * The AWS region of the peered VPC. For example, `eu-central-1`.
57
+ * The AWS region of the peered VPC. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource.
64
58
  */
65
59
  readonly awsVpcRegion: pulumi.Output<string>;
66
60
  /**
67
- * Identifier of the organization.
61
+ * ID of an organization. Changing this property forces recreation of the resource.
68
62
  */
69
63
  readonly organizationId: pulumi.Output<string>;
70
64
  /**
71
- * Identifier of the organization VPC.
65
+ * Organization VPC ID. Changing this property forces recreation of the resource.
72
66
  */
73
67
  readonly organizationVpcId: pulumi.Output<string>;
74
68
  /**
75
- * The ID of the peering connection.
69
+ * Organization peering connection ID.
76
70
  */
77
71
  readonly peeringConnectionId: pulumi.Output<string>;
78
72
  /**
79
73
  * 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`.
80
74
  */
81
75
  readonly state: pulumi.Output<string>;
76
+ readonly timeouts: pulumi.Output<outputs.AwsOrgVpcPeeringConnectionTimeouts | undefined>;
82
77
  /**
83
78
  * Create a AwsOrgVpcPeeringConnection resource with the given unique name, arguments, and options.
84
79
  *
@@ -93,11 +88,11 @@ export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
93
88
  */
94
89
  export interface AwsOrgVpcPeeringConnectionState {
95
90
  /**
96
- * AWS account ID. Changing this property forces recreation of the resource.
91
+ * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
97
92
  */
98
93
  awsAccountId?: pulumi.Input<string | undefined>;
99
94
  /**
100
- * AWS VPC ID. Changing this property forces recreation of the resource.
95
+ * AWS VPC ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
101
96
  */
102
97
  awsVpcId?: pulumi.Input<string | undefined>;
103
98
  /**
@@ -105,49 +100,51 @@ export interface AwsOrgVpcPeeringConnectionState {
105
100
  */
106
101
  awsVpcPeeringConnectionId?: pulumi.Input<string | undefined>;
107
102
  /**
108
- * The AWS region of the peered VPC. For example, `eu-central-1`.
103
+ * The AWS region of the peered VPC. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource.
109
104
  */
110
105
  awsVpcRegion?: pulumi.Input<string | undefined>;
111
106
  /**
112
- * Identifier of the organization.
107
+ * ID of an organization. Changing this property forces recreation of the resource.
113
108
  */
114
109
  organizationId?: pulumi.Input<string | undefined>;
115
110
  /**
116
- * Identifier of the organization VPC.
111
+ * Organization VPC ID. Changing this property forces recreation of the resource.
117
112
  */
118
113
  organizationVpcId?: pulumi.Input<string | undefined>;
119
114
  /**
120
- * The ID of the peering connection.
115
+ * Organization peering connection ID.
121
116
  */
122
117
  peeringConnectionId?: pulumi.Input<string | undefined>;
123
118
  /**
124
119
  * 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`.
125
120
  */
126
121
  state?: pulumi.Input<string | undefined>;
122
+ timeouts?: pulumi.Input<inputs.AwsOrgVpcPeeringConnectionTimeouts | undefined>;
127
123
  }
128
124
  /**
129
125
  * The set of arguments for constructing a AwsOrgVpcPeeringConnection resource.
130
126
  */
131
127
  export interface AwsOrgVpcPeeringConnectionArgs {
132
128
  /**
133
- * AWS account ID. Changing this property forces recreation of the resource.
129
+ * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
134
130
  */
135
131
  awsAccountId: pulumi.Input<string>;
136
132
  /**
137
- * AWS VPC ID. Changing this property forces recreation of the resource.
133
+ * AWS VPC ID. Maximum length: `1024`. Changing this property forces recreation of the resource.
138
134
  */
139
135
  awsVpcId: pulumi.Input<string>;
140
136
  /**
141
- * The AWS region of the peered VPC. For example, `eu-central-1`.
137
+ * The AWS region of the peered VPC. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource.
142
138
  */
143
139
  awsVpcRegion: pulumi.Input<string>;
144
140
  /**
145
- * Identifier of the organization.
141
+ * ID of an organization. Changing this property forces recreation of the resource.
146
142
  */
147
143
  organizationId: pulumi.Input<string>;
148
144
  /**
149
- * Identifier of the organization VPC.
145
+ * Organization VPC ID. Changing this property forces recreation of the resource.
150
146
  */
151
147
  organizationVpcId: pulumi.Input<string>;
148
+ timeouts?: pulumi.Input<inputs.AwsOrgVpcPeeringConnectionTimeouts | undefined>;
152
149
  }
153
150
  //# sourceMappingURL=awsOrgVpcPeeringConnection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"awsOrgVpcPeeringConnection.d.ts","sourceRoot":"","sources":["../awsOrgVpcPeeringConnection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,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 +29,7 @@ exports.AwsOrgVpcPeeringConnection = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * Creates and manages an AWS VPC peering connection with an Aiven Organization VPC.
33
- *
34
- * **This resource is in the beta stage and may change without notice.** Set
35
- * the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
32
+ * Creates and manages an AWS VPC peering connection with an Aiven Organization VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated.
36
33
  *
37
34
  * ## Example Usage
38
35
  *
@@ -40,24 +37,19 @@ const utilities = __importStar(require("./utilities"));
40
37
  * import * as pulumi from "@pulumi/pulumi";
41
38
  * import * as aiven from "@pulumi/aiven";
42
39
  *
43
- * const exampleVpc = new aiven.OrganizationVpc("example_vpc", {
44
- * organizationId: example.id,
45
- * cloudName: "aws-eu-central-1",
46
- * networkCidr: "10.0.0.0/24",
47
- * });
48
- * const examplePeering = new aiven.AwsOrgVpcPeeringConnection("example_peering", {
49
- * organizationId: exampleVpc.organizationId,
50
- * organizationVpcId: exampleVpc.organizationVpcId,
51
- * awsAccountId: awsId,
52
- * awsVpcId: "vpc-1a2b3c4d5e6f7g8h9",
53
- * awsVpcRegion: "aws-us-east-2",
40
+ * const example = new aiven.AwsOrgVpcPeeringConnection("example", {
41
+ * organizationId: "org1a23f456789",
42
+ * organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
43
+ * awsAccountId: "123456789012",
44
+ * awsVpcId: "vpc-2f09a348",
45
+ * awsVpcRegion: "us-east-1",
54
46
  * });
55
47
  * ```
56
48
  *
57
49
  * ## Import
58
50
  *
59
51
  * ```sh
60
- * $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_REGION
52
+ * $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
61
53
  * ```
62
54
  */
63
55
  class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
@@ -98,6 +90,7 @@ class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
98
90
  resourceInputs["organizationVpcId"] = state?.organizationVpcId;
99
91
  resourceInputs["peeringConnectionId"] = state?.peeringConnectionId;
100
92
  resourceInputs["state"] = state?.state;
93
+ resourceInputs["timeouts"] = state?.timeouts;
101
94
  }
102
95
  else {
103
96
  const args = argsOrState;
@@ -121,6 +114,7 @@ class AwsOrgVpcPeeringConnection extends pulumi.CustomResource {
121
114
  resourceInputs["awsVpcRegion"] = args?.awsVpcRegion;
122
115
  resourceInputs["organizationId"] = args?.organizationId;
123
116
  resourceInputs["organizationVpcId"] = args?.organizationVpcId;
117
+ resourceInputs["timeouts"] = args?.timeouts;
124
118
  resourceInputs["awsVpcPeeringConnectionId"] = undefined /*out*/;
125
119
  resourceInputs["peeringConnectionId"] = undefined /*out*/;
126
120
  resourceInputs["state"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"awsOrgVpcPeeringConnection.js","sourceRoot":"","sources":["../awsOrgVpcPeeringConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACj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AAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAjHL,gEAkHC"}
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  /**
3
- * Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
5
+ * Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated.
4
6
  *
5
7
  * ## Example Usage
6
8
  *
@@ -8,17 +10,18 @@ import * as pulumi from "@pulumi/pulumi";
8
10
  * import * as pulumi from "@pulumi/pulumi";
9
11
  * import * as aiven from "@pulumi/aiven";
10
12
  *
11
- * const main = new aiven.AwsPrivatelink("main", {
12
- * project: exampleProject.project,
13
- * serviceName: exampleKafka.serviceName,
14
- * principals: ["arn:aws:iam::012345678901:user/mwf"],
13
+ * const example = new aiven.AwsPrivatelink("example", {
14
+ * project: "my-project",
15
+ * serviceName: "foo",
16
+ * principals: ["arn:aws:iam::012345678901:root"],
17
+ * supportedRegions: ["eu-west-1"],
15
18
  * });
16
19
  * ```
17
20
  *
18
21
  * ## Import
19
22
  *
20
23
  * ```sh
21
- * $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
24
+ * $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink example PROJECT/SERVICE_NAME
22
25
  * ```
23
26
  */
24
27
  export declare class AwsPrivatelink extends pulumi.CustomResource {
@@ -38,25 +41,34 @@ export declare class AwsPrivatelink extends pulumi.CustomResource {
38
41
  */
39
42
  static isInstance(obj: any): obj is AwsPrivatelink;
40
43
  /**
41
- * AWS service ID.
44
+ * AWS VPC endpoint service ID.
42
45
  */
43
46
  readonly awsServiceId: pulumi.Output<string>;
44
47
  /**
45
- * AWS service name.
48
+ * AWS VPC endpoint service name.
46
49
  */
47
50
  readonly awsServiceName: pulumi.Output<string>;
48
51
  /**
49
- * List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
52
+ * ARNs of principals allowed connecting to the service.
50
53
  */
51
54
  readonly principals: pulumi.Output<string[]>;
52
55
  /**
53
- * 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.
56
+ * Project name. Changing this property forces recreation of the resource.
54
57
  */
55
58
  readonly project: pulumi.Output<string>;
56
59
  /**
57
- * 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.
60
+ * Service name. Changing this property forces recreation of the resource.
58
61
  */
59
62
  readonly serviceName: pulumi.Output<string>;
63
+ /**
64
+ * Privatelink resource state. The possible values are `active`, `creating` and `deleting`.
65
+ */
66
+ readonly state: pulumi.Output<string>;
67
+ /**
68
+ * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
69
+ */
70
+ readonly supportedRegions: pulumi.Output<string[] | undefined>;
71
+ readonly timeouts: pulumi.Output<outputs.AwsPrivatelinkTimeouts | undefined>;
60
72
  /**
61
73
  * Create a AwsPrivatelink resource with the given unique name, arguments, and options.
62
74
  *
@@ -71,41 +83,55 @@ export declare class AwsPrivatelink extends pulumi.CustomResource {
71
83
  */
72
84
  export interface AwsPrivatelinkState {
73
85
  /**
74
- * AWS service ID.
86
+ * AWS VPC endpoint service ID.
75
87
  */
76
88
  awsServiceId?: pulumi.Input<string | undefined>;
77
89
  /**
78
- * AWS service name.
90
+ * AWS VPC endpoint service name.
79
91
  */
80
92
  awsServiceName?: pulumi.Input<string | undefined>;
81
93
  /**
82
- * List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
94
+ * ARNs of principals allowed connecting to the service.
83
95
  */
84
96
  principals?: pulumi.Input<pulumi.Input<string>[] | undefined>;
85
97
  /**
86
- * 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.
98
+ * Project name. Changing this property forces recreation of the resource.
87
99
  */
88
100
  project?: pulumi.Input<string | undefined>;
89
101
  /**
90
- * 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.
102
+ * Service name. Changing this property forces recreation of the resource.
91
103
  */
92
104
  serviceName?: pulumi.Input<string | undefined>;
105
+ /**
106
+ * Privatelink resource state. The possible values are `active`, `creating` and `deleting`.
107
+ */
108
+ state?: pulumi.Input<string | undefined>;
109
+ /**
110
+ * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
111
+ */
112
+ supportedRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
113
+ timeouts?: pulumi.Input<inputs.AwsPrivatelinkTimeouts | undefined>;
93
114
  }
94
115
  /**
95
116
  * The set of arguments for constructing a AwsPrivatelink resource.
96
117
  */
97
118
  export interface AwsPrivatelinkArgs {
98
119
  /**
99
- * List of the ARNs of the AWS accounts or IAM users allowed to connect to the VPC endpoint.
120
+ * ARNs of principals allowed connecting to the service.
100
121
  */
101
122
  principals: pulumi.Input<pulumi.Input<string>[]>;
102
123
  /**
103
- * 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.
124
+ * Project name. Changing this property forces recreation of the resource.
104
125
  */
105
126
  project: pulumi.Input<string>;
106
127
  /**
107
- * 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
+ * Service name. Changing this property forces recreation of the resource.
108
129
  */
109
130
  serviceName: pulumi.Input<string>;
131
+ /**
132
+ * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in.
133
+ */
134
+ supportedRegions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
135
+ timeouts?: pulumi.Input<inputs.AwsPrivatelinkTimeouts | undefined>;
110
136
  }
111
137
  //# sourceMappingURL=awsPrivatelink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"awsPrivatelink.d.ts","sourceRoot":"","sources":["../awsPrivatelink.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAO9I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAgC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MA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C,CAAC;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;CACtE"}
package/awsPrivatelink.js CHANGED
@@ -29,7 +29,7 @@ exports.AwsPrivatelink = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC.
32
+ * Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated.
33
33
  *
34
34
  * ## Example Usage
35
35
  *
@@ -37,17 +37,18 @@ const utilities = __importStar(require("./utilities"));
37
37
  * import * as pulumi from "@pulumi/pulumi";
38
38
  * import * as aiven from "@pulumi/aiven";
39
39
  *
40
- * const main = new aiven.AwsPrivatelink("main", {
41
- * project: exampleProject.project,
42
- * serviceName: exampleKafka.serviceName,
43
- * principals: ["arn:aws:iam::012345678901:user/mwf"],
40
+ * const example = new aiven.AwsPrivatelink("example", {
41
+ * project: "my-project",
42
+ * serviceName: "foo",
43
+ * principals: ["arn:aws:iam::012345678901:root"],
44
+ * supportedRegions: ["eu-west-1"],
44
45
  * });
45
46
  * ```
46
47
  *
47
48
  * ## Import
48
49
  *
49
50
  * ```sh
50
- * $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink main PROJECT/SERVICE_NAME
51
+ * $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink example PROJECT/SERVICE_NAME
51
52
  * ```
52
53
  */
53
54
  class AwsPrivatelink extends pulumi.CustomResource {
@@ -85,6 +86,9 @@ class AwsPrivatelink extends pulumi.CustomResource {
85
86
  resourceInputs["principals"] = state?.principals;
86
87
  resourceInputs["project"] = state?.project;
87
88
  resourceInputs["serviceName"] = state?.serviceName;
89
+ resourceInputs["state"] = state?.state;
90
+ resourceInputs["supportedRegions"] = state?.supportedRegions;
91
+ resourceInputs["timeouts"] = state?.timeouts;
88
92
  }
89
93
  else {
90
94
  const args = argsOrState;
@@ -100,8 +104,11 @@ class AwsPrivatelink extends pulumi.CustomResource {
100
104
  resourceInputs["principals"] = args?.principals;
101
105
  resourceInputs["project"] = args?.project;
102
106
  resourceInputs["serviceName"] = args?.serviceName;
107
+ resourceInputs["supportedRegions"] = args?.supportedRegions;
108
+ resourceInputs["timeouts"] = args?.timeouts;
103
109
  resourceInputs["awsServiceId"] = undefined /*out*/;
104
110
  resourceInputs["awsServiceName"] = undefined /*out*/;
111
+ resourceInputs["state"] = undefined /*out*/;
105
112
  }
106
113
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
114
  super(AwsPrivatelink.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"awsPrivatelink.js","sourceRoot":"","sources":["../awsPrivatelink.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2CAA2C,CAAC;IAElF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,C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