Class: AWSCDK::Synthetics::CfnCanary::BrowserConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Synthetics::CfnCanary::BrowserConfigProperty
- Defined in:
- synthetics/cfn_canary.rb
Overview
A structure that specifies the browser type to use for a canary run.
Instance Attribute Summary collapse
-
#browser_type ⇒ String
readonly
The browser type associated with this browser configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(browser_type:) ⇒ BrowserConfigProperty
constructor
A new instance of BrowserConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(browser_type:) ⇒ BrowserConfigProperty
Returns a new instance of BrowserConfigProperty.
891 892 893 894 |
# File 'synthetics/cfn_canary.rb', line 891 def initialize(browser_type:) @browser_type = browser_type Jsii::Type.check_type(@browser_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "browserType") end |
Instance Attribute Details
#browser_type ⇒ String (readonly)
The browser type associated with this browser configuration.
900 901 902 |
# File 'synthetics/cfn_canary.rb', line 900 def browser_type @browser_type end |
Class Method Details
.jsii_properties ⇒ Object
902 903 904 905 906 |
# File 'synthetics/cfn_canary.rb', line 902 def self.jsii_properties { :browser_type => "browserType", } end |
Instance Method Details
#to_jsii ⇒ Object
908 909 910 911 912 913 914 |
# File 'synthetics/cfn_canary.rb', line 908 def to_jsii result = {} result.merge!({ "browserType" => @browser_type, }) result.compact end |