Class: AWSCDK::Wisdom::CfnMessageTemplate::SystemEndpointAttributesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wisdom/cfn_message_template.rb

Overview

The system endpoint attributes that are used with the message template.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address: nil) ⇒ SystemEndpointAttributesProperty

Returns a new instance of SystemEndpointAttributesProperty.

Parameters:

  • address (String, nil) (defaults to: nil)

    The customer's phone number if used with customerEndpoint , or the number the customer dialed to call your contact center if used with systemEndpoint .



1810
1811
1812
1813
# File 'wisdom/cfn_message_template.rb', line 1810

def initialize(address: nil)
  @address = address
  Jsii::Type.check_type(@address, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "address") unless @address.nil?
end

Instance Attribute Details

#addressString? (readonly)

The customer's phone number if used with customerEndpoint , or the number the customer dialed to call your contact center if used with systemEndpoint .



1819
1820
1821
# File 'wisdom/cfn_message_template.rb', line 1819

def address
  @address
end

Class Method Details

.jsii_propertiesObject



1821
1822
1823
1824
1825
# File 'wisdom/cfn_message_template.rb', line 1821

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

Instance Method Details

#to_jsiiObject



1827
1828
1829
1830
1831
1832
1833
# File 'wisdom/cfn_message_template.rb', line 1827

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