Class: AWSCDK::IoTSiteWise::CfnPortal::PortalTypeEntryProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_site_wise/cfn_portal.rb

Overview

Container associated a certain PortalType.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(portal_tools:) ⇒ PortalTypeEntryProperty

Returns a new instance of PortalTypeEntryProperty.

Parameters:

  • portal_tools (Array<String>)

    The array of tools associated with the specified portal type.



739
740
741
742
# File 'io_t_site_wise/cfn_portal.rb', line 739

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

Instance Attribute Details

#portal_toolsArray<String> (readonly)

The array of tools associated with the specified portal type.

The possible values are ASSISTANT and DASHBOARD .



750
751
752
# File 'io_t_site_wise/cfn_portal.rb', line 750

def portal_tools
  @portal_tools
end

Class Method Details

.jsii_propertiesObject



752
753
754
755
756
# File 'io_t_site_wise/cfn_portal.rb', line 752

def self.jsii_properties
  {
    :portal_tools => "portalTools",
  }
end

Instance Method Details

#to_jsiiObject



758
759
760
761
762
763
764
# File 'io_t_site_wise/cfn_portal.rb', line 758

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