/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the greengrassv2-2020-11-30.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.GreengrassV2.Model { /// /// 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 Create /// deployments in the IoT Greengrass V2 Developer Guide. /// public partial class DeploymentConfigurationValidationPolicy { private int? _timeoutInSeconds; /// /// Gets and sets the property TimeoutInSeconds. /// /// 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 /// /// public int TimeoutInSeconds { get { return this._timeoutInSeconds.GetValueOrDefault(); } set { this._timeoutInSeconds = value; } } // Check to see if TimeoutInSeconds property is set internal bool IsSetTimeoutInSeconds() { return this._timeoutInSeconds.HasValue; } } }