:doc:`VPCLattice <../../vpc-lattice>` / Client / get_resource_configuration

**************************
get_resource_configuration
**************************



.. py:method:: VPCLattice.Client.get_resource_configuration(**kwargs)

  

  Retrieves information about the specified resource configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/vpc-lattice-2022-11-30/GetResourceConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_resource_configuration(
        resourceConfigurationIdentifier='string'
    )
    
  :type resourceConfigurationIdentifier: string
  :param resourceConfigurationIdentifier: **[REQUIRED]** 

    The ID of the resource configuration.

    

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

    
    ::

      {
          'id': 'string',
          'name': 'string',
          'arn': 'string',
          'resourceGatewayId': 'string',
          'resourceConfigurationGroupId': 'string',
          'type': 'GROUP'|'CHILD'|'SINGLE'|'ARN',
          'allowAssociationToShareableServiceNetwork': True|False,
          'portRanges': [
              'string',
          ],
          'protocol': 'TCP',
          'customDomainName': 'string',
          'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED',
          'resourceConfigurationDefinition': {
              'dnsResource': {
                  'domainName': 'string',
                  'ipAddressType': 'IPV4'|'IPV6'|'DUALSTACK'
              },
              'ipResource': {
                  'ipAddress': 'string'
              },
              'arnResource': {
                  'arn': 'string'
              }
          },
          'createdAt': datetime(2015, 1, 1),
          'amazonManaged': True|False,
          'failureReason': 'string',
          'lastUpdatedAt': datetime(2015, 1, 1),
          'domainVerificationId': 'string',
          'domainVerificationArn': 'string',
          'domainVerificationStatus': 'VERIFIED'|'PENDING'|'VERIFICATION_TIMED_OUT',
          'groupDomain': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The ID of the resource configuration.

        
      

      - **name** *(string) --* 

        The name of the resource configuration.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the resource configuration.

        
      

      - **resourceGatewayId** *(string) --* 

        The ID of the resource gateway used to connect to the resource configuration in a given VPC. You can specify the resource gateway identifier only for resource configurations with type SINGLE, GROUP, or ARN.

        
      

      - **resourceConfigurationGroupId** *(string) --* 

        The ID of the group resource configuration.

        
      

      - **type** *(string) --* 

        The type of resource configuration.

         

        
        * ``SINGLE`` - A single resource.
         
        * ``GROUP`` - A group of resources.
         
        * ``CHILD`` - A single resource that is part of a group resource configuration.
         
        * ``ARN`` - An Amazon Web Services resource.
        

        
      

      - **allowAssociationToShareableServiceNetwork** *(boolean) --* 

        Specifies whether the resource configuration is associated with a sharable service network.

        
      

      - **portRanges** *(list) --* 

        The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30

        
        

        - *(string) --* 
    
      

      - **protocol** *(string) --* 

        The TCP protocol accepted by the specified resource configuration.

        
      

      - **customDomainName** *(string) --* 

        The custom domain name of the resource configuration.

        
      

      - **status** *(string) --* 

        The status of the resource configuration.

        
      

      - **resourceConfigurationDefinition** *(dict) --* 

        The resource configuration.

        .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``dnsResource``, ``ipResource``, ``arnResource``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


      
        

        - **dnsResource** *(dict) --* 

          The DNS name of the resource.

          
          

          - **domainName** *(string) --* 

            The domain name of the resource.

            
          

          - **ipAddressType** *(string) --* 

            The type of IP address. Dualstack is currently not supported.

            
      
        

        - **ipResource** *(dict) --* 

          The IP resource.

          
          

          - **ipAddress** *(string) --* 

            The IP address of the IP resource.

            
      
        

        - **arnResource** *(dict) --* 

          The Amazon Resource Name (ARN) of the resource.

          
          

          - **arn** *(string) --* 

            The Amazon Resource Name (ARN) of the resource.

            
      
    
      

      - **createdAt** *(datetime) --* 

        The date and time that the resource configuration was created, in ISO-8601 format.

        
      

      - **amazonManaged** *(boolean) --* 

        Indicates whether the resource configuration was created and is managed by Amazon.

        
      

      - **failureReason** *(string) --* 

        The reason the create-resource-configuration request failed.

        
      

      - **lastUpdatedAt** *(datetime) --* 

        The most recent date and time that the resource configuration was updated, in ISO-8601 format.

        
      

      - **domainVerificationId** *(string) --* 

        The domain verification ID.

        
      

      - **domainVerificationArn** *(string) --* 

        The ARN of the domain verification.

        
      

      - **domainVerificationStatus** *(string) --* 

        The domain verification status.

        
      

      - **groupDomain** *(string) --* 

        (GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.

        
  
  **Exceptions**
  
  *   :py:class:`VPCLattice.Client.exceptions.ValidationException`

  
  *   :py:class:`VPCLattice.Client.exceptions.AccessDeniedException`

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

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

  
  *   :py:class:`VPCLattice.Client.exceptions.InternalServerException`

  