ProjectJobTokenScopeArgs

data class ProjectJobTokenScopeArgs(val project: Output<String>? = null, val targetProjectId: Output<Int>? = null) : ConvertibleToJava<ProjectJobTokenScopeArgs>

The gitlab.ProjectJobTokenScope resource allows to manage the CI/CD Job Token scope in a project. Upstream API: GitLab REST API docs

Import

GitLab project environments can be imported using an id made up of projectId:targetProjectId, e.g.

$ pulumi import gitlab:index/projectJobTokenScope:ProjectJobTokenScope bar 123:321

Constructors

Link copied to clipboard
constructor(project: Output<String>? = null, targetProjectId: Output<Int>? = null)

Properties

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

The ID or full path of the project.

Link copied to clipboard
val targetProjectId: Output<Int>? = null

The ID of the project that is in the CI/CD job token inbound allowlist.

Functions

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