libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.ImportStacksToStackSet

Description

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.

ImportStacksToStackSet is only supported by self-managed permissions.

Synopsis

Creating a Request

data ImportStacksToStackSet Source #

See: newImportStacksToStackSet smart constructor.

Constructors

ImportStacksToStackSet' 

Fields

  • callAs :: Maybe 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.
  • operationPreferences :: Maybe StackSetOperationPreferences
     
  • operationId :: Maybe Text

    A unique, user defined, identifier for the stack set operation.

  • stackSetName :: Text

    The name of the stack set. The name must be unique in the Region where you create your stack set.

  • stackIds :: [Text]

    The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.

Instances

Instances details
Eq ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Read ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Show ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Generic ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type Rep ImportStacksToStackSet :: Type -> Type #

NFData ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Methods

rnf :: ImportStacksToStackSet -> () #

Hashable ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

AWSRequest ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type AWSResponse ImportStacksToStackSet #

ToHeaders ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

ToPath ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

ToQuery ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

type Rep ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

type Rep ImportStacksToStackSet = D1 ('MetaData "ImportStacksToStackSet" "Amazonka.CloudFormation.ImportStacksToStackSet" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ImportStacksToStackSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "callAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallAs)) :*: S1 ('MetaSel ('Just "operationPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationPreferences))) :*: (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stackIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))
type AWSResponse ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

newImportStacksToStackSet Source #

Create a value of ImportStacksToStackSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:callAs:ImportStacksToStackSet', importStacksToStackSet_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.

$sel:operationPreferences:ImportStacksToStackSet', importStacksToStackSet_operationPreferences - Undocumented member.

$sel:operationId:ImportStacksToStackSet', importStacksToStackSet_operationId - A unique, user defined, identifier for the stack set operation.

$sel:stackSetName:ImportStacksToStackSet', importStacksToStackSet_stackSetName - The name of the stack set. The name must be unique in the Region where you create your stack set.

$sel:stackIds:ImportStacksToStackSet', importStacksToStackSet_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.

Request Lenses

importStacksToStackSet_callAs :: Lens' ImportStacksToStackSet (Maybe CallAs) Source #

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.

importStacksToStackSet_operationId :: Lens' ImportStacksToStackSet (Maybe Text) Source #

A unique, user defined, identifier for the stack set operation.

importStacksToStackSet_stackSetName :: Lens' ImportStacksToStackSet Text Source #

The name of the stack set. The name must be unique in the Region where you create your stack set.

importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet [Text] Source #

The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.

Destructuring the Response

data ImportStacksToStackSetResponse Source #

See: newImportStacksToStackSetResponse smart constructor.

Constructors

ImportStacksToStackSetResponse' 

Fields

Instances

Instances details
Eq ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Read ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Show ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Generic ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type Rep ImportStacksToStackSetResponse :: Type -> Type #

NFData ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

type Rep ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

type Rep ImportStacksToStackSetResponse = D1 ('MetaData "ImportStacksToStackSetResponse" "Amazonka.CloudFormation.ImportStacksToStackSet" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "ImportStacksToStackSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newImportStacksToStackSetResponse Source #

Create a value of ImportStacksToStackSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operationId:ImportStacksToStackSet', importStacksToStackSetResponse_operationId - The unique identifier for the stack set operation.

$sel:httpStatus:ImportStacksToStackSetResponse', importStacksToStackSetResponse_httpStatus - The response's http status code.

Response Lenses