We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Creates a generated template from existing resources using the CloudFormation IaC Generator.
Create GeneratedTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GeneratedTemplate(name: string, args?: GeneratedTemplateArgs, opts?: CustomResourceOptions);@overload
def GeneratedTemplate(resource_name: str,
args: Optional[GeneratedTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GeneratedTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
generated_template_name: Optional[str] = None,
template_configuration: Optional[GeneratedTemplateTemplateConfigurationArgs] = None)func NewGeneratedTemplate(ctx *Context, name string, args *GeneratedTemplateArgs, opts ...ResourceOption) (*GeneratedTemplate, error)public GeneratedTemplate(string name, GeneratedTemplateArgs? args = null, CustomResourceOptions? opts = null)
public GeneratedTemplate(String name, GeneratedTemplateArgs args)
public GeneratedTemplate(String name, GeneratedTemplateArgs args, CustomResourceOptions options)
type: aws-native:cloudformation:GeneratedTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_cloudformation_generated_template" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GeneratedTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GeneratedTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GeneratedTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GeneratedTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GeneratedTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GeneratedTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GeneratedTemplate resource accepts the following input properties:
- Generated
Template stringName - The name assigned to the generated template.
- Template
Configuration Pulumi.Aws Native. Cloud Formation. Inputs. Generated Template Template Configuration
- Generated
Template stringName - The name assigned to the generated template.
- Template
Configuration GeneratedTemplate Template Configuration Args
- generated_
template_ stringname - The name assigned to the generated template.
- template_
configuration object
- generated
Template StringName - The name assigned to the generated template.
- template
Configuration GeneratedTemplate Template Configuration
- generated
Template stringName - The name assigned to the generated template.
- template
Configuration GeneratedTemplate Template Configuration
- generated_
template_ strname - The name assigned to the generated template.
- template_
configuration GeneratedTemplate Template Configuration Args
- generated
Template StringName - The name assigned to the generated template.
- template
Configuration Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the GeneratedTemplate resource produces the following output properties:
- Creation
Time string - The time the generated template was created.
- Generated
Template stringId - The Amazon Resource Name (ARN) of the generated template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time the generated template was last updated.
- Progress
Pulumi.
Aws Native. Cloud Formation. Outputs. Generated Template Template Progress - Status
Pulumi.
Aws Native. Cloud Formation. Generated Template Status - The status of the template generation.
- Total
Warnings int - The number of warnings generated for this template.
- Creation
Time string - The time the generated template was created.
- Generated
Template stringId - The Amazon Resource Name (ARN) of the generated template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time the generated template was last updated.
- Progress
Generated
Template Template Progress - Status
Generated
Template Status - The status of the template generation.
- Total
Warnings int - The number of warnings generated for this template.
- creation_
time string - The time the generated template was created.
- generated_
template_ stringid - The Amazon Resource Name (ARN) of the generated template.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stringtime - The time the generated template was last updated.
- progress object
- status "CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE"
- The status of the template generation.
- total_
warnings number - The number of warnings generated for this template.
- creation
Time String - The time the generated template was created.
- generated
Template StringId - The Amazon Resource Name (ARN) of the generated template.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time the generated template was last updated.
- progress
Generated
Template Template Progress - status
Generated
Template Status - The status of the template generation.
- total
Warnings Integer - The number of warnings generated for this template.
- creation
Time string - The time the generated template was created.
- generated
Template stringId - The Amazon Resource Name (ARN) of the generated template.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTime - The time the generated template was last updated.
- progress
Generated
Template Template Progress - status
Generated
Template Status - The status of the template generation.
- total
Warnings number - The number of warnings generated for this template.
- creation_
time str - The time the generated template was created.
- generated_
template_ strid - The Amazon Resource Name (ARN) of the generated template.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strtime - The time the generated template was last updated.
- progress
Generated
Template Template Progress - status
Generated
Template Status - The status of the template generation.
- total_
warnings int - The number of warnings generated for this template.
- creation
Time String - The time the generated template was created.
- generated
Template StringId - The Amazon Resource Name (ARN) of the generated template.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time the generated template was last updated.
- progress Property Map
- status "CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE"
- The status of the template generation.
- total
Warnings Number - The number of warnings generated for this template.
Look up Existing GeneratedTemplate Resource
Get an existing GeneratedTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): GeneratedTemplate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> GeneratedTemplatefunc GetGeneratedTemplate(ctx *Context, name string, id IDInput, state *GeneratedTemplateState, opts ...ResourceOption) (*GeneratedTemplate, error)public static GeneratedTemplate Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static GeneratedTemplate get(String name, Output<String> id, CustomResourceOptions options)resources: existingGeneratedTemplate: type: aws-native:cloudformation:GeneratedTemplate get: id: ${id}import {
to = aws-native_cloudformation_generated_template.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GeneratedTemplateState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
GeneratedTemplateStatus
The status of the template generation.
| Name | Value |
|---|---|
| Create | CREATE_PENDING |
| Update | UPDATE_PENDING |
| Delete | DELETE_PENDING |
| Create | CREATE_IN_PROGRESS |
| Update | UPDATE_IN_PROGRESS |
| Delete | DELETE_IN_PROGRESS |
| Failed | FAILED |
| Complete | COMPLETE |
| Name | Value |
|---|---|
| Generated | CREATE_PENDING |
| Generated | UPDATE_PENDING |
| Generated | DELETE_PENDING |
| Generated | CREATE_IN_PROGRESS |
| Generated | UPDATE_IN_PROGRESS |
| Generated | DELETE_IN_PROGRESS |
| Generated | FAILED |
| Generated | COMPLETE |
| Value |
|---|
CREATE_PENDING |
UPDATE_PENDING |
DELETE_PENDING |
CREATE_IN_PROGRESS |
UPDATE_IN_PROGRESS |
DELETE_IN_PROGRESS |
FAILED |
COMPLETE |
| Name | Value |
|---|---|
| Create | CREATE_PENDING |
| Update | UPDATE_PENDING |
| Delete | DELETE_PENDING |
| Create | CREATE_IN_PROGRESS |
| Update | UPDATE_IN_PROGRESS |
| Delete | DELETE_IN_PROGRESS |
| Failed | FAILED |
| Complete | COMPLETE |
| Name | Value |
|---|---|
| Create | CREATE_PENDING |
| Update | UPDATE_PENDING |
| Delete | DELETE_PENDING |
| Create | CREATE_IN_PROGRESS |
| Update | UPDATE_IN_PROGRESS |
| Delete | DELETE_IN_PROGRESS |
| Failed | FAILED |
| Complete | COMPLETE |
| Name | Value |
|---|---|
| CREATE_PENDING | CREATE_PENDING |
| UPDATE_PENDING | UPDATE_PENDING |
| DELETE_PENDING | DELETE_PENDING |
| CREATE_IN_PROGRESS | CREATE_IN_PROGRESS |
| UPDATE_IN_PROGRESS | UPDATE_IN_PROGRESS |
| DELETE_IN_PROGRESS | DELETE_IN_PROGRESS |
| FAILED | FAILED |
| COMPLETE | COMPLETE |
| Value |
|---|
CREATE_PENDING |
UPDATE_PENDING |
DELETE_PENDING |
CREATE_IN_PROGRESS |
UPDATE_IN_PROGRESS |
DELETE_IN_PROGRESS |
FAILED |
COMPLETE |
GeneratedTemplateTemplateConfiguration, GeneratedTemplateTemplateConfigurationArgs
The configuration details of the generated template.
- Deletion
Policy Pulumi.Aws Native. Cloud Formation. Generated Template Template Configuration Deletion Policy - The DeletionPolicy assigned to resources in the generated template.
- Update
Replace Pulumi.Policy Aws Native. Cloud Formation. Generated Template Template Configuration Update Replace Policy - The UpdateReplacePolicy assigned to resources in the generated template.
- Deletion
Policy GeneratedTemplate Template Configuration Deletion Policy - The DeletionPolicy assigned to resources in the generated template.
- Update
Replace GeneratedPolicy Template Template Configuration Update Replace Policy - The UpdateReplacePolicy assigned to resources in the generated template.
- deletion_
policy "DELETE" | "RETAIN" - The DeletionPolicy assigned to resources in the generated template.
- update_
replace_ "DELETE" | "RETAIN"policy - The UpdateReplacePolicy assigned to resources in the generated template.
- deletion
Policy GeneratedTemplate Template Configuration Deletion Policy - The DeletionPolicy assigned to resources in the generated template.
- update
Replace GeneratedPolicy Template Template Configuration Update Replace Policy - The UpdateReplacePolicy assigned to resources in the generated template.
- deletion
Policy GeneratedTemplate Template Configuration Deletion Policy - The DeletionPolicy assigned to resources in the generated template.
- update
Replace GeneratedPolicy Template Template Configuration Update Replace Policy - The UpdateReplacePolicy assigned to resources in the generated template.
- deletion_
policy GeneratedTemplate Template Configuration Deletion Policy - The DeletionPolicy assigned to resources in the generated template.
- update_
replace_ Generatedpolicy Template Template Configuration Update Replace Policy - The UpdateReplacePolicy assigned to resources in the generated template.
- deletion
Policy "DELETE" | "RETAIN" - The DeletionPolicy assigned to resources in the generated template.
- update
Replace "DELETE" | "RETAIN"Policy - The UpdateReplacePolicy assigned to resources in the generated template.
GeneratedTemplateTemplateConfigurationDeletionPolicy
The DeletionPolicy assigned to resources in the generated template.
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| Generated | DELETE |
| Generated | RETAIN |
| Value |
|---|
DELETE |
RETAIN |
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| DELETE | DELETE |
| RETAIN | RETAIN |
| Value |
|---|
DELETE |
RETAIN |
GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
The UpdateReplacePolicy assigned to resources in the generated template.
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| Generated | DELETE |
| Generated | RETAIN |
| Value |
|---|
DELETE |
RETAIN |
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| Delete | DELETE |
| Retain | RETAIN |
| Name | Value |
|---|---|
| DELETE | DELETE |
| RETAIN | RETAIN |
| Value |
|---|
DELETE |
RETAIN |
GeneratedTemplateTemplateProgress
A summary of the progress of the template generation.
- Resources
Failed int - The number of resources that failed the template generation.
- Resources
Pending int - The number of resources that are still pending the template generation.
- Resources
Processing int - The number of resources that are in-process for the template generation.
- Resources
Succeeded int - The number of resources that succeeded the template generation.
- Resources
Failed int - The number of resources that failed the template generation.
- Resources
Pending int - The number of resources that are still pending the template generation.
- Resources
Processing int - The number of resources that are in-process for the template generation.
- Resources
Succeeded int - The number of resources that succeeded the template generation.
- resources_
failed number - The number of resources that failed the template generation.
- resources_
pending number - The number of resources that are still pending the template generation.
- resources_
processing number - The number of resources that are in-process for the template generation.
- resources_
succeeded number - The number of resources that succeeded the template generation.
- resources
Failed Integer - The number of resources that failed the template generation.
- resources
Pending Integer - The number of resources that are still pending the template generation.
- resources
Processing Integer - The number of resources that are in-process for the template generation.
- resources
Succeeded Integer - The number of resources that succeeded the template generation.
- resources
Failed number - The number of resources that failed the template generation.
- resources
Pending number - The number of resources that are still pending the template generation.
- resources
Processing number - The number of resources that are in-process for the template generation.
- resources
Succeeded number - The number of resources that succeeded the template generation.
- resources_
failed int - The number of resources that failed the template generation.
- resources_
pending int - The number of resources that are still pending the template generation.
- resources_
processing int - The number of resources that are in-process for the template generation.
- resources_
succeeded int - The number of resources that succeeded the template generation.
- resources
Failed Number - The number of resources that failed the template generation.
- resources
Pending Number - The number of resources that are still pending the template generation.
- resources
Processing Number - The number of resources that are in-process for the template generation.
- resources
Succeeded Number - The number of resources that succeeded the template generation.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi