CloudFormation / Client / register_publisher

register_publisher#

CloudFormation.Client.register_publisher(**kwargs)#

Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions.

For information about requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

See also: AWS API Documentation

Request Syntax

response = client.register_publisher(
    AcceptTermsAndConditions=True|False,
    ConnectionArn='string'
)
Parameters:
  • AcceptTermsAndConditions (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 register to publish public extensions to the CloudFormation registry.

    The default is false.

  • ConnectionArn (string) –

    If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.

    For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.

Return type:

dict

Returns:

Response Syntax

{
    'PublisherId': 'string'
}

Response Structure

  • (dict) –

    • PublisherId (string) –

      The ID assigned this account by CloudFormation for publishing extensions.

Exceptions

  • CloudFormation.Client.exceptions.CFNRegistryException