WorkforcePoolArgs

data class WorkforcePoolArgs(val description: Output<String>? = null, val disabled: Output<Boolean>? = null, val displayName: Output<String>? = null, val location: Output<String>? = null, val parent: Output<String>? = null, val sessionDuration: Output<String>? = null, val workforcePoolId: Output<String>? = null) : ConvertibleToJava<WorkforcePoolArgs>

Creates a new WorkforcePool. You cannot reuse the name of a deleted pool until 30 days after deletion. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun WorkforcePoolArgs(description: Output<String>? = null, disabled: Output<Boolean>? = null, displayName: Output<String>? = null, location: Output<String>? = null, parent: Output<String>? = null, sessionDuration: Output<String>? = null, workforcePoolId: Output<String>? = null)

Functions

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

Properties

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

A user-specified description of the pool. Cannot exceed 256 characters.

Link copied to clipboard
val disabled: Output<Boolean>? = null

Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.

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

A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.

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

Immutable. The resource name of the parent. Format: organizations/{org-id}.

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

Duration that the Google Cloud access tokens, console sign-in sessions, and gcloud sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If session_duration is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the session_duration and the SessionNotOnOrAfter claim in the SAML assertion.

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

The ID to use for the pool, which becomes the final component of the resource name. The IDs must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix gcp- is reserved for use by Google, and may not be specified.