1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudformation
  6. GeneratedTemplate

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
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_name string
    The name assigned to the generated template.
    template_configuration object
    generatedTemplateName String
    The name assigned to the generated template.
    templateConfiguration Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GeneratedTemplate resource produces the following output properties:

    CreationTime string
    The time the generated template was created.
    GeneratedTemplateId string
    The Amazon Resource Name (ARN) of the generated template.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time the generated template was last updated.
    Progress Pulumi.AwsNative.CloudFormation.Outputs.GeneratedTemplateTemplateProgress
    Status Pulumi.AwsNative.CloudFormation.GeneratedTemplateStatus
    The status of the template generation.
    TotalWarnings int
    The number of warnings generated for this template.
    CreationTime string
    The time the generated template was created.
    GeneratedTemplateId string
    The Amazon Resource Name (ARN) of the generated template.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time the generated template was last updated.
    Progress GeneratedTemplateTemplateProgress
    Status GeneratedTemplateStatus
    The status of the template generation.
    TotalWarnings int
    The number of warnings generated for this template.
    creation_time string
    The time the generated template was created.
    generated_template_id string
    The Amazon Resource Name (ARN) of the generated template.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_time string
    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.
    creationTime String
    The time the generated template was created.
    generatedTemplateId String
    The Amazon Resource Name (ARN) of the generated template.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The time the generated template was last updated.
    progress GeneratedTemplateTemplateProgress
    status GeneratedTemplateStatus
    The status of the template generation.
    totalWarnings Integer
    The number of warnings generated for this template.
    creationTime string
    The time the generated template was created.
    generatedTemplateId string
    The Amazon Resource Name (ARN) of the generated template.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime string
    The time the generated template was last updated.
    progress GeneratedTemplateTemplateProgress
    status GeneratedTemplateStatus
    The status of the template generation.
    totalWarnings number
    The number of warnings generated for this template.
    creation_time str
    The time the generated template was created.
    generated_template_id str
    The Amazon Resource Name (ARN) of the generated template.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time str
    The time the generated template was last updated.
    progress GeneratedTemplateTemplateProgress
    status GeneratedTemplateStatus
    The status of the template generation.
    total_warnings int
    The number of warnings generated for this template.
    creationTime String
    The time the generated template was created.
    generatedTemplateId String
    The Amazon Resource Name (ARN) of the generated template.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    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.
    totalWarnings 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) -> GeneratedTemplate
    func 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.

    NameValue
    CreatePendingCREATE_PENDING
    UpdatePendingUPDATE_PENDING
    DeletePendingDELETE_PENDING
    CreateInProgressCREATE_IN_PROGRESS
    UpdateInProgressUPDATE_IN_PROGRESS
    DeleteInProgressDELETE_IN_PROGRESS
    FailedFAILED
    CompleteCOMPLETE
    NameValue
    GeneratedTemplateStatusCreatePendingCREATE_PENDING
    GeneratedTemplateStatusUpdatePendingUPDATE_PENDING
    GeneratedTemplateStatusDeletePendingDELETE_PENDING
    GeneratedTemplateStatusCreateInProgressCREATE_IN_PROGRESS
    GeneratedTemplateStatusUpdateInProgressUPDATE_IN_PROGRESS
    GeneratedTemplateStatusDeleteInProgressDELETE_IN_PROGRESS
    GeneratedTemplateStatusFailedFAILED
    GeneratedTemplateStatusCompleteCOMPLETE
    Value
    CREATE_PENDING
    UPDATE_PENDING
    DELETE_PENDING
    CREATE_IN_PROGRESS
    UPDATE_IN_PROGRESS
    DELETE_IN_PROGRESS
    FAILED
    COMPLETE
    NameValue
    CreatePendingCREATE_PENDING
    UpdatePendingUPDATE_PENDING
    DeletePendingDELETE_PENDING
    CreateInProgressCREATE_IN_PROGRESS
    UpdateInProgressUPDATE_IN_PROGRESS
    DeleteInProgressDELETE_IN_PROGRESS
    FailedFAILED
    CompleteCOMPLETE
    NameValue
    CreatePendingCREATE_PENDING
    UpdatePendingUPDATE_PENDING
    DeletePendingDELETE_PENDING
    CreateInProgressCREATE_IN_PROGRESS
    UpdateInProgressUPDATE_IN_PROGRESS
    DeleteInProgressDELETE_IN_PROGRESS
    FailedFAILED
    CompleteCOMPLETE
    NameValue
    CREATE_PENDINGCREATE_PENDING
    UPDATE_PENDINGUPDATE_PENDING
    DELETE_PENDINGDELETE_PENDING
    CREATE_IN_PROGRESSCREATE_IN_PROGRESS
    UPDATE_IN_PROGRESSUPDATE_IN_PROGRESS
    DELETE_IN_PROGRESSDELETE_IN_PROGRESS
    FAILEDFAILED
    COMPLETECOMPLETE
    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.

    DeletionPolicy Pulumi.AwsNative.CloudFormation.GeneratedTemplateTemplateConfigurationDeletionPolicy
    The DeletionPolicy assigned to resources in the generated template.
    UpdateReplacePolicy Pulumi.AwsNative.CloudFormation.GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
    The UpdateReplacePolicy assigned to resources in the generated template.
    DeletionPolicy GeneratedTemplateTemplateConfigurationDeletionPolicy
    The DeletionPolicy assigned to resources in the generated template.
    UpdateReplacePolicy GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
    The UpdateReplacePolicy assigned to resources in the generated template.
    deletion_policy "DELETE" | "RETAIN"
    The DeletionPolicy assigned to resources in the generated template.
    update_replace_policy "DELETE" | "RETAIN"
    The UpdateReplacePolicy assigned to resources in the generated template.
    deletionPolicy GeneratedTemplateTemplateConfigurationDeletionPolicy
    The DeletionPolicy assigned to resources in the generated template.
    updateReplacePolicy GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
    The UpdateReplacePolicy assigned to resources in the generated template.
    deletionPolicy GeneratedTemplateTemplateConfigurationDeletionPolicy
    The DeletionPolicy assigned to resources in the generated template.
    updateReplacePolicy GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
    The UpdateReplacePolicy assigned to resources in the generated template.
    deletion_policy GeneratedTemplateTemplateConfigurationDeletionPolicy
    The DeletionPolicy assigned to resources in the generated template.
    update_replace_policy GeneratedTemplateTemplateConfigurationUpdateReplacePolicy
    The UpdateReplacePolicy assigned to resources in the generated template.
    deletionPolicy "DELETE" | "RETAIN"
    The DeletionPolicy assigned to resources in the generated template.
    updateReplacePolicy "DELETE" | "RETAIN"
    The UpdateReplacePolicy assigned to resources in the generated template.

    GeneratedTemplateTemplateConfigurationDeletionPolicy

    The DeletionPolicy assigned to resources in the generated template.

    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    GeneratedTemplateTemplateConfigurationDeletionPolicyDeleteDELETE
    GeneratedTemplateTemplateConfigurationDeletionPolicyRetainRETAIN
    Value
    DELETE
    RETAIN
    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    DELETEDELETE
    RETAINRETAIN
    Value
    DELETE
    RETAIN

    GeneratedTemplateTemplateConfigurationUpdateReplacePolicy

    The UpdateReplacePolicy assigned to resources in the generated template.

    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    GeneratedTemplateTemplateConfigurationUpdateReplacePolicyDeleteDELETE
    GeneratedTemplateTemplateConfigurationUpdateReplacePolicyRetainRETAIN
    Value
    DELETE
    RETAIN
    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    DeleteDELETE
    RetainRETAIN
    NameValue
    DELETEDELETE
    RETAINRETAIN
    Value
    DELETE
    RETAIN

    GeneratedTemplateTemplateProgress

    A summary of the progress of the template generation.

    ResourcesFailed int
    The number of resources that failed the template generation.
    ResourcesPending int
    The number of resources that are still pending the template generation.
    ResourcesProcessing int
    The number of resources that are in-process for the template generation.
    ResourcesSucceeded int
    The number of resources that succeeded the template generation.
    ResourcesFailed int
    The number of resources that failed the template generation.
    ResourcesPending int
    The number of resources that are still pending the template generation.
    ResourcesProcessing int
    The number of resources that are in-process for the template generation.
    ResourcesSucceeded 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.
    resourcesFailed Integer
    The number of resources that failed the template generation.
    resourcesPending Integer
    The number of resources that are still pending the template generation.
    resourcesProcessing Integer
    The number of resources that are in-process for the template generation.
    resourcesSucceeded Integer
    The number of resources that succeeded the template generation.
    resourcesFailed number
    The number of resources that failed the template generation.
    resourcesPending number
    The number of resources that are still pending the template generation.
    resourcesProcessing number
    The number of resources that are in-process for the template generation.
    resourcesSucceeded 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.
    resourcesFailed Number
    The number of resources that failed the template generation.
    resourcesPending Number
    The number of resources that are still pending the template generation.
    resourcesProcessing Number
    The number of resources that are in-process for the template generation.
    resourcesSucceeded Number
    The number of resources that succeeded the template generation.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial