Class: AWSCDK::Transfer::CfnWorkflow::InputFileLocationProperty

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

Overview

Specifies the location for the file that's being processed.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(efs_file_location: nil, s3_file_location: nil) ⇒ InputFileLocationProperty

Returns a new instance of InputFileLocationProperty.

Parameters:



932
933
934
935
936
937
# File 'transfer/cfn_workflow.rb', line 932

def initialize(efs_file_location: nil, s3_file_location: nil)
  @efs_file_location = efs_file_location.is_a?(Hash) ? ::AWSCDK::Transfer::CfnWorkflow::EFSInputFileLocationProperty.new(**efs_file_location.transform_keys(&:to_sym)) : efs_file_location
  Jsii::Type.check_type(@efs_file_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190cmFuc2Zlci5DZm5Xb3JrZmxvdy5FZnNJbnB1dEZpbGVMb2NhdGlvblByb3BlcnR5In1dfX0=")), "efsFileLocation") unless @efs_file_location.nil?
  @s3_file_location = s3_file_location.is_a?(Hash) ? ::AWSCDK::Transfer::CfnWorkflow::S3InputFileLocationProperty.new(**s3_file_location.transform_keys(&:to_sym)) : s3_file_location
  Jsii::Type.check_type(@s3_file_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c190cmFuc2Zlci5DZm5Xb3JrZmxvdy5TM0lucHV0RmlsZUxvY2F0aW9uUHJvcGVydHkifV19fQ==")), "s3FileLocation") unless @s3_file_location.nil?
end

Instance Attribute Details

#efs_file_locationAWSCDK::IResolvable, ... (readonly)

Specifies the details for the Amazon Elastic File System (Amazon EFS) file that's being decrypted.



943
944
945
# File 'transfer/cfn_workflow.rb', line 943

def efs_file_location
  @efs_file_location
end

#s3_file_locationAWSCDK::IResolvable, ... (readonly)

Specifies the details for the Amazon S3 file that's being copied or decrypted.



948
949
950
# File 'transfer/cfn_workflow.rb', line 948

def s3_file_location
  @s3_file_location
end

Class Method Details

.jsii_propertiesObject



950
951
952
953
954
955
# File 'transfer/cfn_workflow.rb', line 950

def self.jsii_properties
  {
    :efs_file_location => "efsFileLocation",
    :s3_file_location => "s3FileLocation",
  }
end

Instance Method Details

#to_jsiiObject



957
958
959
960
961
962
963
964
# File 'transfer/cfn_workflow.rb', line 957

def to_jsii
  result = {}
  result.merge!({
    "efsFileLocation" => @efs_file_location,
    "s3FileLocation" => @s3_file_location,
  })
  result.compact
end