AWS PSM model root
The AWS PSM root is the deployment-oriented container. It owns stages, SAM stacks, AWS policies, documents, and the derived resource index.
Source: mde/metamodels/psm/awspsm-root.emf.
AwsPsmModel
Represents aws psm model in the PSM vocabulary. It specializes TraceableElement with the details needed for this modeling concern.
Direct supertypes: TraceableElement. Inherited attributes and marker capabilities are documented in the shared kernel; this section lists every attribute declared by this class.
Declared attributes
| Attribute | Type and multiplicity | What it captures and why it exists | Accepted values and example |
|---|---|---|---|
accountStrategy |
String [1] |
How AWS account selection is governed across stages. It prevents account identity from being hidden in generated configuration and makes promotion rules reviewable. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. |
A free-form String, subject to this class's semantic meaning and any EVL constraints. Example: Aws Psm Model Account Strategy. |
regionStrategy |
String [1] |
The policy for choosing deployment regions, including whether the model is single-region, configurable, or intended for a multi-region posture. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. |
A free-form String, subject to this class's semantic meaning and any EVL constraints. Example: us-east-1. |
defaultRegion |
String [1] |
The concrete region used when a more specific stage/resource decision is absent. It is validated because generated templates cannot safely omit their deployment location. Semantic validation: DefaultRegionRecommended (default region recommended) in mde/validation/psm/rules/core.evl the value must be present and non-blank. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. Generation role: The artifact generator references this feature in mde/generation/awspsm-to-artifacts/templates/infrastructure/samconfig.egl. The artifact generator references this feature in mde/generation/awspsm-to-artifacts/templates/scripts/deploy.egl. |
A free-form String, subject to this class's semantic meaning and any EVL constraints. Example: us-east-1. |
namingConvention |
String [1] |
The human-readable naming policy applied to AWS resources and stacks, preserving operational discoverability across environments. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. |
A free-form String, subject to this class's semantic meaning and any EVL constraints. Example: Aws Psm Model Naming Convention. |
taggingStrategy |
String [1] |
The organizational rule for resource tags, including ownership, environment, cost, and propagation expectations. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. |
A free-form String, subject to this class's semantic meaning and any EVL constraints. Example: Aws Psm Model Tagging Strategy. |
productionMode |
Boolean [1] |
Whether the model is being prepared for production safeguards. EVL uses it to require production stages and stronger retention, approval, and security posture. Semantic validation: ProductionModeHasProdStage (production mode has prod stage) in mde/validation/psm/rules/core.evl the flag must be enabled for this rule to pass. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. Generation role: The artifact generator references this feature in mde/generation/awspsm-to-artifacts/lib/trace.eol. The artifact generator references this feature in mde/generation/awspsm-to-artifacts/lib/validation.eol. |
Either true or false. Example: true. |
partition |
AwsPartition [1] |
The AWS partition in which resources live, commercial, GovCloud, or China, because ARN and endpoint assumptions are partition-specific. Transformation role: ETL rule PIMModel2AwsPsmModel in mde/transformations/pim-to-awspsm/root-stage-stack.etl assigns or materializes this feature while refining AwsPsmModel. |
Exactly one of: AWS, AWS_US_GOV, AWS_CN. Example: AWS. |
Relationships
| Relationship | Kind and multiplicity | Meaning in the model |
|---|---|---|
stages → AwsStage |
containment, [+] | Contains the aws stage element(s) that make up this aws psm model; the contained objects belong to this model element. |
stacks → SamStack |
containment, [+] | Contains the sam stack element(s) that make up this aws psm model; the contained objects belong to this model element. |
samGlobals → SamGlobals |
containment, [?] | Contains the sam globals element(s) that make up this aws psm model; the contained objects belong to this model element. |
namingPolicy → AwsNamingPolicy |
containment, [?] | Contains the aws naming policy element(s) that make up this aws psm model; the contained objects belong to this model element. |
taggingPolicy → AwsTaggingPolicy |
containment, [?] | Contains the aws tagging policy element(s) that make up this aws psm model; the contained objects belong to this model element. |
securityBaseline → AwsSecurityBaseline |
containment, [?] | Contains the aws security baseline element(s) that make up this aws psm model; the contained objects belong to this model element. |
traceModel → TraceModel |
containment, [?] | Contains the trace model element(s) that make up this aws psm model; the contained objects belong to this model element. |
readiness → ProductionReadinessAssessment |
containment, [?] | Contains the production readiness assessment element(s) that make up this aws psm model; the contained objects belong to this model element. |
documents → StructuredDocument |
containment, [*] | Contains the structured document element(s) that make up this aws psm model; the contained objects belong to this model element. |
relationshipViews → AwsRelationshipView |
containment, [*] | Contains the aws relationship view element(s) that make up this aws psm model; the contained objects belong to this model element. |
allResources → AwsResource |
reference; derived; read-only, [*] | A derived view of the aws resource elements associated with this aws psm model; consumers may use it for navigation, but should not treat it as an independent source of truth. |