Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

is_vpc_peered

is_vpc_peered()

Returns a Boolean value indicating whether your Lightsail VPC is peered.

See also: AWS API Documentation

Request Syntax

response = client.is_vpc_peered()
Return type
dict
Returns
Response Syntax
{
    'isPeered': True|False
}

Response Structure

  • (dict) --
    • isPeered (boolean) --

      Returns true if the Lightsail VPC is peered; otherwise, false .

Exceptions

  • Lightsail.Client.exceptions.ServiceException
  • Lightsail.Client.exceptions.InvalidInputException
  • Lightsail.Client.exceptions.NotFoundException
  • Lightsail.Client.exceptions.OperationFailureException
  • Lightsail.Client.exceptions.AccessDeniedException
  • Lightsail.Client.exceptions.AccountSetupInProgressException
  • Lightsail.Client.exceptions.UnauthenticatedException