/*
* 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model
{
///
/// An CloudFormation stack, in a specific account and Region, that's part of a stack
/// set operation. A stack instance is a reference to an attempted or actual stack in
/// a given account within a given Region. A stack instance can exist without a stackāfor
/// example, if the stack couldn't be created for some reason. A stack instance is associated
/// with only one stack set. Each stack instance contains the ID of its associated stack
/// set, as well as the ID of the actual stack and the stack status.
///
public partial class StackInstance
{
private string _account;
private string _region;
private StackInstanceStatus _stackInstanceStatus;
///
/// Gets and sets the property Account.
///
/// The name of the Amazon Web Services account that the stack instance is associated
/// with.
///
///
public string Account
{
get { return this._account; }
set { this._account = value; }
}
// Check to see if Account property is set
internal bool IsSetAccount()
{
return this._account != null;
}
///
/// Gets and sets the property Region.
///
/// The name of the Amazon Web Services Region that the stack instance is associated with.
///
///
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property StackInstanceStatus.
///
/// The status of the stack instance, in terms of its synchronization with its associated
/// stack set.
///
/// -
///
///
INOPERABLE
: A DeleteStackInstances
operation has failed
/// and left the stack in an unstable state. Stacks in this state are excluded from further
/// UpdateStackSet
operations. You might need to perform a DeleteStackInstances
/// operation, with RetainStacks
set to true, to delete the stack instance,
/// and then delete the stack manually.
///
/// -
///
///
OUTDATED
: The stack isn't currently up to date with the stack set because
/// either the associated stack failed during a CreateStackSet
or UpdateStackSet
/// operation, or the stack was part of a CreateStackSet
or UpdateStackSet
/// operation that failed or was stopped before the stack was created or updated.
///
/// -
///
///
CURRENT
: The stack is currently up to date with the stack set.
///
///
///
public StackInstanceStatus StackInstanceStatus
{
get { return this._stackInstanceStatus; }
set { this._stackInstanceStatus = value; }
}
// Check to see if StackInstanceStatus property is set
internal bool IsSetStackInstanceStatus()
{
return this._stackInstanceStatus != null;
}
}
}