Class: AWSCDK::Greengrass::CfnLoggerDefinitionVersionProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
greengrass/cfn_logger_definition_version_props.rb

Overview

Properties for defining a CfnLoggerDefinitionVersion.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logger_definition_id:, loggers:) ⇒ CfnLoggerDefinitionVersionProps

Returns a new instance of CfnLoggerDefinitionVersionProps.

Parameters:



11
12
13
14
15
16
# File 'greengrass/cfn_logger_definition_version_props.rb', line 11

def initialize(logger_definition_id:, loggers:)
  @logger_definition_id = logger_definition_id
  Jsii::Type.check_type(@logger_definition_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "loggerDefinitionId")
  @loggers = loggers
  Jsii::Type.check_type(@loggers, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ3JlZW5ncmFzcy5DZm5Mb2dnZXJEZWZpbml0aW9uVmVyc2lvbi5Mb2dnZXJQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "loggers")
end

Instance Attribute Details

#logger_definition_idString (readonly)

The ID of the logger definition associated with this version.

This value is a GUID.



24
25
26
# File 'greengrass/cfn_logger_definition_version_props.rb', line 24

def logger_definition_id
  @logger_definition_id
end

Class Method Details

.jsii_propertiesObject



31
32
33
34
35
36
# File 'greengrass/cfn_logger_definition_version_props.rb', line 31

def self.jsii_properties
  {
    :logger_definition_id => "loggerDefinitionId",
    :loggers => "loggers",
  }
end

Instance Method Details

#to_jsiiObject



38
39
40
41
42
43
44
45
# File 'greengrass/cfn_logger_definition_version_props.rb', line 38

def to_jsii
  result = {}
  result.merge!({
    "loggerDefinitionId" => @logger_definition_id,
    "loggers" => @loggers,
  })
  result.compact
end