Class: Aws::Greengrass::Types::CreateLoggerDefinitionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass CreateLoggerDefinitionRequest data as a hash:

{
  amzn_client_token: "__string",
  initial_version: {
    loggers: [
      {
        component: "GreengrassSystem", # required, accepts GreengrassSystem, Lambda
        id: "__string", # required
        level: "DEBUG", # required, accepts DEBUG, INFO, WARN, ERROR, FATAL
        space: 1,
        type: "FileSystem", # required, accepts FileSystem, AWSCloudWatch
      },
    ],
  },
  name: "__string",
  tags: {
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1317
1318
1319
1320
1321
1322
1323
1324
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1317

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#initial_versionTypes::LoggerDefinitionVersion

Information about a logger definition version.



1317
1318
1319
1320
1321
1322
1323
1324
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1317

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Returns:

  • (String)


1317
1318
1319
1320
1321
1322
1323
1324
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1317

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The key-value pair for the resource tag.

Returns:

  • (Hash<String,String>)


1317
1318
1319
1320
1321
1322
1323
1324
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1317

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end