publishers
Creates, updates, deletes or gets a publisher
resource or lists publishers
in a region
Overview
Name | publishers |
Type | Resource |
Description | Register as a publisher in the CloudFormation Registry. |
Id | aws.cloudformation.publishers |
Fields
Name | Datatype | Description |
---|---|---|
accept_terms_and_conditions | boolean | Whether 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_id | string | The publisher id assigned by CloudFormation for publishing in this region. |
connection_arn | string | If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. |
publisher_status | string | Whether the publisher is verified. |
publisher_profile | string | The URL to the publisher's profile with the identity provider. |
identity_provider | string | The type of account used as the identity provider when registering this publisher with CloudFormation. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | AcceptTermsAndConditions, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.cloudformation.publishers (
AcceptTermsAndConditions,
region
)
SELECT
'{{ AcceptTermsAndConditions }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.cloudformation.publishers (
AcceptTermsAndConditions,
ConnectionArn,
region
)
SELECT
'{{ AcceptTermsAndConditions }}',
'{{ ConnectionArn }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: publisher
props:
- name: AcceptTermsAndConditions
value: '{{ AcceptTermsAndConditions }}'
- name: ConnectionArn
value: '{{ ConnectionArn }}'
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