WorkforcePool

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.

Properties

Link copied to clipboard
val description: Output<String>

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

Link copied to clipboard
val disabled: Output<Boolean>

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>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name of the pool. Format: locations/{location}/workforcePools/{workforce_pool_id}

Link copied to clipboard
val parent: Output<String>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sessionDuration: Output<String>

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 state: Output<String>

The state of the pool.

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

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.