:doc:`CloudFormation <../../cloudformation>` / Client / register_publisher

******************
register_publisher
******************



.. py:method:: 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 `Prerequisite\: Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`__ in the *CloudFormation Command Line Interface (CLI) User Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisher>`_  


  **Request Syntax**
  ::

    response = client.register_publisher(
        AcceptTermsAndConditions=True|False,
        ConnectionArn='string'
    )
    
  :type AcceptTermsAndConditions: boolean
  :param AcceptTermsAndConditions: 

    Whether you accept the `Terms and Conditions <https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf>`__ 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``.

    

  
  :type ConnectionArn: string
  :param ConnectionArn: 

    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 `Prerequisite\: Registering your account to publish CloudFormation extensions <https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs>`__ in the *CloudFormation Command Line Interface (CLI) User Guide*.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'PublisherId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **PublisherId** *(string) --* 

        The ID assigned this account by CloudFormation for publishing extensions.

        
  
  **Exceptions**
  
  *   :py:class:`CloudFormation.Client.exceptions.CFNRegistryException`

  