CmdID / aws / aws cloudformation
aws cloudformation create-stack
Creates a stack as specified in the template. AWS CLI reference
20 options Its page in the AWS CLI reference
Options
--capabilitiesIn some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for CloudFormation to create the stack.--client-request-tokenA unique identifier for this CreateStack request.--deployment-configThe deployment configuration for this stack operation, including the deployment mode.--disable-rollbackSet to true to disable rollback of the stack if stack creation failed.--disable-validationSet to true to disable pre-deployment validations in changeset or stack operations.--enable-termination-protectionWhether to enable termination protection on the specified stack.--notification-arnsThe Amazon SNS topic ARNs to publish stack related events.--on-failureDetermines what action will be taken if stack creation fails.--parametersA list of Parameter structures that specify input parameters for the stack.--resource-typesSpecifies which resource types you can work with, such as AWS::EC2::Instance or Custom::MyCustomInstance.--retain-except-on-createWhen set to true, newly created resources are deleted when the operation rolls back.--role-arnThe Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to create the stack.--rollback-configurationThe rollback triggers for CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards.--stack-nameThe name that's associated with the stack.--stack-policy-bodyStructure that contains the stack policy body.--stack-policy-urlLocation of a file that contains the stack policy.--tagsKey-value pairs to associate with this stack.--template-bodyStructure that contains the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.--template-urlThe URL of a file that contains the template body.--timeout-in-minutesThe amount of time that can pass before the stack status becomes CREATE_FAILED; if DisableRollback is not set or is set to false, the stack will be rolled back.