Common

Common

Overview

Template Reference is a companion to the Infrastructure Builder user guide. 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 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, select a service group, a service, and then a resource type to see the following information.

ItemDescription
SyntaxThe JSON and YAML syntax for declaring the resource in a template
PropertiesFor each property in Properties: description, whether it is required, type, constraints, and update behavior
Return valuesThe 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.

TopicDescriptionUser guide
Template formatHow to write templates in JSON and YAML, and notation for intrinsic functionsTemplate format
Template anatomyThe role of each template section, such as Parameters, Resources, and Outputs, and how to write itTemplate anatomy
Common resource attributesSettings such as DependsOn, Condition, DeletionPolicy, and UpdateReplacePolicy that control when a resource is created, its dependencies, and what happens when it is deleted or replacedResources
Intrinsic functionsFunctions for referencing values, combining strings, and evaluating conditionsIntrinsic functions
Pseudo parametersParameters predefined by Infrastructure Builder, such as SCP::Region and SCP::AccountIdPseudo parameters
Template examplesJSON and YAML examples that include parameters, resources, and outputsTemplate examples
Template limitsLimits to check when writing a template, such as template size and number of resourcesTemplate limits