@pulumi/gcp 6.32.0 → 6.34.0-alpha.1660169219
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.
- package/apigateway/apiConfig.d.ts +1 -1
- package/apigateway/apiConfig.js +1 -1
- package/apigateway/gateway.d.ts +1 -1
- package/apigateway/gateway.js +1 -1
- package/appengine/engineSplitTraffic.d.ts +57 -0
- package/appengine/engineSplitTraffic.js +57 -0
- package/appengine/engineSplitTraffic.js.map +1 -1
- package/billing/budget.d.ts +2 -2
- package/billing/budget.js +0 -3
- package/billing/budget.js.map +1 -1
- package/certificateauthority/certificate.d.ts +4 -4
- package/certificateauthority/certificate.js +4 -4
- package/certificatemanager/certificateMap.d.ts +163 -0
- package/certificatemanager/certificateMap.js +99 -0
- package/certificatemanager/certificateMap.js.map +1 -0
- package/certificatemanager/certificateMapEntry.d.ts +271 -0
- package/certificatemanager/certificateMapEntry.js +145 -0
- package/certificatemanager/certificateMapEntry.js.map +1 -0
- package/certificatemanager/index.d.ts +2 -0
- package/certificatemanager/index.js +10 -0
- package/certificatemanager/index.js.map +1 -1
- package/compute/backendBucketIamBinding.d.ts +121 -0
- package/compute/backendBucketIamBinding.js +90 -0
- package/compute/backendBucketIamBinding.js.map +1 -0
- package/compute/backendBucketIamMember.d.ts +121 -0
- package/compute/backendBucketIamMember.js +90 -0
- package/compute/backendBucketIamMember.js.map +1 -0
- package/compute/backendBucketIamPolicy.d.ts +111 -0
- package/compute/backendBucketIamPolicy.js +83 -0
- package/compute/backendBucketIamPolicy.js.map +1 -0
- package/compute/backendService.d.ts +0 -124
- package/compute/backendService.js +0 -124
- package/compute/backendService.js.map +1 -1
- package/compute/backendServiceSignedUrlKey.d.ts +0 -49
- package/compute/backendServiceSignedUrlKey.js +0 -49
- package/compute/backendServiceSignedUrlKey.js.map +1 -1
- package/compute/forwardingRule.d.ts +0 -846
- package/compute/forwardingRule.js +0 -846
- package/compute/forwardingRule.js.map +1 -1
- package/compute/globalForwardingRule.d.ts +0 -661
- package/compute/globalForwardingRule.js +0 -661
- package/compute/globalForwardingRule.js.map +1 -1
- package/compute/index.d.ts +3 -0
- package/compute/index.js +15 -0
- package/compute/index.js.map +1 -1
- package/compute/instanceGroup.d.ts +0 -49
- package/compute/instanceGroup.js +0 -49
- package/compute/instanceGroup.js.map +1 -1
- package/compute/instanceGroupManager.d.ts +33 -4
- package/compute/instanceGroupManager.js +11 -1
- package/compute/instanceGroupManager.js.map +1 -1
- package/compute/instanceTemplate.d.ts +0 -71
- package/compute/instanceTemplate.js +0 -71
- package/compute/instanceTemplate.js.map +1 -1
- package/compute/managedSslCertificate.d.ts +0 -53
- package/compute/managedSslCertificate.js +0 -53
- package/compute/managedSslCertificate.js.map +1 -1
- package/compute/mangedSslCertificate.d.ts +0 -53
- package/compute/mangedSslCertificate.js +0 -53
- package/compute/mangedSslCertificate.js.map +1 -1
- package/compute/packetMirroring.d.ts +0 -64
- package/compute/packetMirroring.js +0 -64
- package/compute/packetMirroring.js.map +1 -1
- package/compute/regionBackendService.d.ts +0 -218
- package/compute/regionBackendService.js +0 -218
- package/compute/regionBackendService.js.map +1 -1
- package/compute/regionInstanceGroupManager.d.ts +29 -0
- package/compute/regionInstanceGroupManager.js +10 -0
- package/compute/regionInstanceGroupManager.js.map +1 -1
- package/compute/regionSslCertificate.d.ts +2 -60
- package/compute/regionSslCertificate.js +2 -60
- package/compute/regionSslCertificate.js.map +1 -1
- package/compute/regionTargetHttpProxy.d.ts +0 -40
- package/compute/regionTargetHttpProxy.js +0 -40
- package/compute/regionTargetHttpProxy.js.map +1 -1
- package/compute/regionTargetHttpsProxy.d.ts +0 -48
- package/compute/regionTargetHttpsProxy.js +0 -48
- package/compute/regionTargetHttpsProxy.js.map +1 -1
- package/compute/regionUrlMap.d.ts +0 -353
- package/compute/regionUrlMap.js +0 -353
- package/compute/regionUrlMap.js.map +1 -1
- package/compute/route.d.ts +0 -118
- package/compute/route.js +0 -118
- package/compute/route.js.map +1 -1
- package/compute/serviceAttachment.d.ts +0 -127
- package/compute/serviceAttachment.js +0 -127
- package/compute/serviceAttachment.js.map +1 -1
- package/compute/sslcertificate.d.ts +2 -51
- package/compute/sslcertificate.js +2 -51
- package/compute/sslcertificate.js.map +1 -1
- package/compute/targetGrpcProxy.d.ts +0 -88
- package/compute/targetGrpcProxy.js +0 -88
- package/compute/targetGrpcProxy.js.map +1 -1
- package/compute/targetHttpProxy.d.ts +0 -34
- package/compute/targetHttpProxy.js +0 -34
- package/compute/targetHttpProxy.js.map +1 -1
- package/compute/targetHttpsProxy.d.ts +0 -43
- package/compute/targetHttpsProxy.js +0 -43
- package/compute/targetHttpsProxy.js.map +1 -1
- package/compute/targetPool.d.ts +0 -20
- package/compute/targetPool.js +0 -20
- package/compute/targetPool.js.map +1 -1
- package/compute/targetSSLProxy.d.ts +0 -27
- package/compute/targetSSLProxy.js +0 -27
- package/compute/targetSSLProxy.js.map +1 -1
- package/compute/targetTCPProxy.d.ts +0 -20
- package/compute/targetTCPProxy.js +0 -20
- package/compute/targetTCPProxy.js.map +1 -1
- package/compute/urlmap.d.ts +0 -497
- package/compute/urlmap.js +0 -497
- package/compute/urlmap.js.map +1 -1
- package/containeranalysis/occurence.d.ts +0 -45
- package/containeranalysis/occurence.js +0 -45
- package/containeranalysis/occurence.js.map +1 -1
- package/dataproc/index.d.ts +4 -0
- package/dataproc/index.js +20 -0
- package/dataproc/index.js.map +1 -1
- package/dataproc/metastoreFederation.d.ts +216 -0
- package/dataproc/metastoreFederation.js +127 -0
- package/dataproc/metastoreFederation.js.map +1 -0
- package/dataproc/metastoreFederationIamBinding.d.ts +127 -0
- package/dataproc/metastoreFederationIamBinding.js +95 -0
- package/dataproc/metastoreFederationIamBinding.js.map +1 -0
- package/dataproc/metastoreFederationIamMember.d.ts +127 -0
- package/dataproc/metastoreFederationIamMember.js +95 -0
- package/dataproc/metastoreFederationIamMember.js.map +1 -0
- package/dataproc/metastoreFederationIamPolicy.d.ts +117 -0
- package/dataproc/metastoreFederationIamPolicy.js +88 -0
- package/dataproc/metastoreFederationIamPolicy.js.map +1 -0
- package/deploymentmanager/deployment.d.ts +1 -1
- package/deploymentmanager/deployment.js +1 -1
- package/endpoints/service.d.ts +1 -1
- package/endpoints/service.js +1 -1
- package/identityplatform/inboundSamlConfig.d.ts +1 -1
- package/identityplatform/inboundSamlConfig.js +1 -1
- package/identityplatform/tenantInboundSamlConfig.d.ts +1 -1
- package/identityplatform/tenantInboundSamlConfig.js +1 -1
- package/iot/device.d.ts +1 -1
- package/iot/device.js +1 -1
- package/iot/registry.d.ts +1 -1
- package/iot/registry.js +1 -1
- package/kms/registry.d.ts +1 -1
- package/kms/registry.js +1 -1
- package/monitoring/alertPolicy.d.ts +27 -0
- package/monitoring/alertPolicy.js +27 -0
- package/monitoring/alertPolicy.js.map +1 -1
- package/notebooks/runtime.d.ts +3 -3
- package/oslogin/sshPublicKey.d.ts +1 -1
- package/oslogin/sshPublicKey.js +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/projects/apiKey.d.ts +8 -0
- package/projects/apiKey.js +2 -0
- package/projects/apiKey.js.map +1 -1
- package/runtimeconfig/variable.d.ts +1 -1
- package/runtimeconfig/variable.js +1 -1
- package/serviceaccount/getAccountJwt.d.ts +74 -0
- package/serviceaccount/getAccountJwt.js +45 -0
- package/serviceaccount/getAccountJwt.js.map +1 -0
- package/serviceaccount/index.d.ts +1 -0
- package/serviceaccount/index.js +1 -0
- package/serviceaccount/index.js.map +1 -1
- package/storage/getObjectSignedUrl.d.ts +1 -1
- package/storage/getObjectSignedUrl.js +1 -1
- package/types/input.d.ts +143 -5
- package/types/output.d.ts +158 -7
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* CertificateMapEntry is a list of certificate configurations,
|
|
4
|
+
* that have been issued for a particular hostname
|
|
5
|
+
*
|
|
6
|
+
* > **Warning:** These resources require allow-listing to use, and are not openly available to all Cloud customers. Engage with your Cloud account team to discuss how to onboard.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
* ### Certificate Manager Certificate Map Entry Full
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as gcp from "@pulumi/gcp";
|
|
14
|
+
*
|
|
15
|
+
* const certificateMap = new gcp.certificatemanager.CertificateMap("certificateMap", {
|
|
16
|
+
* description: "My acceptance test certificate map",
|
|
17
|
+
* labels: {
|
|
18
|
+
* terraform: "true",
|
|
19
|
+
* "acc-test": "true",
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* const instance = new gcp.certificatemanager.DnsAuthorization("instance", {
|
|
23
|
+
* description: "The default dnss",
|
|
24
|
+
* domain: "subdomain.hashicorptest.com",
|
|
25
|
+
* });
|
|
26
|
+
* const instance2 = new gcp.certificatemanager.DnsAuthorization("instance2", {
|
|
27
|
+
* description: "The default dnss",
|
|
28
|
+
* domain: "subdomain2.hashicorptest.com",
|
|
29
|
+
* });
|
|
30
|
+
* const certificate = new gcp.certificatemanager.Certificate("certificate", {
|
|
31
|
+
* description: "The default cert",
|
|
32
|
+
* scope: "DEFAULT",
|
|
33
|
+
* managed: {
|
|
34
|
+
* domains: [
|
|
35
|
+
* instance.domain,
|
|
36
|
+
* instance2.domain,
|
|
37
|
+
* ],
|
|
38
|
+
* dnsAuthorizations: [
|
|
39
|
+
* instance.id,
|
|
40
|
+
* instance2.id,
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* const _default = new gcp.certificatemanager.CertificateMapEntry("default", {
|
|
45
|
+
* description: "My acceptance test certificate map entry",
|
|
46
|
+
* map: certificateMap.name,
|
|
47
|
+
* labels: {
|
|
48
|
+
* terraform: "true",
|
|
49
|
+
* "acc-test": "true",
|
|
50
|
+
* },
|
|
51
|
+
* certificates: [certificate.id],
|
|
52
|
+
* matcher: "PRIMARY",
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Import
|
|
57
|
+
*
|
|
58
|
+
* CertificateMapEntry can be imported using any of these accepted formats
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default projects/{{project}}/locations/global/certificateMaps/{{map}}/certificateMapEntries/{{name}}
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{project}}/{{map}}/{{name}}
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{map}}/{{name}}
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare class CertificateMapEntry extends pulumi.CustomResource {
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing CertificateMapEntry resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateMapEntryState, opts?: pulumi.CustomResourceOptions): CertificateMapEntry;
|
|
83
|
+
/**
|
|
84
|
+
* Returns true if the given object is an instance of CertificateMapEntry. This is designed to work even
|
|
85
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
+
*/
|
|
87
|
+
static isInstance(obj: any): obj is CertificateMapEntry;
|
|
88
|
+
/**
|
|
89
|
+
* A set of Certificates defines for the given hostname.
|
|
90
|
+
* There can be defined up to fifteen certificates in each Certificate Map Entry.
|
|
91
|
+
* Each certificate must match pattern projects/*/locations/*/certificates/*.
|
|
92
|
+
*/
|
|
93
|
+
readonly certificates: pulumi.Output<string[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
96
|
+
* to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
97
|
+
*/
|
|
98
|
+
readonly createTime: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* CertificateMapEntry is a list of certificate configurations,
|
|
101
|
+
* that have been issued for a particular hostname
|
|
102
|
+
*/
|
|
103
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
|
|
106
|
+
* for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
|
|
107
|
+
* selecting a proper certificate.
|
|
108
|
+
*/
|
|
109
|
+
readonly hostname: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Set of labels associated with a Certificate Map Entry.
|
|
112
|
+
* An object containing a list of "key": value pairs.
|
|
113
|
+
* Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
|
114
|
+
*/
|
|
115
|
+
readonly labels: pulumi.Output<{
|
|
116
|
+
[key: string]: string;
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* A map entry that is inputted into the cetrificate map
|
|
120
|
+
*/
|
|
121
|
+
readonly map: pulumi.Output<string>;
|
|
122
|
+
/**
|
|
123
|
+
* A predefined matcher for particular cases, other than SNI selection
|
|
124
|
+
* Possible values are `MATCHER_UNSPECIFIED` and `PRIMARY`.
|
|
125
|
+
*/
|
|
126
|
+
readonly matcher: pulumi.Output<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* A user-defined name of the Certificate Map Entry. Certificate Map Entry
|
|
129
|
+
* names must be unique globally and match pattern
|
|
130
|
+
* 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
|
|
131
|
+
*/
|
|
132
|
+
readonly name: pulumi.Output<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the project in which the resource belongs.
|
|
135
|
+
* If it is not provided, the provider project is used.
|
|
136
|
+
*/
|
|
137
|
+
readonly project: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* A serving state of this Certificate Map Entry. The status is undefined. The configuration is serving. Update is in
|
|
140
|
+
* progress. Some frontends may serve this configuration.
|
|
141
|
+
*/
|
|
142
|
+
readonly state: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
145
|
+
* to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
146
|
+
*/
|
|
147
|
+
readonly updateTime: pulumi.Output<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Create a CertificateMapEntry resource with the given unique name, arguments, and options.
|
|
150
|
+
*
|
|
151
|
+
* @param name The _unique_ name of the resource.
|
|
152
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
153
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
154
|
+
*/
|
|
155
|
+
constructor(name: string, args: CertificateMapEntryArgs, opts?: pulumi.CustomResourceOptions);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Input properties used for looking up and filtering CertificateMapEntry resources.
|
|
159
|
+
*/
|
|
160
|
+
export interface CertificateMapEntryState {
|
|
161
|
+
/**
|
|
162
|
+
* A set of Certificates defines for the given hostname.
|
|
163
|
+
* There can be defined up to fifteen certificates in each Certificate Map Entry.
|
|
164
|
+
* Each certificate must match pattern projects/*/locations/*/certificates/*.
|
|
165
|
+
*/
|
|
166
|
+
certificates?: pulumi.Input<pulumi.Input<string>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* Creation timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
169
|
+
* to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
170
|
+
*/
|
|
171
|
+
createTime?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* CertificateMapEntry is a list of certificate configurations,
|
|
174
|
+
* that have been issued for a particular hostname
|
|
175
|
+
*/
|
|
176
|
+
description?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
|
|
179
|
+
* for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
|
|
180
|
+
* selecting a proper certificate.
|
|
181
|
+
*/
|
|
182
|
+
hostname?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Set of labels associated with a Certificate Map Entry.
|
|
185
|
+
* An object containing a list of "key": value pairs.
|
|
186
|
+
* Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
|
187
|
+
*/
|
|
188
|
+
labels?: pulumi.Input<{
|
|
189
|
+
[key: string]: pulumi.Input<string>;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* A map entry that is inputted into the cetrificate map
|
|
193
|
+
*/
|
|
194
|
+
map?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* A predefined matcher for particular cases, other than SNI selection
|
|
197
|
+
* Possible values are `MATCHER_UNSPECIFIED` and `PRIMARY`.
|
|
198
|
+
*/
|
|
199
|
+
matcher?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* A user-defined name of the Certificate Map Entry. Certificate Map Entry
|
|
202
|
+
* names must be unique globally and match pattern
|
|
203
|
+
* 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
|
|
204
|
+
*/
|
|
205
|
+
name?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* The ID of the project in which the resource belongs.
|
|
208
|
+
* If it is not provided, the provider project is used.
|
|
209
|
+
*/
|
|
210
|
+
project?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* A serving state of this Certificate Map Entry. The status is undefined. The configuration is serving. Update is in
|
|
213
|
+
* progress. Some frontends may serve this configuration.
|
|
214
|
+
*/
|
|
215
|
+
state?: pulumi.Input<string>;
|
|
216
|
+
/**
|
|
217
|
+
* Update timestamp of a Certificate Map Entry. Timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up
|
|
218
|
+
* to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
|
219
|
+
*/
|
|
220
|
+
updateTime?: pulumi.Input<string>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The set of arguments for constructing a CertificateMapEntry resource.
|
|
224
|
+
*/
|
|
225
|
+
export interface CertificateMapEntryArgs {
|
|
226
|
+
/**
|
|
227
|
+
* A set of Certificates defines for the given hostname.
|
|
228
|
+
* There can be defined up to fifteen certificates in each Certificate Map Entry.
|
|
229
|
+
* Each certificate must match pattern projects/*/locations/*/certificates/*.
|
|
230
|
+
*/
|
|
231
|
+
certificates: pulumi.Input<pulumi.Input<string>[]>;
|
|
232
|
+
/**
|
|
233
|
+
* CertificateMapEntry is a list of certificate configurations,
|
|
234
|
+
* that have been issued for a particular hostname
|
|
235
|
+
*/
|
|
236
|
+
description?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.example.com)
|
|
239
|
+
* for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for
|
|
240
|
+
* selecting a proper certificate.
|
|
241
|
+
*/
|
|
242
|
+
hostname?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Set of labels associated with a Certificate Map Entry.
|
|
245
|
+
* An object containing a list of "key": value pairs.
|
|
246
|
+
* Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
|
247
|
+
*/
|
|
248
|
+
labels?: pulumi.Input<{
|
|
249
|
+
[key: string]: pulumi.Input<string>;
|
|
250
|
+
}>;
|
|
251
|
+
/**
|
|
252
|
+
* A map entry that is inputted into the cetrificate map
|
|
253
|
+
*/
|
|
254
|
+
map: pulumi.Input<string>;
|
|
255
|
+
/**
|
|
256
|
+
* A predefined matcher for particular cases, other than SNI selection
|
|
257
|
+
* Possible values are `MATCHER_UNSPECIFIED` and `PRIMARY`.
|
|
258
|
+
*/
|
|
259
|
+
matcher?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* A user-defined name of the Certificate Map Entry. Certificate Map Entry
|
|
262
|
+
* names must be unique globally and match pattern
|
|
263
|
+
* 'projects/*/locations/*/certificateMaps/*/certificateMapEntries/*'
|
|
264
|
+
*/
|
|
265
|
+
name?: pulumi.Input<string>;
|
|
266
|
+
/**
|
|
267
|
+
* The ID of the project in which the resource belongs.
|
|
268
|
+
* If it is not provided, the provider project is used.
|
|
269
|
+
*/
|
|
270
|
+
project?: pulumi.Input<string>;
|
|
271
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
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.CertificateMapEntry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* CertificateMapEntry is a list of certificate configurations,
|
|
10
|
+
* that have been issued for a particular hostname
|
|
11
|
+
*
|
|
12
|
+
* > **Warning:** These resources require allow-listing to use, and are not openly available to all Cloud customers. Engage with your Cloud account team to discuss how to onboard.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
* ### Certificate Manager Certificate Map Entry Full
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as gcp from "@pulumi/gcp";
|
|
20
|
+
*
|
|
21
|
+
* const certificateMap = new gcp.certificatemanager.CertificateMap("certificateMap", {
|
|
22
|
+
* description: "My acceptance test certificate map",
|
|
23
|
+
* labels: {
|
|
24
|
+
* terraform: "true",
|
|
25
|
+
* "acc-test": "true",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* const instance = new gcp.certificatemanager.DnsAuthorization("instance", {
|
|
29
|
+
* description: "The default dnss",
|
|
30
|
+
* domain: "subdomain.hashicorptest.com",
|
|
31
|
+
* });
|
|
32
|
+
* const instance2 = new gcp.certificatemanager.DnsAuthorization("instance2", {
|
|
33
|
+
* description: "The default dnss",
|
|
34
|
+
* domain: "subdomain2.hashicorptest.com",
|
|
35
|
+
* });
|
|
36
|
+
* const certificate = new gcp.certificatemanager.Certificate("certificate", {
|
|
37
|
+
* description: "The default cert",
|
|
38
|
+
* scope: "DEFAULT",
|
|
39
|
+
* managed: {
|
|
40
|
+
* domains: [
|
|
41
|
+
* instance.domain,
|
|
42
|
+
* instance2.domain,
|
|
43
|
+
* ],
|
|
44
|
+
* dnsAuthorizations: [
|
|
45
|
+
* instance.id,
|
|
46
|
+
* instance2.id,
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* const _default = new gcp.certificatemanager.CertificateMapEntry("default", {
|
|
51
|
+
* description: "My acceptance test certificate map entry",
|
|
52
|
+
* map: certificateMap.name,
|
|
53
|
+
* labels: {
|
|
54
|
+
* terraform: "true",
|
|
55
|
+
* "acc-test": "true",
|
|
56
|
+
* },
|
|
57
|
+
* certificates: [certificate.id],
|
|
58
|
+
* matcher: "PRIMARY",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* CertificateMapEntry can be imported using any of these accepted formats
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default projects/{{project}}/locations/global/certificateMaps/{{map}}/certificateMapEntries/{{name}}
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{project}}/{{map}}/{{name}}
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import gcp:certificatemanager/certificateMapEntry:CertificateMapEntry default {{map}}/{{name}}
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
class CertificateMapEntry extends pulumi.CustomResource {
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["certificates"] = state ? state.certificates : undefined;
|
|
85
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
86
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
87
|
+
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
88
|
+
resourceInputs["labels"] = state ? state.labels : undefined;
|
|
89
|
+
resourceInputs["map"] = state ? state.map : undefined;
|
|
90
|
+
resourceInputs["matcher"] = state ? state.matcher : undefined;
|
|
91
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
92
|
+
resourceInputs["project"] = state ? state.project : undefined;
|
|
93
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
94
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const args = argsOrState;
|
|
98
|
+
if ((!args || args.certificates === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'certificates'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.map === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'map'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["certificates"] = args ? args.certificates : undefined;
|
|
105
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
106
|
+
resourceInputs["hostname"] = args ? args.hostname : undefined;
|
|
107
|
+
resourceInputs["labels"] = args ? args.labels : undefined;
|
|
108
|
+
resourceInputs["map"] = args ? args.map : undefined;
|
|
109
|
+
resourceInputs["matcher"] = args ? args.matcher : undefined;
|
|
110
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
111
|
+
resourceInputs["project"] = args ? args.project : undefined;
|
|
112
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
115
|
+
}
|
|
116
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
|
+
super(CertificateMapEntry.__pulumiType, name, resourceInputs, opts);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Get an existing CertificateMapEntry resource's state with the given name, ID, and optional extra
|
|
121
|
+
* properties used to qualify the lookup.
|
|
122
|
+
*
|
|
123
|
+
* @param name The _unique_ name of the resulting resource.
|
|
124
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
125
|
+
* @param state Any extra arguments used during the lookup.
|
|
126
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
127
|
+
*/
|
|
128
|
+
static get(name, id, state, opts) {
|
|
129
|
+
return new CertificateMapEntry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Returns true if the given object is an instance of CertificateMapEntry. This is designed to work even
|
|
133
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
134
|
+
*/
|
|
135
|
+
static isInstance(obj) {
|
|
136
|
+
if (obj === undefined || obj === null) {
|
|
137
|
+
return false;
|
|
138
|
+
}
|
|
139
|
+
return obj['__pulumiType'] === CertificateMapEntry.__pulumiType;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.CertificateMapEntry = CertificateMapEntry;
|
|
143
|
+
/** @internal */
|
|
144
|
+
CertificateMapEntry.__pulumiType = 'gcp:certificatemanager/certificateMapEntry:CertificateMapEntry';
|
|
145
|
+
//# sourceMappingURL=certificateMapEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"certificateMapEntry.js","sourceRoot":"","sources":["../../certificatemanager/certificateMapEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA+F1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ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AAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;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,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDAsIC;AAxHG,gBAAgB;AACO,gCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -20,9 +20,13 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
22
|
__exportStar(require("./certificate"), exports);
|
|
23
|
+
__exportStar(require("./certificateMap"), exports);
|
|
24
|
+
__exportStar(require("./certificateMapEntry"), exports);
|
|
23
25
|
__exportStar(require("./dnsAuthorization"), exports);
|
|
24
26
|
// Import resources to register:
|
|
25
27
|
const certificate_1 = require("./certificate");
|
|
28
|
+
const certificateMap_1 = require("./certificateMap");
|
|
29
|
+
const certificateMapEntry_1 = require("./certificateMapEntry");
|
|
26
30
|
const dnsAuthorization_1 = require("./dnsAuthorization");
|
|
27
31
|
const _module = {
|
|
28
32
|
version: utilities.getVersion(),
|
|
@@ -30,6 +34,10 @@ const _module = {
|
|
|
30
34
|
switch (type) {
|
|
31
35
|
case "gcp:certificatemanager/certificate:Certificate":
|
|
32
36
|
return new certificate_1.Certificate(name, undefined, { urn });
|
|
37
|
+
case "gcp:certificatemanager/certificateMap:CertificateMap":
|
|
38
|
+
return new certificateMap_1.CertificateMap(name, undefined, { urn });
|
|
39
|
+
case "gcp:certificatemanager/certificateMapEntry:CertificateMapEntry":
|
|
40
|
+
return new certificateMapEntry_1.CertificateMapEntry(name, undefined, { urn });
|
|
33
41
|
case "gcp:certificatemanager/dnsAuthorization:DnsAuthorization":
|
|
34
42
|
return new dnsAuthorization_1.DnsAuthorization(name, undefined, { urn });
|
|
35
43
|
default:
|
|
@@ -38,5 +46,7 @@ const _module = {
|
|
|
38
46
|
},
|
|
39
47
|
};
|
|
40
48
|
pulumi.runtime.registerResourceModule("gcp", "certificatemanager/certificate", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("gcp", "certificatemanager/certificateMap", _module);
|
|
50
|
+
pulumi.runtime.registerResourceModule("gcp", "certificatemanager/certificateMapEntry", _module);
|
|
41
51
|
pulumi.runtime.registerResourceModule("gcp", "certificatemanager/dnsAuthorization", _module);
|
|
42
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../certificatemanager/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,qDAAmC;AAEnC,gCAAgC;AAChC,+CAA4C;AAC5C,yDAAsD;AAEtD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gDAAgD;gBACjD,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM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E,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wCAAwC,EAAE,OAAO,CAAC,CAAA;AAC/F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/global/backendBuckets/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Compute Engine backendbucket IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
|
7
|
+
*
|
|
8
|
+
* ```sh
|
|
9
|
+
* $ pulumi import gcp:compute/backendBucketIamBinding:BackendBucketIamBinding editor "projects/{{project}}/global/backendBuckets/{{backend_bucket}} roles/viewer user:jane@example.com"
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
|
13
|
+
*
|
|
14
|
+
* ```sh
|
|
15
|
+
* $ pulumi import gcp:compute/backendBucketIamBinding:BackendBucketIamBinding editor "projects/{{project}}/global/backendBuckets/{{backend_bucket}} roles/viewer"
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* IAM policy imports use the identifier of the resource in question, e.g.
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import gcp:compute/backendBucketIamBinding:BackendBucketIamBinding editor projects/{{project}}/global/backendBuckets/{{backend_bucket}}
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
|
25
|
+
*
|
|
26
|
+
* full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BackendBucketIamBinding extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing BackendBucketIamBinding resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BackendBucketIamBindingState, opts?: pulumi.CustomResourceOptions): BackendBucketIamBinding;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of BackendBucketIamBinding. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is BackendBucketIamBinding;
|
|
44
|
+
readonly condition: pulumi.Output<outputs.compute.BackendBucketIamBindingCondition | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* (Computed) The etag of the IAM policy.
|
|
47
|
+
*/
|
|
48
|
+
readonly etag: pulumi.Output<string>;
|
|
49
|
+
readonly members: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
52
|
+
*/
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the project in which the resource belongs.
|
|
56
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
57
|
+
*/
|
|
58
|
+
readonly project: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The role that should be applied. Only one
|
|
61
|
+
* `gcp.compute.BackendBucketIamBinding` can be used per role. Note that custom roles must be of the format
|
|
62
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
63
|
+
*/
|
|
64
|
+
readonly role: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a BackendBucketIamBinding resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: BackendBucketIamBindingArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering BackendBucketIamBinding resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface BackendBucketIamBindingState {
|
|
78
|
+
condition?: pulumi.Input<inputs.compute.BackendBucketIamBindingCondition>;
|
|
79
|
+
/**
|
|
80
|
+
* (Computed) The etag of the IAM policy.
|
|
81
|
+
*/
|
|
82
|
+
etag?: pulumi.Input<string>;
|
|
83
|
+
members?: pulumi.Input<pulumi.Input<string>[]>;
|
|
84
|
+
/**
|
|
85
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
86
|
+
*/
|
|
87
|
+
name?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The ID of the project in which the resource belongs.
|
|
90
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
91
|
+
*/
|
|
92
|
+
project?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The role that should be applied. Only one
|
|
95
|
+
* `gcp.compute.BackendBucketIamBinding` can be used per role. Note that custom roles must be of the format
|
|
96
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
97
|
+
*/
|
|
98
|
+
role?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a BackendBucketIamBinding resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface BackendBucketIamBindingArgs {
|
|
104
|
+
condition?: pulumi.Input<inputs.compute.BackendBucketIamBindingCondition>;
|
|
105
|
+
members: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Used to find the parent resource to bind the IAM policy to
|
|
108
|
+
*/
|
|
109
|
+
name?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the project in which the resource belongs.
|
|
112
|
+
* If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
|
113
|
+
*/
|
|
114
|
+
project?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The role that should be applied. Only one
|
|
117
|
+
* `gcp.compute.BackendBucketIamBinding` can be used per role. Note that custom roles must be of the format
|
|
118
|
+
* `[projects|organizations]/{parent-name}/roles/{role-name}`.
|
|
119
|
+
*/
|
|
120
|
+
role: pulumi.Input<string>;
|
|
121
|
+
}
|