asManagedVpcResource
Casts this PrivateEndpoint as a ManagedVpcResource and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.ManagedVpcResource value. Throws an exception if the PrivateEndpoint is not a ManagedVpcResource.