Class: AWSCDK::Synthetics::CfnCanary::BrowserConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
synthetics/cfn_canary.rb

Overview

A structure that specifies the browser type to use for a canary run.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(browser_type:) ⇒ BrowserConfigProperty

Returns a new instance of BrowserConfigProperty.

Parameters:

  • browser_type (String)

    The browser type associated with this browser configuration.



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_typeString (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_propertiesObject



902
903
904
905
906
# File 'synthetics/cfn_canary.rb', line 902

def self.jsii_properties
  {
    :browser_type => "browserType",
  }
end

Instance Method Details

#to_jsiiObject



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