Class: AWSCDK::Kendra::CfnDataSource::WebCrawlerAuthenticationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kendra::CfnDataSource::WebCrawlerAuthenticationConfigurationProperty
- Defined in:
- kendra/cfn_data_source.rb
Overview
Provides the configuration information to connect to websites that require user authentication.
Instance Attribute Summary collapse
-
#basic_authentication ⇒ AWSCDK::IResolvable, ...
readonly
The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(basic_authentication: nil) ⇒ WebCrawlerAuthenticationConfigurationProperty
constructor
A new instance of WebCrawlerAuthenticationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(basic_authentication: nil) ⇒ WebCrawlerAuthenticationConfigurationProperty
Returns a new instance of WebCrawlerAuthenticationConfigurationProperty.
3700 3701 3702 3703 |
# File 'kendra/cfn_data_source.rb', line 3700 def initialize(basic_authentication: nil) @basic_authentication = basic_authentication Jsii::Type.check_type(@basic_authentication, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2VuZHJhLkNmbkRhdGFTb3VyY2UuV2ViQ3Jhd2xlckJhc2ljQXV0aGVudGljYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "basicAuthentication") unless @basic_authentication.nil? end |
Instance Attribute Details
#basic_authentication ⇒ AWSCDK::IResolvable, ... (readonly)
The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.
The list includes the name and port number of the website host.
3711 3712 3713 |
# File 'kendra/cfn_data_source.rb', line 3711 def basic_authentication @basic_authentication end |
Class Method Details
.jsii_properties ⇒ Object
3713 3714 3715 3716 3717 |
# File 'kendra/cfn_data_source.rb', line 3713 def self.jsii_properties { :basic_authentication => "basicAuthentication", } end |
Instance Method Details
#to_jsii ⇒ Object
3719 3720 3721 3722 3723 3724 3725 |
# File 'kendra/cfn_data_source.rb', line 3719 def to_jsii result = {} result.merge!({ "basicAuthentication" => @basic_authentication, }) result.compact end |