Class: Aws::VerifiedPermissions::Types::Configuration
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::Configuration
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
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 operation.
Direct Known Subclasses
CognitoUserPoolConfiguration, OpenIdConnectConfiguration, Unknown
Defined Under Namespace
Classes: CognitoUserPoolConfiguration, OpenIdConnectConfiguration, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cognito_user_pool_configuration ⇒ Types::CognitoUserPoolConfiguration
Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities.
-
#open_id_connect_configuration ⇒ Types::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.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#cognito_user_pool_configuration ⇒ Types::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":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
\{"groupEntityType": "MyCorp::Group"\}\}\}
709 710 711 712 713 714 715 716 717 718 719 720 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 709 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_configuration ⇒ Types::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":\{"openIdConnectConfiguration":\{"issuer":"https://auth.example.com","tokenSelection":\{"accessTokenOnly":\{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"\}\},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":\{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"\}\}\}
709 710 711 712 713 714 715 716 717 718 719 720 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 709 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
709 710 711 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 709 def unknown @unknown end |