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.



1146
1147
1148
1149
1150
1151
1152
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1146

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.



1146
1147
1148
1149
1150
1151
1152
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1146

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)


1146
1147
1148
1149
1150
1151
1152
# File 'gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/types.rb', line 1146

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