Class: AWSCDK::Wisdom::CfnMessageTemplate::SystemAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnMessageTemplate::SystemAttributesProperty
- Defined in:
- wisdom/cfn_message_template.rb
Overview
The system attributes that are used with the message template.
Instance Attribute Summary collapse
-
#customer_endpoint ⇒ AWSCDK::IResolvable, ...
readonly
The CustomerEndpoint attribute.
-
#name ⇒ String?
readonly
The name of the task.
-
#system_endpoint ⇒ AWSCDK::IResolvable, ...
readonly
The SystemEndpoint attribute.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(customer_endpoint: nil, name: nil, system_endpoint: nil) ⇒ SystemAttributesProperty
constructor
A new instance of SystemAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(customer_endpoint: nil, name: nil, system_endpoint: nil) ⇒ SystemAttributesProperty
Returns a new instance of SystemAttributesProperty.
1759 1760 1761 1762 1763 1764 1765 1766 |
# File 'wisdom/cfn_message_template.rb', line 1759 def initialize(customer_endpoint: nil, name: nil, system_endpoint: nil) @customer_endpoint = customer_endpoint.is_a?(Hash) ? ::AWSCDK::Wisdom::CfnMessageTemplate::SystemEndpointAttributesProperty.new(**customer_endpoint.transform_keys(&:to_sym)) : customer_endpoint Jsii::Type.check_type(@customer_endpoint, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193aXNkb20uQ2ZuTWVzc2FnZVRlbXBsYXRlLlN5c3RlbUVuZHBvaW50QXR0cmlidXRlc1Byb3BlcnR5In1dfX0=")), "customerEndpoint") unless @customer_endpoint.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @system_endpoint = system_endpoint.is_a?(Hash) ? ::AWSCDK::Wisdom::CfnMessageTemplate::SystemEndpointAttributesProperty.new(**system_endpoint.transform_keys(&:to_sym)) : system_endpoint Jsii::Type.check_type(@system_endpoint, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193aXNkb20uQ2ZuTWVzc2FnZVRlbXBsYXRlLlN5c3RlbUVuZHBvaW50QXR0cmlidXRlc1Byb3BlcnR5In1dfX0=")), "systemEndpoint") unless @system_endpoint.nil? end |
Instance Attribute Details
#customer_endpoint ⇒ AWSCDK::IResolvable, ... (readonly)
The CustomerEndpoint attribute.
1772 1773 1774 |
# File 'wisdom/cfn_message_template.rb', line 1772 def customer_endpoint @customer_endpoint end |
#name ⇒ String? (readonly)
The name of the task.
1777 1778 1779 |
# File 'wisdom/cfn_message_template.rb', line 1777 def name @name end |
#system_endpoint ⇒ AWSCDK::IResolvable, ... (readonly)
The SystemEndpoint attribute.
1782 1783 1784 |
# File 'wisdom/cfn_message_template.rb', line 1782 def system_endpoint @system_endpoint end |
Class Method Details
.jsii_properties ⇒ Object
1784 1785 1786 1787 1788 1789 1790 |
# File 'wisdom/cfn_message_template.rb', line 1784 def self.jsii_properties { :customer_endpoint => "customerEndpoint", :name => "name", :system_endpoint => "systemEndpoint", } end |
Instance Method Details
#to_jsii ⇒ Object
1792 1793 1794 1795 1796 1797 1798 1799 1800 |
# File 'wisdom/cfn_message_template.rb', line 1792 def to_jsii result = {} result.merge!({ "customerEndpoint" => @customer_endpoint, "name" => @name, "systemEndpoint" => @system_endpoint, }) result.compact end |