Class: Aws::GreengrassV2::Types::DeploymentPolicies

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

Overview

Contains information about policies that define how a deployment updates components and handles failure.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#component_update_policyTypes::DeploymentComponentUpdatePolicy

The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.



1165
1166
1167
1168
1169
1170
1171
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1165

class DeploymentPolicies < Struct.new(
  :failure_handling_policy,
  :component_update_policy,
  :configuration_validation_policy)
  SENSITIVE = []
  include Aws::Structure
end

#configuration_validation_policyTypes::DeploymentConfigurationValidationPolicy

The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.



1165
1166
1167
1168
1169
1170
1171
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1165

class DeploymentPolicies < Struct.new(
  :failure_handling_policy,
  :component_update_policy,
  :configuration_validation_policy)
  SENSITIVE = []
  include Aws::Structure
end

#failure_handling_policyString

The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

Default: ROLLBACK

Returns:

  • (String)


1165
1166
1167
1168
1169
1170
1171
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1165

class DeploymentPolicies < Struct.new(
  :failure_handling_policy,
  :component_update_policy,
  :configuration_validation_policy)
  SENSITIVE = []
  include Aws::Structure
end