pulumi-gcp 7.27.0__py3-none-any.whl → 7.27.0a1718086610__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -32
- pulumi_gcp/appengine/_inputs.py +0 -40
- pulumi_gcp/appengine/flexible_app_version.py +0 -47
- pulumi_gcp/appengine/outputs.py +0 -51
- pulumi_gcp/bigtable/instance.py +0 -47
- pulumi_gcp/clouddeploy/_inputs.py +0 -16
- pulumi_gcp/clouddeploy/outputs.py +0 -12
- pulumi_gcp/compute/__init__.py +0 -2
- pulumi_gcp/compute/_inputs.py +0 -84
- pulumi_gcp/compute/backend_service.py +0 -54
- pulumi_gcp/compute/disk.py +0 -68
- pulumi_gcp/compute/get_backend_service.py +1 -11
- pulumi_gcp/compute/get_disk.py +1 -11
- pulumi_gcp/compute/get_instance.py +1 -11
- pulumi_gcp/compute/get_instance_group_manager.py +1 -31
- pulumi_gcp/compute/get_instance_template.py +1 -11
- pulumi_gcp/compute/get_region_instance_template.py +1 -11
- pulumi_gcp/compute/instance.py +0 -47
- pulumi_gcp/compute/instance_from_machine_image.py +0 -47
- pulumi_gcp/compute/instance_from_template.py +0 -47
- pulumi_gcp/compute/instance_group_manager.py +0 -185
- pulumi_gcp/compute/instance_template.py +0 -47
- pulumi_gcp/compute/outputs.py +0 -1039
- pulumi_gcp/compute/region_instance_group_manager.py +0 -185
- pulumi_gcp/compute/region_instance_template.py +0 -47
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +4 -33
- pulumi_gcp/container/cluster.py +0 -61
- pulumi_gcp/container/get_cluster.py +1 -11
- pulumi_gcp/container/outputs.py +4 -48
- pulumi_gcp/dataloss/_inputs.py +19 -185
- pulumi_gcp/dataloss/outputs.py +17 -206
- pulumi_gcp/dataloss/prevention_inspect_template.py +0 -54
- pulumi_gcp/gkebackup/_inputs.py +7 -282
- pulumi_gcp/gkebackup/backup_plan.py +0 -100
- pulumi_gcp/gkebackup/outputs.py +7 -312
- pulumi_gcp/gkebackup/restore_plan.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +0 -326
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +0 -326
- pulumi_gcp/healthcare/_inputs.py +1 -17
- pulumi_gcp/healthcare/dicom_store.py +0 -2
- pulumi_gcp/healthcare/fhir_store.py +60 -44
- pulumi_gcp/healthcare/outputs.py +1 -15
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +0 -47
- pulumi_gcp/kms/crypto_key.py +7 -14
- pulumi_gcp/netapp/_inputs.py +0 -58
- pulumi_gcp/netapp/outputs.py +0 -67
- pulumi_gcp/netapp/volume.py +0 -54
- pulumi_gcp/networkservices/__init__.py +0 -1
- pulumi_gcp/networkservices/_inputs.py +0 -47
- pulumi_gcp/networkservices/outputs.py +0 -56
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +0 -44
- pulumi_gcp/redis/cluster.py +3 -128
- pulumi_gcp/redis/outputs.py +0 -36
- pulumi_gcp/secretmanager/_inputs.py +0 -20
- pulumi_gcp/secretmanager/outputs.py +0 -20
- pulumi_gcp/secretmanager/secret_iam_binding.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_member.py +0 -244
- pulumi_gcp/secretmanager/secret_iam_policy.py +0 -224
- pulumi_gcp/securitycenter/__init__.py +0 -1
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +0 -68
- pulumi_gcp/spanner/outputs.py +0 -73
- pulumi_gcp/sql/_inputs.py +2 -8
- pulumi_gcp/sql/outputs.py +6 -9
- pulumi_gcp/workstations/_inputs.py +1 -51
- pulumi_gcp/workstations/outputs.py +2 -46
- pulumi_gcp/workstations/workstation_config.py +4 -10
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/RECORD +76 -81
- pulumi_gcp/compute/get_security_policy.py +0 -214
- pulumi_gcp/compute/project_cloud_armor_tier.py +0 -336
- pulumi_gcp/networkservices/service_lb_policies.py +0 -782
- pulumi_gcp/securitycenter/management_organization_event_threat_detection_custom_module.py +0 -568
- pulumi_gcp/spanner/instance_config.py +0 -569
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.27.0.dist-info → pulumi_gcp-7.27.0a1718086610.dist-info}/top_level.txt +0 -0
@@ -37,8 +37,6 @@ class SecretIamMemberArgs:
|
|
37
37
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
38
38
|
`secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format
|
39
39
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
40
|
-
:param pulumi.Input['SecretIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
41
|
-
Structure is documented below.
|
42
40
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
43
41
|
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.
|
44
42
|
"""
|
@@ -98,10 +96,6 @@ class SecretIamMemberArgs:
|
|
98
96
|
@property
|
99
97
|
@pulumi.getter
|
100
98
|
def condition(self) -> Optional[pulumi.Input['SecretIamMemberConditionArgs']]:
|
101
|
-
"""
|
102
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
103
|
-
Structure is documented below.
|
104
|
-
"""
|
105
99
|
return pulumi.get(self, "condition")
|
106
100
|
|
107
101
|
@condition.setter
|
@@ -133,8 +127,6 @@ class _SecretIamMemberState:
|
|
133
127
|
secret_id: Optional[pulumi.Input[str]] = None):
|
134
128
|
"""
|
135
129
|
Input properties used for looking up and filtering SecretIamMember resources.
|
136
|
-
:param pulumi.Input['SecretIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
137
|
-
Structure is documented below.
|
138
130
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
139
131
|
:param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
|
140
132
|
Each entry can have one of the following values:
|
@@ -169,10 +161,6 @@ class _SecretIamMemberState:
|
|
169
161
|
@property
|
170
162
|
@pulumi.getter
|
171
163
|
def condition(self) -> Optional[pulumi.Input['SecretIamMemberConditionArgs']]:
|
172
|
-
"""
|
173
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
174
|
-
Structure is documented below.
|
175
|
-
"""
|
176
164
|
return pulumi.get(self, "condition")
|
177
165
|
|
178
166
|
@condition.setter
|
@@ -276,8 +264,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
276
264
|
|
277
265
|
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
|
278
266
|
|
279
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
280
|
-
|
281
267
|
## secretmanager.SecretIamPolicy
|
282
268
|
|
283
269
|
```python
|
@@ -294,26 +280,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
294
280
|
policy_data=admin.policy_data)
|
295
281
|
```
|
296
282
|
|
297
|
-
With IAM Conditions:
|
298
|
-
|
299
|
-
```python
|
300
|
-
import pulumi
|
301
|
-
import pulumi_gcp as gcp
|
302
|
-
|
303
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
304
|
-
role="roles/secretmanager.secretAccessor",
|
305
|
-
members=["user:jane@example.com"],
|
306
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
307
|
-
title="expires_after_2019_12_31",
|
308
|
-
description="Expiring at midnight of 2019-12-31",
|
309
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
310
|
-
),
|
311
|
-
)])
|
312
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
313
|
-
project=secret_basic["project"],
|
314
|
-
secret_id=secret_basic["secretId"],
|
315
|
-
policy_data=admin.policy_data)
|
316
|
-
```
|
317
283
|
## secretmanager.SecretIamBinding
|
318
284
|
|
319
285
|
```python
|
@@ -327,23 +293,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
327
293
|
members=["user:jane@example.com"])
|
328
294
|
```
|
329
295
|
|
330
|
-
With IAM Conditions:
|
331
|
-
|
332
|
-
```python
|
333
|
-
import pulumi
|
334
|
-
import pulumi_gcp as gcp
|
335
|
-
|
336
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
337
|
-
project=secret_basic["project"],
|
338
|
-
secret_id=secret_basic["secretId"],
|
339
|
-
role="roles/secretmanager.secretAccessor",
|
340
|
-
members=["user:jane@example.com"],
|
341
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
342
|
-
title="expires_after_2019_12_31",
|
343
|
-
description="Expiring at midnight of 2019-12-31",
|
344
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
345
|
-
))
|
346
|
-
```
|
347
296
|
## secretmanager.SecretIamMember
|
348
297
|
|
349
298
|
```python
|
@@ -357,24 +306,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
357
306
|
member="user:jane@example.com")
|
358
307
|
```
|
359
308
|
|
360
|
-
With IAM Conditions:
|
361
|
-
|
362
|
-
```python
|
363
|
-
import pulumi
|
364
|
-
import pulumi_gcp as gcp
|
365
|
-
|
366
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
367
|
-
project=secret_basic["project"],
|
368
|
-
secret_id=secret_basic["secretId"],
|
369
|
-
role="roles/secretmanager.secretAccessor",
|
370
|
-
member="user:jane@example.com",
|
371
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
372
|
-
title="expires_after_2019_12_31",
|
373
|
-
description="Expiring at midnight of 2019-12-31",
|
374
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
375
|
-
))
|
376
|
-
```
|
377
|
-
|
378
309
|
## secretmanager.SecretIamPolicy
|
379
310
|
|
380
311
|
```python
|
@@ -391,26 +322,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
391
322
|
policy_data=admin.policy_data)
|
392
323
|
```
|
393
324
|
|
394
|
-
With IAM Conditions:
|
395
|
-
|
396
|
-
```python
|
397
|
-
import pulumi
|
398
|
-
import pulumi_gcp as gcp
|
399
|
-
|
400
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
401
|
-
role="roles/secretmanager.secretAccessor",
|
402
|
-
members=["user:jane@example.com"],
|
403
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
404
|
-
title="expires_after_2019_12_31",
|
405
|
-
description="Expiring at midnight of 2019-12-31",
|
406
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
407
|
-
),
|
408
|
-
)])
|
409
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
410
|
-
project=secret_basic["project"],
|
411
|
-
secret_id=secret_basic["secretId"],
|
412
|
-
policy_data=admin.policy_data)
|
413
|
-
```
|
414
325
|
## secretmanager.SecretIamBinding
|
415
326
|
|
416
327
|
```python
|
@@ -424,23 +335,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
424
335
|
members=["user:jane@example.com"])
|
425
336
|
```
|
426
337
|
|
427
|
-
With IAM Conditions:
|
428
|
-
|
429
|
-
```python
|
430
|
-
import pulumi
|
431
|
-
import pulumi_gcp as gcp
|
432
|
-
|
433
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
434
|
-
project=secret_basic["project"],
|
435
|
-
secret_id=secret_basic["secretId"],
|
436
|
-
role="roles/secretmanager.secretAccessor",
|
437
|
-
members=["user:jane@example.com"],
|
438
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
439
|
-
title="expires_after_2019_12_31",
|
440
|
-
description="Expiring at midnight of 2019-12-31",
|
441
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
442
|
-
))
|
443
|
-
```
|
444
338
|
## secretmanager.SecretIamMember
|
445
339
|
|
446
340
|
```python
|
@@ -454,24 +348,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
454
348
|
member="user:jane@example.com")
|
455
349
|
```
|
456
350
|
|
457
|
-
With IAM Conditions:
|
458
|
-
|
459
|
-
```python
|
460
|
-
import pulumi
|
461
|
-
import pulumi_gcp as gcp
|
462
|
-
|
463
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
464
|
-
project=secret_basic["project"],
|
465
|
-
secret_id=secret_basic["secretId"],
|
466
|
-
role="roles/secretmanager.secretAccessor",
|
467
|
-
member="user:jane@example.com",
|
468
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
469
|
-
title="expires_after_2019_12_31",
|
470
|
-
description="Expiring at midnight of 2019-12-31",
|
471
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
472
|
-
))
|
473
|
-
```
|
474
|
-
|
475
351
|
## Import
|
476
352
|
|
477
353
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -510,8 +386,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
510
386
|
|
511
387
|
:param str resource_name: The name of the resource.
|
512
388
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
513
|
-
:param pulumi.Input[pulumi.InputType['SecretIamMemberConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
514
|
-
Structure is documented below.
|
515
389
|
:param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
|
516
390
|
Each entry can have one of the following values:
|
517
391
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -550,8 +424,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
550
424
|
|
551
425
|
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
|
552
426
|
|
553
|
-
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
|
554
|
-
|
555
427
|
## secretmanager.SecretIamPolicy
|
556
428
|
|
557
429
|
```python
|
@@ -568,26 +440,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
568
440
|
policy_data=admin.policy_data)
|
569
441
|
```
|
570
442
|
|
571
|
-
With IAM Conditions:
|
572
|
-
|
573
|
-
```python
|
574
|
-
import pulumi
|
575
|
-
import pulumi_gcp as gcp
|
576
|
-
|
577
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
578
|
-
role="roles/secretmanager.secretAccessor",
|
579
|
-
members=["user:jane@example.com"],
|
580
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
581
|
-
title="expires_after_2019_12_31",
|
582
|
-
description="Expiring at midnight of 2019-12-31",
|
583
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
584
|
-
),
|
585
|
-
)])
|
586
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
587
|
-
project=secret_basic["project"],
|
588
|
-
secret_id=secret_basic["secretId"],
|
589
|
-
policy_data=admin.policy_data)
|
590
|
-
```
|
591
443
|
## secretmanager.SecretIamBinding
|
592
444
|
|
593
445
|
```python
|
@@ -601,23 +453,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
601
453
|
members=["user:jane@example.com"])
|
602
454
|
```
|
603
455
|
|
604
|
-
With IAM Conditions:
|
605
|
-
|
606
|
-
```python
|
607
|
-
import pulumi
|
608
|
-
import pulumi_gcp as gcp
|
609
|
-
|
610
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
611
|
-
project=secret_basic["project"],
|
612
|
-
secret_id=secret_basic["secretId"],
|
613
|
-
role="roles/secretmanager.secretAccessor",
|
614
|
-
members=["user:jane@example.com"],
|
615
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
616
|
-
title="expires_after_2019_12_31",
|
617
|
-
description="Expiring at midnight of 2019-12-31",
|
618
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
619
|
-
))
|
620
|
-
```
|
621
456
|
## secretmanager.SecretIamMember
|
622
457
|
|
623
458
|
```python
|
@@ -631,24 +466,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
631
466
|
member="user:jane@example.com")
|
632
467
|
```
|
633
468
|
|
634
|
-
With IAM Conditions:
|
635
|
-
|
636
|
-
```python
|
637
|
-
import pulumi
|
638
|
-
import pulumi_gcp as gcp
|
639
|
-
|
640
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
641
|
-
project=secret_basic["project"],
|
642
|
-
secret_id=secret_basic["secretId"],
|
643
|
-
role="roles/secretmanager.secretAccessor",
|
644
|
-
member="user:jane@example.com",
|
645
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
646
|
-
title="expires_after_2019_12_31",
|
647
|
-
description="Expiring at midnight of 2019-12-31",
|
648
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
649
|
-
))
|
650
|
-
```
|
651
|
-
|
652
469
|
## secretmanager.SecretIamPolicy
|
653
470
|
|
654
471
|
```python
|
@@ -665,26 +482,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
665
482
|
policy_data=admin.policy_data)
|
666
483
|
```
|
667
484
|
|
668
|
-
With IAM Conditions:
|
669
|
-
|
670
|
-
```python
|
671
|
-
import pulumi
|
672
|
-
import pulumi_gcp as gcp
|
673
|
-
|
674
|
-
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
675
|
-
role="roles/secretmanager.secretAccessor",
|
676
|
-
members=["user:jane@example.com"],
|
677
|
-
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
678
|
-
title="expires_after_2019_12_31",
|
679
|
-
description="Expiring at midnight of 2019-12-31",
|
680
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
681
|
-
),
|
682
|
-
)])
|
683
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
684
|
-
project=secret_basic["project"],
|
685
|
-
secret_id=secret_basic["secretId"],
|
686
|
-
policy_data=admin.policy_data)
|
687
|
-
```
|
688
485
|
## secretmanager.SecretIamBinding
|
689
486
|
|
690
487
|
```python
|
@@ -698,23 +495,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
698
495
|
members=["user:jane@example.com"])
|
699
496
|
```
|
700
497
|
|
701
|
-
With IAM Conditions:
|
702
|
-
|
703
|
-
```python
|
704
|
-
import pulumi
|
705
|
-
import pulumi_gcp as gcp
|
706
|
-
|
707
|
-
binding = gcp.secretmanager.SecretIamBinding("binding",
|
708
|
-
project=secret_basic["project"],
|
709
|
-
secret_id=secret_basic["secretId"],
|
710
|
-
role="roles/secretmanager.secretAccessor",
|
711
|
-
members=["user:jane@example.com"],
|
712
|
-
condition=gcp.secretmanager.SecretIamBindingConditionArgs(
|
713
|
-
title="expires_after_2019_12_31",
|
714
|
-
description="Expiring at midnight of 2019-12-31",
|
715
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
716
|
-
))
|
717
|
-
```
|
718
498
|
## secretmanager.SecretIamMember
|
719
499
|
|
720
500
|
```python
|
@@ -728,24 +508,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
728
508
|
member="user:jane@example.com")
|
729
509
|
```
|
730
510
|
|
731
|
-
With IAM Conditions:
|
732
|
-
|
733
|
-
```python
|
734
|
-
import pulumi
|
735
|
-
import pulumi_gcp as gcp
|
736
|
-
|
737
|
-
member = gcp.secretmanager.SecretIamMember("member",
|
738
|
-
project=secret_basic["project"],
|
739
|
-
secret_id=secret_basic["secretId"],
|
740
|
-
role="roles/secretmanager.secretAccessor",
|
741
|
-
member="user:jane@example.com",
|
742
|
-
condition=gcp.secretmanager.SecretIamMemberConditionArgs(
|
743
|
-
title="expires_after_2019_12_31",
|
744
|
-
description="Expiring at midnight of 2019-12-31",
|
745
|
-
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
746
|
-
))
|
747
|
-
```
|
748
|
-
|
749
511
|
## Import
|
750
512
|
|
751
513
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -846,8 +608,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
846
608
|
:param str resource_name: The unique name of the resulting resource.
|
847
609
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
848
610
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
849
|
-
:param pulumi.Input[pulumi.InputType['SecretIamMemberConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
850
|
-
Structure is documented below.
|
851
611
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
852
612
|
:param pulumi.Input[str] member: Identities that will be granted the privilege in `role`.
|
853
613
|
Each entry can have one of the following values:
|
@@ -881,10 +641,6 @@ class SecretIamMember(pulumi.CustomResource):
|
|
881
641
|
@property
|
882
642
|
@pulumi.getter
|
883
643
|
def condition(self) -> pulumi.Output[Optional['outputs.SecretIamMemberCondition']]:
|
884
|
-
"""
|
885
|
-
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
886
|
-
Structure is documented below.
|
887
|
-
"""
|
888
644
|
return pulumi.get(self, "condition")
|
889
645
|
|
890
646
|
@property
|