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

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

Overview

Note:

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

{
  version_requirement: "NonEmptyString",
  dependency_type: "HARD", # accepts HARD, SOFT
}

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)


450
451
452
453
454
455
# File 'lib/aws-sdk-greengrassv2/types.rb', line 450

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)


450
451
452
453
454
455
# File 'lib/aws-sdk-greengrassv2/types.rb', line 450

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