Skip to main content

public_type_versions

Creates, updates, deletes or gets a public_type_version resource or lists public_type_versions in a region

Overview

Namepublic_type_versions
TypeResource
DescriptionTest and Publish a resource that has been registered in the CloudFormation Registry.
Idawscc.cloudformation.public_type_versions

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Number (ARN) of the extension.
type_version_arnstringThe Amazon Resource Number (ARN) of the extension with the versionId.
public_version_numberstringThe version number of a public third-party extension
publisher_idstringThe reserved publisher id for this type, or the publisher id assigned by CloudFormation for publishing in this region.
public_type_arnstringThe Amazon Resource Number (ARN) assigned to the public extension upon publication
type_namestringThe name of the type being registered.<br />We recommend that type names adhere to the following pattern: company&#95;or&#95;organization::service::type.
log_delivery_bucketstringA url to the S3 bucket where logs for the testType run will be available
typestringThe kind of extension
regionstringAWS region.

For more information, see AWS::CloudFormation::PublicTypeVersion.

Methods

NameResourceAccessible byRequired Params
create_resourcepublic_type_versionsINSERTregion
list_resourcespublic_type_versions_list_onlySELECTregion
get_resourcepublic_type_versionsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual public_type_version.

SELECT
region,
arn,
type_version_arn,
public_version_number,
publisher_id,
public_type_arn,
type_name,
log_delivery_bucket,
type
FROM awscc.cloudformation.public_type_versions
WHERE
region = 'us-east-1' AND
Identifier = '{{ public_type_arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new public_type_version resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.cloudformation.public_type_versions (
Arn,
PublicVersionNumber,
TypeName,
LogDeliveryBucket,
Type,
region
)
SELECT
'{{ arn }}',
'{{ public_version_number }}',
'{{ type_name }}',
'{{ log_delivery_bucket }}',
'{{ type }}',
'{{ region }}';

Permissions

To operate on the public_type_versions resource, the following permissions are required:

cloudformation:TestType,
cloudformation:DescribeType,
cloudformation:PublishType,
cloudformation:DescribePublisher,
s3:GetObject,
s3:PutObject