CmdID / aws / aws cloudformation
aws cloudformation package
Packages the local artifacts (local paths) that your AWS CloudFormation template references. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--force-uploadIndicates whether to override existing files in the S3 bucket.--kms-key-idThe ID of an AWS KMS key that the command uses to encrypt artifacts that are at rest in the S3 bucket.--metadataA map of metadata to attach to *ALL* the artifacts that are referenced in your template.--output-template-fileThe path to the file where the command writes the output AWS CloudFormation template.--s3-bucketThe name of the S3 bucket where this command uploads the artifacts that are referenced in your template.--s3-prefixA prefix name that the command adds to the artifacts' name when it uploads them to the S3 bucket.--template-fileThe path where your AWS CloudFormation template is located.--use-jsonIndicates whether to use JSON as the format for the output AWS CloudFormation template.