Naming Conventions¶
Table of Contents¶
Overview¶
This document defines the naming conventions for all resources and artifacts created by the S3 Provisioner Tool.
Configuration Variables¶
All naming patterns use these variables from the configuration file:
{company_prefix}— Company identifier (e.g.,edge){env}— Environment (e.g.,prod,dev,staging){tenant_id}— Tenant identifier (e.g.,a001){region}— AWS region (e.g.,us-west-1){solution}— Solution name (e.g.,master-solution,customer-churn)
The stem is the base name prefix used across all resources and files. Every resource the tool creates starts with this stem, making it easy to identify and manage all artifacts from a single deployment.
Stem pattern: {company_prefix}-{env}-{tenant_id}-{region}-s3
Stem examples:
edge-prod-a001-us-west-1-s3acme-dev-a003-us-west-2-s3health-prod-a002-us-east-1-s3
For dedicated bucket deployments (Pattern B), the solution name is appended to the stem:
Pattern B stem: {company_prefix}-{env}-{tenant_id}-{region}-s3-{solution}
Pattern B examples:
edge-prod-b001-us-west-1-s3-customer-churnedge-prod-b001-us-west-1-s3-fraud-detection
AWS Resources¶
S3 Bucket (Global)¶
Auto-generated pattern: {stem} or {stem}-{solution}
Examples:
edge-prod-a001-us-west-1-s3(Pattern A — shared bucket)edge-prod-b001-us-west-1-s3-customer-churn(Pattern B — dedicated bucket)
Custom names: When bucket_name_override is set, the custom name is used instead.
S3 bucket naming rules:
3–63 characters
Lowercase letters, numbers, hyphens only
Must start/end with letter or number
No underscores, spaces, or uppercase
Globally unique across all AWS accounts
CloudFormation Stack (Regional)¶
Pattern: {stem}-stack or {stem}-{solution}-stack
Examples:
edge-prod-a001-us-west-1-s3-stackedge-prod-b001-us-west-1-s3-customer-churn-stack
IAM Policy (Global)¶
Pattern: {stem}-iam-policy or {stem}-{solution}-iam-policy
Examples:
edge-prod-a001-us-west-1-s3-iam-policyedge-prod-b001-us-west-1-s3-customer-churn-iam-policy
Local Artifacts¶
Configuration Files¶
Pattern: {stem}.yaml
Location: s3/configs/
Examples:
edge-prod-b001-us-west-1-s3.yamledge-prod-b001-us-west-1-s3-customer-churn-s3.yaml
CloudFormation Templates¶
Pattern: {stem}-template.yaml
Location: s3/templates/
Examples:
edge-prod-a001-us-west-1-s3-template.yamledge-prod-b001-us-west-1-s3-customer-churn-template.yaml
IAM Policy Files¶
Pattern: {stem}-iam-policy.json
Location: s3/reports/
Examples:
edge-prod-a001-us-west-1-s3-iam-policy.jsonedge-prod-b001-us-west-1-s3-customer-churn-iam-policy.json
Usage Assumptions Files¶
Pattern: {stem}-usage.yaml
Location: s3/configs/
Examples:
edge-prod-a001-us-west-1-s3-usage.yamledge-prod-b001-us-west-1-s3-customer-churn-usage.yaml
Log Files¶
Pattern: {stem}-{action}-{solution}-{timestamp}.log
Location: s3/reports/
Examples:
edge-prod-b001-us-west-1-s3-create-policy-None-20260228-020700-792.logedge-prod-b001-us-west-1-s3-customer-churn-create-bucket-customer-churn-20260228-023020-467.log
HTML Reports¶
Pattern: {stem}-{action}-{solution}-{timestamp}.html
Location: s3/reports/
Examples:
edge-prod-b001-us-west-1-s3-create-prov-template-master-solution-20260228-020702-154.htmledge-prod-b001-us-west-1-s3-customer-churn-create-bucket-customer-churn-20260228-023021-194.html
Naming Convention Summary¶
Resource |
Pattern |
|---|---|
S3 Bucket |
|
CloudFormation Stack |
|
IAM Policy |
|
Config File |
|
Template File |
|
Policy File |
|
Usage File |
|
Log File |
|
HTML Report |
|
Where stem is {company_prefix}-{env}-{tenant_id}-{region}-s3 (Pattern A) or {company_prefix}-{env}-{tenant_id}-{region}-s3-{solution} (Pattern B).