Class: AWSCDK::IoTSiteWise::CfnPortal::PortalTypeEntryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTSiteWise::CfnPortal::PortalTypeEntryProperty
- Defined in:
- io_t_site_wise/cfn_portal.rb
Overview
Container associated a certain PortalType.
Instance Attribute Summary collapse
-
#portal_tools ⇒ Array<String>
readonly
The array of tools associated with the specified portal type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(portal_tools:) ⇒ PortalTypeEntryProperty
constructor
A new instance of PortalTypeEntryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(portal_tools:) ⇒ PortalTypeEntryProperty
Returns a new instance of PortalTypeEntryProperty.
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_tools ⇒ Array<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_properties ⇒ Object
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_jsii ⇒ Object
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 |