/* * 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 ImportStacksToStackSet operation. /// Import existing stacks into a new stack sets. Use the stack import operation to import /// up to 10 stacks into a new stack set in the same account as the source stack or in /// a different administrator account and Region, by specifying the stack ID of the stack /// you intend to import. /// public partial class ImportStacksToStackSetRequest : AmazonCloudFormationRequest { private CallAs _callAs; private string _operationId; private StackSetOperationPreferences _operationPreferences; private List _organizationalUnitIds = new List(); private List _stackIds = new List(); private string _stackIdsUrl; private string _stackSetName; /// /// Gets and sets the property CallAs. /// /// By default, SELF is specified. Use SELF for stack sets with /// self-managed permissions. /// ///
  • /// /// If you are signed in to the management account, specify SELF. /// ///
  • /// /// For service managed stack sets, specify DELEGATED_ADMIN. /// ///
///
public CallAs CallAs { get { return this._callAs; } set { this._callAs = value; } } // Check to see if CallAs property is set internal bool IsSetCallAs() { return this._callAs != null; } /// /// Gets and sets the property OperationId. /// /// A unique, user defined, identifier for the stack set operation. /// /// [AWSProperty(Min=1, Max=128)] public string OperationId { get { return this._operationId; } set { this._operationId = value; } } // Check to see if OperationId property is set internal bool IsSetOperationId() { return this._operationId != null; } /// /// Gets and sets the property OperationPreferences. /// /// The user-specified preferences for how CloudFormation performs a stack set operation. /// /// /// /// For more information about maximum concurrent accounts and failure tolerance, see /// Stack /// set operation options. /// /// public StackSetOperationPreferences OperationPreferences { get { return this._operationPreferences; } set { this._operationPreferences = value; } } // Check to see if OperationPreferences property is set internal bool IsSetOperationPreferences() { return this._operationPreferences != null; } /// /// Gets and sets the property OrganizationalUnitIds. /// /// The list of OU ID's to which the stacks being imported has to be mapped as deployment /// target. /// /// public List OrganizationalUnitIds { get { return this._organizationalUnitIds; } set { this._organizationalUnitIds = value; } } // Check to see if OrganizationalUnitIds property is set internal bool IsSetOrganizationalUnitIds() { return this._organizationalUnitIds != null && this._organizationalUnitIds.Count > 0; } /// /// Gets and sets the property StackIds. /// /// The IDs of the stacks you are importing into a stack set. You import up to 10 stacks /// per stack set at a time. /// /// /// /// Specify either StackIds or StackIdsUrl. /// /// public List StackIds { get { return this._stackIds; } set { this._stackIds = value; } } // Check to see if StackIds property is set internal bool IsSetStackIds() { return this._stackIds != null && this._stackIds.Count > 0; } /// /// Gets and sets the property StackIdsUrl. /// /// The Amazon S3 URL which contains list of stack ids to be inputted. /// /// /// /// Specify either StackIds or StackIdsUrl. /// /// [AWSProperty(Min=1, Max=5120)] public string StackIdsUrl { get { return this._stackIdsUrl; } set { this._stackIdsUrl = value; } } // Check to see if StackIdsUrl property is set internal bool IsSetStackIdsUrl() { return this._stackIdsUrl != null; } /// /// Gets and sets the property StackSetName. /// /// The name of the stack set. The name must be unique in the Region where you create /// your stack set. /// /// [AWSProperty(Required=true)] public string StackSetName { get { return this._stackSetName; } set { this._stackSetName = value; } } // Check to see if StackSetName property is set internal bool IsSetStackSetName() { return this._stackSetName != null; } } }