Class: AWSCDK::Transfer::CfnConnector::ConnectorAsyncMdnConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
transfer/cfn_connector.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(server_ids:, url:) ⇒ ConnectorAsyncMdnConfigProperty

Returns a new instance of ConnectorAsyncMdnConfigProperty.

Parameters:

  • server_ids (Array<String>)
  • url (String)

    URL of the server to receive the MDN response on.



865
866
867
868
869
870
# File 'transfer/cfn_connector.rb', line 865

def initialize(server_ids:, url:)
  @server_ids = server_ids
  Jsii::Type.check_type(@server_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "serverIds")
  @url = url
  Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url")
end

Instance Attribute Details

#server_idsArray<String> (readonly)



874
875
876
# File 'transfer/cfn_connector.rb', line 874

def server_ids
  @server_ids
end

#urlString (readonly)

URL of the server to receive the MDN response on.



879
880
881
# File 'transfer/cfn_connector.rb', line 879

def url
  @url
end

Class Method Details

.jsii_propertiesObject



881
882
883
884
885
886
# File 'transfer/cfn_connector.rb', line 881

def self.jsii_properties
  {
    :server_ids => "serverIds",
    :url => "url",
  }
end

Instance Method Details

#to_jsiiObject



888
889
890
891
892
893
894
895
# File 'transfer/cfn_connector.rb', line 888

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