Class: AWSCDK::Greengrassv2::CfnDeployment::DeploymentConfigurationValidationPolicyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
greengrassv2/cfn_deployment.rb

Overview

Contains information about how long a component on a core device can validate its configuration updates before it times out.

Components can use the SubscribeToValidateConfigurationUpdates IPC operation to receive notifications when a deployment specifies a configuration update. Then, components can respond with the SendConfigurationValidityReport IPC operation. For more information, see the Create deployments in the AWS IoT Greengrass V2 Developer Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timeout_in_seconds: nil) ⇒ DeploymentConfigurationValidationPolicyProperty

Returns a new instance of DeploymentConfigurationValidationPolicyProperty.

Parameters:

  • timeout_in_seconds (Numeric, nil) (defaults to: nil)

    The amount of time in seconds that a component can validate its configuration updates.



852
853
854
855
# File 'greengrassv2/cfn_deployment.rb', line 852

def initialize(timeout_in_seconds: nil)
  @timeout_in_seconds = timeout_in_seconds
  Jsii::Type.check_type(@timeout_in_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timeoutInSeconds") unless @timeout_in_seconds.nil?
end

Instance Attribute Details

#timeout_in_secondsNumeric? (readonly)

The amount of time in seconds that a component can validate its configuration updates.

If the validation time exceeds this timeout, then the deployment proceeds for the device.

Default: 30



865
866
867
# File 'greengrassv2/cfn_deployment.rb', line 865

def timeout_in_seconds
  @timeout_in_seconds
end

Class Method Details

.jsii_propertiesObject



867
868
869
870
871
# File 'greengrassv2/cfn_deployment.rb', line 867

def self.jsii_properties
  {
    :timeout_in_seconds => "timeoutInSeconds",
  }
end

Instance Method Details

#to_jsiiObject



873
874
875
876
877
878
879
# File 'greengrassv2/cfn_deployment.rb', line 873

def to_jsii
  result = {}
  result.merge!({
    "timeoutInSeconds" => @timeout_in_seconds,
  })
  result.compact
end