Skip to content

aws.cloudformation.list_type_versions

Example SQL Queries

SELECT * FROM
aws.cloudformation.list_type_versions;

Description

Returns summary information about the versions of an extension.

Table Definition

Column NameColumn Data Type
arn Input Column

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

VARCHAR
deprecated_status Input Column

The deprecation status of the extension versions that you want to get summary information about.

Valid values include:

  • LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.

  • DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations.

The default is LIVE.

VARCHAR
max_results Input Column

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

BIGINT
next_token Input Column

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

VARCHAR
publisher_id Input Column

The publisher ID of the extension publisher.

Extensions published by Amazon aren't assigned a publisher ID.

VARCHAR
type Input Column

The kind of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

VARCHAR
type_name Input Column

The name of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
type_version_summaries

A list of TypeVersionSummary structures that contain information about the specified extension's versions.

STRUCT(
"type" VARCHAR,
"type_name" VARCHAR,
"version_id" VARCHAR,
"is_default_version" BOOLEAN,
"arn" VARCHAR,
"time_created" TIMESTAMP_S,
"description" VARCHAR,
"public_version_number" VARCHAR
)[]
Show child fields
type_version_summaries[]
Show child fields
type_version_summaries[].arn

The Amazon Resource Name (ARN) of the extension version.

type_version_summaries[].description

The description of the extension version.

type_version_summaries[].is_default_version

Whether the specified extension version is set as the default version.

This applies only to private extensions you have registered in your account, and extensions published by Amazon. For public third-party extensions, CloudFormation returns null.

type_version_summaries[].public_version_number

For public extensions that have been activated for this account and Region, the version of the public extension to be used for CloudFormation operations in this account and Region. For any extensions other than activated third-arty extensions, CloudFormation returns null.

How you specified AutoUpdate when enabling the extension affects whether CloudFormation automatically updates the extension in this account and Region when a new version is released. For more information, see Setting CloudFormation to automatically use new versions of extensions in the CloudFormation User Guide.

type_version_summaries[].time_created

When the version was registered.

type_version_summaries[].type

The kind of extension.

type_version_summaries[].type_name

The name of the extension.

type_version_summaries[].version_id

The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it's registered.