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()
{
'isPeered': True|False
}
Response Structure
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