Class: AWSCDK::Deadline::CfnStorageProfile::FileSystemLocationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
deadline/cfn_storage_profile.rb

Overview

The details of the file system location for the resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, path:, type:) ⇒ FileSystemLocationProperty

Returns a new instance of FileSystemLocationProperty.

Parameters:

  • name (String)

    The location name.

  • path (String)

    The file path.

  • type (String)

    The type of file.



541
542
543
544
545
546
547
548
# File 'deadline/cfn_storage_profile.rb', line 541

def initialize(name:, path:, type:)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @path = path
  Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path")
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
end

Instance Attribute Details

#nameString (readonly)

The location name.



554
555
556
# File 'deadline/cfn_storage_profile.rb', line 554

def name
  @name
end

#pathString (readonly)

The file path.



559
560
561
# File 'deadline/cfn_storage_profile.rb', line 559

def path
  @path
end

#typeString (readonly)

The type of file.



564
565
566
# File 'deadline/cfn_storage_profile.rb', line 564

def type
  @type
end

Class Method Details

.jsii_propertiesObject



566
567
568
569
570
571
572
# File 'deadline/cfn_storage_profile.rb', line 566

def self.jsii_properties
  {
    :name => "name",
    :path => "path",
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



574
575
576
577
578
579
580
581
582
# File 'deadline/cfn_storage_profile.rb', line 574

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