Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Retrieves the current IAM policy data for icebergnamespace
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const policy = gcp.biglake.getIcebergNamespaceIamPolicy({
project: myIcebergNamespace.project,
catalog: myIcebergNamespace.catalog,
namespaceId: myIcebergNamespace.id,
});
import pulumi
import pulumi_gcp as gcp
policy = gcp.biglake.get_iceberg_namespace_iam_policy(project=my_iceberg_namespace["project"],
catalog=my_iceberg_namespace["catalog"],
namespace_id=my_iceberg_namespace["id"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.LookupIcebergNamespaceIamPolicy(ctx, &biglake.LookupIcebergNamespaceIamPolicyArgs{
Project: pulumi.StringRef(myIcebergNamespace.Project),
Catalog: myIcebergNamespace.Catalog,
NamespaceId: myIcebergNamespace.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var policy = Gcp.BigLake.GetIcebergNamespaceIamPolicy.Invoke(new()
{
Project = myIcebergNamespace.Project,
Catalog = myIcebergNamespace.Catalog,
NamespaceId = myIcebergNamespace.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.BiglakeFunctions;
import com.pulumi.gcp.biglake.inputs.GetIcebergNamespaceIamPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var policy = BiglakeFunctions.getIcebergNamespaceIamPolicy(GetIcebergNamespaceIamPolicyArgs.builder()
.project(myIcebergNamespace.project())
.catalog(myIcebergNamespace.catalog())
.namespaceId(myIcebergNamespace.id())
.build());
}
}
variables:
policy:
fn::invoke:
function: gcp:biglake:getIcebergNamespaceIamPolicy
arguments:
project: ${myIcebergNamespace.project}
catalog: ${myIcebergNamespace.catalog}
namespaceId: ${myIcebergNamespace.id}
Using getIcebergNamespaceIamPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIcebergNamespaceIamPolicy(args: GetIcebergNamespaceIamPolicyArgs, opts?: InvokeOptions): Promise<GetIcebergNamespaceIamPolicyResult>
function getIcebergNamespaceIamPolicyOutput(args: GetIcebergNamespaceIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetIcebergNamespaceIamPolicyResult>def get_iceberg_namespace_iam_policy(catalog: Optional[str] = None,
namespace_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIcebergNamespaceIamPolicyResult
def get_iceberg_namespace_iam_policy_output(catalog: Optional[pulumi.Input[str]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIcebergNamespaceIamPolicyResult]func LookupIcebergNamespaceIamPolicy(ctx *Context, args *LookupIcebergNamespaceIamPolicyArgs, opts ...InvokeOption) (*LookupIcebergNamespaceIamPolicyResult, error)
func LookupIcebergNamespaceIamPolicyOutput(ctx *Context, args *LookupIcebergNamespaceIamPolicyOutputArgs, opts ...InvokeOption) LookupIcebergNamespaceIamPolicyResultOutput> Note: This function is named LookupIcebergNamespaceIamPolicy in the Go SDK.
public static class GetIcebergNamespaceIamPolicy
{
public static Task<GetIcebergNamespaceIamPolicyResult> InvokeAsync(GetIcebergNamespaceIamPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetIcebergNamespaceIamPolicyResult> Invoke(GetIcebergNamespaceIamPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIcebergNamespaceIamPolicyResult> getIcebergNamespaceIamPolicy(GetIcebergNamespaceIamPolicyArgs args, InvokeOptions options)
public static Output<GetIcebergNamespaceIamPolicyResult> getIcebergNamespaceIamPolicy(GetIcebergNamespaceIamPolicyArgs args, InvokeOptions options)
fn::invoke:
function: gcp:biglake/getIcebergNamespaceIamPolicy:getIcebergNamespaceIamPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Catalog string
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- Namespace
Id string - Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. 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.
- Catalog string
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- Namespace
Id string - Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. 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.
- catalog String
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- namespace
Id String - Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. 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.
- catalog string
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- namespace
Id string - Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. 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.
- catalog str
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- namespace_
id str - Used to find the parent resource to bind the IAM policy to
- project str
- The ID of the project in which the resource belongs. 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.
- catalog String
- The name of the IcebergCatalog. Used to find the parent resource to bind the IAM policy to
- namespace
Id String - Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. 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.
getIcebergNamespaceIamPolicy Result
The following output properties are available:
- Catalog string
- Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - Policy
Data string - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - Project string
- Catalog string
- Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - Policy
Data string - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - Project string
- catalog String
- etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - policy
Data String - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - project String
- catalog string
- etag string
- (Computed) The etag of the IAM policy.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace
Id string - policy
Data string - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - project string
- catalog str
- etag str
- (Computed) The etag of the IAM policy.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace_
id str - policy_
data str - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - project str
- catalog String
- etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - policy
Data String - (Required only by
gcp.biglake.IcebergNamespaceIamPolicy) The policy data generated by agcp.organizations.getIAMPolicydata source. - project String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
