Class: Aws::GreengrassV2::Types::ComponentDependencyRequirement

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-greengrassv2/types.rb

Overview

Contains information about a component dependency for a Lambda function component.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dependency_typeString

The type of this dependency. Choose from the following options:

  • ‘SOFT` – The component doesn’t restart if the dependency changes state.

  • ‘HARD` – The component restarts if the dependency changes state.

Default: ‘HARD`

Returns:

  • (String)


407
408
409
410
411
412
# File 'lib/aws-sdk-greengrassv2/types.rb', line 407

class ComponentDependencyRequirement < Struct.new(
  :version_requirement,
  :dependency_type)
  SENSITIVE = []
  include Aws::Structure
end

#version_requirementString

The component version requirement for the component dependency.

IoT Greengrass V2 uses semantic version constraints. For more information, see [Semantic Versioning].

[1]: semver.org/

Returns:

  • (String)


407
408
409
410
411
412
# File 'lib/aws-sdk-greengrassv2/types.rb', line 407

class ComponentDependencyRequirement < Struct.new(
  :version_requirement,
  :dependency_type)
  SENSITIVE = []
  include Aws::Structure
end