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

com.pulumi.googlenative.dataplex.v1.LakeTaskIamMember 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.LakeTaskIamMemberArgs;
import com.pulumi.googlenative.iam.v1.outputs.Condition;
import java.lang.String;
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:LakeTaskIamMember")
public class LakeTaskIamMember 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;
    }
    /**
     * Identity that will be granted the privilege in role. The 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="member", type=String.class, parameters={})
    private Output member;

    /**
     * @return Identity that will be granted the privilege in role. The 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 member() {
        return this.member;
    }
    /**
     * 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.
     * 
     */
    @Export(name="role", type=String.class, parameters={})
    private Output role;

    /**
     * @return The role that should be applied.
     * 
     */
    public Output role() {
        return this.role;
    }

    /**
     *
     * @param name The _unique_ name of the resulting resource.
     */
    public LakeTaskIamMember(String name) {
        this(name, LakeTaskIamMemberArgs.Empty);
    }
    /**
     *
     * @param name The _unique_ name of the resulting resource.
     * @param args The arguments to use to populate this resource's properties.
     */
    public LakeTaskIamMember(String name, LakeTaskIamMemberArgs 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 LakeTaskIamMember(String name, LakeTaskIamMemberArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:dataplex/v1:LakeTaskIamMember", name, args == null ? LakeTaskIamMemberArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
    }

    private LakeTaskIamMember(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        super("google-native:dataplex/v1:LakeTaskIamMember", 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 LakeTaskIamMember get(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
        return new LakeTaskIamMember(name, id, options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy