Class: AWSCDK::QBusiness::CfnWebExperience::IdentityProviderConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QBusiness::CfnWebExperience::IdentityProviderConfigurationProperty
- Defined in:
- q_business/cfn_web_experience.rb
Overview
Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
Instance Attribute Summary collapse
-
#open_id_connect_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The OIDC-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
-
#saml_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The SAML 2.0-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(open_id_connect_configuration: nil, saml_configuration: nil) ⇒ IdentityProviderConfigurationProperty
constructor
A new instance of IdentityProviderConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(open_id_connect_configuration: nil, saml_configuration: nil) ⇒ IdentityProviderConfigurationProperty
Returns a new instance of IdentityProviderConfigurationProperty.
793 794 795 796 797 798 |
# File 'q_business/cfn_web_experience.rb', line 793 def initialize(open_id_connect_configuration: nil, saml_configuration: nil) @open_id_connect_configuration = open_id_connect_configuration.is_a?(Hash) ? ::AWSCDK::QBusiness::CfnWebExperience::OpenIDConnectProviderConfigurationProperty.new(**open_id_connect_configuration.transform_keys(&:to_sym)) : open_id_connect_configuration Jsii::Type.check_type(@open_id_connect_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xYnVzaW5lc3MuQ2ZuV2ViRXhwZXJpZW5jZS5PcGVuSURDb25uZWN0UHJvdmlkZXJDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "openIdConnectConfiguration") unless @open_id_connect_configuration.nil? @saml_configuration = saml_configuration.is_a?(Hash) ? ::AWSCDK::QBusiness::CfnWebExperience::SamlProviderConfigurationProperty.new(**saml_configuration.transform_keys(&:to_sym)) : saml_configuration Jsii::Type.check_type(@saml_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xYnVzaW5lc3MuQ2ZuV2ViRXhwZXJpZW5jZS5TYW1sUHJvdmlkZXJDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "samlConfiguration") unless @saml_configuration.nil? end |
Instance Attribute Details
#open_id_connect_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The OIDC-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
804 805 806 |
# File 'q_business/cfn_web_experience.rb', line 804 def open_id_connect_configuration @open_id_connect_configuration end |
#saml_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The SAML 2.0-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
809 810 811 |
# File 'q_business/cfn_web_experience.rb', line 809 def saml_configuration @saml_configuration end |
Class Method Details
.jsii_properties ⇒ Object
811 812 813 814 815 816 |
# File 'q_business/cfn_web_experience.rb', line 811 def self.jsii_properties { :open_id_connect_configuration => "openIdConnectConfiguration", :saml_configuration => "samlConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
818 819 820 821 822 823 824 825 |
# File 'q_business/cfn_web_experience.rb', line 818 def to_jsii result = {} result.merge!({ "openIdConnectConfiguration" => @open_id_connect_configuration, "samlConfiguration" => @saml_configuration, }) result.compact end |