All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dataplex.v1.EntryGroupIamBinding Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.dataplex.v1;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.googlenative.Utilities;
import com.pulumi.googlenative.dataplex.v1.EntryGroupIamBindingArgs;
import com.pulumi.googlenative.iam.v1.outputs.Condition;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
 * 
 */
@ResourceType(type="google-native:dataplex/v1:EntryGroupIamBinding")
public class EntryGroupIamBinding extends com.pulumi.resources.CustomResource {
    /**
     * An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
     * 
     */
    @Export(name="condition", type=Condition.class, parameters={})
    private Output condition;

    /**
     * @return An IAM Condition for a given binding. See https://cloud.google.com/iam/docs/conditions-overview for additional details.
     * 
     */
    public Output> condition() {
        return Codegen.optional(this.condition);
    }
    /**
     * The etag of the resource's IAM policy.
     * 
     */
    @Export(name="etag", type=String.class, parameters={})
    private Output etag;

    /**
     * @return The etag of the resource's IAM policy.
     * 
     */
    public Output etag() {
        return this.etag;
    }
    /**
     * Identities that will be granted the privilege in role. Each entry can have one of the following values:
     * 
     *  * user:{emailid}: An email address that represents a specific Google account. For example, [email protected] or [email protected].
     *  * serviceAccount:{emailid}: An email address that represents a service account. For example, [email protected].
     *  * group:{emailid}: An email address that represents a Google group. For example, [email protected].
     *  * 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.
     * 
     */
    @Export(name="members", type=List.class, parameters={String.class})
    private Output> members;

    /**
     * @return Identities that will be granted the privilege in role. Each entry can have one of the following values:
     * 
     *  * user:{emailid}: An email address that represents a specific Google account. For example, [email protected] or [email protected].
     *  * serviceAccount:{emailid}: An email address that represents a service account. For example, [email protected].
     *  * group:{emailid}: An email address that represents a Google group. For example, [email protected].
     *  * 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.
     * 
     */
    public Output> members() {
        return this.members;
    }
    /**
     * The name of the resource to manage IAM policies for.
     * 
     */
    @Export(name="name", type=String.class, parameters={})
    private Output name;

    /**
     * @return The name of the resource to manage IAM policies for.
     * 
     */
    public Output name() {
        return this.name;
    }
    /**
     * The project in which the resource belongs. If it is not provided, a default will be supplied.
     * 
     */
    @Export(name="project", type=String.class, parameters={})
    private Output project;

    /**
     * @return The project in which the resource belongs. If it is not provided, a default will be supplied.
     * 
     */
    public Output project() {
        return this.project;
    }
    /**
     * The role that should be applied. Only one `IamBinding` can be used per role.
     * 
     */
    @Export(name="role", type=String.class, parameters={})
    private Output role;

    /**
     * @return The role that should be applied. Only one `IamBinding` can be used per role.
     * 
     */
    public Output role() {
        return this.role;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public EntryGroupIamBinding(String name) {
        this(name, EntryGroupIamBindingArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public EntryGroupIamBinding(String name, EntryGroupIamBindingArgs args) {
        this(name, args, null);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param options A bag of options that control this resource's behavior.
     */
    public EntryGroupIamBinding(String name, EntryGroupIamBindingArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:dataplex/v1:EntryGroupIamBinding", name, args == null ? EntryGroupIamBindingArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
    }

    private EntryGroupIamBinding(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:dataplex/v1:EntryGroupIamBinding", name, null, makeResourceOptions(options, id));
    }

    private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
        var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
            .version(Utilities.getVersion())
            .build();
        return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
    }

    /**
     * Get an existing Host resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param options Optional settings to control the behavior of the CustomResource.
     */
    public static EntryGroupIamBinding get(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new EntryGroupIamBinding(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy