pulumi-gcp 8.42.0a1758178363__py3-none-any.whl → 9.0.0__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 +83 -48
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +3 -5
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +1 -1
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +309 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +380 -30
- pulumi_gcp/cloudbuild/trigger.py +160 -2
- pulumi_gcp/cloudbuild/worker_pool.py +2 -6
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +80 -26
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +109 -30
- pulumi_gcp/cloudrunv2/service.py +72 -12
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/compute/_inputs.py +884 -24
- pulumi_gcp/compute/backend_bucket.py +68 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +799 -16
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +466 -18
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +448 -15
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +20 -8
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +8 -0
- pulumi_gcp/iap/_inputs.py +260 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +152 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_forwarding_rule_service_iam_binding.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py} +212 -294
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +14 -84
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/projects/service.py +2 -11
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +12 -0
- pulumi_gcp/saasruntime/_inputs.py +513 -0
- pulumi_gcp/saasruntime/outputs.py +431 -0
- pulumi_gcp/saasruntime/saa_s.py +819 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +94 -0
- pulumi_gcp/sql/get_database_instance.py +23 -1
- pulumi_gcp/sql/outputs.py +276 -3
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +253 -7
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +198 -8
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/vertex/outputs.py +7 -8
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/RECORD +266 -255
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py}
RENAMED
@@ -16,20 +16,19 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
from ._inputs import *
|
18
18
|
|
19
|
-
__all__ = ['
|
19
|
+
__all__ = ['WebForwardingRuleServiceIamMemberArgs', 'WebForwardingRuleServiceIamMember']
|
20
20
|
|
21
21
|
@pulumi.input_type
|
22
|
-
class
|
22
|
+
class WebForwardingRuleServiceIamMemberArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
-
|
24
|
+
forwarding_rule_service_name: pulumi.Input[_builtins.str],
|
25
25
|
member: pulumi.Input[_builtins.str],
|
26
26
|
role: pulumi.Input[_builtins.str],
|
27
|
-
|
28
|
-
condition: Optional[pulumi.Input['ApplicationIamMemberConditionArgs']] = None,
|
27
|
+
condition: Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']] = None,
|
29
28
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
30
29
|
"""
|
31
|
-
The set of arguments for constructing a
|
32
|
-
:param pulumi.Input[_builtins.str]
|
30
|
+
The set of arguments for constructing a WebForwardingRuleServiceIamMember resource.
|
31
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
33
32
|
:param pulumi.Input[_builtins.str] member: Identities that will be granted the privilege in `role`.
|
34
33
|
Each entry can have one of the following values:
|
35
34
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -42,34 +41,32 @@ class ApplicationIamMemberArgs:
|
|
42
41
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
43
42
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
44
43
|
:param pulumi.Input[_builtins.str] role: The role that should be applied. Only one
|
45
|
-
`
|
44
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
46
45
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
47
|
-
:param pulumi.Input[
|
48
|
-
:param pulumi.Input['ApplicationIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
46
|
+
:param pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
49
47
|
Structure is documented below.
|
50
48
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
51
49
|
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.
|
52
50
|
"""
|
53
|
-
pulumi.set(__self__, "
|
51
|
+
pulumi.set(__self__, "forwarding_rule_service_name", forwarding_rule_service_name)
|
54
52
|
pulumi.set(__self__, "member", member)
|
55
53
|
pulumi.set(__self__, "role", role)
|
56
|
-
pulumi.set(__self__, "security_gateways_id", security_gateways_id)
|
57
54
|
if condition is not None:
|
58
55
|
pulumi.set(__self__, "condition", condition)
|
59
56
|
if project is not None:
|
60
57
|
pulumi.set(__self__, "project", project)
|
61
58
|
|
62
59
|
@_builtins.property
|
63
|
-
@pulumi.getter(name="
|
64
|
-
def
|
60
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
61
|
+
def forwarding_rule_service_name(self) -> pulumi.Input[_builtins.str]:
|
65
62
|
"""
|
66
63
|
Used to find the parent resource to bind the IAM policy to
|
67
64
|
"""
|
68
|
-
return pulumi.get(self, "
|
65
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
69
66
|
|
70
|
-
@
|
71
|
-
def
|
72
|
-
pulumi.set(self, "
|
67
|
+
@forwarding_rule_service_name.setter
|
68
|
+
def forwarding_rule_service_name(self, value: pulumi.Input[_builtins.str]):
|
69
|
+
pulumi.set(self, "forwarding_rule_service_name", value)
|
73
70
|
|
74
71
|
@_builtins.property
|
75
72
|
@pulumi.getter
|
@@ -98,7 +95,7 @@ class ApplicationIamMemberArgs:
|
|
98
95
|
def role(self) -> pulumi.Input[_builtins.str]:
|
99
96
|
"""
|
100
97
|
The role that should be applied. Only one
|
101
|
-
`
|
98
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
102
99
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
103
100
|
"""
|
104
101
|
return pulumi.get(self, "role")
|
@@ -107,21 +104,9 @@ class ApplicationIamMemberArgs:
|
|
107
104
|
def role(self, value: pulumi.Input[_builtins.str]):
|
108
105
|
pulumi.set(self, "role", value)
|
109
106
|
|
110
|
-
@_builtins.property
|
111
|
-
@pulumi.getter(name="securityGatewaysId")
|
112
|
-
def security_gateways_id(self) -> pulumi.Input[_builtins.str]:
|
113
|
-
"""
|
114
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
115
|
-
"""
|
116
|
-
return pulumi.get(self, "security_gateways_id")
|
117
|
-
|
118
|
-
@security_gateways_id.setter
|
119
|
-
def security_gateways_id(self, value: pulumi.Input[_builtins.str]):
|
120
|
-
pulumi.set(self, "security_gateways_id", value)
|
121
|
-
|
122
107
|
@_builtins.property
|
123
108
|
@pulumi.getter
|
124
|
-
def condition(self) -> Optional[pulumi.Input['
|
109
|
+
def condition(self) -> Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']]:
|
125
110
|
"""
|
126
111
|
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
127
112
|
Structure is documented below.
|
@@ -129,7 +114,7 @@ class ApplicationIamMemberArgs:
|
|
129
114
|
return pulumi.get(self, "condition")
|
130
115
|
|
131
116
|
@condition.setter
|
132
|
-
def condition(self, value: Optional[pulumi.Input['
|
117
|
+
def condition(self, value: Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']]):
|
133
118
|
pulumi.set(self, "condition", value)
|
134
119
|
|
135
120
|
@_builtins.property
|
@@ -147,21 +132,20 @@ class ApplicationIamMemberArgs:
|
|
147
132
|
|
148
133
|
|
149
134
|
@pulumi.input_type
|
150
|
-
class
|
135
|
+
class _WebForwardingRuleServiceIamMemberState:
|
151
136
|
def __init__(__self__, *,
|
152
|
-
|
153
|
-
condition: Optional[pulumi.Input['ApplicationIamMemberConditionArgs']] = None,
|
137
|
+
condition: Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']] = None,
|
154
138
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
139
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
155
140
|
member: Optional[pulumi.Input[_builtins.str]] = None,
|
156
141
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
157
|
-
role: Optional[pulumi.Input[_builtins.str]] = None
|
158
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None):
|
142
|
+
role: Optional[pulumi.Input[_builtins.str]] = None):
|
159
143
|
"""
|
160
|
-
Input properties used for looking up and filtering
|
161
|
-
:param pulumi.Input[
|
162
|
-
:param pulumi.Input['ApplicationIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
144
|
+
Input properties used for looking up and filtering WebForwardingRuleServiceIamMember resources.
|
145
|
+
:param pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
163
146
|
Structure is documented below.
|
164
147
|
:param pulumi.Input[_builtins.str] etag: (Computed) The etag of the IAM policy.
|
148
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
165
149
|
:param pulumi.Input[_builtins.str] member: Identities that will be granted the privilege in `role`.
|
166
150
|
Each entry can have one of the following values:
|
167
151
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -176,40 +160,25 @@ class _ApplicationIamMemberState:
|
|
176
160
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
177
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.
|
178
162
|
:param pulumi.Input[_builtins.str] role: The role that should be applied. Only one
|
179
|
-
`
|
163
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
180
164
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
181
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
182
165
|
"""
|
183
|
-
if application_id is not None:
|
184
|
-
pulumi.set(__self__, "application_id", application_id)
|
185
166
|
if condition is not None:
|
186
167
|
pulumi.set(__self__, "condition", condition)
|
187
168
|
if etag is not None:
|
188
169
|
pulumi.set(__self__, "etag", etag)
|
170
|
+
if forwarding_rule_service_name is not None:
|
171
|
+
pulumi.set(__self__, "forwarding_rule_service_name", forwarding_rule_service_name)
|
189
172
|
if member is not None:
|
190
173
|
pulumi.set(__self__, "member", member)
|
191
174
|
if project is not None:
|
192
175
|
pulumi.set(__self__, "project", project)
|
193
176
|
if role is not None:
|
194
177
|
pulumi.set(__self__, "role", role)
|
195
|
-
if security_gateways_id is not None:
|
196
|
-
pulumi.set(__self__, "security_gateways_id", security_gateways_id)
|
197
|
-
|
198
|
-
@_builtins.property
|
199
|
-
@pulumi.getter(name="applicationId")
|
200
|
-
def application_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
201
|
-
"""
|
202
|
-
Used to find the parent resource to bind the IAM policy to
|
203
|
-
"""
|
204
|
-
return pulumi.get(self, "application_id")
|
205
|
-
|
206
|
-
@application_id.setter
|
207
|
-
def application_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
208
|
-
pulumi.set(self, "application_id", value)
|
209
178
|
|
210
179
|
@_builtins.property
|
211
180
|
@pulumi.getter
|
212
|
-
def condition(self) -> Optional[pulumi.Input['
|
181
|
+
def condition(self) -> Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']]:
|
213
182
|
"""
|
214
183
|
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
215
184
|
Structure is documented below.
|
@@ -217,7 +186,7 @@ class _ApplicationIamMemberState:
|
|
217
186
|
return pulumi.get(self, "condition")
|
218
187
|
|
219
188
|
@condition.setter
|
220
|
-
def condition(self, value: Optional[pulumi.Input['
|
189
|
+
def condition(self, value: Optional[pulumi.Input['WebForwardingRuleServiceIamMemberConditionArgs']]):
|
221
190
|
pulumi.set(self, "condition", value)
|
222
191
|
|
223
192
|
@_builtins.property
|
@@ -232,6 +201,18 @@ class _ApplicationIamMemberState:
|
|
232
201
|
def etag(self, value: Optional[pulumi.Input[_builtins.str]]):
|
233
202
|
pulumi.set(self, "etag", value)
|
234
203
|
|
204
|
+
@_builtins.property
|
205
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
206
|
+
def forwarding_rule_service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
207
|
+
"""
|
208
|
+
Used to find the parent resource to bind the IAM policy to
|
209
|
+
"""
|
210
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
211
|
+
|
212
|
+
@forwarding_rule_service_name.setter
|
213
|
+
def forwarding_rule_service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
214
|
+
pulumi.set(self, "forwarding_rule_service_name", value)
|
215
|
+
|
235
216
|
@_builtins.property
|
236
217
|
@pulumi.getter
|
237
218
|
def member(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -272,7 +253,7 @@ class _ApplicationIamMemberState:
|
|
272
253
|
def role(self) -> Optional[pulumi.Input[_builtins.str]]:
|
273
254
|
"""
|
274
255
|
The role that should be applied. Only one
|
275
|
-
`
|
256
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
276
257
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
277
258
|
"""
|
278
259
|
return pulumi.get(self, "role")
|
@@ -281,65 +262,49 @@ class _ApplicationIamMemberState:
|
|
281
262
|
def role(self, value: Optional[pulumi.Input[_builtins.str]]):
|
282
263
|
pulumi.set(self, "role", value)
|
283
264
|
|
284
|
-
@_builtins.property
|
285
|
-
@pulumi.getter(name="securityGatewaysId")
|
286
|
-
def security_gateways_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
287
|
-
"""
|
288
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
289
|
-
"""
|
290
|
-
return pulumi.get(self, "security_gateways_id")
|
291
265
|
|
292
|
-
|
293
|
-
|
294
|
-
pulumi.set(self, "security_gateways_id", value)
|
295
|
-
|
296
|
-
|
297
|
-
@pulumi.type_token("gcp:beyondcorp/applicationIamMember:ApplicationIamMember")
|
298
|
-
class ApplicationIamMember(pulumi.CustomResource):
|
266
|
+
@pulumi.type_token("gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember")
|
267
|
+
class WebForwardingRuleServiceIamMember(pulumi.CustomResource):
|
299
268
|
@overload
|
300
269
|
def __init__(__self__,
|
301
270
|
resource_name: str,
|
302
271
|
opts: Optional[pulumi.ResourceOptions] = None,
|
303
|
-
|
304
|
-
|
272
|
+
condition: Optional[pulumi.Input[Union['WebForwardingRuleServiceIamMemberConditionArgs', 'WebForwardingRuleServiceIamMemberConditionArgsDict']]] = None,
|
273
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
305
274
|
member: Optional[pulumi.Input[_builtins.str]] = None,
|
306
275
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
307
276
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
308
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
|
309
277
|
__props__=None):
|
310
278
|
"""
|
311
|
-
|
312
|
-
|
313
|
-
Three different resources help you manage your IAM policy for BeyondCorp Application. Each of these resources serves a different use case:
|
279
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
314
280
|
|
315
|
-
* `
|
316
|
-
* `
|
317
|
-
* `
|
281
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
282
|
+
* `iap.WebForwardingRuleServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the webforwardingruleservice are preserved.
|
283
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
318
284
|
|
319
285
|
A data source can be used to retrieve policy data in advent you do not need creation
|
320
286
|
|
321
|
-
* `
|
287
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
322
288
|
|
323
|
-
> **Note:** `
|
289
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
324
290
|
|
325
|
-
> **Note:** `
|
291
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
326
292
|
|
327
293
|
> **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.
|
328
294
|
|
329
|
-
##
|
295
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
330
296
|
|
331
297
|
```python
|
332
298
|
import pulumi
|
333
299
|
import pulumi_gcp as gcp
|
334
300
|
|
335
301
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
336
|
-
"role": "roles/
|
302
|
+
"role": "roles/iap.httpsResourceAccessor",
|
337
303
|
"members": ["user:jane@example.com"],
|
338
304
|
}])
|
339
|
-
policy = gcp.
|
340
|
-
project=
|
341
|
-
|
342
|
-
application_id=example["applicationId"],
|
305
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
306
|
+
project=default["project"],
|
307
|
+
forwarding_rule_service_name=default["name"],
|
343
308
|
policy_data=admin.policy_data)
|
344
309
|
```
|
345
310
|
|
@@ -350,7 +315,7 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
350
315
|
import pulumi_gcp as gcp
|
351
316
|
|
352
317
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
353
|
-
"role": "roles/
|
318
|
+
"role": "roles/iap.httpsResourceAccessor",
|
354
319
|
"members": ["user:jane@example.com"],
|
355
320
|
"condition": {
|
356
321
|
"title": "expires_after_2019_12_31",
|
@@ -358,23 +323,21 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
358
323
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
359
324
|
},
|
360
325
|
}])
|
361
|
-
policy = gcp.
|
362
|
-
project=
|
363
|
-
|
364
|
-
application_id=example["applicationId"],
|
326
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
327
|
+
project=default["project"],
|
328
|
+
forwarding_rule_service_name=default["name"],
|
365
329
|
policy_data=admin.policy_data)
|
366
330
|
```
|
367
|
-
##
|
331
|
+
## iap.WebForwardingRuleServiceIamBinding
|
368
332
|
|
369
333
|
```python
|
370
334
|
import pulumi
|
371
335
|
import pulumi_gcp as gcp
|
372
336
|
|
373
|
-
binding = gcp.
|
374
|
-
project=
|
375
|
-
|
376
|
-
|
377
|
-
role="roles/beyondcorp.securityGatewayUser",
|
337
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
338
|
+
project=default["project"],
|
339
|
+
forwarding_rule_service_name=default["name"],
|
340
|
+
role="roles/iap.httpsResourceAccessor",
|
378
341
|
members=["user:jane@example.com"])
|
379
342
|
```
|
380
343
|
|
@@ -384,11 +347,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
384
347
|
import pulumi
|
385
348
|
import pulumi_gcp as gcp
|
386
349
|
|
387
|
-
binding = gcp.
|
388
|
-
project=
|
389
|
-
|
390
|
-
|
391
|
-
role="roles/beyondcorp.securityGatewayUser",
|
350
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
351
|
+
project=default["project"],
|
352
|
+
forwarding_rule_service_name=default["name"],
|
353
|
+
role="roles/iap.httpsResourceAccessor",
|
392
354
|
members=["user:jane@example.com"],
|
393
355
|
condition={
|
394
356
|
"title": "expires_after_2019_12_31",
|
@@ -396,17 +358,16 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
396
358
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
397
359
|
})
|
398
360
|
```
|
399
|
-
##
|
361
|
+
## iap.WebForwardingRuleServiceIamMember
|
400
362
|
|
401
363
|
```python
|
402
364
|
import pulumi
|
403
365
|
import pulumi_gcp as gcp
|
404
366
|
|
405
|
-
member = gcp.
|
406
|
-
project=
|
407
|
-
|
408
|
-
|
409
|
-
role="roles/beyondcorp.securityGatewayUser",
|
367
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
368
|
+
project=default["project"],
|
369
|
+
forwarding_rule_service_name=default["name"],
|
370
|
+
role="roles/iap.httpsResourceAccessor",
|
410
371
|
member="user:jane@example.com")
|
411
372
|
```
|
412
373
|
|
@@ -416,11 +377,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
416
377
|
import pulumi
|
417
378
|
import pulumi_gcp as gcp
|
418
379
|
|
419
|
-
member = gcp.
|
420
|
-
project=
|
421
|
-
|
422
|
-
|
423
|
-
role="roles/beyondcorp.securityGatewayUser",
|
380
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
381
|
+
project=default["project"],
|
382
|
+
forwarding_rule_service_name=default["name"],
|
383
|
+
role="roles/iap.httpsResourceAccessor",
|
424
384
|
member="user:jane@example.com",
|
425
385
|
condition={
|
426
386
|
"title": "expires_after_2019_12_31",
|
@@ -433,39 +393,37 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
433
393
|
|
434
394
|
-
|
435
395
|
|
436
|
-
# IAM policy for
|
437
|
-
> **Warning:** `beyondcorp.Application` and associated IAM resources are deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
|
396
|
+
# IAM policy for Identity-Aware Proxy WebForwardingRuleService
|
438
397
|
|
439
|
-
Three different resources help you manage your IAM policy for
|
398
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
440
399
|
|
441
|
-
* `
|
442
|
-
* `
|
443
|
-
* `
|
400
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
401
|
+
* `iap.WebForwardingRuleServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the webforwardingruleservice are preserved.
|
402
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
444
403
|
|
445
404
|
A data source can be used to retrieve policy data in advent you do not need creation
|
446
405
|
|
447
|
-
* `
|
406
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
448
407
|
|
449
|
-
> **Note:** `
|
408
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
450
409
|
|
451
|
-
> **Note:** `
|
410
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
452
411
|
|
453
412
|
> **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.
|
454
413
|
|
455
|
-
##
|
414
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
456
415
|
|
457
416
|
```python
|
458
417
|
import pulumi
|
459
418
|
import pulumi_gcp as gcp
|
460
419
|
|
461
420
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
462
|
-
"role": "roles/
|
421
|
+
"role": "roles/iap.httpsResourceAccessor",
|
463
422
|
"members": ["user:jane@example.com"],
|
464
423
|
}])
|
465
|
-
policy = gcp.
|
466
|
-
project=
|
467
|
-
|
468
|
-
application_id=example["applicationId"],
|
424
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
425
|
+
project=default["project"],
|
426
|
+
forwarding_rule_service_name=default["name"],
|
469
427
|
policy_data=admin.policy_data)
|
470
428
|
```
|
471
429
|
|
@@ -476,7 +434,7 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
476
434
|
import pulumi_gcp as gcp
|
477
435
|
|
478
436
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
479
|
-
"role": "roles/
|
437
|
+
"role": "roles/iap.httpsResourceAccessor",
|
480
438
|
"members": ["user:jane@example.com"],
|
481
439
|
"condition": {
|
482
440
|
"title": "expires_after_2019_12_31",
|
@@ -484,23 +442,21 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
484
442
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
485
443
|
},
|
486
444
|
}])
|
487
|
-
policy = gcp.
|
488
|
-
project=
|
489
|
-
|
490
|
-
application_id=example["applicationId"],
|
445
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
446
|
+
project=default["project"],
|
447
|
+
forwarding_rule_service_name=default["name"],
|
491
448
|
policy_data=admin.policy_data)
|
492
449
|
```
|
493
|
-
##
|
450
|
+
## iap.WebForwardingRuleServiceIamBinding
|
494
451
|
|
495
452
|
```python
|
496
453
|
import pulumi
|
497
454
|
import pulumi_gcp as gcp
|
498
455
|
|
499
|
-
binding = gcp.
|
500
|
-
project=
|
501
|
-
|
502
|
-
|
503
|
-
role="roles/beyondcorp.securityGatewayUser",
|
456
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
457
|
+
project=default["project"],
|
458
|
+
forwarding_rule_service_name=default["name"],
|
459
|
+
role="roles/iap.httpsResourceAccessor",
|
504
460
|
members=["user:jane@example.com"])
|
505
461
|
```
|
506
462
|
|
@@ -510,11 +466,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
510
466
|
import pulumi
|
511
467
|
import pulumi_gcp as gcp
|
512
468
|
|
513
|
-
binding = gcp.
|
514
|
-
project=
|
515
|
-
|
516
|
-
|
517
|
-
role="roles/beyondcorp.securityGatewayUser",
|
469
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
470
|
+
project=default["project"],
|
471
|
+
forwarding_rule_service_name=default["name"],
|
472
|
+
role="roles/iap.httpsResourceAccessor",
|
518
473
|
members=["user:jane@example.com"],
|
519
474
|
condition={
|
520
475
|
"title": "expires_after_2019_12_31",
|
@@ -522,17 +477,16 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
522
477
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
523
478
|
})
|
524
479
|
```
|
525
|
-
##
|
480
|
+
## iap.WebForwardingRuleServiceIamMember
|
526
481
|
|
527
482
|
```python
|
528
483
|
import pulumi
|
529
484
|
import pulumi_gcp as gcp
|
530
485
|
|
531
|
-
member = gcp.
|
532
|
-
project=
|
533
|
-
|
534
|
-
|
535
|
-
role="roles/beyondcorp.securityGatewayUser",
|
486
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
487
|
+
project=default["project"],
|
488
|
+
forwarding_rule_service_name=default["name"],
|
489
|
+
role="roles/iap.httpsResourceAccessor",
|
536
490
|
member="user:jane@example.com")
|
537
491
|
```
|
538
492
|
|
@@ -542,11 +496,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
542
496
|
import pulumi
|
543
497
|
import pulumi_gcp as gcp
|
544
498
|
|
545
|
-
member = gcp.
|
546
|
-
project=
|
547
|
-
|
548
|
-
|
549
|
-
role="roles/beyondcorp.securityGatewayUser",
|
499
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
500
|
+
project=default["project"],
|
501
|
+
forwarding_rule_service_name=default["name"],
|
502
|
+
role="roles/iap.httpsResourceAccessor",
|
550
503
|
member="user:jane@example.com",
|
551
504
|
condition={
|
552
505
|
"title": "expires_after_2019_12_31",
|
@@ -559,34 +512,32 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
559
512
|
|
560
513
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
561
514
|
|
562
|
-
* projects/{{project}}/
|
515
|
+
* projects/{{project}}/iap_web/forwarding_rule/services/{{name}}
|
563
516
|
|
564
|
-
* {{project}}/{{
|
517
|
+
* {{project}}/{{name}}
|
565
518
|
|
566
|
-
* {{
|
567
|
-
|
568
|
-
* {{application_id}}
|
519
|
+
* {{name}}
|
569
520
|
|
570
521
|
Any variables not passed in the import command will be taken from the provider configuration.
|
571
522
|
|
572
|
-
|
523
|
+
Identity-Aware Proxy webforwardingruleservice IAM resources can be imported using the resource identifiers, role, and member.
|
573
524
|
|
574
525
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
575
526
|
|
576
527
|
```sh
|
577
|
-
$ pulumi import gcp:
|
528
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor user:jane@example.com"
|
578
529
|
```
|
579
530
|
|
580
531
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
581
532
|
|
582
533
|
```sh
|
583
|
-
$ pulumi import gcp:
|
534
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor"
|
584
535
|
```
|
585
536
|
|
586
537
|
IAM policy imports use the identifier of the resource in question, e.g.
|
587
538
|
|
588
539
|
```sh
|
589
|
-
$ pulumi import gcp:
|
540
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}}
|
590
541
|
```
|
591
542
|
|
592
543
|
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -595,9 +546,9 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
595
546
|
|
596
547
|
:param str resource_name: The name of the resource.
|
597
548
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
598
|
-
:param pulumi.Input[
|
599
|
-
:param pulumi.Input[Union['ApplicationIamMemberConditionArgs', 'ApplicationIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
549
|
+
:param pulumi.Input[Union['WebForwardingRuleServiceIamMemberConditionArgs', 'WebForwardingRuleServiceIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
600
550
|
Structure is documented below.
|
551
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
601
552
|
:param pulumi.Input[_builtins.str] member: Identities that will be granted the privilege in `role`.
|
602
553
|
Each entry can have one of the following values:
|
603
554
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -612,49 +563,45 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
612
563
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
613
564
|
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.
|
614
565
|
:param pulumi.Input[_builtins.str] role: The role that should be applied. Only one
|
615
|
-
`
|
566
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
616
567
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
617
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
618
568
|
"""
|
619
569
|
...
|
620
570
|
@overload
|
621
571
|
def __init__(__self__,
|
622
572
|
resource_name: str,
|
623
|
-
args:
|
573
|
+
args: WebForwardingRuleServiceIamMemberArgs,
|
624
574
|
opts: Optional[pulumi.ResourceOptions] = None):
|
625
575
|
"""
|
626
|
-
|
627
|
-
|
628
|
-
Three different resources help you manage your IAM policy for BeyondCorp Application. Each of these resources serves a different use case:
|
576
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
629
577
|
|
630
|
-
* `
|
631
|
-
* `
|
632
|
-
* `
|
578
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
579
|
+
* `iap.WebForwardingRuleServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the webforwardingruleservice are preserved.
|
580
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
633
581
|
|
634
582
|
A data source can be used to retrieve policy data in advent you do not need creation
|
635
583
|
|
636
|
-
* `
|
584
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
637
585
|
|
638
|
-
> **Note:** `
|
586
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
639
587
|
|
640
|
-
> **Note:** `
|
588
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
641
589
|
|
642
590
|
> **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.
|
643
591
|
|
644
|
-
##
|
592
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
645
593
|
|
646
594
|
```python
|
647
595
|
import pulumi
|
648
596
|
import pulumi_gcp as gcp
|
649
597
|
|
650
598
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
651
|
-
"role": "roles/
|
599
|
+
"role": "roles/iap.httpsResourceAccessor",
|
652
600
|
"members": ["user:jane@example.com"],
|
653
601
|
}])
|
654
|
-
policy = gcp.
|
655
|
-
project=
|
656
|
-
|
657
|
-
application_id=example["applicationId"],
|
602
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
603
|
+
project=default["project"],
|
604
|
+
forwarding_rule_service_name=default["name"],
|
658
605
|
policy_data=admin.policy_data)
|
659
606
|
```
|
660
607
|
|
@@ -665,7 +612,7 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
665
612
|
import pulumi_gcp as gcp
|
666
613
|
|
667
614
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
668
|
-
"role": "roles/
|
615
|
+
"role": "roles/iap.httpsResourceAccessor",
|
669
616
|
"members": ["user:jane@example.com"],
|
670
617
|
"condition": {
|
671
618
|
"title": "expires_after_2019_12_31",
|
@@ -673,23 +620,21 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
673
620
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
674
621
|
},
|
675
622
|
}])
|
676
|
-
policy = gcp.
|
677
|
-
project=
|
678
|
-
|
679
|
-
application_id=example["applicationId"],
|
623
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
624
|
+
project=default["project"],
|
625
|
+
forwarding_rule_service_name=default["name"],
|
680
626
|
policy_data=admin.policy_data)
|
681
627
|
```
|
682
|
-
##
|
628
|
+
## iap.WebForwardingRuleServiceIamBinding
|
683
629
|
|
684
630
|
```python
|
685
631
|
import pulumi
|
686
632
|
import pulumi_gcp as gcp
|
687
633
|
|
688
|
-
binding = gcp.
|
689
|
-
project=
|
690
|
-
|
691
|
-
|
692
|
-
role="roles/beyondcorp.securityGatewayUser",
|
634
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
635
|
+
project=default["project"],
|
636
|
+
forwarding_rule_service_name=default["name"],
|
637
|
+
role="roles/iap.httpsResourceAccessor",
|
693
638
|
members=["user:jane@example.com"])
|
694
639
|
```
|
695
640
|
|
@@ -699,11 +644,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
699
644
|
import pulumi
|
700
645
|
import pulumi_gcp as gcp
|
701
646
|
|
702
|
-
binding = gcp.
|
703
|
-
project=
|
704
|
-
|
705
|
-
|
706
|
-
role="roles/beyondcorp.securityGatewayUser",
|
647
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
648
|
+
project=default["project"],
|
649
|
+
forwarding_rule_service_name=default["name"],
|
650
|
+
role="roles/iap.httpsResourceAccessor",
|
707
651
|
members=["user:jane@example.com"],
|
708
652
|
condition={
|
709
653
|
"title": "expires_after_2019_12_31",
|
@@ -711,17 +655,16 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
711
655
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
712
656
|
})
|
713
657
|
```
|
714
|
-
##
|
658
|
+
## iap.WebForwardingRuleServiceIamMember
|
715
659
|
|
716
660
|
```python
|
717
661
|
import pulumi
|
718
662
|
import pulumi_gcp as gcp
|
719
663
|
|
720
|
-
member = gcp.
|
721
|
-
project=
|
722
|
-
|
723
|
-
|
724
|
-
role="roles/beyondcorp.securityGatewayUser",
|
664
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
665
|
+
project=default["project"],
|
666
|
+
forwarding_rule_service_name=default["name"],
|
667
|
+
role="roles/iap.httpsResourceAccessor",
|
725
668
|
member="user:jane@example.com")
|
726
669
|
```
|
727
670
|
|
@@ -731,11 +674,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
731
674
|
import pulumi
|
732
675
|
import pulumi_gcp as gcp
|
733
676
|
|
734
|
-
member = gcp.
|
735
|
-
project=
|
736
|
-
|
737
|
-
|
738
|
-
role="roles/beyondcorp.securityGatewayUser",
|
677
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
678
|
+
project=default["project"],
|
679
|
+
forwarding_rule_service_name=default["name"],
|
680
|
+
role="roles/iap.httpsResourceAccessor",
|
739
681
|
member="user:jane@example.com",
|
740
682
|
condition={
|
741
683
|
"title": "expires_after_2019_12_31",
|
@@ -748,39 +690,37 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
748
690
|
|
749
691
|
-
|
750
692
|
|
751
|
-
# IAM policy for
|
752
|
-
> **Warning:** `beyondcorp.Application` and associated IAM resources are deprecated. Use `beyondcorp.SecurityGatewayApplication` instead.
|
693
|
+
# IAM policy for Identity-Aware Proxy WebForwardingRuleService
|
753
694
|
|
754
|
-
Three different resources help you manage your IAM policy for
|
695
|
+
Three different resources help you manage your IAM policy for Identity-Aware Proxy WebForwardingRuleService. Each of these resources serves a different use case:
|
755
696
|
|
756
|
-
* `
|
757
|
-
* `
|
758
|
-
* `
|
697
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Authoritative. Sets the IAM policy for the webforwardingruleservice and replaces any existing policy already attached.
|
698
|
+
* `iap.WebForwardingRuleServiceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the webforwardingruleservice are preserved.
|
699
|
+
* `iap.WebForwardingRuleServiceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the webforwardingruleservice are preserved.
|
759
700
|
|
760
701
|
A data source can be used to retrieve policy data in advent you do not need creation
|
761
702
|
|
762
|
-
* `
|
703
|
+
* `iap.WebForwardingRuleServiceIamPolicy`: Retrieves the IAM policy for the webforwardingruleservice
|
763
704
|
|
764
|
-
> **Note:** `
|
705
|
+
> **Note:** `iap.WebForwardingRuleServiceIamPolicy` **cannot** be used in conjunction with `iap.WebForwardingRuleServiceIamBinding` and `iap.WebForwardingRuleServiceIamMember` or they will fight over what your policy should be.
|
765
706
|
|
766
|
-
> **Note:** `
|
707
|
+
> **Note:** `iap.WebForwardingRuleServiceIamBinding` resources **can be** used in conjunction with `iap.WebForwardingRuleServiceIamMember` resources **only if** they do not grant privilege to the same role.
|
767
708
|
|
768
709
|
> **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.
|
769
710
|
|
770
|
-
##
|
711
|
+
## iap.WebForwardingRuleServiceIamPolicy
|
771
712
|
|
772
713
|
```python
|
773
714
|
import pulumi
|
774
715
|
import pulumi_gcp as gcp
|
775
716
|
|
776
717
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
777
|
-
"role": "roles/
|
718
|
+
"role": "roles/iap.httpsResourceAccessor",
|
778
719
|
"members": ["user:jane@example.com"],
|
779
720
|
}])
|
780
|
-
policy = gcp.
|
781
|
-
project=
|
782
|
-
|
783
|
-
application_id=example["applicationId"],
|
721
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
722
|
+
project=default["project"],
|
723
|
+
forwarding_rule_service_name=default["name"],
|
784
724
|
policy_data=admin.policy_data)
|
785
725
|
```
|
786
726
|
|
@@ -791,7 +731,7 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
791
731
|
import pulumi_gcp as gcp
|
792
732
|
|
793
733
|
admin = gcp.organizations.get_iam_policy(bindings=[{
|
794
|
-
"role": "roles/
|
734
|
+
"role": "roles/iap.httpsResourceAccessor",
|
795
735
|
"members": ["user:jane@example.com"],
|
796
736
|
"condition": {
|
797
737
|
"title": "expires_after_2019_12_31",
|
@@ -799,23 +739,21 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
799
739
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
800
740
|
},
|
801
741
|
}])
|
802
|
-
policy = gcp.
|
803
|
-
project=
|
804
|
-
|
805
|
-
application_id=example["applicationId"],
|
742
|
+
policy = gcp.iap.WebForwardingRuleServiceIamPolicy("policy",
|
743
|
+
project=default["project"],
|
744
|
+
forwarding_rule_service_name=default["name"],
|
806
745
|
policy_data=admin.policy_data)
|
807
746
|
```
|
808
|
-
##
|
747
|
+
## iap.WebForwardingRuleServiceIamBinding
|
809
748
|
|
810
749
|
```python
|
811
750
|
import pulumi
|
812
751
|
import pulumi_gcp as gcp
|
813
752
|
|
814
|
-
binding = gcp.
|
815
|
-
project=
|
816
|
-
|
817
|
-
|
818
|
-
role="roles/beyondcorp.securityGatewayUser",
|
753
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
754
|
+
project=default["project"],
|
755
|
+
forwarding_rule_service_name=default["name"],
|
756
|
+
role="roles/iap.httpsResourceAccessor",
|
819
757
|
members=["user:jane@example.com"])
|
820
758
|
```
|
821
759
|
|
@@ -825,11 +763,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
825
763
|
import pulumi
|
826
764
|
import pulumi_gcp as gcp
|
827
765
|
|
828
|
-
binding = gcp.
|
829
|
-
project=
|
830
|
-
|
831
|
-
|
832
|
-
role="roles/beyondcorp.securityGatewayUser",
|
766
|
+
binding = gcp.iap.WebForwardingRuleServiceIamBinding("binding",
|
767
|
+
project=default["project"],
|
768
|
+
forwarding_rule_service_name=default["name"],
|
769
|
+
role="roles/iap.httpsResourceAccessor",
|
833
770
|
members=["user:jane@example.com"],
|
834
771
|
condition={
|
835
772
|
"title": "expires_after_2019_12_31",
|
@@ -837,17 +774,16 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
837
774
|
"expression": "request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
838
775
|
})
|
839
776
|
```
|
840
|
-
##
|
777
|
+
## iap.WebForwardingRuleServiceIamMember
|
841
778
|
|
842
779
|
```python
|
843
780
|
import pulumi
|
844
781
|
import pulumi_gcp as gcp
|
845
782
|
|
846
|
-
member = gcp.
|
847
|
-
project=
|
848
|
-
|
849
|
-
|
850
|
-
role="roles/beyondcorp.securityGatewayUser",
|
783
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
784
|
+
project=default["project"],
|
785
|
+
forwarding_rule_service_name=default["name"],
|
786
|
+
role="roles/iap.httpsResourceAccessor",
|
851
787
|
member="user:jane@example.com")
|
852
788
|
```
|
853
789
|
|
@@ -857,11 +793,10 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
857
793
|
import pulumi
|
858
794
|
import pulumi_gcp as gcp
|
859
795
|
|
860
|
-
member = gcp.
|
861
|
-
project=
|
862
|
-
|
863
|
-
|
864
|
-
role="roles/beyondcorp.securityGatewayUser",
|
796
|
+
member = gcp.iap.WebForwardingRuleServiceIamMember("member",
|
797
|
+
project=default["project"],
|
798
|
+
forwarding_rule_service_name=default["name"],
|
799
|
+
role="roles/iap.httpsResourceAccessor",
|
865
800
|
member="user:jane@example.com",
|
866
801
|
condition={
|
867
802
|
"title": "expires_after_2019_12_31",
|
@@ -874,34 +809,32 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
874
809
|
|
875
810
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
876
811
|
|
877
|
-
* projects/{{project}}/
|
812
|
+
* projects/{{project}}/iap_web/forwarding_rule/services/{{name}}
|
878
813
|
|
879
|
-
* {{project}}/{{
|
814
|
+
* {{project}}/{{name}}
|
880
815
|
|
881
|
-
* {{
|
882
|
-
|
883
|
-
* {{application_id}}
|
816
|
+
* {{name}}
|
884
817
|
|
885
818
|
Any variables not passed in the import command will be taken from the provider configuration.
|
886
819
|
|
887
|
-
|
820
|
+
Identity-Aware Proxy webforwardingruleservice IAM resources can be imported using the resource identifiers, role, and member.
|
888
821
|
|
889
822
|
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
|
890
823
|
|
891
824
|
```sh
|
892
|
-
$ pulumi import gcp:
|
825
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor user:jane@example.com"
|
893
826
|
```
|
894
827
|
|
895
828
|
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
|
896
829
|
|
897
830
|
```sh
|
898
|
-
$ pulumi import gcp:
|
831
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor "projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}} roles/iap.httpsResourceAccessor"
|
899
832
|
```
|
900
833
|
|
901
834
|
IAM policy imports use the identifier of the resource in question, e.g.
|
902
835
|
|
903
836
|
```sh
|
904
|
-
$ pulumi import gcp:
|
837
|
+
$ pulumi import gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember editor projects/{{project}}/iap_web/forwarding_rule/services/{{web_forwarding_rule_service}}
|
905
838
|
```
|
906
839
|
|
907
840
|
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
|
@@ -909,12 +842,12 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
909
842
|
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
910
843
|
|
911
844
|
:param str resource_name: The name of the resource.
|
912
|
-
:param
|
845
|
+
:param WebForwardingRuleServiceIamMemberArgs args: The arguments to use to populate this resource's properties.
|
913
846
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
914
847
|
"""
|
915
848
|
...
|
916
849
|
def __init__(__self__, resource_name: str, *args, **kwargs):
|
917
|
-
resource_args, opts = _utilities.get_resource_args_opts(
|
850
|
+
resource_args, opts = _utilities.get_resource_args_opts(WebForwardingRuleServiceIamMemberArgs, pulumi.ResourceOptions, *args, **kwargs)
|
918
851
|
if resource_args is not None:
|
919
852
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
920
853
|
else:
|
@@ -923,12 +856,11 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
923
856
|
def _internal_init(__self__,
|
924
857
|
resource_name: str,
|
925
858
|
opts: Optional[pulumi.ResourceOptions] = None,
|
926
|
-
|
927
|
-
|
859
|
+
condition: Optional[pulumi.Input[Union['WebForwardingRuleServiceIamMemberConditionArgs', 'WebForwardingRuleServiceIamMemberConditionArgsDict']]] = None,
|
860
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
928
861
|
member: Optional[pulumi.Input[_builtins.str]] = None,
|
929
862
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
930
863
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
931
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None,
|
932
864
|
__props__=None):
|
933
865
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
934
866
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -936,12 +868,12 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
936
868
|
if opts.id is None:
|
937
869
|
if __props__ is not None:
|
938
870
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
939
|
-
__props__ =
|
871
|
+
__props__ = WebForwardingRuleServiceIamMemberArgs.__new__(WebForwardingRuleServiceIamMemberArgs)
|
940
872
|
|
941
|
-
if application_id is None and not opts.urn:
|
942
|
-
raise TypeError("Missing required property 'application_id'")
|
943
|
-
__props__.__dict__["application_id"] = application_id
|
944
873
|
__props__.__dict__["condition"] = condition
|
874
|
+
if forwarding_rule_service_name is None and not opts.urn:
|
875
|
+
raise TypeError("Missing required property 'forwarding_rule_service_name'")
|
876
|
+
__props__.__dict__["forwarding_rule_service_name"] = forwarding_rule_service_name
|
945
877
|
if member is None and not opts.urn:
|
946
878
|
raise TypeError("Missing required property 'member'")
|
947
879
|
__props__.__dict__["member"] = member
|
@@ -949,12 +881,9 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
949
881
|
if role is None and not opts.urn:
|
950
882
|
raise TypeError("Missing required property 'role'")
|
951
883
|
__props__.__dict__["role"] = role
|
952
|
-
if security_gateways_id is None and not opts.urn:
|
953
|
-
raise TypeError("Missing required property 'security_gateways_id'")
|
954
|
-
__props__.__dict__["security_gateways_id"] = security_gateways_id
|
955
884
|
__props__.__dict__["etag"] = None
|
956
|
-
super(
|
957
|
-
'gcp:
|
885
|
+
super(WebForwardingRuleServiceIamMember, __self__).__init__(
|
886
|
+
'gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember',
|
958
887
|
resource_name,
|
959
888
|
__props__,
|
960
889
|
opts)
|
@@ -963,24 +892,23 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
963
892
|
def get(resource_name: str,
|
964
893
|
id: pulumi.Input[str],
|
965
894
|
opts: Optional[pulumi.ResourceOptions] = None,
|
966
|
-
|
967
|
-
condition: Optional[pulumi.Input[Union['ApplicationIamMemberConditionArgs', 'ApplicationIamMemberConditionArgsDict']]] = None,
|
895
|
+
condition: Optional[pulumi.Input[Union['WebForwardingRuleServiceIamMemberConditionArgs', 'WebForwardingRuleServiceIamMemberConditionArgsDict']]] = None,
|
968
896
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
897
|
+
forwarding_rule_service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
969
898
|
member: Optional[pulumi.Input[_builtins.str]] = None,
|
970
899
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
971
|
-
role: Optional[pulumi.Input[_builtins.str]] = None
|
972
|
-
security_gateways_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ApplicationIamMember':
|
900
|
+
role: Optional[pulumi.Input[_builtins.str]] = None) -> 'WebForwardingRuleServiceIamMember':
|
973
901
|
"""
|
974
|
-
Get an existing
|
902
|
+
Get an existing WebForwardingRuleServiceIamMember resource's state with the given name, id, and optional extra
|
975
903
|
properties used to qualify the lookup.
|
976
904
|
|
977
905
|
:param str resource_name: The unique name of the resulting resource.
|
978
906
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
979
907
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
980
|
-
:param pulumi.Input[
|
981
|
-
:param pulumi.Input[Union['ApplicationIamMemberConditionArgs', 'ApplicationIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
908
|
+
:param pulumi.Input[Union['WebForwardingRuleServiceIamMemberConditionArgs', 'WebForwardingRuleServiceIamMemberConditionArgsDict']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
982
909
|
Structure is documented below.
|
983
910
|
:param pulumi.Input[_builtins.str] etag: (Computed) The etag of the IAM policy.
|
911
|
+
:param pulumi.Input[_builtins.str] forwarding_rule_service_name: Used to find the parent resource to bind the IAM policy to
|
984
912
|
:param pulumi.Input[_builtins.str] member: Identities that will be granted the privilege in `role`.
|
985
913
|
Each entry can have one of the following values:
|
986
914
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
@@ -995,34 +923,24 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
995
923
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
996
924
|
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.
|
997
925
|
:param pulumi.Input[_builtins.str] role: The role that should be applied. Only one
|
998
|
-
`
|
926
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
999
927
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
1000
|
-
:param pulumi.Input[_builtins.str] security_gateways_id: Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
1001
928
|
"""
|
1002
929
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1003
930
|
|
1004
|
-
__props__ =
|
931
|
+
__props__ = _WebForwardingRuleServiceIamMemberState.__new__(_WebForwardingRuleServiceIamMemberState)
|
1005
932
|
|
1006
|
-
__props__.__dict__["application_id"] = application_id
|
1007
933
|
__props__.__dict__["condition"] = condition
|
1008
934
|
__props__.__dict__["etag"] = etag
|
935
|
+
__props__.__dict__["forwarding_rule_service_name"] = forwarding_rule_service_name
|
1009
936
|
__props__.__dict__["member"] = member
|
1010
937
|
__props__.__dict__["project"] = project
|
1011
938
|
__props__.__dict__["role"] = role
|
1012
|
-
|
1013
|
-
return ApplicationIamMember(resource_name, opts=opts, __props__=__props__)
|
1014
|
-
|
1015
|
-
@_builtins.property
|
1016
|
-
@pulumi.getter(name="applicationId")
|
1017
|
-
def application_id(self) -> pulumi.Output[_builtins.str]:
|
1018
|
-
"""
|
1019
|
-
Used to find the parent resource to bind the IAM policy to
|
1020
|
-
"""
|
1021
|
-
return pulumi.get(self, "application_id")
|
939
|
+
return WebForwardingRuleServiceIamMember(resource_name, opts=opts, __props__=__props__)
|
1022
940
|
|
1023
941
|
@_builtins.property
|
1024
942
|
@pulumi.getter
|
1025
|
-
def condition(self) -> pulumi.Output[Optional['outputs.
|
943
|
+
def condition(self) -> pulumi.Output[Optional['outputs.WebForwardingRuleServiceIamMemberCondition']]:
|
1026
944
|
"""
|
1027
945
|
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
1028
946
|
Structure is documented below.
|
@@ -1037,6 +955,14 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
1037
955
|
"""
|
1038
956
|
return pulumi.get(self, "etag")
|
1039
957
|
|
958
|
+
@_builtins.property
|
959
|
+
@pulumi.getter(name="forwardingRuleServiceName")
|
960
|
+
def forwarding_rule_service_name(self) -> pulumi.Output[_builtins.str]:
|
961
|
+
"""
|
962
|
+
Used to find the parent resource to bind the IAM policy to
|
963
|
+
"""
|
964
|
+
return pulumi.get(self, "forwarding_rule_service_name")
|
965
|
+
|
1040
966
|
@_builtins.property
|
1041
967
|
@pulumi.getter
|
1042
968
|
def member(self) -> pulumi.Output[_builtins.str]:
|
@@ -1069,16 +995,8 @@ class ApplicationIamMember(pulumi.CustomResource):
|
|
1069
995
|
def role(self) -> pulumi.Output[_builtins.str]:
|
1070
996
|
"""
|
1071
997
|
The role that should be applied. Only one
|
1072
|
-
`
|
998
|
+
`iap.WebForwardingRuleServiceIamBinding` can be used per role. Note that custom roles must be of the format
|
1073
999
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
1074
1000
|
"""
|
1075
1001
|
return pulumi.get(self, "role")
|
1076
1002
|
|
1077
|
-
@_builtins.property
|
1078
|
-
@pulumi.getter(name="securityGatewaysId")
|
1079
|
-
def security_gateways_id(self) -> pulumi.Output[_builtins.str]:
|
1080
|
-
"""
|
1081
|
-
Part of `parent`. See documentation of `projectsId`. Used to find the parent resource to bind the IAM policy to
|
1082
|
-
"""
|
1083
|
-
return pulumi.get(self, "security_gateways_id")
|
1084
|
-
|