asSelfManagedLatticeResource
Casts this PrivateEndpoint as a SelfManagedLatticeResource and retrieves its aws.sdk.kotlin.services.agentregistrycontrol.model.SelfManagedLatticeResource value. Throws an exception if the PrivateEndpoint is not a SelfManagedLatticeResource.