Class: AWSCDK::CognitoIdentitypool::UserPoolAuthenticationProviderBindConfig
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CognitoIdentitypool::UserPoolAuthenticationProviderBindConfig
- Defined in:
- cognito_identitypool/user_pool_authentication_provider_bind_config.rb
Overview
Represents a UserPoolAuthenticationProvider Bind Configuration.
Instance Attribute Summary collapse
-
#client_id ⇒ String
readonly
Client Id of the Associated User Pool Client.
-
#provider_name ⇒ String
readonly
The identity providers associated with the UserPool.
-
#server_side_token_check ⇒ Boolean
readonly
Whether to enable the identity pool's server side token check.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_id:, provider_name:, server_side_token_check:) ⇒ UserPoolAuthenticationProviderBindConfig
constructor
A new instance of UserPoolAuthenticationProviderBindConfig.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_id:, provider_name:, server_side_token_check:) ⇒ UserPoolAuthenticationProviderBindConfig
Returns a new instance of UserPoolAuthenticationProviderBindConfig.
10 11 12 13 14 15 16 17 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 10 def initialize(client_id:, provider_name:, server_side_token_check:) @client_id = client_id Jsii::Type.check_type(@client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientId") @provider_name = provider_name Jsii::Type.check_type(@provider_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "providerName") @server_side_token_check = server_side_token_check Jsii::Type.check_type(@server_side_token_check, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "serverSideTokenCheck") end |
Instance Attribute Details
#client_id ⇒ String (readonly)
Client Id of the Associated User Pool Client.
22 23 24 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 22 def client_id @client_id end |
#provider_name ⇒ String (readonly)
The identity providers associated with the UserPool.
26 27 28 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 26 def provider_name @provider_name end |
#server_side_token_check ⇒ Boolean (readonly)
Whether to enable the identity pool's server side token check.
30 31 32 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 30 def server_side_token_check @server_side_token_check end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 32 def self.jsii_properties { :client_id => "clientId", :provider_name => "providerName", :server_side_token_check => "serverSideTokenCheck", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'cognito_identitypool/user_pool_authentication_provider_bind_config.rb', line 40 def to_jsii result = {} result.merge!({ "clientId" => @client_id, "providerName" => @provider_name, "serverSideTokenCheck" => @server_side_token_check, }) result.compact end |