@pulumi/gcp 6.4.0 → 6.6.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 (107) hide show
  1. package/apigee/environmentIamBinding.d.ts +166 -0
  2. package/apigee/environmentIamBinding.js +155 -0
  3. package/apigee/environmentIamBinding.js.map +1 -0
  4. package/apigee/environmentIamMember.d.ts +166 -0
  5. package/apigee/environmentIamMember.js +155 -0
  6. package/apigee/environmentIamMember.js.map +1 -0
  7. package/apigee/environmentIamPolicy.d.ts +156 -0
  8. package/apigee/environmentIamPolicy.js +148 -0
  9. package/apigee/environmentIamPolicy.js.map +1 -0
  10. package/apigee/index.d.ts +3 -0
  11. package/apigee/index.js +15 -0
  12. package/apigee/index.js.map +1 -1
  13. package/bigquery/dataTransferConfig.d.ts +3 -3
  14. package/bigquery/routine.d.ts +24 -3
  15. package/bigquery/routine.js +2 -0
  16. package/bigquery/routine.js.map +1 -1
  17. package/certificateauthority/authority.d.ts +2 -1
  18. package/certificateauthority/authority.js +2 -1
  19. package/certificateauthority/authority.js.map +1 -1
  20. package/certificateauthority/certificate.d.ts +2 -0
  21. package/certificateauthority/certificate.js +2 -0
  22. package/certificateauthority/certificate.js.map +1 -1
  23. package/certificateauthority/certificateTemplate.d.ts +3 -0
  24. package/certificateauthority/certificateTemplate.js +3 -0
  25. package/certificateauthority/certificateTemplate.js.map +1 -1
  26. package/cloudbuild/trigger.d.ts +7 -0
  27. package/cloudbuild/trigger.js +7 -0
  28. package/cloudbuild/trigger.js.map +1 -1
  29. package/cloudbuild/workerPool.d.ts +60 -0
  30. package/cloudbuild/workerPool.js +60 -0
  31. package/cloudbuild/workerPool.js.map +1 -1
  32. package/cloudfunctions/function.d.ts +12 -0
  33. package/cloudfunctions/function.js +2 -0
  34. package/cloudfunctions/function.js.map +1 -1
  35. package/cloudfunctions/getFunction.d.ts +1 -0
  36. package/cloudfunctions/getFunction.js.map +1 -1
  37. package/compute/forwardingRule.d.ts +199 -10
  38. package/compute/forwardingRule.js +190 -4
  39. package/compute/forwardingRule.js.map +1 -1
  40. package/compute/networkPeering.d.ts +5 -5
  41. package/compute/networkPeering.js +5 -5
  42. package/compute/packetMirroring.d.ts +1 -1
  43. package/compute/packetMirroring.js +1 -1
  44. package/compute/regionBackendService.d.ts +6 -6
  45. package/compute/subnetwork.d.ts +9 -15
  46. package/compute/subnetwork.js.map +1 -1
  47. package/config/vars.d.ts +3 -0
  48. package/config/vars.js +18 -0
  49. package/config/vars.js.map +1 -1
  50. package/container/awsCluster.d.ts +326 -0
  51. package/container/awsCluster.js +198 -0
  52. package/container/awsCluster.js.map +1 -0
  53. package/container/awsNodePool.d.ts +355 -0
  54. package/container/awsNodePool.js +242 -0
  55. package/container/awsNodePool.js.map +1 -0
  56. package/container/azureClient.d.ts +156 -0
  57. package/container/azureClient.js +110 -0
  58. package/container/azureClient.js.map +1 -0
  59. package/container/azureCluster.d.ts +322 -0
  60. package/container/azureCluster.js +180 -0
  61. package/container/azureCluster.js.map +1 -0
  62. package/container/azureNodePool.d.ts +323 -0
  63. package/container/azureNodePool.js +200 -0
  64. package/container/azureNodePool.js.map +1 -0
  65. package/container/getAwsVersions.d.ts +66 -0
  66. package/container/getAwsVersions.js +42 -0
  67. package/container/getAwsVersions.js.map +1 -0
  68. package/container/getAzureVersions.d.ts +66 -0
  69. package/container/getAzureVersions.js +42 -0
  70. package/container/getAzureVersions.js.map +1 -0
  71. package/container/index.d.ts +7 -0
  72. package/container/index.js +27 -0
  73. package/container/index.js.map +1 -1
  74. package/filestore/instance.d.ts +33 -13
  75. package/filestore/instance.js +7 -12
  76. package/filestore/instance.js.map +1 -1
  77. package/notebooks/index.d.ts +3 -0
  78. package/notebooks/index.js +15 -0
  79. package/notebooks/index.js.map +1 -1
  80. package/notebooks/runtimeIamBinding.d.ts +193 -0
  81. package/notebooks/runtimeIamBinding.js +157 -0
  82. package/notebooks/runtimeIamBinding.js.map +1 -0
  83. package/notebooks/runtimeIamMember.d.ts +193 -0
  84. package/notebooks/runtimeIamMember.js +157 -0
  85. package/notebooks/runtimeIamMember.js.map +1 -0
  86. package/notebooks/runtimeIamPolicy.d.ts +183 -0
  87. package/notebooks/runtimeIamPolicy.js +150 -0
  88. package/notebooks/runtimeIamPolicy.js.map +1 -0
  89. package/osconfig/index.d.ts +1 -0
  90. package/osconfig/index.js +5 -0
  91. package/osconfig/index.js.map +1 -1
  92. package/osconfig/osPolicyAssignment.d.ts +672 -0
  93. package/osconfig/osPolicyAssignment.js +568 -0
  94. package/osconfig/osPolicyAssignment.js.map +1 -0
  95. package/package.json +2 -2
  96. package/package.json.dev +1 -1
  97. package/provider.d.ts +6 -0
  98. package/provider.js +3 -0
  99. package/provider.js.map +1 -1
  100. package/storage/bucket.d.ts +12 -0
  101. package/storage/bucket.js +2 -0
  102. package/storage/bucket.js.map +1 -1
  103. package/storage/getBucket.d.ts +1 -0
  104. package/storage/getBucket.js.map +1 -1
  105. package/types/input.d.ts +7380 -6218
  106. package/types/output.d.ts +6360 -5196
  107. package/vertex/aiMetadataStore.d.ts +3 -3
