Views:
To use a custom prefix for a resource name, specify the prefix when you deploy the stack.
Field on AWS Console¹
Parameter key for AWS CLI²
all-in-one stack
scanner stack
storage stack
Prefix for IAM role name
IAMRolePrefix
✔️
✔️
✔️
Prefix for IAM policy name
IAMPolicyPrefix
✔️
✔️
✔️
Prefix for Lambda function name³
LambdaFunctionPrefix
✔️
✔️
✔️
Prefix for Lambda layer name
LambdaLayerPrefix
✔️
✔️
Prefix for SQS queue name
SQSQueuePrefix
✔️
✔️
Prefix for SNS topic name
SNSTopicPrefix
✔️
✔️

Procedure

  1. You may see these fields on the Quick create stack page when you deploy the stack and on the Specify stack details page when you update the stack.
  2. You may use ParameterKey and ParameterValue to specify prefixes in AWS CLI option --parameters. Example: --parameters ParameterKey=IAMRolePrefix,ParameterValue=IAM-ROLE-PREFIX- ParameterKey=IAMPolicyPrefix,ParameterValue=IAM-policy-prefix-

What to do next

WARNING
WARNING
Do not modify any prefixes when you update the stack. Updating the prefix for the Lambda function can cause your update to fail. Updating other prefixes will prevent automatic updates from occurring.