Class: Aws::VerifiedPermissions::Types::Configuration

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-verifiedpermissions/types.rb

Overview

Note:

Configuration is a union - when making an API calls you must set exactly one of the members.

Contains configuration information used when creating a new identity source.

This data type is used as a request parameter for the

CreateIdentitySource][1

operation.

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html

Defined Under Namespace

Classes: CognitoUserPoolConfiguration, OpenIdConnectConfiguration, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cognito_user_pool_configurationTypes::CognitoUserPoolConfiguration

Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the [Amazon Resource Name (ARN)] of a Amazon Cognito user pool and one or more application client IDs.

Example: ‘“configuration”:[“a1b2c3d4e5f6g7h8i9j0kalbmc”],“groupConfiguration”: {“groupEntityType”: “MyCorp::Group”}}`

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html



864
865
866
867
868
869
870
871
872
873
874
875
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 864

class Configuration < Struct.new(
  :cognito_user_pool_configuration,
  :open_id_connect_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CognitoUserPoolConfiguration < Configuration; end
  class OpenIdConnectConfiguration < Configuration; end
  class Unknown < Configuration; end
end

#open_id_connect_configurationTypes::OpenIdConnectConfiguration

Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.

Example:‘“configuration”:href="https://auth.example.com">auth.example.com”,“tokenSelection”:{“accessTokenOnly”:{“audiences”:,“principalIdClaim”:“sub”},“entityIdPrefix”:“MyOIDCProvider”,“groupConfiguration”:Aws::VerifiedPermissions::Types::Configuration.“groupClaim”:“groups”,“groupEntityType”:“MyCorp“groupClaim”:“groups”,“groupEntityType”:“MyCorp::UserGroup”}}`



864
865
866
867
868
869
870
871
872
873
874
875
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 864

class Configuration < Struct.new(
  :cognito_user_pool_configuration,
  :open_id_connect_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CognitoUserPoolConfiguration < Configuration; end
  class OpenIdConnectConfiguration < Configuration; end
  class Unknown < Configuration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



864
865
866
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 864

def unknown
  @unknown
end