Class: AWSCDK::QBusiness::CfnWebExperience::BrowserExtensionConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
q_business/cfn_web_experience.rb

Overview

The container for browser extension configuration for an Amazon Q Business web experience.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled_browser_extensions:) ⇒ BrowserExtensionConfigurationProperty

Returns a new instance of BrowserExtensionConfigurationProperty.

Parameters:

  • enabled_browser_extensions (Array<String>)

    Specify the browser extensions allowed for your Amazon Q web experience.



692
693
694
695
# File 'q_business/cfn_web_experience.rb', line 692

def initialize(enabled_browser_extensions:)
  @enabled_browser_extensions = enabled_browser_extensions
  Jsii::Type.check_type(@enabled_browser_extensions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "enabledBrowserExtensions")
end

Instance Attribute Details

#enabled_browser_extensionsArray<String> (readonly)

Specify the browser extensions allowed for your Amazon Q web experience.

  • CHROME — Enables the extension for Chromium-based browsers (Google Chrome, Microsoft Edge, Opera, etc.).
  • FIREFOX — Enables the extension for Mozilla Firefox.
  • CHROME and FIREFOX — Enable the extension for Chromium-based browsers and Mozilla Firefox.


705
706
707
# File 'q_business/cfn_web_experience.rb', line 705

def enabled_browser_extensions
  @enabled_browser_extensions
end

Class Method Details

.jsii_propertiesObject



707
708
709
710
711
# File 'q_business/cfn_web_experience.rb', line 707

def self.jsii_properties
  {
    :enabled_browser_extensions => "enabledBrowserExtensions",
  }
end

Instance Method Details

#to_jsiiObject



713
714
715
716
717
718
719
# File 'q_business/cfn_web_experience.rb', line 713

def to_jsii
  result = {}
  result.merge!({
    "enabledBrowserExtensions" => @enabled_browser_extensions,
  })
  result.compact
end