amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

  • operationPreferences :: Maybe StackSetOperationPreferences
     
  • organizationalUnitIds :: Maybe [Text]

    The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

  • stackIds :: Maybe [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.

    Specify either StackIds or StackIdsUrl.

  • stackIdsUrl :: Maybe Text

    The Amazon S3 URL which contains list of stack ids to be inputted.

    Specify either StackIds or StackIdsUrl.

  • stackSetName :: Text

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

Instances

Instances details
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

AWSRequest ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type AWSResponse ImportStacksToStackSet #

Generic ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type Rep ImportStacksToStackSet :: Type -> Type #

Read ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Show ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

NFData ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Methods

rnf :: ImportStacksToStackSet -> () #

Eq ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Hashable ImportStacksToStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

type AWSResponse 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ImportStacksToStackSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "callAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallAs)) :*: (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StackSetOperationPreferences)))) :*: ((S1 ('MetaSel ('Just "organizationalUnitIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "stackIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "stackIdsUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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.

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

ImportStacksToStackSet, importStacksToStackSet_operationPreferences - Undocumented member.

ImportStacksToStackSet, importStacksToStackSet_organizationalUnitIds - The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

$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.

Specify either StackIds or StackIdsUrl.

$sel:stackIdsUrl:ImportStacksToStackSet', importStacksToStackSet_stackIdsUrl - The Amazon S3 URL which contains list of stack ids to be inputted.

Specify either StackIds or StackIdsUrl.

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

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_organizationalUnitIds :: Lens' ImportStacksToStackSet (Maybe [Text]) Source #

The list of OU ID's to which the stacks being imported has to be mapped as deployment target.

importStacksToStackSet_stackIds :: Lens' ImportStacksToStackSet (Maybe [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.

Specify either StackIds or StackIdsUrl.

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

The Amazon S3 URL which contains list of stack ids to be inputted.

Specify either StackIds or StackIdsUrl.

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.

Destructuring the Response

data ImportStacksToStackSetResponse Source #

See: newImportStacksToStackSetResponse smart constructor.

Constructors

ImportStacksToStackSetResponse' 

Fields

Instances

Instances details
Generic ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Associated Types

type Rep ImportStacksToStackSetResponse :: Type -> Type #

Read ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Show ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

NFData ImportStacksToStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ImportStacksToStackSet

Eq 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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:

ImportStacksToStackSet, importStacksToStackSetResponse_operationId - The unique identifier for the stack set operation.

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

Response Lenses