Class: AWSCDK::Deadline::CfnStorageProfileProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnStorageProfileProps
- Defined in:
- deadline/cfn_storage_profile_props.rb
Overview
Properties for defining a CfnStorageProfile.
Instance Attribute Summary collapse
-
#display_name ⇒ String
readonly
The display name of the storage profile summary to update.
-
#farm_id ⇒ String
readonly
The unique identifier of the farm that contains the storage profile.
-
#file_system_locations ⇒ AWSCDK::IResolvable, ...
readonly
Operating system specific file system path to the storage location.
-
#os_family ⇒ String
readonly
The operating system (OS) family.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(display_name:, farm_id:, os_family:, file_system_locations: nil) ⇒ CfnStorageProfileProps
constructor
A new instance of CfnStorageProfileProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(display_name:, farm_id:, os_family:, file_system_locations: nil) ⇒ CfnStorageProfileProps
Returns a new instance of CfnStorageProfileProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'deadline/cfn_storage_profile_props.rb', line 13 def initialize(display_name:, farm_id:, os_family:, file_system_locations: nil) @display_name = display_name Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") @farm_id = farm_id Jsii::Type.check_type(@farm_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "farmId") @os_family = os_family Jsii::Type.check_type(@os_family, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "osFamily") @file_system_locations = file_system_locations Jsii::Type.check_type(@file_system_locations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZGVhZGxpbmUuQ2ZuU3RvcmFnZVByb2ZpbGUuRmlsZVN5c3RlbUxvY2F0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "fileSystemLocations") unless @file_system_locations.nil? end |
Instance Attribute Details
#display_name ⇒ String (readonly)
The display name of the storage profile summary to update.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
30 31 32 |
# File 'deadline/cfn_storage_profile_props.rb', line 30 def display_name @display_name end |
#farm_id ⇒ String (readonly)
The unique identifier of the farm that contains the storage profile.
35 36 37 |
# File 'deadline/cfn_storage_profile_props.rb', line 35 def farm_id @farm_id end |
#file_system_locations ⇒ AWSCDK::IResolvable, ... (readonly)
Operating system specific file system path to the storage location.
45 46 47 |
# File 'deadline/cfn_storage_profile_props.rb', line 45 def file_system_locations @file_system_locations end |
#os_family ⇒ String (readonly)
The operating system (OS) family.
40 41 42 |
# File 'deadline/cfn_storage_profile_props.rb', line 40 def os_family @os_family end |
Class Method Details
.jsii_properties ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'deadline/cfn_storage_profile_props.rb', line 47 def self.jsii_properties { :display_name => "displayName", :farm_id => "farmId", :os_family => "osFamily", :file_system_locations => "fileSystemLocations", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'deadline/cfn_storage_profile_props.rb', line 56 def to_jsii result = {} result.merge!({ "displayName" => @display_name, "farmId" => @farm_id, "osFamily" => @os_family, "fileSystemLocations" => @file_system_locations, }) result.compact end |