/AWS1/IF_FRM=>IMPORTSTACKSTOSTACKSET()
¶
About ImportStacksToStackSet¶
Import existing stacks into a new StackSets. Use the stack import operation to import up to 10 stacks into a new StackSet 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.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_stacksetname
TYPE /AWS1/FRMSTACKSETNAMEORID
/AWS1/FRMSTACKSETNAMEORID
¶
The name of the StackSet. The name must be unique in the Region where you create your StackSet.
Optional arguments:¶
it_stackids
TYPE /AWS1/CL_FRMSTACKIDLIST_W=>TT_STACKIDLIST
TT_STACKIDLIST
¶
The IDs of the stacks you are importing into a StackSet. You import up to 10 stacks per StackSet at a time.
Specify either
StackIds
orStackIdsUrl
.
iv_stackidsurl
TYPE /AWS1/FRMSTACKIDSURL
/AWS1/FRMSTACKIDSURL
¶
The Amazon S3 URL which contains list of stack ids to be inputted.
Specify either
StackIds
orStackIdsUrl
.
it_organizationalunitids
TYPE /AWS1/CL_FRMORGALUNITIDLIST_W=>TT_ORGANIZATIONALUNITIDLIST
TT_ORGANIZATIONALUNITIDLIST
¶
The list of OU ID's to which the imported stacks must be mapped as deployment targets.
io_operationpreferences
TYPE REF TO /AWS1/CL_FRMSTACKSETOPPREFER00
/AWS1/CL_FRMSTACKSETOPPREFER00
¶
The user-specified preferences for how CloudFormation performs a StackSet operation.
For more information about maximum concurrent accounts and failure tolerance, see StackSet operation options.
iv_operationid
TYPE /AWS1/FRMCLIENTREQUESTTOKEN
/AWS1/FRMCLIENTREQUESTTOKEN
¶
A unique, user defined, identifier for the StackSet operation.
iv_callas
TYPE /AWS1/FRMCALLAS
/AWS1/FRMCALLAS
¶
By default,
SELF
is specified. UseSELF
for StackSets with self-managed permissions.
If you are signed in to the management account, specify
SELF
.For service managed StackSets, specify
DELEGATED_ADMIN
.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_frmimpstackstostack01
/AWS1/CL_FRMIMPSTACKSTOSTACK01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_frm~importstackstostackset(
io_operationpreferences = new /aws1/cl_frmstacksetopprefer00(
it_regionorder = VALUE /aws1/cl_frmregionlist_w=>tt_regionlist(
( new /aws1/cl_frmregionlist_w( |string| ) )
)
iv_concurrencymode = |string|
iv_failuretolerancecount = 123
iv_failuretolerancepercent00 = 123
iv_maxconcurrentcount = 123
iv_maxconcurrentpercentage = 123
iv_regionconcurrencytype = |string|
)
it_organizationalunitids = VALUE /aws1/cl_frmorgalunitidlist_w=>tt_organizationalunitidlist(
( new /aws1/cl_frmorgalunitidlist_w( |string| ) )
)
it_stackids = VALUE /aws1/cl_frmstackidlist_w=>tt_stackidlist(
( new /aws1/cl_frmstackidlist_w( |string| ) )
)
iv_callas = |string|
iv_operationid = |string|
iv_stackidsurl = |string|
iv_stacksetname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_clientrequesttoken = lo_result->get_operationid( ).
ENDIF.