Skip to content
GitHubXDiscordRSS

Publisher

Learn how to create, update, and manage AWS CloudFormation Publishers using Alchemy Cloud Control.

The Publisher resource lets you manage AWS CloudFormation Publishers which are used to publish CloudFormation templates for public use.

Create a basic CloudFormation Publisher with the required properties and an optional connection ARN:

import AWS from "alchemy/aws/control";
const cloudFormationPublisher = await AWS.CloudFormation.Publisher("myPublisher", {
AcceptTermsAndConditions: true,
ConnectionArn: "arn:aws:codestar-connections:us-west-2:123456789012:connection/abcd1234-56ef-78gh-90ij-klmnopqrstuv"
});

Configure a CloudFormation Publisher with the adoption property set to true, allowing it to adopt existing resources:

const existingPublisher = await AWS.CloudFormation.Publisher("existingPublisher", {
AcceptTermsAndConditions: true,
adopt: true
});

Create a CloudFormation Publisher that specifies a connection ARN for integration with other AWS services:

const connectedPublisher = await AWS.CloudFormation.Publisher("connectedPublisher", {
AcceptTermsAndConditions: true,
ConnectionArn: "arn:aws:codestar-connections:us-east-1:987654321098:connection/wxyz9876-54ts-32rq-10po-nmabcdefghij"
});