Create Stack Set
| cloudformation_create_stack_set | R Documentation |
Creates a StackSet¶
Description¶
Creates a StackSet.
Usage¶
cloudformation_create_stack_set(StackSetName, Description, TemplateBody,
TemplateURL, StackId, Parameters, Capabilities, Tags,
AdministrationRoleARN, ExecutionRoleName, PermissionModel,
AutoDeployment, CallAs, ClientRequestToken, ManagedExecution)
Arguments¶
StackSetName |
[required] The name to associate with the StackSet. The name must be unique in the Region where you create your StackSet. A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters. |
Description |
A description of the StackSet. You can use the description to identify the StackSet's purpose or other important information. |
TemplateBody |
The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. Conditional: You must specify either the |
TemplateURL |
The URL of a file that contains the template body. The URL must
point to a template (maximum size: 1 MB) that's located in an Amazon S3
bucket or a Systems Manager document. The location for an Amazon S3
bucket must start with Conditional: You must specify either the |
StackId |
The stack ID you are importing into a new StackSet. Specify the Amazon Resource Name (ARN) of the stack. |
Parameters |
The input parameters for the StackSet template. |
Capabilities |
In some cases, you must explicitly acknowledge that your StackSet template contains certain capabilities in order for CloudFormation to create the StackSet and related stack instances.
|
Tags |
The key-value pairs to associate with this StackSet and the stacks created from it. CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified. If you specify tags as part of a |
AdministrationRoleARN |
The Amazon Resource Name (ARN) of the IAM role to use to create this StackSet. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Grant self-managed permissions in the CloudFormation User Guide. Valid only if the permissions model is
|
ExecutionRoleName |
The name of the IAM execution role to use to create the StackSet.
If you do not specify an execution role, CloudFormation uses the
Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their StackSets. Valid only if the permissions model is
|
PermissionModel |
Describes how the IAM roles required for StackSet operations are
created. By default,
|
AutoDeployment |
Describes whether StackSets automatically deploys to Organizations accounts that are added to the target organization or organizational unit (OU). For more information, see Enable or disable automatic deployments for StackSets in Organizations in the CloudFormation User Guide. Required if the permissions model is |
CallAs |
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. By default,
StackSets with service-managed permissions are created in the management account, including StackSets that are created by delegated administrators. Valid only if the permissions model is
|
ClientRequestToken |
A unique identifier for this If you don't specify an operation ID, the SDK generates one automatically. |
ManagedExecution |
Describes whether CloudFormation performs non-conflicting operations concurrently and queues conflicting operations. |
Value¶
A list with the following syntax:
list(
StackSetId = "string"
)
Request syntax¶
svc$create_stack_set(
StackSetName = "string",
Description = "string",
TemplateBody = "string",
TemplateURL = "string",
StackId = "string",
Parameters = list(
list(
ParameterKey = "string",
ParameterValue = "string",
UsePreviousValue = TRUE|FALSE,
ResolvedValue = "string"
)
),
Capabilities = list(
"CAPABILITY_IAM"|"CAPABILITY_NAMED_IAM"|"CAPABILITY_AUTO_EXPAND"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
),
AdministrationRoleARN = "string",
ExecutionRoleName = "string",
PermissionModel = "SERVICE_MANAGED"|"SELF_MANAGED",
AutoDeployment = list(
Enabled = TRUE|FALSE,
RetainStacksOnAccountRemoval = TRUE|FALSE,
DependsOn = list(
"string"
)
),
CallAs = "SELF"|"DELEGATED_ADMIN",
ClientRequestToken = "string",
ManagedExecution = list(
Active = TRUE|FALSE
)
)