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_namestring
The name of the type being registered.We recommend that type names adhere to the following pattern: company_or_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 = '{{ region }}' 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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

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