Class: AWSCDK::Greengrassv2::CfnDeployment::DeploymentConfigurationValidationPolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Greengrassv2::CfnDeployment::DeploymentConfigurationValidationPolicyProperty
- 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
-
#timeout_in_seconds ⇒ Numeric?
readonly
The amount of time in seconds that a component can validate its configuration updates.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(timeout_in_seconds: nil) ⇒ DeploymentConfigurationValidationPolicyProperty
constructor
A new instance of DeploymentConfigurationValidationPolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(timeout_in_seconds: nil) ⇒ DeploymentConfigurationValidationPolicyProperty
Returns a new instance of DeploymentConfigurationValidationPolicyProperty.
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_seconds ⇒ Numeric? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |