Class: AWSCDK::Datasync::CfnLocationNFS::OnPremConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
datasync/cfn_location_nfs.rb

Overview

The AWS DataSync agents that can connect to your Network File System (NFS) file server.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent_arns:) ⇒ OnPremConfigProperty

Returns a new instance of OnPremConfigProperty.

Parameters:

  • agent_arns (Array<String>)

    The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your NFS file server.



616
617
618
619
# File 'datasync/cfn_location_nfs.rb', line 616

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

Instance Attribute Details

#agent_arnsArray<String> (readonly)

The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your NFS file server.

You can specify more than one agent. For more information, see Using multiple DataSync agents .



627
628
629
# File 'datasync/cfn_location_nfs.rb', line 627

def agent_arns
  @agent_arns
end

Class Method Details

.jsii_propertiesObject



629
630
631
632
633
# File 'datasync/cfn_location_nfs.rb', line 629

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

Instance Method Details

#to_jsiiObject



635
636
637
638
639
640
641
# File 'datasync/cfn_location_nfs.rb', line 635

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