ClientArgs

data class ClientArgs(val brand: Output<String>? = null, val displayName: Output<String>? = null) : ConvertibleToJava<ClientArgs>

Contains the data that describes an Identity Aware Proxy owned client.

Note: Only internal org clients can be created via declarative tools. External clients must be manually created via the GCP console. This restriction is due to the existing APIs and not lack of support in this tool. To get more information about Client, see:

Warning: All arguments including secret will be stored in the raw state as plain-text.

Example Usage

Iap Client

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.iap.Brand;
import com.pulumi.gcp.iap.BrandArgs;
import com.pulumi.gcp.iap.Client;
import com.pulumi.gcp.iap.ClientArgs;
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) {
var project = new Project("project", ProjectArgs.builder()
.projectId("my-project")
.orgId("123456789")
.build());
var projectService = new Service("projectService", ServiceArgs.builder()
.project(project.projectId())
.service("iap.googleapis.com")
.build());
var projectBrand = new Brand("projectBrand", BrandArgs.builder()
.supportEmail("support@example.com")
.applicationTitle("Cloud IAP protected Application")
.project(projectService.project())
.build());
var projectClient = new Client("projectClient", ClientArgs.builder()
.displayName("Test Client")
.brand(projectBrand.name())
.build());
}
}

Import

Client can be imported using any of these accepted formats

$ pulumi import gcp:iap/client:Client default {{brand}}/identityAwareProxyClients/{{client_id}}
$ pulumi import gcp:iap/client:Client default {{brand}}/{{client_id}}

Constructors

Link copied to clipboard
constructor(brand: Output<String>? = null, displayName: Output<String>? = null)

Properties

Link copied to clipboard
val brand: Output<String>? = null

Identifier of the brand to which this client is attached to. The format is projects/{project_number}/brands/{brand_id}/identityAwareProxyClients/{client_id}.

Link copied to clipboard
val displayName: Output<String>? = null

Human-friendly name given to the OAuth client.

Functions

Link copied to clipboard
open override fun toJava(): ClientArgs