@@ -0,0 +1,326 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * An Anthos cluster running on AWS.
5
+ *
6
+ * For more information, see:
7
+ * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
8
+ * ## Example Usage
9
+ * ### Basic_aws_cluster
10
+ * A basic example of a containeraws cluster
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as gcp from "@pulumi/gcp";
14
+ *
15
+ * const versions = pulumi.output(gcp.container.getAwsVersions({
16
+ * location: "us-west1",
17
+ * project: "my-project-name",
18
+ * }));
19
+ * const primary = new gcp.container.AwsCluster("primary", {
20
+ * annotations: {
21
+ * "label-one": "value-one",
22
+ * },
23
+ * authorization: {
24
+ * adminUsers: [{
25
+ * username: "emailAddress:my@service-account.com",
26
+ * }],
27
+ * },
28
+ * awsRegion: "my-aws-region",
29
+ * controlPlane: {
30
+ * awsServicesAuthentication: {
31
+ * roleArn: "arn:aws:iam::012345678910:role/my--1p-dev-oneplatform",
32
+ * roleSessionName: "my--1p-dev-session",
33
+ * },
34
+ * configEncryption: {
35
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
36
+ * },
37
+ * databaseEncryption: {
38
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
39
+ * },
40
+ * iamInstanceProfile: "my--1p-dev-controlplane",
41
+ * instanceType: "t3.medium",
42
+ * mainVolume: {
43
+ * iops: 3000,
44
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
45
+ * sizeGib: 10,
46
+ * volumeType: "GP3",
47
+ * },
48
+ * proxyConfig: {
49
+ * secretArn: "arn:aws:secretsmanager:us-west-2:126285863215:secret:proxy_config20210824150329476300000001-ABCDEF",
50
+ * secretVersion: "12345678-ABCD-EFGH-IJKL-987654321098",
51
+ * },
52
+ * rootVolume: {
53
+ * iops: 3000,
54
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
55
+ * sizeGib: 10,
56
+ * volumeType: "GP3",
57
+ * },
58
+ * securityGroupIds: ["sg-00000000000000000"],
59
+ * sshConfig: {
60
+ * ec2KeyPair: "my--1p-dev-ssh",
61
+ * },
62
+ * subnetIds: ["subnet-00000000000000000"],
63
+ * tags: {
64
+ * owner: "emailAddress:my@service-account.com",
65
+ * },
66
+ * version: versions.apply(versions => versions.validVersions[0]),
67
+ * },
68
+ * description: "A sample aws cluster",
69
+ * fleet: {
70
+ * project: "my-project-number",
71
+ * },
72
+ * location: "us-west1",
73
+ * networking: {
74
+ * podAddressCidrBlocks: ["10.2.0.0/16"],
75
+ * serviceAddressCidrBlocks: ["10.1.0.0/16"],
76
+ * vpcId: "vpc-00000000000000000",
77
+ * },
78
+ * project: "my-project-name",
79
+ * });
80
+ * ```
81
+ *
82
+ * ## Import
83
+ *
84
+ * Cluster can be imported using any of these accepted formats
85
+ *
86
+ * ```sh
87
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default projects/{{project}}/locations/{{location}}/awsClusters/{{name}}
88
+ * ```
89
+ *
90
+ * ```sh
91
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default {{project}}/{{location}}/{{name}}
92
+ * ```
93
+ *
94
+ * ```sh
95
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default {{location}}/{{name}}
96
+ * ```
97
+ */
98
+ export declare class AwsCluster extends pulumi.CustomResource {
99
+ /**
100
+ * Get an existing AwsCluster resource's state with the given name, ID, and optional extra
101
+ * properties used to qualify the lookup.
102
+ *
103
+ * @param name The _unique_ name of the resulting resource.
104
+ * @param id The _unique_ provider ID of the resource to lookup.
105
+ * @param state Any extra arguments used during the lookup.
106
+ * @param opts Optional settings to control the behavior of the CustomResource.
107
+ */
108
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsClusterState, opts?: pulumi.CustomResourceOptions): AwsCluster;
109
+ /**
110
+ * Returns true if the given object is an instance of AwsCluster. This is designed to work even
111
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
112
+ */
113
+ static isInstance(obj: any): obj is AwsCluster;
114
+ /**
115
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
116
+ */
117
+ readonly annotations: pulumi.Output<{
118
+ [key: string]: string;
119
+ } | undefined>;
120
+ /**
121
+ * Required. Configuration related to the cluster RBAC settings.
122
+ */
123
+ readonly authorization: pulumi.Output<outputs.container.AwsClusterAuthorization>;
124
+ /**
125
+ * Required. The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call to list all supported AWS regions within a given Google Cloud region.
126
+ */
127
+ readonly awsRegion: pulumi.Output<string>;
128
+ /**
129
+ * Required. Configuration related to the cluster control plane.
130
+ */
131
+ readonly controlPlane: pulumi.Output<outputs.container.AwsClusterControlPlane>;
132
+ /**
133
+ * Output only. The time at which this cluster was created.
134
+ */
135
+ readonly createTime: pulumi.Output<string>;
136
+ /**
137
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
138
+ */
139
+ readonly description: pulumi.Output<string | undefined>;
140
+ /**
141
+ * Output only. The endpoint of the cluster's API server.
142
+ */
143
+ readonly endpoint: pulumi.Output<string>;
144
+ /**
145
+ * Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
146
+ * and delete requests to ensure the client has an up-to-date value before proceeding.
147
+ */
148
+ readonly etag: pulumi.Output<string>;
149
+ /**
150
+ * Fleet configuration.
151
+ */
152
+ readonly fleet: pulumi.Output<outputs.container.AwsClusterFleet>;
153
+ /**
154
+ * The location for the resource
155
+ */
156
+ readonly location: pulumi.Output<string>;
157
+ /**
158
+ * The name of this resource.
159
+ */
160
+ readonly name: pulumi.Output<string>;
161
+ /**
162
+ * Required. Cluster-wide networking configuration.
163
+ */
164
+ readonly networking: pulumi.Output<outputs.container.AwsClusterNetworking>;
165
+ /**
166
+ * The project for the resource
167
+ */
168
+ readonly project: pulumi.Output<string>;
169
+ /**
170
+ * Output only. If set, there are currently changes in flight to the cluster.
171
+ */
172
+ readonly reconciling: pulumi.Output<boolean>;
173
+ /**
174
+ * Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
175
+ * STOPPING, ERROR, DEGRADED
176
+ */
177
+ readonly state: pulumi.Output<string>;
178
+ /**
179
+ * Output only. A globally unique identifier for the cluster.
180
+ */
181
+ readonly uid: pulumi.Output<string>;
182
+ /**
183
+ * Output only. The time at which this cluster was last updated.
184
+ */
185
+ readonly updateTime: pulumi.Output<string>;
186
+ /**
187
+ * Output only. Workload Identity settings.
188
+ */
189
+ readonly workloadIdentityConfigs: pulumi.Output<outputs.container.AwsClusterWorkloadIdentityConfig[]>;
190
+ /**
191
+ * Create a AwsCluster resource with the given unique name, arguments, and options.
192
+ *
193
+ * @param name The _unique_ name of the resource.
194
+ * @param args The arguments to use to populate this resource's properties.
195
+ * @param opts A bag of options that control this resource's behavior.
196
+ */
197
+ constructor(name: string, args: AwsClusterArgs, opts?: pulumi.CustomResourceOptions);
198
+ }
199
+ /**
200
+ * Input properties used for looking up and filtering AwsCluster resources.
201
+ */
202
+ export interface AwsClusterState {
203
+ /**
204
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
205
+ */
206
+ annotations?: pulumi.Input<{
207
+ [key: string]: pulumi.Input<string>;
208
+ }>;
209
+ /**
210
+ * Required. Configuration related to the cluster RBAC settings.
211
+ */
212
+ authorization?: pulumi.Input<inputs.container.AwsClusterAuthorization>;
213
+ /**
214
+ * Required. The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call to list all supported AWS regions within a given Google Cloud region.
215
+ */
216
+ awsRegion?: pulumi.Input<string>;
217
+ /**
218
+ * Required. Configuration related to the cluster control plane.
219
+ */
220
+ controlPlane?: pulumi.Input<inputs.container.AwsClusterControlPlane>;
221
+ /**
222
+ * Output only. The time at which this cluster was created.
223
+ */
224
+ createTime?: pulumi.Input<string>;
225
+ /**
226
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
227
+ */
228
+ description?: pulumi.Input<string>;
229
+ /**
230
+ * Output only. The endpoint of the cluster's API server.
231
+ */
232
+ endpoint?: pulumi.Input<string>;
233
+ /**
234
+ * Allows clients to perform consistent read-modify-writes through optimistic concurrency control. May be sent on update
235
+ * and delete requests to ensure the client has an up-to-date value before proceeding.
236
+ */
237
+ etag?: pulumi.Input<string>;
238
+ /**
239
+ * Fleet configuration.
240
+ */
241
+ fleet?: pulumi.Input<inputs.container.AwsClusterFleet>;
242
+ /**
243
+ * The location for the resource
244
+ */
245
+ location?: pulumi.Input<string>;
246
+ /**
247
+ * The name of this resource.
248
+ */
249
+ name?: pulumi.Input<string>;
250
+ /**
251
+ * Required. Cluster-wide networking configuration.
252
+ */
253
+ networking?: pulumi.Input<inputs.container.AwsClusterNetworking>;
254
+ /**
255
+ * The project for the resource
256
+ */
257
+ project?: pulumi.Input<string>;
258
+ /**
259
+ * Output only. If set, there are currently changes in flight to the cluster.
260
+ */
261
+ reconciling?: pulumi.Input<boolean>;
262
+ /**
263
+ * Output only. The current state of the cluster. Possible values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING,
264
+ * STOPPING, ERROR, DEGRADED
265
+ */
266
+ state?: pulumi.Input<string>;
267
+ /**
268
+ * Output only. A globally unique identifier for the cluster.
269
+ */
270
+ uid?: pulumi.Input<string>;
271
+ /**
272
+ * Output only. The time at which this cluster was last updated.
273
+ */
274
+ updateTime?: pulumi.Input<string>;
275
+ /**
276
+ * Output only. Workload Identity settings.
277
+ */
278
+ workloadIdentityConfigs?: pulumi.Input<pulumi.Input<inputs.container.AwsClusterWorkloadIdentityConfig>[]>;
279
+ }
280
+ /**
281
+ * The set of arguments for constructing a AwsCluster resource.
282
+ */
283
+ export interface AwsClusterArgs {
284
+ /**
285
+ * Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
286
+ */
287
+ annotations?: pulumi.Input<{
288
+ [key: string]: pulumi.Input<string>;
289
+ }>;
290
+ /**
291
+ * Required. Configuration related to the cluster RBAC settings.
292
+ */
293
+ authorization: pulumi.Input<inputs.container.AwsClusterAuthorization>;
294
+ /**
295
+ * Required. The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call to list all supported AWS regions within a given Google Cloud region.
296
+ */
297
+ awsRegion: pulumi.Input<string>;
298
+ /**
299
+ * Required. Configuration related to the cluster control plane.
300
+ */
301
+ controlPlane: pulumi.Input<inputs.container.AwsClusterControlPlane>;
302
+ /**
303
+ * Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
304
+ */
305
+ description?: pulumi.Input<string>;
306
+ /**
307
+ * Fleet configuration.
308
+ */
309
+ fleet: pulumi.Input<inputs.container.AwsClusterFleet>;
310
+ /**
311
+ * The location for the resource
312
+ */
313
+ location: pulumi.Input<string>;
314
+ /**
315
+ * The name of this resource.
316
+ */
317
+ name?: pulumi.Input<string>;
318
+ /**
319
+ * Required. Cluster-wide networking configuration.
320
+ */
321
+ networking: pulumi.Input<inputs.container.AwsClusterNetworking>;
322
+ /**
323
+ * The project for the resource
324
+ */
325
+ project?: pulumi.Input<string>;
326
+ }
@@ -0,0 +1,198 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AwsCluster = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * An Anthos cluster running on AWS.
10
+ *
11
+ * For more information, see:
12
+ * * [Multicloud overview](https://cloud.google.com/anthos/clusters/docs/multi-cloud)
13
+ * ## Example Usage
14
+ * ### Basic_aws_cluster
15
+ * A basic example of a containeraws cluster
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as gcp from "@pulumi/gcp";
19
+ *
20
+ * const versions = pulumi.output(gcp.container.getAwsVersions({
21
+ * location: "us-west1",
22
+ * project: "my-project-name",
23
+ * }));
24
+ * const primary = new gcp.container.AwsCluster("primary", {
25
+ * annotations: {
26
+ * "label-one": "value-one",
27
+ * },
28
+ * authorization: {
29
+ * adminUsers: [{
30
+ * username: "emailAddress:my@service-account.com",
31
+ * }],
32
+ * },
33
+ * awsRegion: "my-aws-region",
34
+ * controlPlane: {
35
+ * awsServicesAuthentication: {
36
+ * roleArn: "arn:aws:iam::012345678910:role/my--1p-dev-oneplatform",
37
+ * roleSessionName: "my--1p-dev-session",
38
+ * },
39
+ * configEncryption: {
40
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
41
+ * },
42
+ * databaseEncryption: {
43
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
44
+ * },
45
+ * iamInstanceProfile: "my--1p-dev-controlplane",
46
+ * instanceType: "t3.medium",
47
+ * mainVolume: {
48
+ * iops: 3000,
49
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
50
+ * sizeGib: 10,
51
+ * volumeType: "GP3",
52
+ * },
53
+ * proxyConfig: {
54
+ * secretArn: "arn:aws:secretsmanager:us-west-2:126285863215:secret:proxy_config20210824150329476300000001-ABCDEF",
55
+ * secretVersion: "12345678-ABCD-EFGH-IJKL-987654321098",
56
+ * },
57
+ * rootVolume: {
58
+ * iops: 3000,
59
+ * kmsKeyArn: "arn:aws:kms:my-aws-region:012345678910:key/12345678-1234-1234-1234-123456789111",
60
+ * sizeGib: 10,
61
+ * volumeType: "GP3",
62
+ * },
63
+ * securityGroupIds: ["sg-00000000000000000"],
64
+ * sshConfig: {
65
+ * ec2KeyPair: "my--1p-dev-ssh",
66
+ * },
67
+ * subnetIds: ["subnet-00000000000000000"],
68
+ * tags: {
69
+ * owner: "emailAddress:my@service-account.com",
70
+ * },
71
+ * version: versions.apply(versions => versions.validVersions[0]),
72
+ * },
73
+ * description: "A sample aws cluster",
74
+ * fleet: {
75
+ * project: "my-project-number",
76
+ * },
77
+ * location: "us-west1",
78
+ * networking: {
79
+ * podAddressCidrBlocks: ["10.2.0.0/16"],
80
+ * serviceAddressCidrBlocks: ["10.1.0.0/16"],
81
+ * vpcId: "vpc-00000000000000000",
82
+ * },
83
+ * project: "my-project-name",
84
+ * });
85
+ * ```
86
+ *
87
+ * ## Import
88
+ *
89
+ * Cluster can be imported using any of these accepted formats
90
+ *
91
+ * ```sh
92
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default projects/{{project}}/locations/{{location}}/awsClusters/{{name}}
93
+ * ```
94
+ *
95
+ * ```sh
96
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default {{project}}/{{location}}/{{name}}
97
+ * ```
98
+ *
99
+ * ```sh
100
+ * $ pulumi import gcp:container/awsCluster:AwsCluster default {{location}}/{{name}}
101
+ * ```
102
+ */
103
+ class AwsCluster extends pulumi.CustomResource {
104
+ constructor(name, argsOrState, opts) {
105
+ let inputs = {};
106
+ opts = opts || {};
107
+ if (opts.id) {
108
+ const state = argsOrState;
109
+ inputs["annotations"] = state ? state.annotations : undefined;
110
+ inputs["authorization"] = state ? state.authorization : undefined;
111
+ inputs["awsRegion"] = state ? state.awsRegion : undefined;
112
+ inputs["controlPlane"] = state ? state.controlPlane : undefined;
113
+ inputs["createTime"] = state ? state.createTime : undefined;
114
+ inputs["description"] = state ? state.description : undefined;
115
+ inputs["endpoint"] = state ? state.endpoint : undefined;
116
+ inputs["etag"] = state ? state.etag : undefined;
117
+ inputs["fleet"] = state ? state.fleet : undefined;
118
+ inputs["location"] = state ? state.location : undefined;
119
+ inputs["name"] = state ? state.name : undefined;
120
+ inputs["networking"] = state ? state.networking : undefined;
121
+ inputs["project"] = state ? state.project : undefined;
122
+ inputs["reconciling"] = state ? state.reconciling : undefined;
123
+ inputs["state"] = state ? state.state : undefined;
124
+ inputs["uid"] = state ? state.uid : undefined;
125
+ inputs["updateTime"] = state ? state.updateTime : undefined;
126
+ inputs["workloadIdentityConfigs"] = state ? state.workloadIdentityConfigs : undefined;
127
+ }
128
+ else {
129
+ const args = argsOrState;
130
+ if ((!args || args.authorization === undefined) && !opts.urn) {
131
+ throw new Error("Missing required property 'authorization'");
132
+ }
133
+ if ((!args || args.awsRegion === undefined) && !opts.urn) {
134
+ throw new Error("Missing required property 'awsRegion'");
135
+ }
136
+ if ((!args || args.controlPlane === undefined) && !opts.urn) {
137
+ throw new Error("Missing required property 'controlPlane'");
138
+ }
139
+ if ((!args || args.fleet === undefined) && !opts.urn) {
140
+ throw new Error("Missing required property 'fleet'");
141
+ }
142
+ if ((!args || args.location === undefined) && !opts.urn) {
143
+ throw new Error("Missing required property 'location'");
144
+ }
145
+ if ((!args || args.networking === undefined) && !opts.urn) {
146
+ throw new Error("Missing required property 'networking'");
147
+ }
148
+ inputs["annotations"] = args ? args.annotations : undefined;
149
+ inputs["authorization"] = args ? args.authorization : undefined;
150
+ inputs["awsRegion"] = args ? args.awsRegion : undefined;
151
+ inputs["controlPlane"] = args ? args.controlPlane : undefined;
152
+ inputs["description"] = args ? args.description : undefined;
153
+ inputs["fleet"] = args ? args.fleet : undefined;
154
+ inputs["location"] = args ? args.location : undefined;
155
+ inputs["name"] = args ? args.name : undefined;
156
+ inputs["networking"] = args ? args.networking : undefined;
157
+ inputs["project"] = args ? args.project : undefined;
158
+ inputs["createTime"] = undefined /*out*/;
159
+ inputs["endpoint"] = undefined /*out*/;
160
+ inputs["etag"] = undefined /*out*/;
161
+ inputs["reconciling"] = undefined /*out*/;
162
+ inputs["state"] = undefined /*out*/;
163
+ inputs["uid"] = undefined /*out*/;
164
+ inputs["updateTime"] = undefined /*out*/;
165
+ inputs["workloadIdentityConfigs"] = undefined /*out*/;
166
+ }
167
+ if (!opts.version) {
168
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
169
+ }
170
+ super(AwsCluster.__pulumiType, name, inputs, opts);
171
+ }
172
+ /**
173
+ * Get an existing AwsCluster resource's state with the given name, ID, and optional extra
174
+ * properties used to qualify the lookup.
175
+ *
176
+ * @param name The _unique_ name of the resulting resource.
177
+ * @param id The _unique_ provider ID of the resource to lookup.
178
+ * @param state Any extra arguments used during the lookup.
179
+ * @param opts Optional settings to control the behavior of the CustomResource.
180
+ */
181
+ static get(name, id, state, opts) {
182
+ return new AwsCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
183
+ }
184
+ /**
185
+ * Returns true if the given object is an instance of AwsCluster. This is designed to work even
186
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
187
+ */
188
+ static isInstance(obj) {
189
+ if (obj === undefined || obj === null) {
190
+ return false;
191
+ }
192
+ return obj['__pulumiType'] === AwsCluster.__pulumiType;
193
+ }
194
+ }
195
+ exports.AwsCluster = AwsCluster;
196
+ /** @internal */
197
+ AwsCluster.__pulumiType = 'gcp:container/awsCluster:AwsCluster';
198
+ //# sourceMappingURL=awsCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"awsCluster.js","sourceRoot":"","sources":["../../container/awsCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8FG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA+GjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,eAAe,CA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