/* * 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 cloudformation-2010-05-15.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.CloudFormation.Model { /// /// Container for the parameters to the DetectStackDrift operation. /// Detects whether a stack's actual configuration differs, or has drifted, from /// its expected configuration, as defined in the stack template and any values specified /// as template parameters. For each resource in the stack that supports drift detection, /// CloudFormation compares the actual configuration of the resource with its expected /// template configuration. Only resource properties explicitly defined in the stack template /// are checked for drift. A stack is considered to have drifted if one or more of its /// resources differ from their expected template configurations. For more information, /// see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackDrift to detect drift on all supported resources for a /// given stack, or DetectStackResourceDrift to detect drift on individual resources. /// /// /// /// For a list of stack resources that currently support drift detection, see Resources /// that Support Drift Detection. /// /// /// /// DetectStackDrift can take up to several minutes, depending on the number /// of resources contained within the stack. Use DescribeStackDriftDetectionStatus /// to monitor the progress of a detect stack drift operation. Once the drift detection /// operation has completed, use DescribeStackResourceDrifts to return drift information /// about the stack and its resources. /// /// /// /// When detecting drift on a stack, CloudFormation doesn't detect drift on any nested /// stacks belonging to that stack. Perform DetectStackDrift directly on /// the nested stack itself. /// /// public partial class DetectStackDriftRequest : AmazonCloudFormationRequest { private List _logicalResourceIds = new List(); private string _stackName; /// /// Gets and sets the property LogicalResourceIds. /// /// The logical names of any resources you want to use as filters. /// /// [AWSProperty(Min=1, Max=200)] public List LogicalResourceIds { get { return this._logicalResourceIds; } set { this._logicalResourceIds = value; } } // Check to see if LogicalResourceIds property is set internal bool IsSetLogicalResourceIds() { return this._logicalResourceIds != null && this._logicalResourceIds.Count > 0; } /// /// Gets and sets the property StackName. /// /// The name of the stack for which you want to detect drift. /// /// [AWSProperty(Required=true, Min=1)] public string StackName { get { return this._stackName; } set { this._stackName = value; } } // Check to see if StackName property is set internal bool IsSetStackName() { return this._stackName != null; } } }