Class: AWSCDK::FSX::CfnFileSystem::FsrmConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
fsx/cfn_file_system.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fsrm_service_enabled:, event_log_destination: nil) ⇒ FsrmConfigurationProperty

Returns a new instance of FsrmConfigurationProperty.

Parameters:

  • fsrm_service_enabled (Boolean, AWSCDK::IResolvable)
  • event_log_destination (String, nil) (defaults to: nil)


946
947
948
949
950
951
# File 'fsx/cfn_file_system.rb', line 946

def initialize(fsrm_service_enabled:, event_log_destination: nil)
  @fsrm_service_enabled = fsrm_service_enabled
  Jsii::Type.check_type(@fsrm_service_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "fsrmServiceEnabled")
  @event_log_destination = event_log_destination
  Jsii::Type.check_type(@event_log_destination, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventLogDestination") unless @event_log_destination.nil?
end

Instance Attribute Details

#event_log_destinationString? (readonly)



958
959
960
# File 'fsx/cfn_file_system.rb', line 958

def event_log_destination
  @event_log_destination
end

#fsrm_service_enabledBoolean, AWSCDK::IResolvable (readonly)



955
956
957
# File 'fsx/cfn_file_system.rb', line 955

def fsrm_service_enabled
  @fsrm_service_enabled
end

Class Method Details

.jsii_propertiesObject



960
961
962
963
964
965
# File 'fsx/cfn_file_system.rb', line 960

def self.jsii_properties
  {
    :fsrm_service_enabled => "fsrmServiceEnabled",
    :event_log_destination => "eventLogDestination",
  }
end

Instance Method Details

#to_jsiiObject



967
968
969
970
971
972
973
974
# File 'fsx/cfn_file_system.rb', line 967

def to_jsii
  result = {}
  result.merge!({
    "fsrmServiceEnabled" => @fsrm_service_enabled,
    "eventLogDestination" => @event_log_destination,
  })
  result.compact
end