Class: AWSCDK::AppFlow::CfnFlow::VeevaSourcePropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_flow.rb

Overview

The properties that are applied when using Veeva as a flow source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object:, document_type: nil, include_all_versions: nil, include_renditions: nil, include_source_files: nil) ⇒ VeevaSourcePropertiesProperty

Returns a new instance of VeevaSourcePropertiesProperty.

Parameters:

  • object (String)

    The object specified in the Veeva flow source.

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

    The document type specified in the Veeva document extract flow.

  • include_all_versions (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Boolean value to include All Versions of files in Veeva document extract flow.

  • include_renditions (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Boolean value to include file renditions in Veeva document extract flow.

  • include_source_files (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Boolean value to include source files in Veeva document extract flow.



3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
# File 'app_flow/cfn_flow.rb', line 3409

def initialize(object:, document_type: nil, include_all_versions: nil, include_renditions: nil, include_source_files: nil)
  @object = object
  Jsii::Type.check_type(@object, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "object")
  @document_type = document_type
  Jsii::Type.check_type(@document_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "documentType") unless @document_type.nil?
  @include_all_versions = include_all_versions
  Jsii::Type.check_type(@include_all_versions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeAllVersions") unless @include_all_versions.nil?
  @include_renditions = include_renditions
  Jsii::Type.check_type(@include_renditions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeRenditions") unless @include_renditions.nil?
  @include_source_files = include_source_files
  Jsii::Type.check_type(@include_source_files, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeSourceFiles") unless @include_source_files.nil?
end

Instance Attribute Details

#document_typeString? (readonly)

The document type specified in the Veeva document extract flow.



3431
3432
3433
# File 'app_flow/cfn_flow.rb', line 3431

def document_type
  @document_type
end

#include_all_versionsBoolean, ... (readonly)

Boolean value to include All Versions of files in Veeva document extract flow.



3436
3437
3438
# File 'app_flow/cfn_flow.rb', line 3436

def include_all_versions
  @include_all_versions
end

#include_renditionsBoolean, ... (readonly)

Boolean value to include file renditions in Veeva document extract flow.



3441
3442
3443
# File 'app_flow/cfn_flow.rb', line 3441

def include_renditions
  @include_renditions
end

#include_source_filesBoolean, ... (readonly)

Boolean value to include source files in Veeva document extract flow.



3446
3447
3448
# File 'app_flow/cfn_flow.rb', line 3446

def include_source_files
  @include_source_files
end

#objectString (readonly)

The object specified in the Veeva flow source.



3426
3427
3428
# File 'app_flow/cfn_flow.rb', line 3426

def object
  @object
end

Class Method Details

.jsii_propertiesObject



3448
3449
3450
3451
3452
3453
3454
3455
3456
# File 'app_flow/cfn_flow.rb', line 3448

def self.jsii_properties
  {
    :object => "object",
    :document_type => "documentType",
    :include_all_versions => "includeAllVersions",
    :include_renditions => "includeRenditions",
    :include_source_files => "includeSourceFiles",
  }
end

Instance Method Details

#to_jsiiObject



3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
# File 'app_flow/cfn_flow.rb', line 3458

def to_jsii
  result = {}
  result.merge!({
    "object" => @object,
    "documentType" => @document_type,
    "includeAllVersions" => @include_all_versions,
    "includeRenditions" => @include_renditions,
    "includeSourceFiles" => @include_source_files,
  })
  result.compact
end