AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrassv2/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)


415
416
417
418
419
420
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 415

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.

Returns:

  • (String)


415
416
417
418
419
420
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 415

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