Class: Aws::Context::Types::WorkforceSignInConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

Contains the settings for workforce sign-in. Your employees can sign in to an agent context's Model Context Protocol (MCP) server through your own identity provider. While ENABLED, the resource's mcpServerUrl carries signInUrl as its login_hint, so an MCP client that connects without credentials is sent to that identity provider to sign in.

On UpdateAgentContext, AWS Context merges the members that you send into the stored settings. Setting status to DISABLED clears them.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sign_in_url ⇒ String

The URL that starts a sign-in to your AWS application at the identity provider. For example, an Okta application link, a Microsoft Entra My Apps link, or an IAM Identity Center access portal URL. HTTPS only, a single line with no whitespace, 9 to 2048 characters. Sent alone, it replaces the stored URL and turns sign-in ENABLED. It cannot be sent together with status DISABLED in the same request.

Returns:

  • (String)


8271
8272
8273
8274
8275
8276
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8271

class WorkforceSignInConfig < Struct.new(
  :status,
  :sign_in_url)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

Whether workforce sign-in is on. Reads ENABLED while a signInUrl is stored, DISABLED otherwise. On Create, a config with a signInUrl defaults to ENABLED. On Update, DISABLED removes the stored signInUrl. ENABLED requires a signInUrl, supplied in the same request or already stored on the resource.

Returns:

  • (String)


8271
8272
8273
8274
8275
8276
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8271

class WorkforceSignInConfig < Struct.new(
  :status,
  :sign_in_url)
  SENSITIVE = []
  include Aws::Structure
end