Skip to main content

publishers

Creates, updates, deletes or gets a publisher resource or lists publishers in a region

Overview

Namepublishers
TypeResource
DescriptionRegister as a publisher in the CloudFormation Registry.
Idaws.cloudformation.publishers

Fields

NameDatatypeDescription
accept_terms_and_conditionsbooleanWhether you accept the terms and conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to publish public extensions to the CloudFormation registry. The terms and conditions can be found at https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf
publisher_idstringThe publisher id assigned by CloudFormation for publishing in this region.
connection_arnstringIf you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
publisher_statusstringWhether the publisher is verified.
publisher_profilestringThe URL to the publisher's profile with the identity provider.
identity_providerstringThe type of account used as the identity provider when registering this publisher with CloudFormation.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAcceptTermsAndConditions, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all publishers in a region.

SELECT
region,
accept_terms_and_conditions,
publisher_id,
connection_arn,
publisher_status,
publisher_profile,
identity_provider
FROM aws.cloudformation.publishers
WHERE region = 'us-east-1';

Gets all properties from an individual publisher.

SELECT
region,
accept_terms_and_conditions,
publisher_id,
connection_arn,
publisher_status,
publisher_profile,
identity_provider
FROM aws.cloudformation.publishers
WHERE region = 'us-east-1' AND data__Identifier = '<PublisherId>';

INSERT example

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

/*+ create */
INSERT INTO aws.cloudformation.publishers (
AcceptTermsAndConditions,
region
)
SELECT
'{{ AcceptTermsAndConditions }}',
'{{ region }}';

Permissions

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

Create

cloudformation:RegisterPublisher,
cloudformation:DescribePublisher,
codestar-connections:GetConnection,
codestar-connections:UseConnection

Read

cloudformation:DescribePublisher

List

cloudformation:DescribePublisher