Class: AWSCDK::Datasync::CfnLocationNFS::OnPremConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnLocationNFS::OnPremConfigProperty
- 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
-
#agent_arns ⇒ Array<String>
readonly
The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your NFS file server.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent_arns:) ⇒ OnPremConfigProperty
constructor
A new instance of OnPremConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(agent_arns:) ⇒ OnPremConfigProperty
Returns a new instance of OnPremConfigProperty.
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_arns ⇒ Array<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_properties ⇒ Object
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_jsii ⇒ Object
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 |