# Common

LLMS index: [llms.txt](https://docs.e.samsungsdscloud.com/en/templatereference/common/llms.txt)

---

## Overview

Template Reference is a companion to the [Infrastructure Builder user guide](/en/userguide/management/infrastructure_builder/). It provides reference information on the resource types and property types you can use in Infrastructure Builder templates.

If you are writing a template for the first time, start with [Writing a template](/en/userguide/management/infrastructure_builder/how_to_guides/template/#write) in the user guide. It covers the basic structure of a template, how to write one, and examples.

## Resource types and property types

A resource type is a kind of resource that you can create and manage with Infrastructure Builder. For each resource, you specify the resource type in `Type` and define the resource's settings in `Properties`.

In [Template Reference](/en/templatereference/), select a service group, a service, and then a resource type to see the following information.

| Item | Description |
| --- | --- |
| Syntax | The JSON and YAML syntax for declaring the resource in a template |
| Properties | For each property in `Properties`: description, whether it is required, type, constraints, and update behavior |
| Return values | The value that `Ref` returns for the resource, and the attributes you can retrieve with `Fn::GetAtt` |

If a property takes a nested object, see the **property type page** linked from that property for the object's properties and rules. Some resources also include sample templates.

## Writing templates

Features common to all templates, such as template format, structure, and intrinsic functions, are described in the Infrastructure Builder user guide. Refer to the following topics as needed.

| Topic | Description | User guide |
| --- | --- | --- |
| Template format | How to write templates in JSON and YAML, and notation for intrinsic functions | [Template format](/en/userguide/management/infrastructure_builder/how_to_guides/template/#format) |
| Template anatomy | The role of each template section, such as `Parameters`, `Resources`, and `Outputs`, and how to write it | [Template anatomy](/en/userguide/management/infrastructure_builder/how_to_guides/template/#anatomy) |
| Common resource attributes | Settings such as `DependsOn`, `Condition`, `DeletionPolicy`, and `UpdateReplacePolicy` that control when a resource is created, its dependencies, and what happens when it is deleted or replaced | [Resources](/en/userguide/management/infrastructure_builder/how_to_guides/template/#resources) |
| Intrinsic functions | Functions for referencing values, combining strings, and evaluating conditions | [Intrinsic functions](/en/userguide/management/infrastructure_builder/how_to_guides/template/#intrinsic-function) |
| Pseudo parameters | Parameters predefined by Infrastructure Builder, such as `SCP::Region` and `SCP::AccountId` | [Pseudo parameters](/en/userguide/management/infrastructure_builder/how_to_guides/template/#pseudo-parameter) |
| Template examples | JSON and YAML examples that include parameters, resources, and outputs | [Template examples](/en/userguide/management/infrastructure_builder/how_to_guides/template/#example) |
| Template limits | Limits to check when writing a template, such as template size and number of resources | [Template limits](/en/userguide/management/infrastructure_builder/how_to_guides/template/#limits) |
