Update Generated Template
cloudformation_update_generated_template | R Documentation |
Updates a generated template¶
Description¶
Updates a generated template. This can be used to change the name, add
and remove resources, refresh resources, and change the DeletionPolicy
and UpdateReplacePolicy
settings. You can check the status of the
update to the generated template using the describe_generated_template
API action.
Usage¶
cloudformation_update_generated_template(GeneratedTemplateName,
NewGeneratedTemplateName, AddResources, RemoveResources,
RefreshAllResources, TemplateConfiguration)
Arguments¶
GeneratedTemplateName |
[required] The name or Amazon Resource Name (ARN) of a generated template. |
NewGeneratedTemplateName |
An optional new name to assign to the generated template. |
AddResources |
An optional list of resources to be added to the generated template. |
RemoveResources |
A list of logical ids for resources to remove from the generated template. |
RefreshAllResources |
If |
TemplateConfiguration |
The configuration details of the generated template, including
the |
Value¶
A list with the following syntax:
list(
GeneratedTemplateId = "string"
)
Request syntax¶
svc$update_generated_template(
GeneratedTemplateName = "string",
NewGeneratedTemplateName = "string",
AddResources = list(
list(
ResourceType = "string",
LogicalResourceId = "string",
ResourceIdentifier = list(
"string"
)
)
),
RemoveResources = list(
"string"
),
RefreshAllResources = TRUE|FALSE,
TemplateConfiguration = list(
DeletionPolicy = "DELETE"|"RETAIN",
UpdateReplacePolicy = "DELETE"|"RETAIN"
)
)