Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . cloudformation ]

describe-generated-template

Description

Describes a generated template. The output includes details about the progress of the creation of a generated template started by a CreateGeneratedTemplate API action or the update of a generated template started with an UpdateGeneratedTemplate API action.

See also: AWS API Documentation

Synopsis

  describe-generated-template
--generated-template-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--generated-template-name (string)

The name or Amazon Resource Name (ARN) of a generated template.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command's default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Output

GeneratedTemplateId -> (string)

The Amazon Resource Name (ARN) of the generated template. The format is arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id} . For example, ``arn:aws:cloudformation:us-east-1 :123456789012 :generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc `` .

GeneratedTemplateName -> (string)

The name of the generated template.

Resources -> (list)

A list of objects describing the details of the resources in the template generation.

(structure)

Details about a resource in a generated template

ResourceType -> (string)

The type of the resource, such as AWS::DynamoDB::Table . For the list of supported resources, see IaC generator supported resource types In the CloudFormation User Guide

LogicalResourceId -> (string)

The logical id for this resource in the final generated template.

ResourceIdentifier -> (map)

A list of up to 256 key-value pairs that identifies the resource in the generated template. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier list in the resource schema.) The value is the value of that primary identifier. For example, for a AWS::DynamoDB::Table resource, the primary identifiers is TableName so the key-value pair could be "TableName": "MyDDBTable" . For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development .

key -> (string)

value -> (string)

ResourceStatus -> (string)

Status of the processing of a resource in a generated template.

InProgress

The resource processing is still in progress.

Complete

The resource processing is complete.

Pending

The resource processing is pending.

Failed

The resource processing has failed.

ResourceStatusReason -> (string)

The reason for the resource detail, providing more information if a failure happened.

Warnings -> (list)

The warnings generated for this resource.

(structure)

The warnings generated for a specific resource for this generated template.

Type -> (string)

The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide .

  • MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.
  • UNSUPPORTED_PROPERTIES - Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property.
  • MUTUALLY_EXCLUSIVE_TYPES - One or more required write-only properties are found in the resource, and the type of that property can be any of several types.

Note

Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf or anyOf . You need to look at the resource provider schema.

Properties -> (list)

The properties of the resource that are impacted by this warning.

(structure)

A specific property that is impacted by a warning.

PropertyPath -> (string)

The path of the property. For example, if this is for the S3Bucket member of the Code property, the property path would be Code/S3Bucket .

Required -> (boolean)

If true , the specified property is required.

Description -> (string)

The description of the property from the resource provider schema.

Status -> (string)

The status of the template generation. Supported values are:

  • CreatePending - the creation of the template is pending.
  • CreateInProgress - the creation of the template is in progress.
  • DeletePending - the deletion of the template is pending.
  • DeleteInProgress - the deletion of the template is in progress.
  • UpdatePending - the update of the template is pending.
  • UpdateInProgress - the update of the template is in progress.
  • Failed - the template operation failed.
  • Complete - the template operation is complete.

StatusReason -> (string)

The reason for the current template generation status. This will provide more details if a failure happened.

CreationTime -> (timestamp)

The time the generated template was created.

LastUpdatedTime -> (timestamp)

The time the generated template was last updated.

Progress -> (structure)

An object describing the progress of the template generation.

ResourcesSucceeded -> (integer)

The number of resources that succeeded the template generation.

ResourcesFailed -> (integer)

The number of resources that failed the template generation.

ResourcesProcessing -> (integer)

The number of resources that are in-process for the template generation.

ResourcesPending -> (integer)

The number of resources that are still pending the template generation.

StackId -> (string)

The stack ARN of the base stack if a base stack was provided when generating the template.

TemplateConfiguration -> (structure)

The configuration details of the generated template, including the DeletionPolicy and UpdateReplacePolicy .

DeletionPolicy -> (string)

The DeletionPolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the stack is deleted.
  • RETAIN - retain all resources when the stack is deleted.

For more information, see DeletionPolicy attribute in the CloudFormation User Guide .

UpdateReplacePolicy -> (string)

The UpdateReplacePolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the resource is replaced during an update operation.
  • RETAIN - retain all resources when the resource is replaced during an update operation.

For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide .

TotalWarnings -> (integer)

The number of warnings generated for this template. The warnings are found in the details of each of the resources in the template.