pulumi-gcp 8.32.0a1747459264__py3-none-any.whl → 8.32.1__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 +88 -0
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +2 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +13 -0
- pulumi_gcp/apigateway/api_iam_binding.py +13 -0
- pulumi_gcp/apigateway/api_iam_member.py +13 -0
- pulumi_gcp/apigateway/api_iam_policy.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +13 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +13 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_api_iam_policy.py +2 -0
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +2 -0
- pulumi_gcp/apigee/environment_iam_binding.py +27 -0
- pulumi_gcp/apigee/environment_iam_member.py +27 -0
- pulumi_gcp/apigee/environment_iam_policy.py +27 -0
- pulumi_gcp/apigee/get_environment_iam_policy.py +6 -0
- pulumi_gcp/beyondcorp/__init__.py +1 -0
- pulumi_gcp/beyondcorp/application.py +8 -4
- pulumi_gcp/beyondcorp/application_iam_binding.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +26 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +26 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +4 -0
- pulumi_gcp/beyondcorp/get_security_gateway.py +222 -0
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -0
- pulumi_gcp/beyondcorp/outputs.py +45 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_binding.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_member.py +13 -0
- pulumi_gcp/beyondcorp/security_gateway_iam_policy.py +13 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +4 -11
- pulumi_gcp/bigquery/connection_iam_member.py +4 -11
- pulumi_gcp/bigquery/connection_iam_policy.py +4 -11
- pulumi_gcp/bigquery/data_transfer_config.py +2 -2
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -4
- pulumi_gcp/bigquery/get_table_iam_policy.py +4 -0
- pulumi_gcp/bigquery/iam_binding.py +26 -0
- pulumi_gcp/bigquery/iam_member.py +26 -0
- pulumi_gcp/bigquery/iam_policy.py +26 -0
- pulumi_gcp/bigquery/row_access_policy.py +787 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +7 -7
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +6 -6
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +13 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +13 -0
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -0
- pulumi_gcp/bigtable/logical_view.py +49 -0
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +6 -0
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +6 -0
- pulumi_gcp/colab/schedule.py +2 -2
- pulumi_gcp/compute/_inputs.py +126 -0
- pulumi_gcp/compute/backend_service.py +259 -51
- pulumi_gcp/compute/get_backend_service.py +23 -1
- pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
- pulumi_gcp/compute/get_instance_template.py +12 -1
- pulumi_gcp/compute/get_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +199 -0
- pulumi_gcp/compute/instance_template.py +28 -0
- pulumi_gcp/compute/network_endpoint_group.py +28 -0
- pulumi_gcp/compute/outputs.py +110 -0
- pulumi_gcp/compute/region_backend_service.py +58 -51
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +34 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +8 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +34 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +34 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +34 -0
- pulumi_gcp/dataplex/__init__.py +5 -0
- pulumi_gcp/dataplex/_inputs.py +98 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +53 -0
- pulumi_gcp/dataplex/asset_iam_member.py +53 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +53 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +13 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +13 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +13 -0
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_asset_iam_policy.py +10 -0
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_glossary_iam_policy.py +185 -0
- pulumi_gcp/dataplex/get_lake_iam_policy.py +6 -0
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -0
- pulumi_gcp/dataplex/get_zone_iam_policy.py +8 -0
- pulumi_gcp/dataplex/glossary.py +772 -0
- pulumi_gcp/dataplex/glossary_iam_binding.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_member.py +837 -0
- pulumi_gcp/dataplex/glossary_iam_policy.py +676 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +27 -0
- pulumi_gcp/dataplex/lake_iam_member.py +27 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +27 -0
- pulumi_gcp/dataplex/outputs.py +56 -0
- pulumi_gcp/dataplex/task_iam_binding.py +13 -0
- pulumi_gcp/dataplex/task_iam_member.py +13 -0
- pulumi_gcp/dataplex/task_iam_policy.py +13 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +40 -0
- pulumi_gcp/dataplex/zone_iam_member.py +40 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +40 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +4 -25
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +4 -25
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -8
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +8 -0
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +10 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +40 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +40 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +13 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +13 -0
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +53 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +53 -0
- pulumi_gcp/diagflow/_inputs.py +56 -0
- pulumi_gcp/diagflow/cx_agent.py +60 -0
- pulumi_gcp/diagflow/cx_flow.py +2 -0
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/outputs.py +35 -0
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/endpoints/consumers_iam_binding.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +26 -0
- pulumi_gcp/endpoints/consumers_iam_policy.py +26 -0
- pulumi_gcp/endpoints/get_service_consumers_iam_policy.py +8 -0
- pulumi_gcp/endpoints/get_service_iam_policy.py +6 -0
- pulumi_gcp/endpoints/service_iam_binding.py +13 -0
- pulumi_gcp/endpoints/service_iam_member.py +13 -0
- pulumi_gcp/endpoints/service_iam_policy.py +13 -0
- pulumi_gcp/firebase/__init__.py +3 -0
- pulumi_gcp/firebase/_inputs.py +1527 -0
- pulumi_gcp/firebase/app_hosting_backend.py +104 -0
- pulumi_gcp/firebase/app_hosting_default_domain.py +721 -0
- pulumi_gcp/firebase/app_hosting_domain.py +796 -0
- pulumi_gcp/firebase/app_hosting_traffic.py +914 -0
- pulumi_gcp/firebase/extensions_instance.py +4 -4
- pulumi_gcp/firebase/outputs.py +1075 -0
- pulumi_gcp/firestore/database.py +9 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +4 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +26 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +26 -0
- pulumi_gcp/gkebackup/backup_channel.py +9 -9
- pulumi_gcp/gkebackup/restore_channel.py +9 -9
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -0
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +13 -0
- pulumi_gcp/gkehub/membership_iam_member.py +13 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +13 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +13 -0
- pulumi_gcp/gkehub/scope_iam_member.py +13 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +13 -0
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +432 -0
- pulumi_gcp/iam/get_workload_identity_pool.py +35 -1
- pulumi_gcp/iam/get_workload_identity_pool_iam_policy.py +156 -0
- pulumi_gcp/iam/oauth_client_credential.py +6 -0
- pulumi_gcp/iam/outputs.py +510 -0
- pulumi_gcp/iam/workload_identity_pool.py +446 -24
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +539 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +358 -0
- pulumi_gcp/iap/app_engine_service_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_service_iam_policy.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_binding.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_member.py +14 -14
- pulumi_gcp/iap/app_engine_version_iam_policy.py +14 -14
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +4 -4
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +4 -4
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -0
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +6 -0
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +13 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +13 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +27 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +27 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +27 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +7 -7
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +7 -7
- pulumi_gcp/lustre/__init__.py +1 -0
- pulumi_gcp/lustre/get_instance.py +280 -0
- pulumi_gcp/lustre/instance.py +12 -0
- pulumi_gcp/netapp/backup.py +2 -2
- pulumi_gcp/networksecurity/intercept_deployment.py +10 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +8 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +12 -0
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +16 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_binding.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +13 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +13 -0
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -4
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_member.py +4 -11
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +4 -11
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +2 -2
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +13 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +13 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +2 -0
- pulumi_gcp/vmwareengine/external_address.py +4 -4
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +6 -0
- pulumi_gcp/workstations/get_workstation_iam_policy.py +10 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +33 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +33 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +53 -0
- pulumi_gcp/workstations/workstation_iam_member.py +53 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +53 -0
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/RECORD +256 -241
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.32.0a1747459264.dist-info → pulumi_gcp-8.32.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,539 @@
|
|
1
|
+
# coding=utf-8
|
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
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['WorkloadIdentityPoolIamBindingArgs', 'WorkloadIdentityPoolIamBinding']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class WorkloadIdentityPoolIamBindingArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
members: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
26
|
+
role: pulumi.Input[builtins.str],
|
27
|
+
workload_identity_pool_id: pulumi.Input[builtins.str],
|
28
|
+
condition: Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']] = None,
|
29
|
+
project: Optional[pulumi.Input[builtins.str]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a WorkloadIdentityPoolIamBinding resource.
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: Identities that will be granted the privilege in `role`.
|
33
|
+
Each entry can have one of the following values:
|
34
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
35
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
36
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
37
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
38
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
39
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
40
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
41
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
42
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
43
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
44
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
45
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
46
|
+
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
47
|
+
:param pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
48
|
+
Structure is documented below.
|
49
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
50
|
+
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.
|
51
|
+
"""
|
52
|
+
pulumi.set(__self__, "members", members)
|
53
|
+
pulumi.set(__self__, "role", role)
|
54
|
+
pulumi.set(__self__, "workload_identity_pool_id", workload_identity_pool_id)
|
55
|
+
if condition is not None:
|
56
|
+
pulumi.set(__self__, "condition", condition)
|
57
|
+
if project is not None:
|
58
|
+
pulumi.set(__self__, "project", project)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def members(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
63
|
+
"""
|
64
|
+
Identities that will be granted the privilege in `role`.
|
65
|
+
Each entry can have one of the following values:
|
66
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
67
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
68
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
69
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
70
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
71
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
72
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
73
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
74
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "members")
|
77
|
+
|
78
|
+
@members.setter
|
79
|
+
def members(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
80
|
+
pulumi.set(self, "members", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def role(self) -> pulumi.Input[builtins.str]:
|
85
|
+
"""
|
86
|
+
The role that should be applied. Only one
|
87
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
88
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "role")
|
91
|
+
|
92
|
+
@role.setter
|
93
|
+
def role(self, value: pulumi.Input[builtins.str]):
|
94
|
+
pulumi.set(self, "role", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="workloadIdentityPoolId")
|
98
|
+
def workload_identity_pool_id(self) -> pulumi.Input[builtins.str]:
|
99
|
+
"""
|
100
|
+
Used to find the parent resource to bind the IAM policy to
|
101
|
+
"""
|
102
|
+
return pulumi.get(self, "workload_identity_pool_id")
|
103
|
+
|
104
|
+
@workload_identity_pool_id.setter
|
105
|
+
def workload_identity_pool_id(self, value: pulumi.Input[builtins.str]):
|
106
|
+
pulumi.set(self, "workload_identity_pool_id", value)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def condition(self) -> Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']]:
|
111
|
+
"""
|
112
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
113
|
+
Structure is documented below.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "condition")
|
116
|
+
|
117
|
+
@condition.setter
|
118
|
+
def condition(self, value: Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']]):
|
119
|
+
pulumi.set(self, "condition", value)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
|
+
"""
|
125
|
+
The ID of the project in which the resource belongs.
|
126
|
+
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.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "project")
|
129
|
+
|
130
|
+
@project.setter
|
131
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
132
|
+
pulumi.set(self, "project", value)
|
133
|
+
|
134
|
+
|
135
|
+
@pulumi.input_type
|
136
|
+
class _WorkloadIdentityPoolIamBindingState:
|
137
|
+
def __init__(__self__, *,
|
138
|
+
condition: Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']] = None,
|
139
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
140
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
141
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
142
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
143
|
+
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None):
|
144
|
+
"""
|
145
|
+
Input properties used for looking up and filtering WorkloadIdentityPoolIamBinding resources.
|
146
|
+
:param pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
147
|
+
Structure is documented below.
|
148
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
149
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: Identities that will be granted the privilege in `role`.
|
150
|
+
Each entry can have one of the following values:
|
151
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
152
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
153
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
154
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
155
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
156
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
157
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
158
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
159
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
160
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
161
|
+
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.
|
162
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
163
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
164
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
165
|
+
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
166
|
+
"""
|
167
|
+
if condition is not None:
|
168
|
+
pulumi.set(__self__, "condition", condition)
|
169
|
+
if etag is not None:
|
170
|
+
pulumi.set(__self__, "etag", etag)
|
171
|
+
if members is not None:
|
172
|
+
pulumi.set(__self__, "members", members)
|
173
|
+
if project is not None:
|
174
|
+
pulumi.set(__self__, "project", project)
|
175
|
+
if role is not None:
|
176
|
+
pulumi.set(__self__, "role", role)
|
177
|
+
if workload_identity_pool_id is not None:
|
178
|
+
pulumi.set(__self__, "workload_identity_pool_id", workload_identity_pool_id)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def condition(self) -> Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']]:
|
183
|
+
"""
|
184
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
185
|
+
Structure is documented below.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "condition")
|
188
|
+
|
189
|
+
@condition.setter
|
190
|
+
def condition(self, value: Optional[pulumi.Input['WorkloadIdentityPoolIamBindingConditionArgs']]):
|
191
|
+
pulumi.set(self, "condition", value)
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter
|
195
|
+
def etag(self) -> Optional[pulumi.Input[builtins.str]]:
|
196
|
+
"""
|
197
|
+
(Computed) The etag of the IAM policy.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "etag")
|
200
|
+
|
201
|
+
@etag.setter
|
202
|
+
def etag(self, value: Optional[pulumi.Input[builtins.str]]):
|
203
|
+
pulumi.set(self, "etag", value)
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter
|
207
|
+
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
208
|
+
"""
|
209
|
+
Identities that will be granted the privilege in `role`.
|
210
|
+
Each entry can have one of the following values:
|
211
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
212
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
213
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
214
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
215
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
216
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
217
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
218
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
219
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
220
|
+
"""
|
221
|
+
return pulumi.get(self, "members")
|
222
|
+
|
223
|
+
@members.setter
|
224
|
+
def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
225
|
+
pulumi.set(self, "members", value)
|
226
|
+
|
227
|
+
@property
|
228
|
+
@pulumi.getter
|
229
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
230
|
+
"""
|
231
|
+
The ID of the project in which the resource belongs.
|
232
|
+
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.
|
233
|
+
"""
|
234
|
+
return pulumi.get(self, "project")
|
235
|
+
|
236
|
+
@project.setter
|
237
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
238
|
+
pulumi.set(self, "project", value)
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter
|
242
|
+
def role(self) -> Optional[pulumi.Input[builtins.str]]:
|
243
|
+
"""
|
244
|
+
The role that should be applied. Only one
|
245
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
246
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
247
|
+
"""
|
248
|
+
return pulumi.get(self, "role")
|
249
|
+
|
250
|
+
@role.setter
|
251
|
+
def role(self, value: Optional[pulumi.Input[builtins.str]]):
|
252
|
+
pulumi.set(self, "role", value)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="workloadIdentityPoolId")
|
256
|
+
def workload_identity_pool_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
257
|
+
"""
|
258
|
+
Used to find the parent resource to bind the IAM policy to
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "workload_identity_pool_id")
|
261
|
+
|
262
|
+
@workload_identity_pool_id.setter
|
263
|
+
def workload_identity_pool_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
264
|
+
pulumi.set(self, "workload_identity_pool_id", value)
|
265
|
+
|
266
|
+
|
267
|
+
@pulumi.type_token("gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding")
|
268
|
+
class WorkloadIdentityPoolIamBinding(pulumi.CustomResource):
|
269
|
+
@overload
|
270
|
+
def __init__(__self__,
|
271
|
+
resource_name: str,
|
272
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
273
|
+
condition: Optional[pulumi.Input[Union['WorkloadIdentityPoolIamBindingConditionArgs', 'WorkloadIdentityPoolIamBindingConditionArgsDict']]] = None,
|
274
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
275
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
276
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
277
|
+
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
278
|
+
__props__=None):
|
279
|
+
"""
|
280
|
+
## Import
|
281
|
+
|
282
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
283
|
+
|
284
|
+
* projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
285
|
+
|
286
|
+
* {{project}}/{{workload_identity_pool_id}}
|
287
|
+
|
288
|
+
* {{workload_identity_pool_id}}
|
289
|
+
|
290
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
291
|
+
|
292
|
+
Cloud IAM workloadidentitypool IAM resources can be imported using the resource identifiers, role, and member.
|
293
|
+
|
294
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
295
|
+
|
296
|
+
```sh
|
297
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer user:jane@example.com"
|
298
|
+
```
|
299
|
+
|
300
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
301
|
+
|
302
|
+
```sh
|
303
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer"
|
304
|
+
```
|
305
|
+
|
306
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
307
|
+
|
308
|
+
```sh
|
309
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
310
|
+
```
|
311
|
+
|
312
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
313
|
+
|
314
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
315
|
+
|
316
|
+
:param str resource_name: The name of the resource.
|
317
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
318
|
+
:param pulumi.Input[Union['WorkloadIdentityPoolIamBindingConditionArgs', 'WorkloadIdentityPoolIamBindingConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
319
|
+
Structure is documented below.
|
320
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: Identities that will be granted the privilege in `role`.
|
321
|
+
Each entry can have one of the following values:
|
322
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
323
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
324
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
325
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
326
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
327
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
328
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
329
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
330
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
331
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
332
|
+
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.
|
333
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
334
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
335
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
336
|
+
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
337
|
+
"""
|
338
|
+
...
|
339
|
+
@overload
|
340
|
+
def __init__(__self__,
|
341
|
+
resource_name: str,
|
342
|
+
args: WorkloadIdentityPoolIamBindingArgs,
|
343
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
344
|
+
"""
|
345
|
+
## Import
|
346
|
+
|
347
|
+
For all import syntaxes, the "resource in question" can take any of the following forms:
|
348
|
+
|
349
|
+
* projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
350
|
+
|
351
|
+
* {{project}}/{{workload_identity_pool_id}}
|
352
|
+
|
353
|
+
* {{workload_identity_pool_id}}
|
354
|
+
|
355
|
+
Any variables not passed in the import command will be taken from the provider configuration.
|
356
|
+
|
357
|
+
Cloud IAM workloadidentitypool IAM resources can be imported using the resource identifiers, role, and member.
|
358
|
+
|
359
|
+
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
360
|
+
|
361
|
+
```sh
|
362
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer user:jane@example.com"
|
363
|
+
```
|
364
|
+
|
365
|
+
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
366
|
+
|
367
|
+
```sh
|
368
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor "projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}} roles/iam.workloadIdentityPoolViewer"
|
369
|
+
```
|
370
|
+
|
371
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
372
|
+
|
373
|
+
```sh
|
374
|
+
$ pulumi import gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding editor projects/{{project}}/locations/global/workloadIdentityPools/{{workload_identity_pool_id}}
|
375
|
+
```
|
376
|
+
|
377
|
+
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
378
|
+
|
379
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
380
|
+
|
381
|
+
:param str resource_name: The name of the resource.
|
382
|
+
:param WorkloadIdentityPoolIamBindingArgs args: The arguments to use to populate this resource's properties.
|
383
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
384
|
+
"""
|
385
|
+
...
|
386
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
387
|
+
resource_args, opts = _utilities.get_resource_args_opts(WorkloadIdentityPoolIamBindingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
388
|
+
if resource_args is not None:
|
389
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
390
|
+
else:
|
391
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
392
|
+
|
393
|
+
def _internal_init(__self__,
|
394
|
+
resource_name: str,
|
395
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
396
|
+
condition: Optional[pulumi.Input[Union['WorkloadIdentityPoolIamBindingConditionArgs', 'WorkloadIdentityPoolIamBindingConditionArgsDict']]] = None,
|
397
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
398
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
399
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
400
|
+
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
401
|
+
__props__=None):
|
402
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
403
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
404
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
405
|
+
if opts.id is None:
|
406
|
+
if __props__ is not None:
|
407
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
408
|
+
__props__ = WorkloadIdentityPoolIamBindingArgs.__new__(WorkloadIdentityPoolIamBindingArgs)
|
409
|
+
|
410
|
+
__props__.__dict__["condition"] = condition
|
411
|
+
if members is None and not opts.urn:
|
412
|
+
raise TypeError("Missing required property 'members'")
|
413
|
+
__props__.__dict__["members"] = members
|
414
|
+
__props__.__dict__["project"] = project
|
415
|
+
if role is None and not opts.urn:
|
416
|
+
raise TypeError("Missing required property 'role'")
|
417
|
+
__props__.__dict__["role"] = role
|
418
|
+
if workload_identity_pool_id is None and not opts.urn:
|
419
|
+
raise TypeError("Missing required property 'workload_identity_pool_id'")
|
420
|
+
__props__.__dict__["workload_identity_pool_id"] = workload_identity_pool_id
|
421
|
+
__props__.__dict__["etag"] = None
|
422
|
+
super(WorkloadIdentityPoolIamBinding, __self__).__init__(
|
423
|
+
'gcp:iam/workloadIdentityPoolIamBinding:WorkloadIdentityPoolIamBinding',
|
424
|
+
resource_name,
|
425
|
+
__props__,
|
426
|
+
opts)
|
427
|
+
|
428
|
+
@staticmethod
|
429
|
+
def get(resource_name: str,
|
430
|
+
id: pulumi.Input[str],
|
431
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
432
|
+
condition: Optional[pulumi.Input[Union['WorkloadIdentityPoolIamBindingConditionArgs', 'WorkloadIdentityPoolIamBindingConditionArgsDict']]] = None,
|
433
|
+
etag: Optional[pulumi.Input[builtins.str]] = None,
|
434
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
435
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
436
|
+
role: Optional[pulumi.Input[builtins.str]] = None,
|
437
|
+
workload_identity_pool_id: Optional[pulumi.Input[builtins.str]] = None) -> 'WorkloadIdentityPoolIamBinding':
|
438
|
+
"""
|
439
|
+
Get an existing WorkloadIdentityPoolIamBinding resource's state with the given name, id, and optional extra
|
440
|
+
properties used to qualify the lookup.
|
441
|
+
|
442
|
+
:param str resource_name: The unique name of the resulting resource.
|
443
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
444
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
445
|
+
:param pulumi.Input[Union['WorkloadIdentityPoolIamBindingConditionArgs', 'WorkloadIdentityPoolIamBindingConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
446
|
+
Structure is documented below.
|
447
|
+
:param pulumi.Input[builtins.str] etag: (Computed) The etag of the IAM policy.
|
448
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] members: Identities that will be granted the privilege in `role`.
|
449
|
+
Each entry can have one of the following values:
|
450
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
451
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
452
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
453
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
454
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
455
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
456
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
457
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
458
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
459
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
460
|
+
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.
|
461
|
+
:param pulumi.Input[builtins.str] role: The role that should be applied. Only one
|
462
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
463
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
464
|
+
:param pulumi.Input[builtins.str] workload_identity_pool_id: Used to find the parent resource to bind the IAM policy to
|
465
|
+
"""
|
466
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
467
|
+
|
468
|
+
__props__ = _WorkloadIdentityPoolIamBindingState.__new__(_WorkloadIdentityPoolIamBindingState)
|
469
|
+
|
470
|
+
__props__.__dict__["condition"] = condition
|
471
|
+
__props__.__dict__["etag"] = etag
|
472
|
+
__props__.__dict__["members"] = members
|
473
|
+
__props__.__dict__["project"] = project
|
474
|
+
__props__.__dict__["role"] = role
|
475
|
+
__props__.__dict__["workload_identity_pool_id"] = workload_identity_pool_id
|
476
|
+
return WorkloadIdentityPoolIamBinding(resource_name, opts=opts, __props__=__props__)
|
477
|
+
|
478
|
+
@property
|
479
|
+
@pulumi.getter
|
480
|
+
def condition(self) -> pulumi.Output[Optional['outputs.WorkloadIdentityPoolIamBindingCondition']]:
|
481
|
+
"""
|
482
|
+
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
483
|
+
Structure is documented below.
|
484
|
+
"""
|
485
|
+
return pulumi.get(self, "condition")
|
486
|
+
|
487
|
+
@property
|
488
|
+
@pulumi.getter
|
489
|
+
def etag(self) -> pulumi.Output[builtins.str]:
|
490
|
+
"""
|
491
|
+
(Computed) The etag of the IAM policy.
|
492
|
+
"""
|
493
|
+
return pulumi.get(self, "etag")
|
494
|
+
|
495
|
+
@property
|
496
|
+
@pulumi.getter
|
497
|
+
def members(self) -> pulumi.Output[Sequence[builtins.str]]:
|
498
|
+
"""
|
499
|
+
Identities that will be granted the privilege in `role`.
|
500
|
+
Each entry can have one of the following values:
|
501
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
502
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
503
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
504
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
505
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
506
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
507
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
508
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
509
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
510
|
+
"""
|
511
|
+
return pulumi.get(self, "members")
|
512
|
+
|
513
|
+
@property
|
514
|
+
@pulumi.getter
|
515
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
516
|
+
"""
|
517
|
+
The ID of the project in which the resource belongs.
|
518
|
+
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.
|
519
|
+
"""
|
520
|
+
return pulumi.get(self, "project")
|
521
|
+
|
522
|
+
@property
|
523
|
+
@pulumi.getter
|
524
|
+
def role(self) -> pulumi.Output[builtins.str]:
|
525
|
+
"""
|
526
|
+
The role that should be applied. Only one
|
527
|
+
`iam.WorkloadIdentityPoolIamBinding` can be used per role. Note that custom roles must be of the format
|
528
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
529
|
+
"""
|
530
|
+
return pulumi.get(self, "role")
|
531
|
+
|
532
|
+
@property
|
533
|
+
@pulumi.getter(name="workloadIdentityPoolId")
|
534
|
+
def workload_identity_pool_id(self) -> pulumi.Output[builtins.str]:
|
535
|
+
"""
|
536
|
+
Used to find the parent resource to bind the IAM policy to
|
537
|
+
"""
|
538
|
+
return pulumi.get(self, "workload_identity_pool_id")
|
539
|
+
|