:doc:`Route53Resolver <../../route53resolver>` / Client / create_outpost_resolver

***********************
create_outpost_resolver
***********************



.. py:method:: Route53Resolver.Client.create_outpost_resolver(**kwargs)

  

  Creates a Route 53 Resolver on an Outpost.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateOutpostResolver>`_  


  **Request Syntax**
  ::

    response = client.create_outpost_resolver(
        CreatorRequestId='string',
        Name='string',
        InstanceCount=123,
        PreferredInstanceType='string',
        OutpostArn='string',
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type CreatorRequestId: string
  :param CreatorRequestId: **[REQUIRED]** 

    A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.

     

    ``CreatorRequestId`` can be any unique string, for example, a date/time stamp.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    A friendly name that lets you easily find a configuration in the Resolver dashboard in the Route 53 console.

    

  
  :type InstanceCount: integer
  :param InstanceCount: 

    Number of Amazon EC2 instances for the Resolver on Outpost. The default and minimal value is 4.

    

  
  :type PreferredInstanceType: string
  :param PreferredInstanceType: **[REQUIRED]** 

    The Amazon EC2 instance type. If you specify this, you must also specify a value for the ``OutpostArn``.

    

  
  :type OutpostArn: string
  :param OutpostArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Outpost. If you specify this, you must also specify a value for the ``PreferredInstanceType``.

    

  
  :type Tags: list
  :param Tags: 

    A string that helps identify the Route 53 Resolvers on Outpost.

    

  
    - *(dict) --* 

      One tag that you want to add to the specified resource. A tag consists of a ``Key`` (a name for the tag) and a ``Value``.

      

    
      - **Key** *(string) --* **[REQUIRED]** 

        The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of ``Key`` might be ``account-id``.

        

      
      - **Value** *(string) --* **[REQUIRED]** 

        The value for the tag. For example, if ``Key`` is ``account-id``, then ``Value`` might be the ID of the customer account that you're creating the resource for.

        

      
    

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

    
    ::

      {
          'OutpostResolver': {
              'Arn': 'string',
              'CreationTime': 'string',
              'ModificationTime': 'string',
              'CreatorRequestId': 'string',
              'Id': 'string',
              'InstanceCount': 123,
              'PreferredInstanceType': 'string',
              'Name': 'string',
              'Status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING'|'ACTION_NEEDED'|'FAILED_CREATION'|'FAILED_DELETION',
              'StatusMessage': 'string',
              'OutpostArn': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **OutpostResolver** *(dict) --* 

        Information about the ``CreateOutpostResolver`` request, including the status of the request.

        
        

        - **Arn** *(string) --* 

          The ARN (Amazon Resource Name) for the Resolver on an Outpost.

          
        

        - **CreationTime** *(string) --* 

          The date and time that the Outpost Resolver was created, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **ModificationTime** *(string) --* 

          The date and time that the Outpost Resolver was modified, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **CreatorRequestId** *(string) --* 

          A unique string that identifies the request that created the Resolver endpoint. The ``CreatorRequestId`` allows failed requests to be retried without the risk of running the operation twice.

          
        

        - **Id** *(string) --* 

          The ID of the Resolver on Outpost.

          
        

        - **InstanceCount** *(integer) --* 

          Amazon EC2 instance count for the Resolver on the Outpost.

          
        

        - **PreferredInstanceType** *(string) --* 

          The Amazon EC2 instance type.

          
        

        - **Name** *(string) --* 

          Name of the Resolver.

          
        

        - **Status** *(string) --* 

          Status of the Resolver.

          
        

        - **StatusMessage** *(string) --* 

          A detailed description of the Resolver.

          
        

        - **OutpostArn** *(string) --* 

          The ARN (Amazon Resource Name) for the Outpost.

          
    
  
  **Exceptions**
  
  *   :py:class:`Route53Resolver.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Route53Resolver.Client.exceptions.ValidationException`

  