Class: AWSCDK::Transfer::CfnWorkflow::EFSInputFileLocationProperty

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

Overview

Specifies the Amazon EFS identifier and the path for the file being used.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_id: nil, path: nil) ⇒ EFSInputFileLocationProperty

Returns a new instance of EFSInputFileLocationProperty.

Parameters:

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

    The identifier of the file system, assigned by Amazon EFS.

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

    The pathname for the folder being used by a workflow.



889
890
891
892
893
894
# File 'transfer/cfn_workflow.rb', line 889

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

Instance Attribute Details

#file_system_idString? (readonly)

The identifier of the file system, assigned by Amazon EFS.



900
901
902
# File 'transfer/cfn_workflow.rb', line 900

def file_system_id
  @file_system_id
end

#pathString? (readonly)

The pathname for the folder being used by a workflow.



905
906
907
# File 'transfer/cfn_workflow.rb', line 905

def path
  @path
end

Class Method Details

.jsii_propertiesObject



907
908
909
910
911
912
# File 'transfer/cfn_workflow.rb', line 907

def self.jsii_properties
  {
    :file_system_id => "fileSystemId",
    :path => "path",
  }
end

Instance Method Details

#to_jsiiObject



914
915
916
917
918
919
920
921
# File 'transfer/cfn_workflow.rb', line 914

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